From b80a56446b3c6a72e2b10b7fa539576d32a46078 Mon Sep 17 00:00:00 2001 From: Kubernetes Publisher Date: Thu, 11 Sep 2025 18:00:28 +0000 Subject: [PATCH 1/3] Automated openapi generation from release-1.34 Signed-off-by: Kubernetes Publisher --- kubernetes/.openapi-generator/FILES | 236 +- .../swagger.json-default.sha256 | 2 +- kubernetes/api/openapi.yaml | 61708 +++++++++------- .../docs/AdmissionregistrationV1beta1Api.md | 516 +- kubernetes/docs/CertificatesV1alpha1Api.md | 1329 +- ...esourceClaim.md => CoreV1ResourceClaim.md} | 2 +- kubernetes/docs/ResourceV1Api.md | 3168 + ...rceClaim.md => ResourceV1ResourceClaim.md} | 6 +- kubernetes/docs/ResourceV1alpha3Api.md | 3454 +- kubernetes/docs/StorageV1Api.md | 690 +- ...ceStatus.md => V1AllocatedDeviceStatus.md} | 7 +- kubernetes/docs/V1AllocationResult.md | 16 + kubernetes/docs/V1CELDeviceSelector.md | 14 + kubernetes/docs/V1CSIDriverSpec.md | 4 +- kubernetes/docs/V1CapacityRequestPolicy.md | 16 + .../docs/V1CapacityRequestPolicyRange.md | 16 + kubernetes/docs/V1CapacityRequirements.md | 14 + kubernetes/docs/V1Container.md | 5 +- .../V1ContainerExtendedResourceRequest.md | 16 + kubernetes/docs/V1ContainerRestartRule.md | 15 + .../docs/V1ContainerRestartRuleOnExitCodes.md | 15 + .../docs/{V1alpha3Counter.md => V1Counter.md} | 2 +- kubernetes/docs/V1CounterSet.md | 15 + kubernetes/docs/V1Device.md | 25 + ....md => V1DeviceAllocationConfiguration.md} | 4 +- kubernetes/docs/V1DeviceAllocationResult.md | 15 + ...eviceAttribute.md => V1DeviceAttribute.md} | 2 +- kubernetes/docs/V1DeviceCapacity.md | 15 + kubernetes/docs/V1DeviceClaim.md | 16 + ...ation.md => V1DeviceClaimConfiguration.md} | 4 +- ...1alpha3DeviceClass.md => V1DeviceClass.md} | 4 +- ...ation.md => V1DeviceClassConfiguration.md} | 4 +- ...eviceClassList.md => V1DeviceClassList.md} | 4 +- kubernetes/docs/V1DeviceClassSpec.md | 16 + ...iceConstraint.md => V1DeviceConstraint.md} | 3 +- kubernetes/docs/V1DeviceCounterConsumption.md | 15 + kubernetes/docs/V1DeviceRequest.md | 16 + .../docs/V1DeviceRequestAllocationResult.md | 23 + kubernetes/docs/V1DeviceSelector.md | 14 + kubernetes/docs/V1DeviceSubRequest.md | 20 + kubernetes/docs/V1DeviceTaint.md | 17 + ...iceToleration.md => V1DeviceToleration.md} | 2 +- kubernetes/docs/V1EnvFromSource.md | 2 +- kubernetes/docs/V1EnvVar.md | 2 +- kubernetes/docs/V1EnvVarSource.md | 1 + kubernetes/docs/V1EphemeralContainer.md | 5 +- kubernetes/docs/V1ExactDeviceRequest.md | 20 + kubernetes/docs/V1FileKeySelector.md | 17 + kubernetes/docs/V1GlusterfsVolumeSource.md | 2 +- kubernetes/docs/V1JobSpec.md | 4 +- ...rkDeviceData.md => V1NetworkDeviceData.md} | 4 +- kubernetes/docs/V1NetworkPolicySpec.md | 2 +- ...tion.md => V1OpaqueDeviceConfiguration.md} | 2 +- .../docs/V1PersistentVolumeClaimSpec.md | 2 +- .../docs/V1PersistentVolumeClaimStatus.md | 2 +- kubernetes/docs/V1PersistentVolumeSpec.md | 2 +- kubernetes/docs/V1PodAntiAffinity.md | 2 +- kubernetes/docs/V1PodCertificateProjection.md | 19 + .../docs/V1PodExtendedResourceClaimStatus.md | 15 + kubernetes/docs/V1PodSpec.md | 3 +- kubernetes/docs/V1PodStatus.md | 1 + ...md => V1ResourceClaimConsumerReference.md} | 2 +- ...rceClaimList.md => V1ResourceClaimList.md} | 4 +- ...rceClaimSpec.md => V1ResourceClaimSpec.md} | 4 +- kubernetes/docs/V1ResourceClaimStatus.md | 16 + ...Template.md => V1ResourceClaimTemplate.md} | 4 +- ...List.md => V1ResourceClaimTemplateList.md} | 4 +- ...Spec.md => V1ResourceClaimTemplateSpec.md} | 4 +- ...lpha3ResourcePool.md => V1ResourcePool.md} | 2 +- kubernetes/docs/V1ResourceRequirements.md | 2 +- ...ha3ResourceSlice.md => V1ResourceSlice.md} | 4 +- ...rceSliceList.md => V1ResourceSliceList.md} | 4 +- ...rceSliceSpec.md => V1ResourceSliceSpec.md} | 8 +- kubernetes/docs/V1SuccessPolicy.md | 2 +- kubernetes/docs/V1Taint.md | 2 +- kubernetes/docs/V1VolumeAttributesClass.md | 22 + .../docs/V1VolumeAttributesClassList.md | 21 + kubernetes/docs/V1VolumeError.md | 2 +- kubernetes/docs/V1VolumeProjection.md | 1 + ...cy.md => V1alpha1PodCertificateRequest.md} | 8 +- .../docs/V1alpha1PodCertificateRequestList.md | 21 + .../docs/V1alpha1PodCertificateRequestSpec.md | 23 + .../V1alpha1PodCertificateRequestStatus.md | 18 + kubernetes/docs/V1alpha3AllocationResult.md | 15 - kubernetes/docs/V1alpha3BasicDevice.md | 20 - kubernetes/docs/V1alpha3CounterSet.md | 15 - kubernetes/docs/V1alpha3Device.md | 15 - .../docs/V1alpha3DeviceAllocationResult.md | 15 - kubernetes/docs/V1alpha3DeviceClaim.md | 16 - kubernetes/docs/V1alpha3DeviceClassSpec.md | 15 - .../docs/V1alpha3DeviceCounterConsumption.md | 15 - kubernetes/docs/V1alpha3DeviceRequest.md | 21 - .../V1alpha3DeviceRequestAllocationResult.md | 19 - kubernetes/docs/V1alpha3DeviceSubRequest.md | 19 - .../docs/V1alpha3ResourceClaimStatus.md | 16 - .../docs/V1beta1AllocatedDeviceStatus.md | 3 +- kubernetes/docs/V1beta1AllocationResult.md | 1 + kubernetes/docs/V1beta1ApplyConfiguration.md | 14 + kubernetes/docs/V1beta1AuditAnnotation.md | 15 - kubernetes/docs/V1beta1BasicDevice.md | 4 + kubernetes/docs/V1beta1CELDeviceSelector.md | 2 +- .../docs/V1beta1CapacityRequestPolicy.md | 16 + .../docs/V1beta1CapacityRequestPolicyRange.md | 16 + .../docs/V1beta1CapacityRequirements.md | 14 + kubernetes/docs/V1beta1DeviceCapacity.md | 1 + kubernetes/docs/V1beta1DeviceClassSpec.md | 1 + kubernetes/docs/V1beta1DeviceConstraint.md | 1 + kubernetes/docs/V1beta1DeviceRequest.md | 1 + .../V1beta1DeviceRequestAllocationResult.md | 4 + kubernetes/docs/V1beta1DeviceSubRequest.md | 1 + kubernetes/docs/V1beta1ExpressionWarning.md | 15 - kubernetes/docs/V1beta1JSONPatch.md | 14 + .../docs/V1beta1MutatingAdmissionPolicy.md | 21 + .../V1beta1MutatingAdmissionPolicyBinding.md | 21 + ...beta1MutatingAdmissionPolicyBindingList.md | 21 + ...beta1MutatingAdmissionPolicyBindingSpec.md | 16 + .../V1beta1MutatingAdmissionPolicyList.md | 21 + .../V1beta1MutatingAdmissionPolicySpec.md | 20 + kubernetes/docs/V1beta1Mutation.md | 16 + kubernetes/docs/V1beta1TypeChecking.md | 14 - ...V1beta1ValidatingAdmissionPolicyBinding.md | 21 - ...ta1ValidatingAdmissionPolicyBindingList.md | 21 - ...ta1ValidatingAdmissionPolicyBindingSpec.md | 17 - .../V1beta1ValidatingAdmissionPolicyList.md | 21 - .../V1beta1ValidatingAdmissionPolicySpec.md | 20 - .../V1beta1ValidatingAdmissionPolicyStatus.md | 16 - kubernetes/docs/V1beta1Validation.md | 17 - .../docs/V1beta2AllocatedDeviceStatus.md | 3 +- kubernetes/docs/V1beta2AllocationResult.md | 1 + kubernetes/docs/V1beta2CELDeviceSelector.md | 2 +- .../docs/V1beta2CapacityRequestPolicy.md | 16 + .../docs/V1beta2CapacityRequestPolicyRange.md | 16 + .../docs/V1beta2CapacityRequirements.md | 14 + kubernetes/docs/V1beta2Device.md | 4 + kubernetes/docs/V1beta2DeviceCapacity.md | 1 + kubernetes/docs/V1beta2DeviceClassSpec.md | 1 + kubernetes/docs/V1beta2DeviceConstraint.md | 1 + .../V1beta2DeviceRequestAllocationResult.md | 4 + kubernetes/docs/V1beta2DeviceSubRequest.md | 1 + kubernetes/docs/V1beta2ExactDeviceRequest.md | 1 + .../client/openapi/ApiCallback.java | 23 +- .../kubernetes/client/openapi/ApiClient.java | 27 +- .../client/openapi/ApiException.java | 25 +- .../client/openapi/ApiResponse.java | 25 +- .../client/openapi/Configuration.java | 27 +- .../openapi/GzipRequestInterceptor.java | 23 +- .../io/kubernetes/client/openapi/JSON.java | 176 +- .../io/kubernetes/client/openapi/Pair.java | 25 +- .../client/openapi/ProgressRequestBody.java | 23 +- .../client/openapi/ProgressResponseBody.java | 23 +- .../client/openapi/ServerConfiguration.java | 25 +- .../client/openapi/ServerVariable.java | 25 +- .../kubernetes/client/openapi/StringUtil.java | 25 +- .../apis/AdmissionregistrationApi.java | 25 +- .../apis/AdmissionregistrationV1Api.java | 87 +- .../AdmissionregistrationV1alpha1Api.java | 53 +- .../apis/AdmissionregistrationV1beta1Api.java | 1933 +- .../client/openapi/apis/ApiextensionsApi.java | 25 +- .../openapi/apis/ApiextensionsV1Api.java | 45 +- .../openapi/apis/ApiregistrationApi.java | 25 +- .../openapi/apis/ApiregistrationV1Api.java | 45 +- .../client/openapi/apis/ApisApi.java | 25 +- .../client/openapi/apis/AppsApi.java | 25 +- .../client/openapi/apis/AppsV1Api.java | 147 +- .../openapi/apis/AuthenticationApi.java | 25 +- .../openapi/apis/AuthenticationV1Api.java | 29 +- .../client/openapi/apis/AuthorizationApi.java | 25 +- .../openapi/apis/AuthorizationV1Api.java | 33 +- .../client/openapi/apis/AutoscalingApi.java | 25 +- .../client/openapi/apis/AutoscalingV1Api.java | 47 +- .../client/openapi/apis/AutoscalingV2Api.java | 47 +- .../client/openapi/apis/BatchApi.java | 25 +- .../client/openapi/apis/BatchV1Api.java | 69 +- .../client/openapi/apis/CertificatesApi.java | 25 +- .../openapi/apis/CertificatesV1Api.java | 51 +- .../openapi/apis/CertificatesV1alpha1Api.java | 3830 +- .../openapi/apis/CertificatesV1beta1Api.java | 39 +- .../client/openapi/apis/CoordinationApi.java | 25 +- .../openapi/apis/CoordinationV1Api.java | 41 +- .../openapi/apis/CoordinationV1alpha2Api.java | 41 +- .../openapi/apis/CoordinationV1beta1Api.java | 41 +- .../client/openapi/apis/CoreApi.java | 25 +- .../client/openapi/apis/CoreV1Api.java | 435 +- .../client/openapi/apis/CustomObjectsApi.java | 79 +- .../client/openapi/apis/DiscoveryApi.java | 25 +- .../client/openapi/apis/DiscoveryV1Api.java | 41 +- .../client/openapi/apis/EventsApi.java | 25 +- .../client/openapi/apis/EventsV1Api.java | 41 +- .../openapi/apis/FlowcontrolApiserverApi.java | 25 +- .../apis/FlowcontrolApiserverV1Api.java | 65 +- .../openapi/apis/InternalApiserverApi.java | 25 +- .../apis/InternalApiserverV1alpha1Api.java | 45 +- .../client/openapi/apis/LogsApi.java | 31 +- .../client/openapi/apis/NetworkingApi.java | 25 +- .../client/openapi/apis/NetworkingV1Api.java | 111 +- .../openapi/apis/NetworkingV1beta1Api.java | 59 +- .../client/openapi/apis/NodeApi.java | 25 +- .../client/openapi/apis/NodeV1Api.java | 39 +- .../client/openapi/apis/OpenidApi.java | 25 +- .../client/openapi/apis/PolicyApi.java | 25 +- .../client/openapi/apis/PolicyV1Api.java | 47 +- .../openapi/apis/RbacAuthorizationApi.java | 25 +- .../openapi/apis/RbacAuthorizationV1Api.java | 85 +- .../client/openapi/apis/ResourceApi.java | 25 +- .../client/openapi/apis/ResourceV1Api.java | 9514 +++ .../openapi/apis/ResourceV1alpha3Api.java | 10477 +-- .../openapi/apis/ResourceV1beta1Api.java | 91 +- .../openapi/apis/ResourceV1beta2Api.java | 91 +- .../client/openapi/apis/SchedulingApi.java | 25 +- .../client/openapi/apis/SchedulingV1Api.java | 39 +- .../client/openapi/apis/StorageApi.java | 25 +- .../client/openapi/apis/StorageV1Api.java | 3945 +- .../openapi/apis/StorageV1alpha1Api.java | 39 +- .../openapi/apis/StorageV1beta1Api.java | 39 +- .../openapi/apis/StoragemigrationApi.java | 25 +- .../apis/StoragemigrationV1alpha1Api.java | 45 +- .../client/openapi/apis/VersionApi.java | 25 +- .../client/openapi/apis/WellKnownApi.java | 25 +- .../client/openapi/auth/ApiKeyAuth.java | 25 +- .../client/openapi/auth/Authentication.java | 25 +- .../client/openapi/auth/HttpBasicAuth.java | 23 +- .../client/openapi/auth/HttpBearerAuth.java | 25 +- .../openapi/models/AbstractOpenApiSchema.java | 25 +- ...missionregistrationV1ServiceReference.java | 26 +- ...sionregistrationV1WebhookClientConfig.java | 26 +- .../ApiextensionsV1ServiceReference.java | 26 +- .../ApiextensionsV1WebhookClientConfig.java | 26 +- .../ApiregistrationV1ServiceReference.java | 26 +- .../models/AuthenticationV1TokenRequest.java | 26 +- .../openapi/models/CoreV1EndpointPort.java | 26 +- .../client/openapi/models/CoreV1Event.java | 26 +- .../openapi/models/CoreV1EventList.java | 26 +- .../openapi/models/CoreV1EventSeries.java | 26 +- ...rceClaim.java => CoreV1ResourceClaim.java} | 80 +- .../models/DiscoveryV1EndpointPort.java | 26 +- .../client/openapi/models/EventsV1Event.java | 26 +- .../openapi/models/EventsV1EventList.java | 26 +- .../openapi/models/EventsV1EventSeries.java | 26 +- .../openapi/models/FlowcontrolV1Subject.java | 26 +- .../client/openapi/models/RbacV1Subject.java | 26 +- ...laim.java => ResourceV1ResourceClaim.java} | 112 +- .../openapi/models/StorageV1TokenRequest.java | 26 +- .../client/openapi/models/V1APIGroup.java | 26 +- .../client/openapi/models/V1APIGroupList.java | 26 +- .../client/openapi/models/V1APIResource.java | 26 +- .../openapi/models/V1APIResourceList.java | 26 +- .../client/openapi/models/V1APIService.java | 26 +- .../openapi/models/V1APIServiceCondition.java | 26 +- .../openapi/models/V1APIServiceList.java | 26 +- .../openapi/models/V1APIServiceSpec.java | 26 +- .../openapi/models/V1APIServiceStatus.java | 26 +- .../client/openapi/models/V1APIVersions.java | 26 +- .../V1AWSElasticBlockStoreVolumeSource.java | 26 +- .../client/openapi/models/V1Affinity.java | 26 +- .../openapi/models/V1AggregationRule.java | 26 +- ...atus.java => V1AllocatedDeviceStatus.java} | 145 +- ...ionResult.java => V1AllocationResult.java} | 119 +- .../openapi/models/V1AppArmorProfile.java | 26 +- .../openapi/models/V1AttachedVolume.java | 26 +- .../openapi/models/V1AuditAnnotation.java | 26 +- .../models/V1AzureDiskVolumeSource.java | 26 +- .../V1AzureFilePersistentVolumeSource.java | 26 +- .../models/V1AzureFileVolumeSource.java | 26 +- .../client/openapi/models/V1Binding.java | 26 +- .../models/V1BoundObjectReference.java | 26 +- .../openapi/models/V1CELDeviceSelector.java | 218 + .../client/openapi/models/V1CSIDriver.java | 26 +- .../openapi/models/V1CSIDriverList.java | 26 +- .../openapi/models/V1CSIDriverSpec.java | 34 +- .../client/openapi/models/V1CSINode.java | 26 +- .../openapi/models/V1CSINodeDriver.java | 26 +- .../client/openapi/models/V1CSINodeList.java | 26 +- .../client/openapi/models/V1CSINodeSpec.java | 26 +- .../models/V1CSIPersistentVolumeSource.java | 26 +- .../openapi/models/V1CSIStorageCapacity.java | 26 +- .../models/V1CSIStorageCapacityList.java | 26 +- .../openapi/models/V1CSIVolumeSource.java | 26 +- .../client/openapi/models/V1Capabilities.java | 26 +- .../models/V1CapacityRequestPolicy.java | 286 + .../models/V1CapacityRequestPolicyRange.java | 281 + .../models/V1CapacityRequirements.java | 218 + .../V1CephFSPersistentVolumeSource.java | 26 +- .../openapi/models/V1CephFSVolumeSource.java | 26 +- .../models/V1CertificateSigningRequest.java | 26 +- .../V1CertificateSigningRequestCondition.java | 26 +- .../V1CertificateSigningRequestList.java | 26 +- .../V1CertificateSigningRequestSpec.java | 26 +- .../V1CertificateSigningRequestStatus.java | 26 +- .../V1CinderPersistentVolumeSource.java | 26 +- .../openapi/models/V1CinderVolumeSource.java | 26 +- .../openapi/models/V1ClientIPConfig.java | 26 +- .../client/openapi/models/V1ClusterRole.java | 26 +- .../openapi/models/V1ClusterRoleBinding.java | 26 +- .../models/V1ClusterRoleBindingList.java | 26 +- .../openapi/models/V1ClusterRoleList.java | 26 +- .../V1ClusterTrustBundleProjection.java | 26 +- .../openapi/models/V1ComponentCondition.java | 26 +- .../openapi/models/V1ComponentStatus.java | 26 +- .../openapi/models/V1ComponentStatusList.java | 26 +- .../client/openapi/models/V1Condition.java | 26 +- .../client/openapi/models/V1ConfigMap.java | 26 +- .../openapi/models/V1ConfigMapEnvSource.java | 26 +- .../models/V1ConfigMapKeySelector.java | 26 +- .../openapi/models/V1ConfigMapList.java | 26 +- .../models/V1ConfigMapNodeConfigSource.java | 26 +- .../openapi/models/V1ConfigMapProjection.java | 26 +- .../models/V1ConfigMapVolumeSource.java | 26 +- .../client/openapi/models/V1Container.java | 87 +- .../V1ContainerExtendedResourceRequest.java | 282 + .../openapi/models/V1ContainerImage.java | 26 +- .../openapi/models/V1ContainerPort.java | 26 +- .../models/V1ContainerResizePolicy.java | 26 +- ...evice.java => V1ContainerRestartRule.java} | 160 +- .../V1ContainerRestartRuleOnExitCodes.java | 260 + .../openapi/models/V1ContainerState.java | 26 +- .../models/V1ContainerStateRunning.java | 26 +- .../models/V1ContainerStateTerminated.java | 26 +- .../models/V1ContainerStateWaiting.java | 26 +- .../openapi/models/V1ContainerStatus.java | 26 +- .../openapi/models/V1ContainerUser.java | 26 +- .../openapi/models/V1ControllerRevision.java | 26 +- .../models/V1ControllerRevisionList.java | 26 +- .../{V1alpha3Counter.java => V1Counter.java} | 76 +- ...lpha3CounterSet.java => V1CounterSet.java} | 98 +- .../client/openapi/models/V1CronJob.java | 26 +- .../client/openapi/models/V1CronJobList.java | 26 +- .../client/openapi/models/V1CronJobSpec.java | 26 +- .../openapi/models/V1CronJobStatus.java | 26 +- .../models/V1CrossVersionObjectReference.java | 26 +- .../V1CustomResourceColumnDefinition.java | 26 +- .../models/V1CustomResourceConversion.java | 26 +- .../models/V1CustomResourceDefinition.java | 26 +- .../V1CustomResourceDefinitionCondition.java | 26 +- .../V1CustomResourceDefinitionList.java | 26 +- .../V1CustomResourceDefinitionNames.java | 26 +- .../V1CustomResourceDefinitionSpec.java | 26 +- .../V1CustomResourceDefinitionStatus.java | 26 +- .../V1CustomResourceDefinitionVersion.java | 26 +- .../V1CustomResourceSubresourceScale.java | 26 +- .../models/V1CustomResourceSubresources.java | 26 +- .../models/V1CustomResourceValidation.java | 26 +- .../openapi/models/V1DaemonEndpoint.java | 26 +- .../client/openapi/models/V1DaemonSet.java | 26 +- .../openapi/models/V1DaemonSetCondition.java | 26 +- .../openapi/models/V1DaemonSetList.java | 26 +- .../openapi/models/V1DaemonSetSpec.java | 26 +- .../openapi/models/V1DaemonSetStatus.java | 26 +- .../models/V1DaemonSetUpdateStrategy.java | 26 +- .../openapi/models/V1DeleteOptions.java | 26 +- .../client/openapi/models/V1Deployment.java | 26 +- .../openapi/models/V1DeploymentCondition.java | 26 +- .../openapi/models/V1DeploymentList.java | 26 +- .../openapi/models/V1DeploymentSpec.java | 26 +- .../openapi/models/V1DeploymentStatus.java | 26 +- .../openapi/models/V1DeploymentStrategy.java | 26 +- .../client/openapi/models/V1Device.java | 626 + ...a => V1DeviceAllocationConfiguration.java} | 96 +- ...ult.java => V1DeviceAllocationResult.java} | 102 +- ...eAttribute.java => V1DeviceAttribute.java} | 86 +- .../openapi/models/V1DeviceCapacity.java | 252 + ...ha3DeviceClaim.java => V1DeviceClaim.java} | 118 +- ...n.java => V1DeviceClaimConfiguration.java} | 90 +- ...ha3DeviceClass.java => V1DeviceClass.java} | 98 +- ...n.java => V1DeviceClassConfiguration.java} | 84 +- ...eClassList.java => V1DeviceClassList.java} | 100 +- ...eClassSpec.java => V1DeviceClassSpec.java} | 135 +- ...onstraint.java => V1DeviceConstraint.java} | 113 +- ...n.java => V1DeviceCounterConsumption.java} | 98 +- .../openapi/models/V1DeviceRequest.java | 304 + ...a => V1DeviceRequestAllocationResult.java} | 260 +- .../openapi/models/V1DeviceSelector.java | 212 + ...ubRequest.java => V1DeviceSubRequest.java} | 167 +- .../client/openapi/models/V1DeviceTaint.java | 310 + ...oleration.java => V1DeviceToleration.java} | 90 +- .../models/V1DownwardAPIProjection.java | 26 +- .../models/V1DownwardAPIVolumeFile.java | 26 +- .../models/V1DownwardAPIVolumeSource.java | 26 +- .../models/V1EmptyDirVolumeSource.java | 26 +- .../client/openapi/models/V1Endpoint.java | 26 +- .../openapi/models/V1EndpointAddress.java | 26 +- .../openapi/models/V1EndpointConditions.java | 26 +- .../openapi/models/V1EndpointHints.java | 26 +- .../openapi/models/V1EndpointSlice.java | 26 +- .../openapi/models/V1EndpointSliceList.java | 26 +- .../openapi/models/V1EndpointSubset.java | 26 +- .../client/openapi/models/V1Endpoints.java | 26 +- .../openapi/models/V1EndpointsList.java | 26 +- .../openapi/models/V1EnvFromSource.java | 30 +- .../client/openapi/models/V1EnvVar.java | 30 +- .../client/openapi/models/V1EnvVarSource.java | 61 +- .../openapi/models/V1EphemeralContainer.java | 87 +- .../models/V1EphemeralVolumeSource.java | 26 +- .../client/openapi/models/V1EventSource.java | 26 +- .../client/openapi/models/V1Eviction.java | 26 +- ...Request.java => V1ExactDeviceRequest.java} | 273 +- .../client/openapi/models/V1ExecAction.java | 26 +- .../V1ExemptPriorityLevelConfiguration.java | 26 +- .../openapi/models/V1ExpressionWarning.java | 26 +- .../models/V1ExternalDocumentation.java | 26 +- .../openapi/models/V1FCVolumeSource.java | 26 +- .../models/V1FieldSelectorAttributes.java | 26 +- .../models/V1FieldSelectorRequirement.java | 26 +- .../openapi/models/V1FileKeySelector.java | 310 + .../models/V1FlexPersistentVolumeSource.java | 26 +- .../openapi/models/V1FlexVolumeSource.java | 26 +- .../openapi/models/V1FlockerVolumeSource.java | 26 +- .../models/V1FlowDistinguisherMethod.java | 26 +- .../client/openapi/models/V1FlowSchema.java | 26 +- .../openapi/models/V1FlowSchemaCondition.java | 26 +- .../openapi/models/V1FlowSchemaList.java | 26 +- .../openapi/models/V1FlowSchemaSpec.java | 26 +- .../openapi/models/V1FlowSchemaStatus.java | 26 +- .../client/openapi/models/V1ForNode.java | 26 +- .../client/openapi/models/V1ForZone.java | 26 +- .../V1GCEPersistentDiskVolumeSource.java | 26 +- .../client/openapi/models/V1GRPCAction.java | 26 +- .../openapi/models/V1GitRepoVolumeSource.java | 26 +- .../V1GlusterfsPersistentVolumeSource.java | 26 +- .../models/V1GlusterfsVolumeSource.java | 30 +- .../client/openapi/models/V1GroupSubject.java | 26 +- .../models/V1GroupVersionForDiscovery.java | 26 +- .../openapi/models/V1HTTPGetAction.java | 26 +- .../client/openapi/models/V1HTTPHeader.java | 26 +- .../openapi/models/V1HTTPIngressPath.java | 26 +- .../models/V1HTTPIngressRuleValue.java | 26 +- .../models/V1HorizontalPodAutoscaler.java | 26 +- .../models/V1HorizontalPodAutoscalerList.java | 26 +- .../models/V1HorizontalPodAutoscalerSpec.java | 26 +- .../V1HorizontalPodAutoscalerStatus.java | 26 +- .../client/openapi/models/V1HostAlias.java | 26 +- .../client/openapi/models/V1HostIP.java | 26 +- .../models/V1HostPathVolumeSource.java | 26 +- .../client/openapi/models/V1IPAddress.java | 26 +- .../openapi/models/V1IPAddressList.java | 26 +- .../openapi/models/V1IPAddressSpec.java | 26 +- .../client/openapi/models/V1IPBlock.java | 26 +- .../models/V1ISCSIPersistentVolumeSource.java | 26 +- .../openapi/models/V1ISCSIVolumeSource.java | 26 +- .../openapi/models/V1ImageVolumeSource.java | 26 +- .../client/openapi/models/V1Ingress.java | 26 +- .../openapi/models/V1IngressBackend.java | 26 +- .../client/openapi/models/V1IngressClass.java | 26 +- .../openapi/models/V1IngressClassList.java | 26 +- .../V1IngressClassParametersReference.java | 26 +- .../openapi/models/V1IngressClassSpec.java | 26 +- .../client/openapi/models/V1IngressList.java | 26 +- .../models/V1IngressLoadBalancerIngress.java | 26 +- .../models/V1IngressLoadBalancerStatus.java | 26 +- .../openapi/models/V1IngressPortStatus.java | 26 +- .../client/openapi/models/V1IngressRule.java | 26 +- .../models/V1IngressServiceBackend.java | 26 +- .../client/openapi/models/V1IngressSpec.java | 26 +- .../openapi/models/V1IngressStatus.java | 26 +- .../client/openapi/models/V1IngressTLS.java | 26 +- .../openapi/models/V1JSONSchemaProps.java | 26 +- .../client/openapi/models/V1Job.java | 26 +- .../client/openapi/models/V1JobCondition.java | 26 +- .../client/openapi/models/V1JobList.java | 26 +- .../client/openapi/models/V1JobSpec.java | 34 +- .../client/openapi/models/V1JobStatus.java | 26 +- .../openapi/models/V1JobTemplateSpec.java | 26 +- .../client/openapi/models/V1KeyToPath.java | 26 +- .../openapi/models/V1LabelSelector.java | 26 +- .../models/V1LabelSelectorAttributes.java | 26 +- .../models/V1LabelSelectorRequirement.java | 26 +- .../client/openapi/models/V1Lease.java | 26 +- .../client/openapi/models/V1LeaseList.java | 26 +- .../client/openapi/models/V1LeaseSpec.java | 26 +- .../client/openapi/models/V1Lifecycle.java | 26 +- .../openapi/models/V1LifecycleHandler.java | 26 +- .../client/openapi/models/V1LimitRange.java | 26 +- .../openapi/models/V1LimitRangeItem.java | 26 +- .../openapi/models/V1LimitRangeList.java | 26 +- .../openapi/models/V1LimitRangeSpec.java | 26 +- .../openapi/models/V1LimitResponse.java | 26 +- .../V1LimitedPriorityLevelConfiguration.java | 26 +- .../openapi/models/V1LinuxContainerUser.java | 26 +- .../client/openapi/models/V1ListMeta.java | 29 +- .../openapi/models/V1LoadBalancerIngress.java | 26 +- .../openapi/models/V1LoadBalancerStatus.java | 26 +- .../models/V1LocalObjectReference.java | 26 +- .../models/V1LocalSubjectAccessReview.java | 26 +- .../openapi/models/V1LocalVolumeSource.java | 26 +- .../openapi/models/V1ManagedFieldsEntry.java | 26 +- .../openapi/models/V1MatchCondition.java | 26 +- .../openapi/models/V1MatchResources.java | 26 +- .../openapi/models/V1ModifyVolumeStatus.java | 26 +- .../openapi/models/V1MutatingWebhook.java | 26 +- .../V1MutatingWebhookConfiguration.java | 26 +- .../V1MutatingWebhookConfigurationList.java | 26 +- .../openapi/models/V1NFSVolumeSource.java | 26 +- .../models/V1NamedRuleWithOperations.java | 26 +- .../client/openapi/models/V1Namespace.java | 26 +- .../openapi/models/V1NamespaceCondition.java | 26 +- .../openapi/models/V1NamespaceList.java | 26 +- .../openapi/models/V1NamespaceSpec.java | 26 +- .../openapi/models/V1NamespaceStatus.java | 26 +- ...viceData.java => V1NetworkDeviceData.java} | 88 +- .../openapi/models/V1NetworkPolicy.java | 26 +- .../models/V1NetworkPolicyEgressRule.java | 26 +- .../models/V1NetworkPolicyIngressRule.java | 26 +- .../openapi/models/V1NetworkPolicyList.java | 26 +- .../openapi/models/V1NetworkPolicyPeer.java | 26 +- .../openapi/models/V1NetworkPolicyPort.java | 26 +- .../openapi/models/V1NetworkPolicySpec.java | 50 +- .../client/openapi/models/V1Node.java | 26 +- .../client/openapi/models/V1NodeAddress.java | 26 +- .../client/openapi/models/V1NodeAffinity.java | 26 +- .../openapi/models/V1NodeCondition.java | 26 +- .../openapi/models/V1NodeConfigSource.java | 26 +- .../openapi/models/V1NodeConfigStatus.java | 26 +- .../openapi/models/V1NodeDaemonEndpoints.java | 26 +- .../client/openapi/models/V1NodeFeatures.java | 26 +- .../client/openapi/models/V1NodeList.java | 26 +- .../openapi/models/V1NodeRuntimeHandler.java | 26 +- .../models/V1NodeRuntimeHandlerFeatures.java | 26 +- .../client/openapi/models/V1NodeSelector.java | 26 +- .../models/V1NodeSelectorRequirement.java | 26 +- .../openapi/models/V1NodeSelectorTerm.java | 26 +- .../client/openapi/models/V1NodeSpec.java | 26 +- .../client/openapi/models/V1NodeStatus.java | 26 +- .../openapi/models/V1NodeSwapStatus.java | 26 +- .../openapi/models/V1NodeSystemInfo.java | 26 +- .../models/V1NonResourceAttributes.java | 26 +- .../models/V1NonResourcePolicyRule.java | 26 +- .../openapi/models/V1NonResourceRule.java | 26 +- .../openapi/models/V1ObjectFieldSelector.java | 26 +- .../client/openapi/models/V1ObjectMeta.java | 26 +- .../openapi/models/V1ObjectReference.java | 26 +- ....java => V1OpaqueDeviceConfiguration.java} | 80 +- .../client/openapi/models/V1Overhead.java | 26 +- .../openapi/models/V1OwnerReference.java | 26 +- .../client/openapi/models/V1ParamKind.java | 26 +- .../client/openapi/models/V1ParamRef.java | 26 +- .../openapi/models/V1ParentReference.java | 26 +- .../openapi/models/V1PersistentVolume.java | 26 +- .../models/V1PersistentVolumeClaim.java | 26 +- .../V1PersistentVolumeClaimCondition.java | 26 +- .../models/V1PersistentVolumeClaimList.java | 26 +- .../models/V1PersistentVolumeClaimSpec.java | 30 +- .../models/V1PersistentVolumeClaimStatus.java | 30 +- .../V1PersistentVolumeClaimTemplate.java | 26 +- .../V1PersistentVolumeClaimVolumeSource.java | 26 +- .../models/V1PersistentVolumeList.java | 26 +- .../models/V1PersistentVolumeSpec.java | 30 +- .../models/V1PersistentVolumeStatus.java | 26 +- .../V1PhotonPersistentDiskVolumeSource.java | 26 +- .../client/openapi/models/V1Pod.java | 26 +- .../client/openapi/models/V1PodAffinity.java | 26 +- .../openapi/models/V1PodAffinityTerm.java | 26 +- .../openapi/models/V1PodAntiAffinity.java | 30 +- .../models/V1PodCertificateProjection.java | 371 + .../client/openapi/models/V1PodCondition.java | 26 +- .../client/openapi/models/V1PodDNSConfig.java | 26 +- .../openapi/models/V1PodDNSConfigOption.java | 26 +- .../openapi/models/V1PodDisruptionBudget.java | 26 +- .../models/V1PodDisruptionBudgetList.java | 26 +- .../models/V1PodDisruptionBudgetSpec.java | 26 +- .../models/V1PodDisruptionBudgetStatus.java | 26 +- .../V1PodExtendedResourceClaimStatus.java | 268 + .../openapi/models/V1PodFailurePolicy.java | 26 +- ...odFailurePolicyOnExitCodesRequirement.java | 26 +- ...odFailurePolicyOnPodConditionsPattern.java | 26 +- .../models/V1PodFailurePolicyRule.java | 26 +- .../client/openapi/models/V1PodIP.java | 26 +- .../client/openapi/models/V1PodList.java | 26 +- .../client/openapi/models/V1PodOS.java | 26 +- .../openapi/models/V1PodReadinessGate.java | 26 +- .../openapi/models/V1PodResourceClaim.java | 26 +- .../models/V1PodResourceClaimStatus.java | 26 +- .../openapi/models/V1PodSchedulingGate.java | 26 +- .../openapi/models/V1PodSecurityContext.java | 26 +- .../client/openapi/models/V1PodSpec.java | 63 +- .../client/openapi/models/V1PodStatus.java | 61 +- .../client/openapi/models/V1PodTemplate.java | 26 +- .../openapi/models/V1PodTemplateList.java | 26 +- .../openapi/models/V1PodTemplateSpec.java | 26 +- .../client/openapi/models/V1PolicyRule.java | 26 +- .../models/V1PolicyRulesWithSubjects.java | 26 +- .../client/openapi/models/V1PortStatus.java | 26 +- .../models/V1PortworxVolumeSource.java | 26 +- .../openapi/models/V1Preconditions.java | 26 +- .../models/V1PreferredSchedulingTerm.java | 26 +- .../openapi/models/V1PriorityClass.java | 26 +- .../openapi/models/V1PriorityClassList.java | 26 +- .../models/V1PriorityLevelConfiguration.java | 26 +- ...V1PriorityLevelConfigurationCondition.java | 26 +- .../V1PriorityLevelConfigurationList.java | 26 +- ...V1PriorityLevelConfigurationReference.java | 26 +- .../V1PriorityLevelConfigurationSpec.java | 26 +- .../V1PriorityLevelConfigurationStatus.java | 26 +- .../client/openapi/models/V1Probe.java | 26 +- .../models/V1ProjectedVolumeSource.java | 26 +- .../models/V1QueuingConfiguration.java | 26 +- .../openapi/models/V1QuobyteVolumeSource.java | 26 +- .../models/V1RBDPersistentVolumeSource.java | 26 +- .../openapi/models/V1RBDVolumeSource.java | 26 +- .../client/openapi/models/V1ReplicaSet.java | 26 +- .../openapi/models/V1ReplicaSetCondition.java | 26 +- .../openapi/models/V1ReplicaSetList.java | 26 +- .../openapi/models/V1ReplicaSetSpec.java | 26 +- .../openapi/models/V1ReplicaSetStatus.java | 26 +- .../models/V1ReplicationController.java | 26 +- .../V1ReplicationControllerCondition.java | 26 +- .../models/V1ReplicationControllerList.java | 26 +- .../models/V1ReplicationControllerSpec.java | 26 +- .../models/V1ReplicationControllerStatus.java | 26 +- .../openapi/models/V1ResourceAttributes.java | 26 +- ... => V1ResourceClaimConsumerReference.java} | 88 +- ...laimList.java => V1ResourceClaimList.java} | 100 +- ...laimSpec.java => V1ResourceClaimSpec.java} | 84 +- ...Status.java => V1ResourceClaimStatus.java} | 116 +- ...late.java => V1ResourceClaimTemplate.java} | 98 +- .../models/V1ResourceClaimTemplateList.java | 331 + ....java => V1ResourceClaimTemplateSpec.java} | 90 +- .../models/V1ResourceFieldSelector.java | 26 +- .../openapi/models/V1ResourceHealth.java | 26 +- .../openapi/models/V1ResourcePolicyRule.java | 26 +- ...3ResourcePool.java => V1ResourcePool.java} | 84 +- .../openapi/models/V1ResourceQuota.java | 26 +- .../openapi/models/V1ResourceQuotaList.java | 26 +- .../openapi/models/V1ResourceQuotaSpec.java | 26 +- .../openapi/models/V1ResourceQuotaStatus.java | 26 +- .../models/V1ResourceRequirements.java | 44 +- .../client/openapi/models/V1ResourceRule.java | 26 +- ...esourceSlice.java => V1ResourceSlice.java} | 98 +- ...liceList.java => V1ResourceSliceList.java} | 100 +- ...liceSpec.java => V1ResourceSliceSpec.java} | 142 +- .../openapi/models/V1ResourceStatus.java | 26 +- .../client/openapi/models/V1Role.java | 26 +- .../client/openapi/models/V1RoleBinding.java | 26 +- .../openapi/models/V1RoleBindingList.java | 26 +- .../client/openapi/models/V1RoleList.java | 26 +- .../client/openapi/models/V1RoleRef.java | 26 +- .../models/V1RollingUpdateDaemonSet.java | 26 +- .../models/V1RollingUpdateDeployment.java | 26 +- .../V1RollingUpdateStatefulSetStrategy.java | 26 +- .../openapi/models/V1RuleWithOperations.java | 26 +- .../client/openapi/models/V1RuntimeClass.java | 26 +- .../openapi/models/V1RuntimeClassList.java | 26 +- .../openapi/models/V1SELinuxOptions.java | 26 +- .../client/openapi/models/V1Scale.java | 26 +- .../V1ScaleIOPersistentVolumeSource.java | 26 +- .../openapi/models/V1ScaleIOVolumeSource.java | 26 +- .../client/openapi/models/V1ScaleSpec.java | 26 +- .../client/openapi/models/V1ScaleStatus.java | 26 +- .../client/openapi/models/V1Scheduling.java | 26 +- .../openapi/models/V1ScopeSelector.java | 26 +- .../V1ScopedResourceSelectorRequirement.java | 26 +- .../openapi/models/V1SeccompProfile.java | 26 +- .../client/openapi/models/V1Secret.java | 29 +- .../openapi/models/V1SecretEnvSource.java | 26 +- .../openapi/models/V1SecretKeySelector.java | 26 +- .../client/openapi/models/V1SecretList.java | 26 +- .../openapi/models/V1SecretProjection.java | 26 +- .../openapi/models/V1SecretReference.java | 26 +- .../openapi/models/V1SecretVolumeSource.java | 26 +- .../openapi/models/V1SecurityContext.java | 26 +- .../openapi/models/V1SelectableField.java | 26 +- .../models/V1SelfSubjectAccessReview.java | 26 +- .../models/V1SelfSubjectAccessReviewSpec.java | 26 +- .../openapi/models/V1SelfSubjectReview.java | 26 +- .../models/V1SelfSubjectReviewStatus.java | 26 +- .../models/V1SelfSubjectRulesReview.java | 26 +- .../models/V1SelfSubjectRulesReviewSpec.java | 26 +- .../models/V1ServerAddressByClientCIDR.java | 26 +- .../client/openapi/models/V1Service.java | 26 +- .../openapi/models/V1ServiceAccount.java | 26 +- .../openapi/models/V1ServiceAccountList.java | 26 +- .../models/V1ServiceAccountSubject.java | 26 +- .../V1ServiceAccountTokenProjection.java | 26 +- .../openapi/models/V1ServiceBackendPort.java | 26 +- .../client/openapi/models/V1ServiceCIDR.java | 26 +- .../openapi/models/V1ServiceCIDRList.java | 26 +- .../openapi/models/V1ServiceCIDRSpec.java | 26 +- .../openapi/models/V1ServiceCIDRStatus.java | 26 +- .../client/openapi/models/V1ServiceList.java | 26 +- .../client/openapi/models/V1ServicePort.java | 26 +- .../client/openapi/models/V1ServiceSpec.java | 26 +- .../openapi/models/V1ServiceStatus.java | 26 +- .../models/V1SessionAffinityConfig.java | 26 +- .../client/openapi/models/V1SleepAction.java | 26 +- .../client/openapi/models/V1StatefulSet.java | 26 +- .../models/V1StatefulSetCondition.java | 26 +- .../openapi/models/V1StatefulSetList.java | 26 +- .../openapi/models/V1StatefulSetOrdinals.java | 26 +- ...tPersistentVolumeClaimRetentionPolicy.java | 26 +- .../openapi/models/V1StatefulSetSpec.java | 26 +- .../openapi/models/V1StatefulSetStatus.java | 26 +- .../models/V1StatefulSetUpdateStrategy.java | 26 +- .../client/openapi/models/V1Status.java | 29 +- .../client/openapi/models/V1StatusCause.java | 26 +- .../openapi/models/V1StatusDetails.java | 26 +- .../client/openapi/models/V1StorageClass.java | 26 +- .../openapi/models/V1StorageClassList.java | 26 +- .../V1StorageOSPersistentVolumeSource.java | 26 +- .../models/V1StorageOSVolumeSource.java | 26 +- .../openapi/models/V1SubjectAccessReview.java | 26 +- .../models/V1SubjectAccessReviewSpec.java | 26 +- .../models/V1SubjectAccessReviewStatus.java | 26 +- .../models/V1SubjectRulesReviewStatus.java | 26 +- .../openapi/models/V1SuccessPolicy.java | 30 +- .../openapi/models/V1SuccessPolicyRule.java | 26 +- .../client/openapi/models/V1Sysctl.java | 26 +- .../openapi/models/V1TCPSocketAction.java | 26 +- .../client/openapi/models/V1Taint.java | 30 +- .../openapi/models/V1TokenRequestSpec.java | 26 +- .../openapi/models/V1TokenRequestStatus.java | 26 +- .../client/openapi/models/V1TokenReview.java | 26 +- .../openapi/models/V1TokenReviewSpec.java | 26 +- .../openapi/models/V1TokenReviewStatus.java | 26 +- .../client/openapi/models/V1Toleration.java | 26 +- .../V1TopologySelectorLabelRequirement.java | 26 +- .../models/V1TopologySelectorTerm.java | 26 +- .../models/V1TopologySpreadConstraint.java | 26 +- .../client/openapi/models/V1TypeChecking.java | 26 +- .../models/V1TypedLocalObjectReference.java | 26 +- .../models/V1TypedObjectReference.java | 26 +- .../models/V1UncountedTerminatedPods.java | 26 +- .../client/openapi/models/V1UserInfo.java | 26 +- .../client/openapi/models/V1UserSubject.java | 26 +- .../models/V1ValidatingAdmissionPolicy.java | 26 +- .../V1ValidatingAdmissionPolicyBinding.java | 26 +- ...1ValidatingAdmissionPolicyBindingList.java | 26 +- ...1ValidatingAdmissionPolicyBindingSpec.java | 26 +- .../V1ValidatingAdmissionPolicyList.java | 26 +- .../V1ValidatingAdmissionPolicySpec.java | 26 +- .../V1ValidatingAdmissionPolicyStatus.java | 26 +- .../openapi/models/V1ValidatingWebhook.java | 26 +- .../V1ValidatingWebhookConfiguration.java | 26 +- .../V1ValidatingWebhookConfigurationList.java | 26 +- .../client/openapi/models/V1Validation.java | 26 +- .../openapi/models/V1ValidationRule.java | 26 +- .../client/openapi/models/V1Variable.java | 26 +- .../client/openapi/models/V1Volume.java | 26 +- .../openapi/models/V1VolumeAttachment.java | 26 +- .../models/V1VolumeAttachmentList.java | 26 +- .../models/V1VolumeAttachmentSource.java | 26 +- .../models/V1VolumeAttachmentSpec.java | 26 +- .../models/V1VolumeAttachmentStatus.java | 26 +- .../models/V1VolumeAttributesClass.java | 351 + .../models/V1VolumeAttributesClassList.java | 331 + .../client/openapi/models/V1VolumeDevice.java | 26 +- .../client/openapi/models/V1VolumeError.java | 30 +- .../client/openapi/models/V1VolumeMount.java | 26 +- .../openapi/models/V1VolumeMountStatus.java | 26 +- .../openapi/models/V1VolumeNodeAffinity.java | 26 +- .../openapi/models/V1VolumeNodeResources.java | 26 +- .../openapi/models/V1VolumeProjection.java | 61 +- .../models/V1VolumeResourceRequirements.java | 26 +- .../V1VsphereVirtualDiskVolumeSource.java | 26 +- .../client/openapi/models/V1WatchEvent.java | 26 +- .../openapi/models/V1WebhookConversion.java | 26 +- .../models/V1WeightedPodAffinityTerm.java | 26 +- .../V1WindowsSecurityContextOptions.java | 26 +- .../models/V1alpha1ApplyConfiguration.java | 26 +- .../models/V1alpha1ClusterTrustBundle.java | 26 +- .../V1alpha1ClusterTrustBundleList.java | 26 +- .../V1alpha1ClusterTrustBundleSpec.java | 26 +- .../models/V1alpha1GroupVersionResource.java | 26 +- .../openapi/models/V1alpha1JSONPatch.java | 26 +- .../models/V1alpha1MatchCondition.java | 26 +- .../models/V1alpha1MatchResources.java | 26 +- .../models/V1alpha1MigrationCondition.java | 26 +- .../V1alpha1MutatingAdmissionPolicy.java | 26 +- ...1alpha1MutatingAdmissionPolicyBinding.java | 26 +- ...ha1MutatingAdmissionPolicyBindingList.java | 26 +- ...ha1MutatingAdmissionPolicyBindingSpec.java | 26 +- .../V1alpha1MutatingAdmissionPolicyList.java | 26 +- .../V1alpha1MutatingAdmissionPolicySpec.java | 26 +- .../openapi/models/V1alpha1Mutation.java | 26 +- .../V1alpha1NamedRuleWithOperations.java | 26 +- .../openapi/models/V1alpha1ParamKind.java | 26 +- .../openapi/models/V1alpha1ParamRef.java | 26 +- ...ava => V1alpha1PodCertificateRequest.java} | 132 +- ...=> V1alpha1PodCertificateRequestList.java} | 108 +- .../V1alpha1PodCertificateRequestSpec.java | 496 + .../V1alpha1PodCertificateRequestStatus.java | 348 + .../models/V1alpha1ServerStorageVersion.java | 26 +- .../models/V1alpha1StorageVersion.java | 26 +- .../V1alpha1StorageVersionCondition.java | 26 +- .../models/V1alpha1StorageVersionList.java | 26 +- .../V1alpha1StorageVersionMigration.java | 26 +- .../V1alpha1StorageVersionMigrationList.java | 26 +- .../V1alpha1StorageVersionMigrationSpec.java | 26 +- ...V1alpha1StorageVersionMigrationStatus.java | 26 +- .../models/V1alpha1StorageVersionStatus.java | 26 +- .../openapi/models/V1alpha1Variable.java | 26 +- .../models/V1alpha1VolumeAttributesClass.java | 26 +- .../V1alpha1VolumeAttributesClassList.java | 26 +- .../models/V1alpha2LeaseCandidate.java | 26 +- .../models/V1alpha2LeaseCandidateList.java | 26 +- .../models/V1alpha2LeaseCandidateSpec.java | 26 +- .../openapi/models/V1alpha3BasicDevice.java | 449 - .../models/V1alpha3CELDeviceSelector.java | 26 +- .../models/V1alpha3DeviceSelector.java | 26 +- .../openapi/models/V1alpha3DeviceTaint.java | 26 +- .../models/V1alpha3DeviceTaintRule.java | 26 +- .../models/V1alpha3DeviceTaintRuleList.java | 26 +- .../models/V1alpha3DeviceTaintRuleSpec.java | 26 +- .../models/V1alpha3DeviceTaintSelector.java | 26 +- .../models/V1beta1AllocatedDeviceStatus.java | 65 +- .../models/V1beta1AllocationResult.java | 59 +- .../models/V1beta1ApplyConfiguration.java | 210 + .../models/V1beta1AuditAnnotation.java | 248 - .../openapi/models/V1beta1BasicDevice.java | 164 +- .../models/V1beta1CELDeviceSelector.java | 30 +- .../models/V1beta1CapacityRequestPolicy.java | 286 + .../V1beta1CapacityRequestPolicyRange.java | 281 + .../models/V1beta1CapacityRequirements.java | 218 + .../models/V1beta1ClusterTrustBundle.java | 26 +- .../models/V1beta1ClusterTrustBundleList.java | 26 +- .../models/V1beta1ClusterTrustBundleSpec.java | 26 +- .../client/openapi/models/V1beta1Counter.java | 26 +- .../openapi/models/V1beta1CounterSet.java | 26 +- .../client/openapi/models/V1beta1Device.java | 26 +- .../V1beta1DeviceAllocationConfiguration.java | 26 +- .../models/V1beta1DeviceAllocationResult.java | 26 +- .../models/V1beta1DeviceAttribute.java | 26 +- .../openapi/models/V1beta1DeviceCapacity.java | 63 +- .../openapi/models/V1beta1DeviceClaim.java | 26 +- .../V1beta1DeviceClaimConfiguration.java | 26 +- .../openapi/models/V1beta1DeviceClass.java | 26 +- .../V1beta1DeviceClassConfiguration.java | 26 +- .../models/V1beta1DeviceClassList.java | 26 +- .../models/V1beta1DeviceClassSpec.java | 59 +- .../models/V1beta1DeviceConstraint.java | 61 +- .../V1beta1DeviceCounterConsumption.java | 26 +- .../openapi/models/V1beta1DeviceRequest.java | 61 +- .../V1beta1DeviceRequestAllocationResult.java | 178 +- .../openapi/models/V1beta1DeviceSelector.java | 26 +- .../models/V1beta1DeviceSubRequest.java | 61 +- .../openapi/models/V1beta1DeviceTaint.java | 26 +- .../models/V1beta1DeviceToleration.java | 26 +- .../models/V1beta1ExpressionWarning.java | 248 - .../openapi/models/V1beta1IPAddress.java | 26 +- .../openapi/models/V1beta1IPAddressList.java | 26 +- .../openapi/models/V1beta1IPAddressSpec.java | 26 +- .../openapi/models/V1beta1JSONPatch.java | 210 + .../openapi/models/V1beta1LeaseCandidate.java | 26 +- .../models/V1beta1LeaseCandidateList.java | 26 +- .../models/V1beta1LeaseCandidateSpec.java | 26 +- .../openapi/models/V1beta1MatchCondition.java | 26 +- .../openapi/models/V1beta1MatchResources.java | 26 +- ...va => V1beta1MutatingAdmissionPolicy.java} | 100 +- ...V1beta1MutatingAdmissionPolicyBinding.java | 307 + ...ta1MutatingAdmissionPolicyBindingList.java | 331 + ...ta1MutatingAdmissionPolicyBindingSpec.java | 276 + ...> V1beta1MutatingAdmissionPolicyList.java} | 104 +- ...> V1beta1MutatingAdmissionPolicySpec.java} | 266 +- .../openapi/models/V1beta1Mutation.java | 284 + .../V1beta1NamedRuleWithOperations.java | 26 +- .../models/V1beta1NetworkDeviceData.java | 26 +- .../V1beta1OpaqueDeviceConfiguration.java | 26 +- .../openapi/models/V1beta1ParamKind.java | 26 +- .../openapi/models/V1beta1ParamRef.java | 26 +- .../models/V1beta1ParentReference.java | 26 +- .../openapi/models/V1beta1ResourceClaim.java | 26 +- ...V1beta1ResourceClaimConsumerReference.java | 26 +- .../models/V1beta1ResourceClaimList.java | 26 +- .../models/V1beta1ResourceClaimSpec.java | 26 +- .../models/V1beta1ResourceClaimStatus.java | 26 +- .../models/V1beta1ResourceClaimTemplate.java | 26 +- .../V1beta1ResourceClaimTemplateList.java | 26 +- .../V1beta1ResourceClaimTemplateSpec.java | 26 +- .../openapi/models/V1beta1ResourcePool.java | 26 +- .../openapi/models/V1beta1ResourceSlice.java | 26 +- .../models/V1beta1ResourceSliceList.java | 26 +- .../models/V1beta1ResourceSliceSpec.java | 26 +- .../openapi/models/V1beta1ServiceCIDR.java | 26 +- .../models/V1beta1ServiceCIDRList.java | 26 +- .../models/V1beta1ServiceCIDRSpec.java | 26 +- .../models/V1beta1ServiceCIDRStatus.java | 26 +- .../openapi/models/V1beta1TypeChecking.java | 230 - ...1ValidatingAdmissionPolicyBindingList.java | 329 - ...1ValidatingAdmissionPolicyBindingSpec.java | 316 - ...1beta1ValidatingAdmissionPolicyStatus.java | 291 - .../openapi/models/V1beta1Validation.java | 309 - .../openapi/models/V1beta1Variable.java | 26 +- .../models/V1beta1VolumeAttributesClass.java | 26 +- .../V1beta1VolumeAttributesClassList.java | 26 +- .../models/V1beta2AllocatedDeviceStatus.java | 65 +- .../models/V1beta2AllocationResult.java | 59 +- .../models/V1beta2CELDeviceSelector.java | 30 +- .../models/V1beta2CapacityRequestPolicy.java | 286 + .../V1beta2CapacityRequestPolicyRange.java | 281 + .../models/V1beta2CapacityRequirements.java | 218 + .../client/openapi/models/V1beta2Counter.java | 26 +- .../openapi/models/V1beta2CounterSet.java | 26 +- .../client/openapi/models/V1beta2Device.java | 164 +- .../V1beta2DeviceAllocationConfiguration.java | 26 +- .../models/V1beta2DeviceAllocationResult.java | 26 +- .../models/V1beta2DeviceAttribute.java | 26 +- .../openapi/models/V1beta2DeviceCapacity.java | 63 +- .../openapi/models/V1beta2DeviceClaim.java | 26 +- .../V1beta2DeviceClaimConfiguration.java | 26 +- .../openapi/models/V1beta2DeviceClass.java | 26 +- .../V1beta2DeviceClassConfiguration.java | 26 +- .../models/V1beta2DeviceClassList.java | 26 +- .../models/V1beta2DeviceClassSpec.java | 59 +- .../models/V1beta2DeviceConstraint.java | 61 +- .../V1beta2DeviceCounterConsumption.java | 26 +- .../openapi/models/V1beta2DeviceRequest.java | 26 +- .../V1beta2DeviceRequestAllocationResult.java | 178 +- .../openapi/models/V1beta2DeviceSelector.java | 26 +- .../models/V1beta2DeviceSubRequest.java | 61 +- .../openapi/models/V1beta2DeviceTaint.java | 26 +- .../models/V1beta2DeviceToleration.java | 26 +- .../models/V1beta2ExactDeviceRequest.java | 61 +- .../models/V1beta2NetworkDeviceData.java | 26 +- .../V1beta2OpaqueDeviceConfiguration.java | 26 +- .../openapi/models/V1beta2ResourceClaim.java | 26 +- ...V1beta2ResourceClaimConsumerReference.java | 26 +- .../models/V1beta2ResourceClaimList.java | 26 +- .../models/V1beta2ResourceClaimSpec.java | 26 +- .../models/V1beta2ResourceClaimStatus.java | 26 +- .../models/V1beta2ResourceClaimTemplate.java | 26 +- .../V1beta2ResourceClaimTemplateList.java | 26 +- .../V1beta2ResourceClaimTemplateSpec.java | 26 +- .../openapi/models/V1beta2ResourcePool.java | 26 +- .../openapi/models/V1beta2ResourceSlice.java | 26 +- .../models/V1beta2ResourceSliceList.java | 26 +- .../models/V1beta2ResourceSliceSpec.java | 26 +- .../V2ContainerResourceMetricSource.java | 26 +- .../V2ContainerResourceMetricStatus.java | 26 +- .../models/V2CrossVersionObjectReference.java | 26 +- .../models/V2ExternalMetricSource.java | 26 +- .../models/V2ExternalMetricStatus.java | 26 +- .../openapi/models/V2HPAScalingPolicy.java | 26 +- .../openapi/models/V2HPAScalingRules.java | 26 +- .../models/V2HorizontalPodAutoscaler.java | 26 +- .../V2HorizontalPodAutoscalerBehavior.java | 26 +- .../V2HorizontalPodAutoscalerCondition.java | 26 +- .../models/V2HorizontalPodAutoscalerList.java | 26 +- .../models/V2HorizontalPodAutoscalerSpec.java | 26 +- .../V2HorizontalPodAutoscalerStatus.java | 26 +- .../openapi/models/V2MetricIdentifier.java | 26 +- .../client/openapi/models/V2MetricSpec.java | 26 +- .../client/openapi/models/V2MetricStatus.java | 26 +- .../client/openapi/models/V2MetricTarget.java | 26 +- .../openapi/models/V2MetricValueStatus.java | 26 +- .../openapi/models/V2ObjectMetricSource.java | 26 +- .../openapi/models/V2ObjectMetricStatus.java | 26 +- .../openapi/models/V2PodsMetricSource.java | 26 +- .../openapi/models/V2PodsMetricStatus.java | 26 +- .../models/V2ResourceMetricSource.java | 26 +- .../models/V2ResourceMetricStatus.java | 26 +- .../client/openapi/models/VersionInfo.java | 26 +- kubernetes/swagger.json | 13642 ++-- 949 files changed, 92126 insertions(+), 61680 deletions(-) rename kubernetes/docs/{V1ResourceClaim.md => CoreV1ResourceClaim.md} (96%) create mode 100644 kubernetes/docs/ResourceV1Api.md rename kubernetes/docs/{V1alpha3ResourceClaim.md => ResourceV1ResourceClaim.md} (86%) rename kubernetes/docs/{V1alpha3AllocatedDeviceStatus.md => V1AllocatedDeviceStatus.md} (79%) create mode 100644 kubernetes/docs/V1AllocationResult.md create mode 100644 kubernetes/docs/V1CELDeviceSelector.md create mode 100644 kubernetes/docs/V1CapacityRequestPolicy.md create mode 100644 kubernetes/docs/V1CapacityRequestPolicyRange.md create mode 100644 kubernetes/docs/V1CapacityRequirements.md create mode 100644 kubernetes/docs/V1ContainerExtendedResourceRequest.md create mode 100644 kubernetes/docs/V1ContainerRestartRule.md create mode 100644 kubernetes/docs/V1ContainerRestartRuleOnExitCodes.md rename kubernetes/docs/{V1alpha3Counter.md => V1Counter.md} (99%) create mode 100644 kubernetes/docs/V1CounterSet.md create mode 100644 kubernetes/docs/V1Device.md rename kubernetes/docs/{V1alpha3DeviceAllocationConfiguration.md => V1DeviceAllocationConfiguration.md} (83%) create mode 100644 kubernetes/docs/V1DeviceAllocationResult.md rename kubernetes/docs/{V1alpha3DeviceAttribute.md => V1DeviceAttribute.md} (95%) create mode 100644 kubernetes/docs/V1DeviceCapacity.md create mode 100644 kubernetes/docs/V1DeviceClaim.md rename kubernetes/docs/{V1alpha3DeviceClaimConfiguration.md => V1DeviceClaimConfiguration.md} (80%) rename kubernetes/docs/{V1alpha3DeviceClass.md => V1DeviceClass.md} (92%) rename kubernetes/docs/{V1alpha3DeviceClassConfiguration.md => V1DeviceClassConfiguration.md} (54%) rename kubernetes/docs/{V1alpha3DeviceClassList.md => V1DeviceClassList.md} (86%) create mode 100644 kubernetes/docs/V1DeviceClassSpec.md rename kubernetes/docs/{V1alpha3DeviceConstraint.md => V1DeviceConstraint.md} (69%) create mode 100644 kubernetes/docs/V1DeviceCounterConsumption.md create mode 100644 kubernetes/docs/V1DeviceRequest.md create mode 100644 kubernetes/docs/V1DeviceRequestAllocationResult.md create mode 100644 kubernetes/docs/V1DeviceSelector.md create mode 100644 kubernetes/docs/V1DeviceSubRequest.md create mode 100644 kubernetes/docs/V1DeviceTaint.md rename kubernetes/docs/{V1alpha3DeviceToleration.md => V1DeviceToleration.md} (98%) create mode 100644 kubernetes/docs/V1ExactDeviceRequest.md create mode 100644 kubernetes/docs/V1FileKeySelector.md rename kubernetes/docs/{V1alpha3NetworkDeviceData.md => V1NetworkDeviceData.md} (91%) rename kubernetes/docs/{V1alpha3OpaqueDeviceConfiguration.md => V1OpaqueDeviceConfiguration.md} (96%) create mode 100644 kubernetes/docs/V1PodCertificateProjection.md create mode 100644 kubernetes/docs/V1PodExtendedResourceClaimStatus.md rename kubernetes/docs/{V1alpha3ResourceClaimConsumerReference.md => V1ResourceClaimConsumerReference.md} (95%) rename kubernetes/docs/{V1alpha3ResourceClaimList.md => V1ResourceClaimList.md} (86%) rename kubernetes/docs/{V1alpha3ResourceClaimSpec.md => V1ResourceClaimSpec.md} (65%) create mode 100644 kubernetes/docs/V1ResourceClaimStatus.md rename kubernetes/docs/{V1alpha3ResourceClaimTemplate.md => V1ResourceClaimTemplate.md} (89%) rename kubernetes/docs/{V1alpha3ResourceClaimTemplateList.md => V1ResourceClaimTemplateList.md} (84%) rename kubernetes/docs/{V1alpha3ResourceClaimTemplateSpec.md => V1ResourceClaimTemplateSpec.md} (69%) rename kubernetes/docs/{V1alpha3ResourcePool.md => V1ResourcePool.md} (98%) rename kubernetes/docs/{V1alpha3ResourceSlice.md => V1ResourceSlice.md} (95%) rename kubernetes/docs/{V1alpha3ResourceSliceList.md => V1ResourceSliceList.md} (86%) rename kubernetes/docs/{V1alpha3ResourceSliceSpec.md => V1ResourceSliceSpec.md} (74%) create mode 100644 kubernetes/docs/V1VolumeAttributesClass.md create mode 100644 kubernetes/docs/V1VolumeAttributesClassList.md rename kubernetes/docs/{V1beta1ValidatingAdmissionPolicy.md => V1alpha1PodCertificateRequest.md} (69%) create mode 100644 kubernetes/docs/V1alpha1PodCertificateRequestList.md create mode 100644 kubernetes/docs/V1alpha1PodCertificateRequestSpec.md create mode 100644 kubernetes/docs/V1alpha1PodCertificateRequestStatus.md delete mode 100644 kubernetes/docs/V1alpha3AllocationResult.md delete mode 100644 kubernetes/docs/V1alpha3BasicDevice.md delete mode 100644 kubernetes/docs/V1alpha3CounterSet.md delete mode 100644 kubernetes/docs/V1alpha3Device.md delete mode 100644 kubernetes/docs/V1alpha3DeviceAllocationResult.md delete mode 100644 kubernetes/docs/V1alpha3DeviceClaim.md delete mode 100644 kubernetes/docs/V1alpha3DeviceClassSpec.md delete mode 100644 kubernetes/docs/V1alpha3DeviceCounterConsumption.md delete mode 100644 kubernetes/docs/V1alpha3DeviceRequest.md delete mode 100644 kubernetes/docs/V1alpha3DeviceRequestAllocationResult.md delete mode 100644 kubernetes/docs/V1alpha3DeviceSubRequest.md delete mode 100644 kubernetes/docs/V1alpha3ResourceClaimStatus.md create mode 100644 kubernetes/docs/V1beta1ApplyConfiguration.md delete mode 100644 kubernetes/docs/V1beta1AuditAnnotation.md create mode 100644 kubernetes/docs/V1beta1CapacityRequestPolicy.md create mode 100644 kubernetes/docs/V1beta1CapacityRequestPolicyRange.md create mode 100644 kubernetes/docs/V1beta1CapacityRequirements.md delete mode 100644 kubernetes/docs/V1beta1ExpressionWarning.md create mode 100644 kubernetes/docs/V1beta1JSONPatch.md create mode 100644 kubernetes/docs/V1beta1MutatingAdmissionPolicy.md create mode 100644 kubernetes/docs/V1beta1MutatingAdmissionPolicyBinding.md create mode 100644 kubernetes/docs/V1beta1MutatingAdmissionPolicyBindingList.md create mode 100644 kubernetes/docs/V1beta1MutatingAdmissionPolicyBindingSpec.md create mode 100644 kubernetes/docs/V1beta1MutatingAdmissionPolicyList.md create mode 100644 kubernetes/docs/V1beta1MutatingAdmissionPolicySpec.md create mode 100644 kubernetes/docs/V1beta1Mutation.md delete mode 100644 kubernetes/docs/V1beta1TypeChecking.md delete mode 100644 kubernetes/docs/V1beta1ValidatingAdmissionPolicyBinding.md delete mode 100644 kubernetes/docs/V1beta1ValidatingAdmissionPolicyBindingList.md delete mode 100644 kubernetes/docs/V1beta1ValidatingAdmissionPolicyBindingSpec.md delete mode 100644 kubernetes/docs/V1beta1ValidatingAdmissionPolicyList.md delete mode 100644 kubernetes/docs/V1beta1ValidatingAdmissionPolicySpec.md delete mode 100644 kubernetes/docs/V1beta1ValidatingAdmissionPolicyStatus.md delete mode 100644 kubernetes/docs/V1beta1Validation.md create mode 100644 kubernetes/docs/V1beta2CapacityRequestPolicy.md create mode 100644 kubernetes/docs/V1beta2CapacityRequestPolicyRange.md create mode 100644 kubernetes/docs/V1beta2CapacityRequirements.md create mode 100644 kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ResourceV1Api.java rename kubernetes/src/main/java/io/kubernetes/client/openapi/models/{V1ResourceClaim.java => CoreV1ResourceClaim.java} (73%) rename kubernetes/src/main/java/io/kubernetes/client/openapi/models/{V1alpha3ResourceClaim.java => ResourceV1ResourceClaim.java} (72%) rename kubernetes/src/main/java/io/kubernetes/client/openapi/models/{V1alpha3AllocatedDeviceStatus.java => V1AllocatedDeviceStatus.java} (70%) rename kubernetes/src/main/java/io/kubernetes/client/openapi/models/{V1alpha3AllocationResult.java => V1AllocationResult.java} (57%) create mode 100644 kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CELDeviceSelector.java create mode 100644 kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CapacityRequestPolicy.java create mode 100644 kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CapacityRequestPolicyRange.java create mode 100644 kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CapacityRequirements.java create mode 100644 kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerExtendedResourceRequest.java rename kubernetes/src/main/java/io/kubernetes/client/openapi/models/{V1alpha3Device.java => V1ContainerRestartRule.java} (50%) create mode 100644 kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerRestartRuleOnExitCodes.java rename kubernetes/src/main/java/io/kubernetes/client/openapi/models/{V1alpha3Counter.java => V1Counter.java} (82%) rename kubernetes/src/main/java/io/kubernetes/client/openapi/models/{V1alpha3CounterSet.java => V1CounterSet.java} (63%) create mode 100644 kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Device.java rename kubernetes/src/main/java/io/kubernetes/client/openapi/models/{V1alpha3DeviceAllocationConfiguration.java => V1DeviceAllocationConfiguration.java} (68%) rename kubernetes/src/main/java/io/kubernetes/client/openapi/models/{V1alpha3DeviceAllocationResult.java => V1DeviceAllocationResult.java} (65%) rename kubernetes/src/main/java/io/kubernetes/client/openapi/models/{V1alpha3DeviceAttribute.java => V1DeviceAttribute.java} (72%) create mode 100644 kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeviceCapacity.java rename kubernetes/src/main/java/io/kubernetes/client/openapi/models/{V1alpha3DeviceClaim.java => V1DeviceClaim.java} (68%) rename kubernetes/src/main/java/io/kubernetes/client/openapi/models/{V1alpha3DeviceClaimConfiguration.java => V1DeviceClaimConfiguration.java} (66%) rename kubernetes/src/main/java/io/kubernetes/client/openapi/models/{V1alpha3DeviceClass.java => V1DeviceClass.java} (74%) rename kubernetes/src/main/java/io/kubernetes/client/openapi/models/{V1alpha3DeviceClassConfiguration.java => V1DeviceClassConfiguration.java} (60%) rename kubernetes/src/main/java/io/kubernetes/client/openapi/models/{V1alpha3DeviceClassList.java => V1DeviceClassList.java} (73%) rename kubernetes/src/main/java/io/kubernetes/client/openapi/models/{V1alpha3DeviceClassSpec.java => V1DeviceClassSpec.java} (57%) rename kubernetes/src/main/java/io/kubernetes/client/openapi/models/{V1alpha3DeviceConstraint.java => V1DeviceConstraint.java} (64%) rename kubernetes/src/main/java/io/kubernetes/client/openapi/models/{V1alpha3DeviceCounterConsumption.java => V1DeviceCounterConsumption.java} (61%) create mode 100644 kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeviceRequest.java rename kubernetes/src/main/java/io/kubernetes/client/openapi/models/{V1alpha3DeviceRequestAllocationResult.java => V1DeviceRequestAllocationResult.java} (50%) create mode 100644 kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeviceSelector.java rename kubernetes/src/main/java/io/kubernetes/client/openapi/models/{V1alpha3DeviceSubRequest.java => V1DeviceSubRequest.java} (67%) create mode 100644 kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeviceTaint.java rename kubernetes/src/main/java/io/kubernetes/client/openapi/models/{V1alpha3DeviceToleration.java => V1DeviceToleration.java} (78%) rename kubernetes/src/main/java/io/kubernetes/client/openapi/models/{V1alpha3DeviceRequest.java => V1ExactDeviceRequest.java} (51%) create mode 100644 kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FileKeySelector.java rename kubernetes/src/main/java/io/kubernetes/client/openapi/models/{V1alpha3NetworkDeviceData.java => V1NetworkDeviceData.java} (74%) rename kubernetes/src/main/java/io/kubernetes/client/openapi/models/{V1alpha3OpaqueDeviceConfiguration.java => V1OpaqueDeviceConfiguration.java} (71%) create mode 100644 kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodCertificateProjection.java create mode 100644 kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodExtendedResourceClaimStatus.java rename kubernetes/src/main/java/io/kubernetes/client/openapi/models/{V1alpha3ResourceClaimConsumerReference.java => V1ResourceClaimConsumerReference.java} (71%) rename kubernetes/src/main/java/io/kubernetes/client/openapi/models/{V1alpha3ResourceClaimList.java => V1ResourceClaimList.java} (72%) rename kubernetes/src/main/java/io/kubernetes/client/openapi/models/{V1alpha3ResourceClaimSpec.java => V1ResourceClaimSpec.java} (63%) rename kubernetes/src/main/java/io/kubernetes/client/openapi/models/{V1alpha3ResourceClaimStatus.java => V1ResourceClaimStatus.java} (69%) rename kubernetes/src/main/java/io/kubernetes/client/openapi/models/{V1alpha3ResourceClaimTemplate.java => V1ResourceClaimTemplate.java} (71%) create mode 100644 kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceClaimTemplateList.java rename kubernetes/src/main/java/io/kubernetes/client/openapi/models/{V1alpha3ResourceClaimTemplateSpec.java => V1ResourceClaimTemplateSpec.java} (64%) rename kubernetes/src/main/java/io/kubernetes/client/openapi/models/{V1alpha3ResourcePool.java => V1ResourcePool.java} (76%) rename kubernetes/src/main/java/io/kubernetes/client/openapi/models/{V1alpha3ResourceSlice.java => V1ResourceSlice.java} (78%) rename kubernetes/src/main/java/io/kubernetes/client/openapi/models/{V1alpha3ResourceSliceList.java => V1ResourceSliceList.java} (73%) rename kubernetes/src/main/java/io/kubernetes/client/openapi/models/{V1alpha3ResourceSliceSpec.java => V1ResourceSliceSpec.java} (75%) create mode 100644 kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeAttributesClass.java create mode 100644 kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeAttributesClassList.java rename kubernetes/src/main/java/io/kubernetes/client/openapi/models/{V1beta1ValidatingAdmissionPolicy.java => V1alpha1PodCertificateRequest.java} (64%) rename kubernetes/src/main/java/io/kubernetes/client/openapi/models/{V1alpha3ResourceClaimTemplateList.java => V1alpha1PodCertificateRequestList.java} (72%) create mode 100644 kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1PodCertificateRequestSpec.java create mode 100644 kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1PodCertificateRequestStatus.java delete mode 100644 kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3BasicDevice.java create mode 100644 kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ApplyConfiguration.java delete mode 100644 kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1AuditAnnotation.java create mode 100644 kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CapacityRequestPolicy.java create mode 100644 kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CapacityRequestPolicyRange.java create mode 100644 kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CapacityRequirements.java delete mode 100644 kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ExpressionWarning.java create mode 100644 kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1JSONPatch.java rename kubernetes/src/main/java/io/kubernetes/client/openapi/models/{V1beta1ValidatingAdmissionPolicyBinding.java => V1beta1MutatingAdmissionPolicy.java} (60%) create mode 100644 kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1MutatingAdmissionPolicyBinding.java create mode 100644 kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1MutatingAdmissionPolicyBindingList.java create mode 100644 kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1MutatingAdmissionPolicyBindingSpec.java rename kubernetes/src/main/java/io/kubernetes/client/openapi/models/{V1beta1ValidatingAdmissionPolicyList.java => V1beta1MutatingAdmissionPolicyList.java} (69%) rename kubernetes/src/main/java/io/kubernetes/client/openapi/models/{V1beta1ValidatingAdmissionPolicySpec.java => V1beta1MutatingAdmissionPolicySpec.java} (50%) create mode 100644 kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1Mutation.java delete mode 100644 kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1TypeChecking.java delete mode 100644 kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ValidatingAdmissionPolicyBindingList.java delete mode 100644 kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ValidatingAdmissionPolicyBindingSpec.java delete mode 100644 kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ValidatingAdmissionPolicyStatus.java delete mode 100644 kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1Validation.java create mode 100644 kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2CapacityRequestPolicy.java create mode 100644 kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2CapacityRequestPolicyRange.java create mode 100644 kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2CapacityRequirements.java diff --git a/kubernetes/.openapi-generator/FILES b/kubernetes/.openapi-generator/FILES index 03187c0f36..27d04a1d18 100644 --- a/kubernetes/.openapi-generator/FILES +++ b/kubernetes/.openapi-generator/FILES @@ -40,6 +40,7 @@ docs/CoreV1EndpointPort.md docs/CoreV1Event.md docs/CoreV1EventList.md docs/CoreV1EventSeries.md +docs/CoreV1ResourceClaim.md docs/CustomObjectsApi.md docs/DiscoveryApi.md docs/DiscoveryV1Api.md @@ -67,6 +68,8 @@ docs/RbacAuthorizationApi.md docs/RbacAuthorizationV1Api.md docs/RbacV1Subject.md docs/ResourceApi.md +docs/ResourceV1Api.md +docs/ResourceV1ResourceClaim.md docs/ResourceV1alpha3Api.md docs/ResourceV1beta1Api.md docs/ResourceV1beta2Api.md @@ -92,6 +95,8 @@ docs/V1APIVersions.md docs/V1AWSElasticBlockStoreVolumeSource.md docs/V1Affinity.md docs/V1AggregationRule.md +docs/V1AllocatedDeviceStatus.md +docs/V1AllocationResult.md docs/V1AppArmorProfile.md docs/V1AttachedVolume.md docs/V1AuditAnnotation.md @@ -100,6 +105,7 @@ docs/V1AzureFilePersistentVolumeSource.md docs/V1AzureFileVolumeSource.md docs/V1Binding.md docs/V1BoundObjectReference.md +docs/V1CELDeviceSelector.md docs/V1CSIDriver.md docs/V1CSIDriverList.md docs/V1CSIDriverSpec.md @@ -112,6 +118,9 @@ docs/V1CSIStorageCapacity.md docs/V1CSIStorageCapacityList.md docs/V1CSIVolumeSource.md docs/V1Capabilities.md +docs/V1CapacityRequestPolicy.md +docs/V1CapacityRequestPolicyRange.md +docs/V1CapacityRequirements.md docs/V1CephFSPersistentVolumeSource.md docs/V1CephFSVolumeSource.md docs/V1CertificateSigningRequest.md @@ -139,9 +148,12 @@ docs/V1ConfigMapNodeConfigSource.md docs/V1ConfigMapProjection.md docs/V1ConfigMapVolumeSource.md docs/V1Container.md +docs/V1ContainerExtendedResourceRequest.md docs/V1ContainerImage.md docs/V1ContainerPort.md docs/V1ContainerResizePolicy.md +docs/V1ContainerRestartRule.md +docs/V1ContainerRestartRuleOnExitCodes.md docs/V1ContainerState.md docs/V1ContainerStateRunning.md docs/V1ContainerStateTerminated.md @@ -150,6 +162,8 @@ docs/V1ContainerStatus.md docs/V1ContainerUser.md docs/V1ControllerRevision.md docs/V1ControllerRevisionList.md +docs/V1Counter.md +docs/V1CounterSet.md docs/V1CronJob.md docs/V1CronJobList.md docs/V1CronJobSpec.md @@ -181,6 +195,25 @@ docs/V1DeploymentList.md docs/V1DeploymentSpec.md docs/V1DeploymentStatus.md docs/V1DeploymentStrategy.md +docs/V1Device.md +docs/V1DeviceAllocationConfiguration.md +docs/V1DeviceAllocationResult.md +docs/V1DeviceAttribute.md +docs/V1DeviceCapacity.md +docs/V1DeviceClaim.md +docs/V1DeviceClaimConfiguration.md +docs/V1DeviceClass.md +docs/V1DeviceClassConfiguration.md +docs/V1DeviceClassList.md +docs/V1DeviceClassSpec.md +docs/V1DeviceConstraint.md +docs/V1DeviceCounterConsumption.md +docs/V1DeviceRequest.md +docs/V1DeviceRequestAllocationResult.md +docs/V1DeviceSelector.md +docs/V1DeviceSubRequest.md +docs/V1DeviceTaint.md +docs/V1DeviceToleration.md docs/V1DownwardAPIProjection.md docs/V1DownwardAPIVolumeFile.md docs/V1DownwardAPIVolumeSource.md @@ -201,6 +234,7 @@ docs/V1EphemeralContainer.md docs/V1EphemeralVolumeSource.md docs/V1EventSource.md docs/V1Eviction.md +docs/V1ExactDeviceRequest.md docs/V1ExecAction.md docs/V1ExemptPriorityLevelConfiguration.md docs/V1ExpressionWarning.md @@ -208,6 +242,7 @@ docs/V1ExternalDocumentation.md docs/V1FCVolumeSource.md docs/V1FieldSelectorAttributes.md docs/V1FieldSelectorRequirement.md +docs/V1FileKeySelector.md docs/V1FlexPersistentVolumeSource.md docs/V1FlexVolumeSource.md docs/V1FlockerVolumeSource.md @@ -302,6 +337,7 @@ docs/V1NamespaceCondition.md docs/V1NamespaceList.md docs/V1NamespaceSpec.md docs/V1NamespaceStatus.md +docs/V1NetworkDeviceData.md docs/V1NetworkPolicy.md docs/V1NetworkPolicyEgressRule.md docs/V1NetworkPolicyIngressRule.md @@ -333,6 +369,7 @@ docs/V1NonResourceRule.md docs/V1ObjectFieldSelector.md docs/V1ObjectMeta.md docs/V1ObjectReference.md +docs/V1OpaqueDeviceConfiguration.md docs/V1Overhead.md docs/V1OwnerReference.md docs/V1ParamKind.md @@ -354,6 +391,7 @@ docs/V1Pod.md docs/V1PodAffinity.md docs/V1PodAffinityTerm.md docs/V1PodAntiAffinity.md +docs/V1PodCertificateProjection.md docs/V1PodCondition.md docs/V1PodDNSConfig.md docs/V1PodDNSConfigOption.md @@ -361,6 +399,7 @@ docs/V1PodDisruptionBudget.md docs/V1PodDisruptionBudgetList.md docs/V1PodDisruptionBudgetSpec.md docs/V1PodDisruptionBudgetStatus.md +docs/V1PodExtendedResourceClaimStatus.md docs/V1PodFailurePolicy.md docs/V1PodFailurePolicyOnExitCodesRequirement.md docs/V1PodFailurePolicyOnPodConditionsPattern.md @@ -409,16 +448,26 @@ docs/V1ReplicationControllerList.md docs/V1ReplicationControllerSpec.md docs/V1ReplicationControllerStatus.md docs/V1ResourceAttributes.md -docs/V1ResourceClaim.md +docs/V1ResourceClaimConsumerReference.md +docs/V1ResourceClaimList.md +docs/V1ResourceClaimSpec.md +docs/V1ResourceClaimStatus.md +docs/V1ResourceClaimTemplate.md +docs/V1ResourceClaimTemplateList.md +docs/V1ResourceClaimTemplateSpec.md docs/V1ResourceFieldSelector.md docs/V1ResourceHealth.md docs/V1ResourcePolicyRule.md +docs/V1ResourcePool.md docs/V1ResourceQuota.md docs/V1ResourceQuotaList.md docs/V1ResourceQuotaSpec.md docs/V1ResourceQuotaStatus.md docs/V1ResourceRequirements.md docs/V1ResourceRule.md +docs/V1ResourceSlice.md +docs/V1ResourceSliceList.md +docs/V1ResourceSliceSpec.md docs/V1ResourceStatus.md docs/V1Role.md docs/V1RoleBinding.md @@ -531,6 +580,8 @@ docs/V1VolumeAttachmentList.md docs/V1VolumeAttachmentSource.md docs/V1VolumeAttachmentSpec.md docs/V1VolumeAttachmentStatus.md +docs/V1VolumeAttributesClass.md +docs/V1VolumeAttributesClassList.md docs/V1VolumeDevice.md docs/V1VolumeError.md docs/V1VolumeMount.md @@ -563,6 +614,10 @@ docs/V1alpha1Mutation.md docs/V1alpha1NamedRuleWithOperations.md docs/V1alpha1ParamKind.md docs/V1alpha1ParamRef.md +docs/V1alpha1PodCertificateRequest.md +docs/V1alpha1PodCertificateRequestList.md +docs/V1alpha1PodCertificateRequestSpec.md +docs/V1alpha1PodCertificateRequestStatus.md docs/V1alpha1ServerStorageVersion.md docs/V1alpha1StorageVersion.md docs/V1alpha1StorageVersionCondition.md @@ -578,53 +633,21 @@ docs/V1alpha1VolumeAttributesClassList.md docs/V1alpha2LeaseCandidate.md docs/V1alpha2LeaseCandidateList.md docs/V1alpha2LeaseCandidateSpec.md -docs/V1alpha3AllocatedDeviceStatus.md -docs/V1alpha3AllocationResult.md -docs/V1alpha3BasicDevice.md docs/V1alpha3CELDeviceSelector.md -docs/V1alpha3Counter.md -docs/V1alpha3CounterSet.md -docs/V1alpha3Device.md -docs/V1alpha3DeviceAllocationConfiguration.md -docs/V1alpha3DeviceAllocationResult.md -docs/V1alpha3DeviceAttribute.md -docs/V1alpha3DeviceClaim.md -docs/V1alpha3DeviceClaimConfiguration.md -docs/V1alpha3DeviceClass.md -docs/V1alpha3DeviceClassConfiguration.md -docs/V1alpha3DeviceClassList.md -docs/V1alpha3DeviceClassSpec.md -docs/V1alpha3DeviceConstraint.md -docs/V1alpha3DeviceCounterConsumption.md -docs/V1alpha3DeviceRequest.md -docs/V1alpha3DeviceRequestAllocationResult.md docs/V1alpha3DeviceSelector.md -docs/V1alpha3DeviceSubRequest.md docs/V1alpha3DeviceTaint.md docs/V1alpha3DeviceTaintRule.md docs/V1alpha3DeviceTaintRuleList.md docs/V1alpha3DeviceTaintRuleSpec.md docs/V1alpha3DeviceTaintSelector.md -docs/V1alpha3DeviceToleration.md -docs/V1alpha3NetworkDeviceData.md -docs/V1alpha3OpaqueDeviceConfiguration.md -docs/V1alpha3ResourceClaim.md -docs/V1alpha3ResourceClaimConsumerReference.md -docs/V1alpha3ResourceClaimList.md -docs/V1alpha3ResourceClaimSpec.md -docs/V1alpha3ResourceClaimStatus.md -docs/V1alpha3ResourceClaimTemplate.md -docs/V1alpha3ResourceClaimTemplateList.md -docs/V1alpha3ResourceClaimTemplateSpec.md -docs/V1alpha3ResourcePool.md -docs/V1alpha3ResourceSlice.md -docs/V1alpha3ResourceSliceList.md -docs/V1alpha3ResourceSliceSpec.md docs/V1beta1AllocatedDeviceStatus.md docs/V1beta1AllocationResult.md -docs/V1beta1AuditAnnotation.md +docs/V1beta1ApplyConfiguration.md docs/V1beta1BasicDevice.md docs/V1beta1CELDeviceSelector.md +docs/V1beta1CapacityRequestPolicy.md +docs/V1beta1CapacityRequestPolicyRange.md +docs/V1beta1CapacityRequirements.md docs/V1beta1ClusterTrustBundle.md docs/V1beta1ClusterTrustBundleList.md docs/V1beta1ClusterTrustBundleSpec.md @@ -649,15 +672,22 @@ docs/V1beta1DeviceSelector.md docs/V1beta1DeviceSubRequest.md docs/V1beta1DeviceTaint.md docs/V1beta1DeviceToleration.md -docs/V1beta1ExpressionWarning.md docs/V1beta1IPAddress.md docs/V1beta1IPAddressList.md docs/V1beta1IPAddressSpec.md +docs/V1beta1JSONPatch.md docs/V1beta1LeaseCandidate.md docs/V1beta1LeaseCandidateList.md docs/V1beta1LeaseCandidateSpec.md docs/V1beta1MatchCondition.md docs/V1beta1MatchResources.md +docs/V1beta1MutatingAdmissionPolicy.md +docs/V1beta1MutatingAdmissionPolicyBinding.md +docs/V1beta1MutatingAdmissionPolicyBindingList.md +docs/V1beta1MutatingAdmissionPolicyBindingSpec.md +docs/V1beta1MutatingAdmissionPolicyList.md +docs/V1beta1MutatingAdmissionPolicySpec.md +docs/V1beta1Mutation.md docs/V1beta1NamedRuleWithOperations.md docs/V1beta1NetworkDeviceData.md docs/V1beta1OpaqueDeviceConfiguration.md @@ -680,21 +710,15 @@ docs/V1beta1ServiceCIDR.md docs/V1beta1ServiceCIDRList.md docs/V1beta1ServiceCIDRSpec.md docs/V1beta1ServiceCIDRStatus.md -docs/V1beta1TypeChecking.md -docs/V1beta1ValidatingAdmissionPolicy.md -docs/V1beta1ValidatingAdmissionPolicyBinding.md -docs/V1beta1ValidatingAdmissionPolicyBindingList.md -docs/V1beta1ValidatingAdmissionPolicyBindingSpec.md -docs/V1beta1ValidatingAdmissionPolicyList.md -docs/V1beta1ValidatingAdmissionPolicySpec.md -docs/V1beta1ValidatingAdmissionPolicyStatus.md -docs/V1beta1Validation.md docs/V1beta1Variable.md docs/V1beta1VolumeAttributesClass.md docs/V1beta1VolumeAttributesClassList.md docs/V1beta2AllocatedDeviceStatus.md docs/V1beta2AllocationResult.md docs/V1beta2CELDeviceSelector.md +docs/V1beta2CapacityRequestPolicy.md +docs/V1beta2CapacityRequestPolicyRange.md +docs/V1beta2CapacityRequirements.md docs/V1beta2Counter.md docs/V1beta2CounterSet.md docs/V1beta2Device.md @@ -825,6 +849,7 @@ src/main/java/io/kubernetes/client/openapi/apis/PolicyV1Api.java src/main/java/io/kubernetes/client/openapi/apis/RbacAuthorizationApi.java src/main/java/io/kubernetes/client/openapi/apis/RbacAuthorizationV1Api.java src/main/java/io/kubernetes/client/openapi/apis/ResourceApi.java +src/main/java/io/kubernetes/client/openapi/apis/ResourceV1Api.java src/main/java/io/kubernetes/client/openapi/apis/ResourceV1alpha3Api.java src/main/java/io/kubernetes/client/openapi/apis/ResourceV1beta1Api.java src/main/java/io/kubernetes/client/openapi/apis/ResourceV1beta2Api.java @@ -853,12 +878,14 @@ src/main/java/io/kubernetes/client/openapi/models/CoreV1EndpointPort.java src/main/java/io/kubernetes/client/openapi/models/CoreV1Event.java src/main/java/io/kubernetes/client/openapi/models/CoreV1EventList.java src/main/java/io/kubernetes/client/openapi/models/CoreV1EventSeries.java +src/main/java/io/kubernetes/client/openapi/models/CoreV1ResourceClaim.java src/main/java/io/kubernetes/client/openapi/models/DiscoveryV1EndpointPort.java src/main/java/io/kubernetes/client/openapi/models/EventsV1Event.java src/main/java/io/kubernetes/client/openapi/models/EventsV1EventList.java src/main/java/io/kubernetes/client/openapi/models/EventsV1EventSeries.java src/main/java/io/kubernetes/client/openapi/models/FlowcontrolV1Subject.java src/main/java/io/kubernetes/client/openapi/models/RbacV1Subject.java +src/main/java/io/kubernetes/client/openapi/models/ResourceV1ResourceClaim.java src/main/java/io/kubernetes/client/openapi/models/StorageV1TokenRequest.java src/main/java/io/kubernetes/client/openapi/models/V1APIGroup.java src/main/java/io/kubernetes/client/openapi/models/V1APIGroupList.java @@ -873,6 +900,8 @@ src/main/java/io/kubernetes/client/openapi/models/V1APIVersions.java src/main/java/io/kubernetes/client/openapi/models/V1AWSElasticBlockStoreVolumeSource.java src/main/java/io/kubernetes/client/openapi/models/V1Affinity.java src/main/java/io/kubernetes/client/openapi/models/V1AggregationRule.java +src/main/java/io/kubernetes/client/openapi/models/V1AllocatedDeviceStatus.java +src/main/java/io/kubernetes/client/openapi/models/V1AllocationResult.java src/main/java/io/kubernetes/client/openapi/models/V1AppArmorProfile.java src/main/java/io/kubernetes/client/openapi/models/V1AttachedVolume.java src/main/java/io/kubernetes/client/openapi/models/V1AuditAnnotation.java @@ -881,6 +910,7 @@ src/main/java/io/kubernetes/client/openapi/models/V1AzureFilePersistentVolumeSou src/main/java/io/kubernetes/client/openapi/models/V1AzureFileVolumeSource.java src/main/java/io/kubernetes/client/openapi/models/V1Binding.java src/main/java/io/kubernetes/client/openapi/models/V1BoundObjectReference.java +src/main/java/io/kubernetes/client/openapi/models/V1CELDeviceSelector.java src/main/java/io/kubernetes/client/openapi/models/V1CSIDriver.java src/main/java/io/kubernetes/client/openapi/models/V1CSIDriverList.java src/main/java/io/kubernetes/client/openapi/models/V1CSIDriverSpec.java @@ -893,6 +923,9 @@ src/main/java/io/kubernetes/client/openapi/models/V1CSIStorageCapacity.java src/main/java/io/kubernetes/client/openapi/models/V1CSIStorageCapacityList.java src/main/java/io/kubernetes/client/openapi/models/V1CSIVolumeSource.java src/main/java/io/kubernetes/client/openapi/models/V1Capabilities.java +src/main/java/io/kubernetes/client/openapi/models/V1CapacityRequestPolicy.java +src/main/java/io/kubernetes/client/openapi/models/V1CapacityRequestPolicyRange.java +src/main/java/io/kubernetes/client/openapi/models/V1CapacityRequirements.java src/main/java/io/kubernetes/client/openapi/models/V1CephFSPersistentVolumeSource.java src/main/java/io/kubernetes/client/openapi/models/V1CephFSVolumeSource.java src/main/java/io/kubernetes/client/openapi/models/V1CertificateSigningRequest.java @@ -920,9 +953,12 @@ src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapNodeConfigSource.ja src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapProjection.java src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapVolumeSource.java src/main/java/io/kubernetes/client/openapi/models/V1Container.java +src/main/java/io/kubernetes/client/openapi/models/V1ContainerExtendedResourceRequest.java src/main/java/io/kubernetes/client/openapi/models/V1ContainerImage.java src/main/java/io/kubernetes/client/openapi/models/V1ContainerPort.java src/main/java/io/kubernetes/client/openapi/models/V1ContainerResizePolicy.java +src/main/java/io/kubernetes/client/openapi/models/V1ContainerRestartRule.java +src/main/java/io/kubernetes/client/openapi/models/V1ContainerRestartRuleOnExitCodes.java src/main/java/io/kubernetes/client/openapi/models/V1ContainerState.java src/main/java/io/kubernetes/client/openapi/models/V1ContainerStateRunning.java src/main/java/io/kubernetes/client/openapi/models/V1ContainerStateTerminated.java @@ -931,6 +967,8 @@ src/main/java/io/kubernetes/client/openapi/models/V1ContainerStatus.java src/main/java/io/kubernetes/client/openapi/models/V1ContainerUser.java src/main/java/io/kubernetes/client/openapi/models/V1ControllerRevision.java src/main/java/io/kubernetes/client/openapi/models/V1ControllerRevisionList.java +src/main/java/io/kubernetes/client/openapi/models/V1Counter.java +src/main/java/io/kubernetes/client/openapi/models/V1CounterSet.java src/main/java/io/kubernetes/client/openapi/models/V1CronJob.java src/main/java/io/kubernetes/client/openapi/models/V1CronJobList.java src/main/java/io/kubernetes/client/openapi/models/V1CronJobSpec.java @@ -962,6 +1000,25 @@ src/main/java/io/kubernetes/client/openapi/models/V1DeploymentList.java src/main/java/io/kubernetes/client/openapi/models/V1DeploymentSpec.java src/main/java/io/kubernetes/client/openapi/models/V1DeploymentStatus.java src/main/java/io/kubernetes/client/openapi/models/V1DeploymentStrategy.java +src/main/java/io/kubernetes/client/openapi/models/V1Device.java +src/main/java/io/kubernetes/client/openapi/models/V1DeviceAllocationConfiguration.java +src/main/java/io/kubernetes/client/openapi/models/V1DeviceAllocationResult.java +src/main/java/io/kubernetes/client/openapi/models/V1DeviceAttribute.java +src/main/java/io/kubernetes/client/openapi/models/V1DeviceCapacity.java +src/main/java/io/kubernetes/client/openapi/models/V1DeviceClaim.java +src/main/java/io/kubernetes/client/openapi/models/V1DeviceClaimConfiguration.java +src/main/java/io/kubernetes/client/openapi/models/V1DeviceClass.java +src/main/java/io/kubernetes/client/openapi/models/V1DeviceClassConfiguration.java +src/main/java/io/kubernetes/client/openapi/models/V1DeviceClassList.java +src/main/java/io/kubernetes/client/openapi/models/V1DeviceClassSpec.java +src/main/java/io/kubernetes/client/openapi/models/V1DeviceConstraint.java +src/main/java/io/kubernetes/client/openapi/models/V1DeviceCounterConsumption.java +src/main/java/io/kubernetes/client/openapi/models/V1DeviceRequest.java +src/main/java/io/kubernetes/client/openapi/models/V1DeviceRequestAllocationResult.java +src/main/java/io/kubernetes/client/openapi/models/V1DeviceSelector.java +src/main/java/io/kubernetes/client/openapi/models/V1DeviceSubRequest.java +src/main/java/io/kubernetes/client/openapi/models/V1DeviceTaint.java +src/main/java/io/kubernetes/client/openapi/models/V1DeviceToleration.java src/main/java/io/kubernetes/client/openapi/models/V1DownwardAPIProjection.java src/main/java/io/kubernetes/client/openapi/models/V1DownwardAPIVolumeFile.java src/main/java/io/kubernetes/client/openapi/models/V1DownwardAPIVolumeSource.java @@ -982,6 +1039,7 @@ src/main/java/io/kubernetes/client/openapi/models/V1EphemeralContainer.java src/main/java/io/kubernetes/client/openapi/models/V1EphemeralVolumeSource.java src/main/java/io/kubernetes/client/openapi/models/V1EventSource.java src/main/java/io/kubernetes/client/openapi/models/V1Eviction.java +src/main/java/io/kubernetes/client/openapi/models/V1ExactDeviceRequest.java src/main/java/io/kubernetes/client/openapi/models/V1ExecAction.java src/main/java/io/kubernetes/client/openapi/models/V1ExemptPriorityLevelConfiguration.java src/main/java/io/kubernetes/client/openapi/models/V1ExpressionWarning.java @@ -989,6 +1047,7 @@ src/main/java/io/kubernetes/client/openapi/models/V1ExternalDocumentation.java src/main/java/io/kubernetes/client/openapi/models/V1FCVolumeSource.java src/main/java/io/kubernetes/client/openapi/models/V1FieldSelectorAttributes.java src/main/java/io/kubernetes/client/openapi/models/V1FieldSelectorRequirement.java +src/main/java/io/kubernetes/client/openapi/models/V1FileKeySelector.java src/main/java/io/kubernetes/client/openapi/models/V1FlexPersistentVolumeSource.java src/main/java/io/kubernetes/client/openapi/models/V1FlexVolumeSource.java src/main/java/io/kubernetes/client/openapi/models/V1FlockerVolumeSource.java @@ -1083,6 +1142,7 @@ src/main/java/io/kubernetes/client/openapi/models/V1NamespaceCondition.java src/main/java/io/kubernetes/client/openapi/models/V1NamespaceList.java src/main/java/io/kubernetes/client/openapi/models/V1NamespaceSpec.java src/main/java/io/kubernetes/client/openapi/models/V1NamespaceStatus.java +src/main/java/io/kubernetes/client/openapi/models/V1NetworkDeviceData.java src/main/java/io/kubernetes/client/openapi/models/V1NetworkPolicy.java src/main/java/io/kubernetes/client/openapi/models/V1NetworkPolicyEgressRule.java src/main/java/io/kubernetes/client/openapi/models/V1NetworkPolicyIngressRule.java @@ -1114,6 +1174,7 @@ src/main/java/io/kubernetes/client/openapi/models/V1NonResourceRule.java src/main/java/io/kubernetes/client/openapi/models/V1ObjectFieldSelector.java src/main/java/io/kubernetes/client/openapi/models/V1ObjectMeta.java src/main/java/io/kubernetes/client/openapi/models/V1ObjectReference.java +src/main/java/io/kubernetes/client/openapi/models/V1OpaqueDeviceConfiguration.java src/main/java/io/kubernetes/client/openapi/models/V1Overhead.java src/main/java/io/kubernetes/client/openapi/models/V1OwnerReference.java src/main/java/io/kubernetes/client/openapi/models/V1ParamKind.java @@ -1135,6 +1196,7 @@ src/main/java/io/kubernetes/client/openapi/models/V1Pod.java src/main/java/io/kubernetes/client/openapi/models/V1PodAffinity.java src/main/java/io/kubernetes/client/openapi/models/V1PodAffinityTerm.java src/main/java/io/kubernetes/client/openapi/models/V1PodAntiAffinity.java +src/main/java/io/kubernetes/client/openapi/models/V1PodCertificateProjection.java src/main/java/io/kubernetes/client/openapi/models/V1PodCondition.java src/main/java/io/kubernetes/client/openapi/models/V1PodDNSConfig.java src/main/java/io/kubernetes/client/openapi/models/V1PodDNSConfigOption.java @@ -1142,6 +1204,7 @@ src/main/java/io/kubernetes/client/openapi/models/V1PodDisruptionBudget.java src/main/java/io/kubernetes/client/openapi/models/V1PodDisruptionBudgetList.java src/main/java/io/kubernetes/client/openapi/models/V1PodDisruptionBudgetSpec.java src/main/java/io/kubernetes/client/openapi/models/V1PodDisruptionBudgetStatus.java +src/main/java/io/kubernetes/client/openapi/models/V1PodExtendedResourceClaimStatus.java src/main/java/io/kubernetes/client/openapi/models/V1PodFailurePolicy.java src/main/java/io/kubernetes/client/openapi/models/V1PodFailurePolicyOnExitCodesRequirement.java src/main/java/io/kubernetes/client/openapi/models/V1PodFailurePolicyOnPodConditionsPattern.java @@ -1190,16 +1253,26 @@ src/main/java/io/kubernetes/client/openapi/models/V1ReplicationControllerList.ja src/main/java/io/kubernetes/client/openapi/models/V1ReplicationControllerSpec.java src/main/java/io/kubernetes/client/openapi/models/V1ReplicationControllerStatus.java src/main/java/io/kubernetes/client/openapi/models/V1ResourceAttributes.java -src/main/java/io/kubernetes/client/openapi/models/V1ResourceClaim.java +src/main/java/io/kubernetes/client/openapi/models/V1ResourceClaimConsumerReference.java +src/main/java/io/kubernetes/client/openapi/models/V1ResourceClaimList.java +src/main/java/io/kubernetes/client/openapi/models/V1ResourceClaimSpec.java +src/main/java/io/kubernetes/client/openapi/models/V1ResourceClaimStatus.java +src/main/java/io/kubernetes/client/openapi/models/V1ResourceClaimTemplate.java +src/main/java/io/kubernetes/client/openapi/models/V1ResourceClaimTemplateList.java +src/main/java/io/kubernetes/client/openapi/models/V1ResourceClaimTemplateSpec.java src/main/java/io/kubernetes/client/openapi/models/V1ResourceFieldSelector.java src/main/java/io/kubernetes/client/openapi/models/V1ResourceHealth.java src/main/java/io/kubernetes/client/openapi/models/V1ResourcePolicyRule.java +src/main/java/io/kubernetes/client/openapi/models/V1ResourcePool.java src/main/java/io/kubernetes/client/openapi/models/V1ResourceQuota.java src/main/java/io/kubernetes/client/openapi/models/V1ResourceQuotaList.java src/main/java/io/kubernetes/client/openapi/models/V1ResourceQuotaSpec.java src/main/java/io/kubernetes/client/openapi/models/V1ResourceQuotaStatus.java src/main/java/io/kubernetes/client/openapi/models/V1ResourceRequirements.java src/main/java/io/kubernetes/client/openapi/models/V1ResourceRule.java +src/main/java/io/kubernetes/client/openapi/models/V1ResourceSlice.java +src/main/java/io/kubernetes/client/openapi/models/V1ResourceSliceList.java +src/main/java/io/kubernetes/client/openapi/models/V1ResourceSliceSpec.java src/main/java/io/kubernetes/client/openapi/models/V1ResourceStatus.java src/main/java/io/kubernetes/client/openapi/models/V1Role.java src/main/java/io/kubernetes/client/openapi/models/V1RoleBinding.java @@ -1312,6 +1385,8 @@ src/main/java/io/kubernetes/client/openapi/models/V1VolumeAttachmentList.java src/main/java/io/kubernetes/client/openapi/models/V1VolumeAttachmentSource.java src/main/java/io/kubernetes/client/openapi/models/V1VolumeAttachmentSpec.java src/main/java/io/kubernetes/client/openapi/models/V1VolumeAttachmentStatus.java +src/main/java/io/kubernetes/client/openapi/models/V1VolumeAttributesClass.java +src/main/java/io/kubernetes/client/openapi/models/V1VolumeAttributesClassList.java src/main/java/io/kubernetes/client/openapi/models/V1VolumeDevice.java src/main/java/io/kubernetes/client/openapi/models/V1VolumeError.java src/main/java/io/kubernetes/client/openapi/models/V1VolumeMount.java @@ -1344,6 +1419,10 @@ src/main/java/io/kubernetes/client/openapi/models/V1alpha1Mutation.java src/main/java/io/kubernetes/client/openapi/models/V1alpha1NamedRuleWithOperations.java src/main/java/io/kubernetes/client/openapi/models/V1alpha1ParamKind.java src/main/java/io/kubernetes/client/openapi/models/V1alpha1ParamRef.java +src/main/java/io/kubernetes/client/openapi/models/V1alpha1PodCertificateRequest.java +src/main/java/io/kubernetes/client/openapi/models/V1alpha1PodCertificateRequestList.java +src/main/java/io/kubernetes/client/openapi/models/V1alpha1PodCertificateRequestSpec.java +src/main/java/io/kubernetes/client/openapi/models/V1alpha1PodCertificateRequestStatus.java src/main/java/io/kubernetes/client/openapi/models/V1alpha1ServerStorageVersion.java src/main/java/io/kubernetes/client/openapi/models/V1alpha1StorageVersion.java src/main/java/io/kubernetes/client/openapi/models/V1alpha1StorageVersionCondition.java @@ -1359,53 +1438,21 @@ src/main/java/io/kubernetes/client/openapi/models/V1alpha1VolumeAttributesClassL src/main/java/io/kubernetes/client/openapi/models/V1alpha2LeaseCandidate.java src/main/java/io/kubernetes/client/openapi/models/V1alpha2LeaseCandidateList.java src/main/java/io/kubernetes/client/openapi/models/V1alpha2LeaseCandidateSpec.java -src/main/java/io/kubernetes/client/openapi/models/V1alpha3AllocatedDeviceStatus.java -src/main/java/io/kubernetes/client/openapi/models/V1alpha3AllocationResult.java -src/main/java/io/kubernetes/client/openapi/models/V1alpha3BasicDevice.java src/main/java/io/kubernetes/client/openapi/models/V1alpha3CELDeviceSelector.java -src/main/java/io/kubernetes/client/openapi/models/V1alpha3Counter.java -src/main/java/io/kubernetes/client/openapi/models/V1alpha3CounterSet.java -src/main/java/io/kubernetes/client/openapi/models/V1alpha3Device.java -src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceAllocationConfiguration.java -src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceAllocationResult.java -src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceAttribute.java -src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceClaim.java -src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceClaimConfiguration.java -src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceClass.java -src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceClassConfiguration.java -src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceClassList.java -src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceClassSpec.java -src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceConstraint.java -src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceCounterConsumption.java -src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceRequest.java -src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceRequestAllocationResult.java src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceSelector.java -src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceSubRequest.java src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceTaint.java src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceTaintRule.java src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceTaintRuleList.java src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceTaintRuleSpec.java src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceTaintSelector.java -src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceToleration.java -src/main/java/io/kubernetes/client/openapi/models/V1alpha3NetworkDeviceData.java -src/main/java/io/kubernetes/client/openapi/models/V1alpha3OpaqueDeviceConfiguration.java -src/main/java/io/kubernetes/client/openapi/models/V1alpha3ResourceClaim.java -src/main/java/io/kubernetes/client/openapi/models/V1alpha3ResourceClaimConsumerReference.java -src/main/java/io/kubernetes/client/openapi/models/V1alpha3ResourceClaimList.java -src/main/java/io/kubernetes/client/openapi/models/V1alpha3ResourceClaimSpec.java -src/main/java/io/kubernetes/client/openapi/models/V1alpha3ResourceClaimStatus.java -src/main/java/io/kubernetes/client/openapi/models/V1alpha3ResourceClaimTemplate.java -src/main/java/io/kubernetes/client/openapi/models/V1alpha3ResourceClaimTemplateList.java -src/main/java/io/kubernetes/client/openapi/models/V1alpha3ResourceClaimTemplateSpec.java -src/main/java/io/kubernetes/client/openapi/models/V1alpha3ResourcePool.java -src/main/java/io/kubernetes/client/openapi/models/V1alpha3ResourceSlice.java -src/main/java/io/kubernetes/client/openapi/models/V1alpha3ResourceSliceList.java -src/main/java/io/kubernetes/client/openapi/models/V1alpha3ResourceSliceSpec.java src/main/java/io/kubernetes/client/openapi/models/V1beta1AllocatedDeviceStatus.java src/main/java/io/kubernetes/client/openapi/models/V1beta1AllocationResult.java -src/main/java/io/kubernetes/client/openapi/models/V1beta1AuditAnnotation.java +src/main/java/io/kubernetes/client/openapi/models/V1beta1ApplyConfiguration.java src/main/java/io/kubernetes/client/openapi/models/V1beta1BasicDevice.java src/main/java/io/kubernetes/client/openapi/models/V1beta1CELDeviceSelector.java +src/main/java/io/kubernetes/client/openapi/models/V1beta1CapacityRequestPolicy.java +src/main/java/io/kubernetes/client/openapi/models/V1beta1CapacityRequestPolicyRange.java +src/main/java/io/kubernetes/client/openapi/models/V1beta1CapacityRequirements.java src/main/java/io/kubernetes/client/openapi/models/V1beta1ClusterTrustBundle.java src/main/java/io/kubernetes/client/openapi/models/V1beta1ClusterTrustBundleList.java src/main/java/io/kubernetes/client/openapi/models/V1beta1ClusterTrustBundleSpec.java @@ -1430,15 +1477,22 @@ src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceSelector.java src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceSubRequest.java src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceTaint.java src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceToleration.java -src/main/java/io/kubernetes/client/openapi/models/V1beta1ExpressionWarning.java src/main/java/io/kubernetes/client/openapi/models/V1beta1IPAddress.java src/main/java/io/kubernetes/client/openapi/models/V1beta1IPAddressList.java src/main/java/io/kubernetes/client/openapi/models/V1beta1IPAddressSpec.java +src/main/java/io/kubernetes/client/openapi/models/V1beta1JSONPatch.java src/main/java/io/kubernetes/client/openapi/models/V1beta1LeaseCandidate.java src/main/java/io/kubernetes/client/openapi/models/V1beta1LeaseCandidateList.java src/main/java/io/kubernetes/client/openapi/models/V1beta1LeaseCandidateSpec.java src/main/java/io/kubernetes/client/openapi/models/V1beta1MatchCondition.java src/main/java/io/kubernetes/client/openapi/models/V1beta1MatchResources.java +src/main/java/io/kubernetes/client/openapi/models/V1beta1MutatingAdmissionPolicy.java +src/main/java/io/kubernetes/client/openapi/models/V1beta1MutatingAdmissionPolicyBinding.java +src/main/java/io/kubernetes/client/openapi/models/V1beta1MutatingAdmissionPolicyBindingList.java +src/main/java/io/kubernetes/client/openapi/models/V1beta1MutatingAdmissionPolicyBindingSpec.java +src/main/java/io/kubernetes/client/openapi/models/V1beta1MutatingAdmissionPolicyList.java +src/main/java/io/kubernetes/client/openapi/models/V1beta1MutatingAdmissionPolicySpec.java +src/main/java/io/kubernetes/client/openapi/models/V1beta1Mutation.java src/main/java/io/kubernetes/client/openapi/models/V1beta1NamedRuleWithOperations.java src/main/java/io/kubernetes/client/openapi/models/V1beta1NetworkDeviceData.java src/main/java/io/kubernetes/client/openapi/models/V1beta1OpaqueDeviceConfiguration.java @@ -1461,21 +1515,15 @@ src/main/java/io/kubernetes/client/openapi/models/V1beta1ServiceCIDR.java src/main/java/io/kubernetes/client/openapi/models/V1beta1ServiceCIDRList.java src/main/java/io/kubernetes/client/openapi/models/V1beta1ServiceCIDRSpec.java src/main/java/io/kubernetes/client/openapi/models/V1beta1ServiceCIDRStatus.java -src/main/java/io/kubernetes/client/openapi/models/V1beta1TypeChecking.java -src/main/java/io/kubernetes/client/openapi/models/V1beta1ValidatingAdmissionPolicy.java -src/main/java/io/kubernetes/client/openapi/models/V1beta1ValidatingAdmissionPolicyBinding.java -src/main/java/io/kubernetes/client/openapi/models/V1beta1ValidatingAdmissionPolicyBindingList.java -src/main/java/io/kubernetes/client/openapi/models/V1beta1ValidatingAdmissionPolicyBindingSpec.java -src/main/java/io/kubernetes/client/openapi/models/V1beta1ValidatingAdmissionPolicyList.java -src/main/java/io/kubernetes/client/openapi/models/V1beta1ValidatingAdmissionPolicySpec.java -src/main/java/io/kubernetes/client/openapi/models/V1beta1ValidatingAdmissionPolicyStatus.java -src/main/java/io/kubernetes/client/openapi/models/V1beta1Validation.java src/main/java/io/kubernetes/client/openapi/models/V1beta1Variable.java src/main/java/io/kubernetes/client/openapi/models/V1beta1VolumeAttributesClass.java src/main/java/io/kubernetes/client/openapi/models/V1beta1VolumeAttributesClassList.java src/main/java/io/kubernetes/client/openapi/models/V1beta2AllocatedDeviceStatus.java src/main/java/io/kubernetes/client/openapi/models/V1beta2AllocationResult.java src/main/java/io/kubernetes/client/openapi/models/V1beta2CELDeviceSelector.java +src/main/java/io/kubernetes/client/openapi/models/V1beta2CapacityRequestPolicy.java +src/main/java/io/kubernetes/client/openapi/models/V1beta2CapacityRequestPolicyRange.java +src/main/java/io/kubernetes/client/openapi/models/V1beta2CapacityRequirements.java src/main/java/io/kubernetes/client/openapi/models/V1beta2Counter.java src/main/java/io/kubernetes/client/openapi/models/V1beta2CounterSet.java src/main/java/io/kubernetes/client/openapi/models/V1beta2Device.java diff --git a/kubernetes/.openapi-generator/swagger.json-default.sha256 b/kubernetes/.openapi-generator/swagger.json-default.sha256 index 812e69e459..815f14bf91 100644 --- a/kubernetes/.openapi-generator/swagger.json-default.sha256 +++ b/kubernetes/.openapi-generator/swagger.json-default.sha256 @@ -1 +1 @@ -b98d39bd0c9252a7d58b83a1c37cf663edace9dfb5fae6ebf13915d2ca505eab \ No newline at end of file +2f2212d4aefec847fa2b34c2eba9e8756af4af17b5a5909e50d648eb43c49e15 \ No newline at end of file diff --git a/kubernetes/api/openapi.yaml b/kubernetes/api/openapi.yaml index 7f7a659b14..d4761521d6 100644 --- a/kubernetes/api/openapi.yaml +++ b/kubernetes/api/openapi.yaml @@ -1,7 +1,7 @@ openapi: 3.0.1 info: title: Kubernetes - version: release-1.33 + version: release-1.34 servers: - url: / security: @@ -25564,10 +25564,10 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicies: + /apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicies: delete: - description: delete collection of ValidatingAdmissionPolicy - operationId: deleteCollectionValidatingAdmissionPolicy + description: delete collection of MutatingAdmissionPolicy + operationId: deleteCollectionMutatingAdmissionPolicy parameters: - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ @@ -25725,7 +25725,7 @@ paths: x-kubernetes-action: deletecollection x-kubernetes-group-version-kind: group: admissionregistration.k8s.io - kind: ValidatingAdmissionPolicy + kind: MutatingAdmissionPolicy version: v1beta1 x-codegen-request-body-name: body x-content-type: application/json @@ -25735,8 +25735,8 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml get: - description: list or watch objects of kind ValidatingAdmissionPolicy - operationId: listValidatingAdmissionPolicy + description: list or watch objects of kind MutatingAdmissionPolicy + operationId: listMutatingAdmissionPolicy parameters: - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ @@ -25834,25 +25834,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicyList' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicyList' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicyList' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicyList' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicyList' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicyList' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicyList' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicyList' application/json;stream=watch: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicyList' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicyList' application/vnd.kubernetes.protobuf;stream=watch: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicyList' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicyList' application/cbor-seq: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicyList' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicyList' description: OK "401": content: {} @@ -25862,7 +25862,7 @@ paths: x-kubernetes-action: list x-kubernetes-group-version-kind: group: admissionregistration.k8s.io - kind: ValidatingAdmissionPolicy + kind: MutatingAdmissionPolicy version: v1beta1 x-accepts: - application/cbor @@ -25873,8 +25873,8 @@ paths: - application/vnd.kubernetes.protobuf;stream=watch - application/yaml post: - description: create a ValidatingAdmissionPolicy - operationId: createValidatingAdmissionPolicy + description: create a MutatingAdmissionPolicy + operationId: createMutatingAdmissionPolicy parameters: - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ @@ -25919,53 +25919,53 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicy' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicy' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicy' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicy' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicy' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicy' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicy' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicy' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicy' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicy' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicy' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicy' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicy' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicy' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicy' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicy' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicy' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicy' description: Created "202": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicy' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicy' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicy' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicy' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicy' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicy' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicy' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicy' description: Accepted "401": content: {} @@ -25975,7 +25975,7 @@ paths: x-kubernetes-action: post x-kubernetes-group-version-kind: group: admissionregistration.k8s.io - kind: ValidatingAdmissionPolicy + kind: MutatingAdmissionPolicy version: v1beta1 x-codegen-request-body-name: body x-content-type: application/json @@ -25984,12 +25984,12 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicies/{name}: + /apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicies/{name}: delete: - description: delete a ValidatingAdmissionPolicy - operationId: deleteValidatingAdmissionPolicy + description: delete a MutatingAdmissionPolicy + operationId: deleteMutatingAdmissionPolicy parameters: - - description: name of the ValidatingAdmissionPolicy + - description: name of the MutatingAdmissionPolicy in: path name: name required: true @@ -26098,270 +26098,7 @@ paths: x-kubernetes-action: delete x-kubernetes-group-version-kind: group: admissionregistration.k8s.io - kind: ValidatingAdmissionPolicy - version: v1beta1 - x-codegen-request-body-name: body - x-content-type: application/json - x-accepts: - - application/cbor - - application/json - - application/vnd.kubernetes.protobuf - - application/yaml - get: - description: read the specified ValidatingAdmissionPolicy - operationId: readValidatingAdmissionPolicy - parameters: - - description: name of the ValidatingAdmissionPolicy - in: path - name: name - required: true - schema: - type: string - - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ - \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ - \ and wget)." - in: query - name: pretty - schema: - type: string - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicy' - application/yaml: - schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicy' - application/vnd.kubernetes.protobuf: - schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicy' - application/cbor: - schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicy' - description: OK - "401": - content: {} - description: Unauthorized - tags: - - admissionregistration_v1beta1 - x-kubernetes-action: get - x-kubernetes-group-version-kind: - group: admissionregistration.k8s.io - kind: ValidatingAdmissionPolicy - version: v1beta1 - x-accepts: - - application/cbor - - application/json - - application/vnd.kubernetes.protobuf - - application/yaml - patch: - description: partially update the specified ValidatingAdmissionPolicy - operationId: patchValidatingAdmissionPolicy - parameters: - - description: name of the ValidatingAdmissionPolicy - in: path - name: name - required: true - schema: - type: string - - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ - \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ - \ and wget)." - in: query - name: pretty - schema: - type: string - - description: "When present, indicates that modifications should not be persisted.\ - \ An invalid or unrecognized dryRun directive will result in an error response\ - \ and no further processing of the request. Valid values are: - All: all\ - \ dry run stages will be processed" - in: query - name: dryRun - schema: - type: string - - description: "fieldManager is a name associated with the actor or entity that\ - \ is making these changes. The value must be less than or 128 characters\ - \ long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.\ - \ This field is required for apply requests (application/apply-patch) but\ - \ optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch)." - in: query - name: fieldManager - schema: - type: string - - description: "fieldValidation instructs the server on how to handle objects\ - \ in the request (POST/PUT/PATCH) containing unknown or duplicate fields.\ - \ Valid values are: - Ignore: This will ignore any unknown fields that are\ - \ silently dropped from the object, and will ignore all but the last duplicate\ - \ field that the decoder encounters. This is the default behavior prior\ - \ to v1.23. - Warn: This will send a warning via the standard warning response\ - \ header for each unknown field that is dropped from the object, and for\ - \ each duplicate field that is encountered. The request will still succeed\ - \ if there are no other errors, and will only persist the last of any duplicate\ - \ fields. This is the default in v1.23+ - Strict: This will fail the request\ - \ with a BadRequest error if any unknown fields would be dropped from the\ - \ object, or if any duplicate fields are present. The error returned from\ - \ the server will contain all unknown and duplicate fields encountered." - in: query - name: fieldValidation - schema: - type: string - - description: Force is going to "force" Apply requests. It means user will - re-acquire conflicting fields owned by other people. Force flag must be - unset for non-apply patch requests. - in: query - name: force - schema: - type: boolean - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/v1.Patch' - required: true - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicy' - application/yaml: - schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicy' - application/vnd.kubernetes.protobuf: - schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicy' - application/cbor: - schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicy' - description: OK - "201": - content: - application/json: - schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicy' - application/yaml: - schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicy' - application/vnd.kubernetes.protobuf: - schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicy' - application/cbor: - schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicy' - description: Created - "401": - content: {} - description: Unauthorized - tags: - - admissionregistration_v1beta1 - x-kubernetes-action: patch - x-kubernetes-group-version-kind: - group: admissionregistration.k8s.io - kind: ValidatingAdmissionPolicy - version: v1beta1 - x-codegen-request-body-name: body - x-content-type: application/json - x-accepts: - - application/cbor - - application/json - - application/vnd.kubernetes.protobuf - - application/yaml - put: - description: replace the specified ValidatingAdmissionPolicy - operationId: replaceValidatingAdmissionPolicy - parameters: - - description: name of the ValidatingAdmissionPolicy - in: path - name: name - required: true - schema: - type: string - - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ - \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ - \ and wget)." - in: query - name: pretty - schema: - type: string - - description: "When present, indicates that modifications should not be persisted.\ - \ An invalid or unrecognized dryRun directive will result in an error response\ - \ and no further processing of the request. Valid values are: - All: all\ - \ dry run stages will be processed" - in: query - name: dryRun - schema: - type: string - - description: "fieldManager is a name associated with the actor or entity that\ - \ is making these changes. The value must be less than or 128 characters\ - \ long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint." - in: query - name: fieldManager - schema: - type: string - - description: "fieldValidation instructs the server on how to handle objects\ - \ in the request (POST/PUT/PATCH) containing unknown or duplicate fields.\ - \ Valid values are: - Ignore: This will ignore any unknown fields that are\ - \ silently dropped from the object, and will ignore all but the last duplicate\ - \ field that the decoder encounters. This is the default behavior prior\ - \ to v1.23. - Warn: This will send a warning via the standard warning response\ - \ header for each unknown field that is dropped from the object, and for\ - \ each duplicate field that is encountered. The request will still succeed\ - \ if there are no other errors, and will only persist the last of any duplicate\ - \ fields. This is the default in v1.23+ - Strict: This will fail the request\ - \ with a BadRequest error if any unknown fields would be dropped from the\ - \ object, or if any duplicate fields are present. The error returned from\ - \ the server will contain all unknown and duplicate fields encountered." - in: query - name: fieldValidation - schema: - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicy' - required: true - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicy' - application/yaml: - schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicy' - application/vnd.kubernetes.protobuf: - schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicy' - application/cbor: - schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicy' - description: OK - "201": - content: - application/json: - schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicy' - application/yaml: - schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicy' - application/vnd.kubernetes.protobuf: - schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicy' - application/cbor: - schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicy' - description: Created - "401": - content: {} - description: Unauthorized - tags: - - admissionregistration_v1beta1 - x-kubernetes-action: put - x-kubernetes-group-version-kind: - group: admissionregistration.k8s.io - kind: ValidatingAdmissionPolicy + kind: MutatingAdmissionPolicy version: v1beta1 x-codegen-request-body-name: body x-content-type: application/json @@ -26370,12 +26107,11 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicies/{name}/status: get: - description: read status of the specified ValidatingAdmissionPolicy - operationId: readValidatingAdmissionPolicyStatus + description: read the specified MutatingAdmissionPolicy + operationId: readMutatingAdmissionPolicy parameters: - - description: name of the ValidatingAdmissionPolicy + - description: name of the MutatingAdmissionPolicy in: path name: name required: true @@ -26393,16 +26129,16 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicy' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicy' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicy' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicy' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicy' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicy' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicy' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicy' description: OK "401": content: {} @@ -26412,7 +26148,7 @@ paths: x-kubernetes-action: get x-kubernetes-group-version-kind: group: admissionregistration.k8s.io - kind: ValidatingAdmissionPolicy + kind: MutatingAdmissionPolicy version: v1beta1 x-accepts: - application/cbor @@ -26420,10 +26156,10 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml patch: - description: partially update status of the specified ValidatingAdmissionPolicy - operationId: patchValidatingAdmissionPolicyStatus + description: partially update the specified MutatingAdmissionPolicy + operationId: patchMutatingAdmissionPolicy parameters: - - description: name of the ValidatingAdmissionPolicy + - description: name of the MutatingAdmissionPolicy in: path name: name required: true @@ -26488,31 +26224,31 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicy' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicy' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicy' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicy' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicy' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicy' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicy' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicy' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicy' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicy' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicy' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicy' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicy' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicy' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicy' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicy' description: Created "401": content: {} @@ -26522,7 +26258,7 @@ paths: x-kubernetes-action: patch x-kubernetes-group-version-kind: group: admissionregistration.k8s.io - kind: ValidatingAdmissionPolicy + kind: MutatingAdmissionPolicy version: v1beta1 x-codegen-request-body-name: body x-content-type: application/json @@ -26532,10 +26268,10 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml put: - description: replace status of the specified ValidatingAdmissionPolicy - operationId: replaceValidatingAdmissionPolicyStatus + description: replace the specified MutatingAdmissionPolicy + operationId: replaceMutatingAdmissionPolicy parameters: - - description: name of the ValidatingAdmissionPolicy + - description: name of the MutatingAdmissionPolicy in: path name: name required: true @@ -26584,38 +26320,38 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicy' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicy' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicy' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicy' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicy' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicy' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicy' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicy' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicy' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicy' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicy' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicy' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicy' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicy' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicy' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicy' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicy' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicy' description: Created "401": content: {} @@ -26625,7 +26361,7 @@ paths: x-kubernetes-action: put x-kubernetes-group-version-kind: group: admissionregistration.k8s.io - kind: ValidatingAdmissionPolicy + kind: MutatingAdmissionPolicy version: v1beta1 x-codegen-request-body-name: body x-content-type: application/json @@ -26634,10 +26370,10 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicybindings: + /apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicybindings: delete: - description: delete collection of ValidatingAdmissionPolicyBinding - operationId: deleteCollectionValidatingAdmissionPolicyBinding + description: delete collection of MutatingAdmissionPolicyBinding + operationId: deleteCollectionMutatingAdmissionPolicyBinding parameters: - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ @@ -26795,7 +26531,7 @@ paths: x-kubernetes-action: deletecollection x-kubernetes-group-version-kind: group: admissionregistration.k8s.io - kind: ValidatingAdmissionPolicyBinding + kind: MutatingAdmissionPolicyBinding version: v1beta1 x-codegen-request-body-name: body x-content-type: application/json @@ -26805,8 +26541,8 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml get: - description: list or watch objects of kind ValidatingAdmissionPolicyBinding - operationId: listValidatingAdmissionPolicyBinding + description: list or watch objects of kind MutatingAdmissionPolicyBinding + operationId: listMutatingAdmissionPolicyBinding parameters: - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ @@ -26904,25 +26640,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicyBindingList' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicyBindingList' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicyBindingList' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicyBindingList' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicyBindingList' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicyBindingList' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicyBindingList' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicyBindingList' application/json;stream=watch: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicyBindingList' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicyBindingList' application/vnd.kubernetes.protobuf;stream=watch: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicyBindingList' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicyBindingList' application/cbor-seq: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicyBindingList' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicyBindingList' description: OK "401": content: {} @@ -26932,7 +26668,7 @@ paths: x-kubernetes-action: list x-kubernetes-group-version-kind: group: admissionregistration.k8s.io - kind: ValidatingAdmissionPolicyBinding + kind: MutatingAdmissionPolicyBinding version: v1beta1 x-accepts: - application/cbor @@ -26943,8 +26679,8 @@ paths: - application/vnd.kubernetes.protobuf;stream=watch - application/yaml post: - description: create a ValidatingAdmissionPolicyBinding - operationId: createValidatingAdmissionPolicyBinding + description: create a MutatingAdmissionPolicyBinding + operationId: createMutatingAdmissionPolicyBinding parameters: - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ @@ -26989,53 +26725,53 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicyBinding' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicyBinding' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicyBinding' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicyBinding' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicyBinding' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicyBinding' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicyBinding' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicyBinding' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicyBinding' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicyBinding' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicyBinding' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicyBinding' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicyBinding' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicyBinding' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicyBinding' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicyBinding' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicyBinding' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicyBinding' description: Created "202": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicyBinding' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicyBinding' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicyBinding' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicyBinding' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicyBinding' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicyBinding' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicyBinding' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicyBinding' description: Accepted "401": content: {} @@ -27045,7 +26781,7 @@ paths: x-kubernetes-action: post x-kubernetes-group-version-kind: group: admissionregistration.k8s.io - kind: ValidatingAdmissionPolicyBinding + kind: MutatingAdmissionPolicyBinding version: v1beta1 x-codegen-request-body-name: body x-content-type: application/json @@ -27054,12 +26790,12 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicybindings/{name}: + /apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicybindings/{name}: delete: - description: delete a ValidatingAdmissionPolicyBinding - operationId: deleteValidatingAdmissionPolicyBinding + description: delete a MutatingAdmissionPolicyBinding + operationId: deleteMutatingAdmissionPolicyBinding parameters: - - description: name of the ValidatingAdmissionPolicyBinding + - description: name of the MutatingAdmissionPolicyBinding in: path name: name required: true @@ -27168,7 +26904,7 @@ paths: x-kubernetes-action: delete x-kubernetes-group-version-kind: group: admissionregistration.k8s.io - kind: ValidatingAdmissionPolicyBinding + kind: MutatingAdmissionPolicyBinding version: v1beta1 x-codegen-request-body-name: body x-content-type: application/json @@ -27178,10 +26914,10 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml get: - description: read the specified ValidatingAdmissionPolicyBinding - operationId: readValidatingAdmissionPolicyBinding + description: read the specified MutatingAdmissionPolicyBinding + operationId: readMutatingAdmissionPolicyBinding parameters: - - description: name of the ValidatingAdmissionPolicyBinding + - description: name of the MutatingAdmissionPolicyBinding in: path name: name required: true @@ -27199,16 +26935,16 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicyBinding' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicyBinding' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicyBinding' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicyBinding' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicyBinding' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicyBinding' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicyBinding' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicyBinding' description: OK "401": content: {} @@ -27218,7 +26954,7 @@ paths: x-kubernetes-action: get x-kubernetes-group-version-kind: group: admissionregistration.k8s.io - kind: ValidatingAdmissionPolicyBinding + kind: MutatingAdmissionPolicyBinding version: v1beta1 x-accepts: - application/cbor @@ -27226,10 +26962,10 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml patch: - description: partially update the specified ValidatingAdmissionPolicyBinding - operationId: patchValidatingAdmissionPolicyBinding + description: partially update the specified MutatingAdmissionPolicyBinding + operationId: patchMutatingAdmissionPolicyBinding parameters: - - description: name of the ValidatingAdmissionPolicyBinding + - description: name of the MutatingAdmissionPolicyBinding in: path name: name required: true @@ -27294,31 +27030,31 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicyBinding' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicyBinding' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicyBinding' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicyBinding' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicyBinding' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicyBinding' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicyBinding' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicyBinding' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicyBinding' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicyBinding' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicyBinding' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicyBinding' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicyBinding' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicyBinding' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicyBinding' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicyBinding' description: Created "401": content: {} @@ -27328,7 +27064,7 @@ paths: x-kubernetes-action: patch x-kubernetes-group-version-kind: group: admissionregistration.k8s.io - kind: ValidatingAdmissionPolicyBinding + kind: MutatingAdmissionPolicyBinding version: v1beta1 x-codegen-request-body-name: body x-content-type: application/json @@ -27338,10 +27074,10 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml put: - description: replace the specified ValidatingAdmissionPolicyBinding - operationId: replaceValidatingAdmissionPolicyBinding + description: replace the specified MutatingAdmissionPolicyBinding + operationId: replaceMutatingAdmissionPolicyBinding parameters: - - description: name of the ValidatingAdmissionPolicyBinding + - description: name of the MutatingAdmissionPolicyBinding in: path name: name required: true @@ -27390,38 +27126,38 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicyBinding' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicyBinding' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicyBinding' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicyBinding' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicyBinding' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicyBinding' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicyBinding' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicyBinding' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicyBinding' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicyBinding' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicyBinding' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicyBinding' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicyBinding' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicyBinding' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicyBinding' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicyBinding' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicyBinding' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicyBinding' description: Created "401": content: {} @@ -27431,7 +27167,7 @@ paths: x-kubernetes-action: put x-kubernetes-group-version-kind: group: admissionregistration.k8s.io - kind: ValidatingAdmissionPolicyBinding + kind: MutatingAdmissionPolicyBinding version: v1beta1 x-codegen-request-body-name: body x-content-type: application/json @@ -27440,10 +27176,10 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/admissionregistration.k8s.io/v1beta1/watch/validatingadmissionpolicies: {} - /apis/admissionregistration.k8s.io/v1beta1/watch/validatingadmissionpolicies/{name}: {} - /apis/admissionregistration.k8s.io/v1beta1/watch/validatingadmissionpolicybindings: {} - /apis/admissionregistration.k8s.io/v1beta1/watch/validatingadmissionpolicybindings/{name}: {} + /apis/admissionregistration.k8s.io/v1beta1/watch/mutatingadmissionpolicies: {} + /apis/admissionregistration.k8s.io/v1beta1/watch/mutatingadmissionpolicies/{name}: {} + /apis/admissionregistration.k8s.io/v1beta1/watch/mutatingadmissionpolicybindings: {} + /apis/admissionregistration.k8s.io/v1beta1/watch/mutatingadmissionpolicybindings/{name}: {} /apis/apiextensions.k8s.io/: get: description: get information of a group @@ -44934,43 +44670,17 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/certificates.k8s.io/v1alpha1/watch/clustertrustbundles: {} - /apis/certificates.k8s.io/v1alpha1/watch/clustertrustbundles/{name}: {} - /apis/certificates.k8s.io/v1beta1/: - get: - description: get available resources - operationId: getAPIResources - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/v1.APIResourceList' - application/yaml: - schema: - $ref: '#/components/schemas/v1.APIResourceList' - application/vnd.kubernetes.protobuf: - schema: - $ref: '#/components/schemas/v1.APIResourceList' - application/cbor: - schema: - $ref: '#/components/schemas/v1.APIResourceList' - description: OK - "401": - content: {} - description: Unauthorized - tags: - - certificates_v1beta1 - x-accepts: - - application/cbor - - application/json - - application/vnd.kubernetes.protobuf - - application/yaml - /apis/certificates.k8s.io/v1beta1/clustertrustbundles: + /apis/certificates.k8s.io/v1alpha1/namespaces/{namespace}/podcertificaterequests: delete: - description: delete collection of ClusterTrustBundle - operationId: deleteCollectionClusterTrustBundle + description: delete collection of PodCertificateRequest + operationId: deleteCollectionNamespacedPodCertificateRequest parameters: + - description: "object name and auth scope, such as for teams and projects" + in: path + name: namespace + required: true + schema: + type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -45123,12 +44833,12 @@ paths: content: {} description: Unauthorized tags: - - certificates_v1beta1 + - certificates_v1alpha1 x-kubernetes-action: deletecollection x-kubernetes-group-version-kind: group: certificates.k8s.io - kind: ClusterTrustBundle - version: v1beta1 + kind: PodCertificateRequest + version: v1alpha1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -45137,9 +44847,15 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml get: - description: list or watch objects of kind ClusterTrustBundle - operationId: listClusterTrustBundle + description: list or watch objects of kind PodCertificateRequest + operationId: listNamespacedPodCertificateRequest parameters: + - description: "object name and auth scope, such as for teams and projects" + in: path + name: namespace + required: true + schema: + type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -45236,36 +44952,36 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ClusterTrustBundleList' + $ref: '#/components/schemas/v1alpha1.PodCertificateRequestList' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ClusterTrustBundleList' + $ref: '#/components/schemas/v1alpha1.PodCertificateRequestList' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ClusterTrustBundleList' + $ref: '#/components/schemas/v1alpha1.PodCertificateRequestList' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ClusterTrustBundleList' + $ref: '#/components/schemas/v1alpha1.PodCertificateRequestList' application/json;stream=watch: schema: - $ref: '#/components/schemas/v1beta1.ClusterTrustBundleList' + $ref: '#/components/schemas/v1alpha1.PodCertificateRequestList' application/vnd.kubernetes.protobuf;stream=watch: schema: - $ref: '#/components/schemas/v1beta1.ClusterTrustBundleList' + $ref: '#/components/schemas/v1alpha1.PodCertificateRequestList' application/cbor-seq: schema: - $ref: '#/components/schemas/v1beta1.ClusterTrustBundleList' + $ref: '#/components/schemas/v1alpha1.PodCertificateRequestList' description: OK "401": content: {} description: Unauthorized tags: - - certificates_v1beta1 + - certificates_v1alpha1 x-kubernetes-action: list x-kubernetes-group-version-kind: group: certificates.k8s.io - kind: ClusterTrustBundle - version: v1beta1 + kind: PodCertificateRequest + version: v1alpha1 x-accepts: - application/cbor - application/cbor-seq @@ -45275,9 +44991,15 @@ paths: - application/vnd.kubernetes.protobuf;stream=watch - application/yaml post: - description: create a ClusterTrustBundle - operationId: createClusterTrustBundle + description: create a PodCertificateRequest + operationId: createNamespacedPodCertificateRequest parameters: + - description: "object name and auth scope, such as for teams and projects" + in: path + name: namespace + required: true + schema: + type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -45321,64 +45043,64 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' + $ref: '#/components/schemas/v1alpha1.PodCertificateRequest' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' + $ref: '#/components/schemas/v1alpha1.PodCertificateRequest' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' + $ref: '#/components/schemas/v1alpha1.PodCertificateRequest' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' + $ref: '#/components/schemas/v1alpha1.PodCertificateRequest' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' + $ref: '#/components/schemas/v1alpha1.PodCertificateRequest' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' + $ref: '#/components/schemas/v1alpha1.PodCertificateRequest' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' + $ref: '#/components/schemas/v1alpha1.PodCertificateRequest' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' + $ref: '#/components/schemas/v1alpha1.PodCertificateRequest' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' + $ref: '#/components/schemas/v1alpha1.PodCertificateRequest' description: Created "202": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' + $ref: '#/components/schemas/v1alpha1.PodCertificateRequest' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' + $ref: '#/components/schemas/v1alpha1.PodCertificateRequest' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' + $ref: '#/components/schemas/v1alpha1.PodCertificateRequest' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' + $ref: '#/components/schemas/v1alpha1.PodCertificateRequest' description: Accepted "401": content: {} description: Unauthorized tags: - - certificates_v1beta1 + - certificates_v1alpha1 x-kubernetes-action: post x-kubernetes-group-version-kind: group: certificates.k8s.io - kind: ClusterTrustBundle - version: v1beta1 + kind: PodCertificateRequest + version: v1alpha1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -45386,17 +45108,23 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/certificates.k8s.io/v1beta1/clustertrustbundles/{name}: + /apis/certificates.k8s.io/v1alpha1/namespaces/{namespace}/podcertificaterequests/{name}: delete: - description: delete a ClusterTrustBundle - operationId: deleteClusterTrustBundle + description: delete a PodCertificateRequest + operationId: deleteNamespacedPodCertificateRequest parameters: - - description: name of the ClusterTrustBundle + - description: name of the PodCertificateRequest in: path name: name required: true schema: type: string + - description: "object name and auth scope, such as for teams and projects" + in: path + name: namespace + required: true + schema: + type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -45496,12 +45224,12 @@ paths: content: {} description: Unauthorized tags: - - certificates_v1beta1 + - certificates_v1alpha1 x-kubernetes-action: delete x-kubernetes-group-version-kind: group: certificates.k8s.io - kind: ClusterTrustBundle - version: v1beta1 + kind: PodCertificateRequest + version: v1alpha1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -45510,15 +45238,21 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml get: - description: read the specified ClusterTrustBundle - operationId: readClusterTrustBundle + description: read the specified PodCertificateRequest + operationId: readNamespacedPodCertificateRequest parameters: - - description: name of the ClusterTrustBundle + - description: name of the PodCertificateRequest in: path name: name required: true schema: type: string + - description: "object name and auth scope, such as for teams and projects" + in: path + name: namespace + required: true + schema: + type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -45531,151 +45265,45 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' + $ref: '#/components/schemas/v1alpha1.PodCertificateRequest' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' + $ref: '#/components/schemas/v1alpha1.PodCertificateRequest' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' + $ref: '#/components/schemas/v1alpha1.PodCertificateRequest' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' + $ref: '#/components/schemas/v1alpha1.PodCertificateRequest' description: OK "401": content: {} description: Unauthorized tags: - - certificates_v1beta1 + - certificates_v1alpha1 x-kubernetes-action: get x-kubernetes-group-version-kind: group: certificates.k8s.io - kind: ClusterTrustBundle - version: v1beta1 + kind: PodCertificateRequest + version: v1alpha1 x-accepts: - application/cbor - application/json - application/vnd.kubernetes.protobuf - application/yaml patch: - description: partially update the specified ClusterTrustBundle - operationId: patchClusterTrustBundle + description: partially update the specified PodCertificateRequest + operationId: patchNamespacedPodCertificateRequest parameters: - - description: name of the ClusterTrustBundle + - description: name of the PodCertificateRequest in: path name: name required: true schema: type: string - - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ - \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ - \ and wget)." - in: query - name: pretty - schema: - type: string - - description: "When present, indicates that modifications should not be persisted.\ - \ An invalid or unrecognized dryRun directive will result in an error response\ - \ and no further processing of the request. Valid values are: - All: all\ - \ dry run stages will be processed" - in: query - name: dryRun - schema: - type: string - - description: "fieldManager is a name associated with the actor or entity that\ - \ is making these changes. The value must be less than or 128 characters\ - \ long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.\ - \ This field is required for apply requests (application/apply-patch) but\ - \ optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch)." - in: query - name: fieldManager - schema: - type: string - - description: "fieldValidation instructs the server on how to handle objects\ - \ in the request (POST/PUT/PATCH) containing unknown or duplicate fields.\ - \ Valid values are: - Ignore: This will ignore any unknown fields that are\ - \ silently dropped from the object, and will ignore all but the last duplicate\ - \ field that the decoder encounters. This is the default behavior prior\ - \ to v1.23. - Warn: This will send a warning via the standard warning response\ - \ header for each unknown field that is dropped from the object, and for\ - \ each duplicate field that is encountered. The request will still succeed\ - \ if there are no other errors, and will only persist the last of any duplicate\ - \ fields. This is the default in v1.23+ - Strict: This will fail the request\ - \ with a BadRequest error if any unknown fields would be dropped from the\ - \ object, or if any duplicate fields are present. The error returned from\ - \ the server will contain all unknown and duplicate fields encountered." - in: query - name: fieldValidation - schema: - type: string - - description: Force is going to "force" Apply requests. It means user will - re-acquire conflicting fields owned by other people. Force flag must be - unset for non-apply patch requests. - in: query - name: force - schema: - type: boolean - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/v1.Patch' - required: true - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' - application/yaml: - schema: - $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' - application/vnd.kubernetes.protobuf: - schema: - $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' - application/cbor: - schema: - $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' - description: OK - "201": - content: - application/json: - schema: - $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' - application/yaml: - schema: - $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' - application/vnd.kubernetes.protobuf: - schema: - $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' - application/cbor: - schema: - $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' - description: Created - "401": - content: {} - description: Unauthorized - tags: - - certificates_v1beta1 - x-kubernetes-action: patch - x-kubernetes-group-version-kind: - group: certificates.k8s.io - kind: ClusterTrustBundle - version: v1beta1 - x-codegen-request-body-name: body - x-content-type: application/json - x-accepts: - - application/cbor - - application/json - - application/vnd.kubernetes.protobuf - - application/yaml - put: - description: replace the specified ClusterTrustBundle - operationId: replaceClusterTrustBundle - parameters: - - description: name of the ClusterTrustBundle + - description: "object name and auth scope, such as for teams and projects" in: path - name: name + name: namespace required: true schema: type: string @@ -45696,7 +45324,9 @@ paths: type: string - description: "fieldManager is a name associated with the actor or entity that\ \ is making these changes. The value must be less than or 128 characters\ - \ long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint." + \ long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.\ + \ This field is required for apply requests (application/apply-patch) but\ + \ optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch)." in: query name: fieldManager schema: @@ -45718,53 +45348,169 @@ paths: name: fieldValidation schema: type: string + - description: Force is going to "force" Apply requests. It means user will + re-acquire conflicting fields owned by other people. Force flag must be + unset for non-apply patch requests. + in: query + name: force + schema: + type: boolean requestBody: content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' + $ref: '#/components/schemas/v1.Patch' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' + $ref: '#/components/schemas/v1alpha1.PodCertificateRequest' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' + $ref: '#/components/schemas/v1alpha1.PodCertificateRequest' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' + $ref: '#/components/schemas/v1alpha1.PodCertificateRequest' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' + $ref: '#/components/schemas/v1alpha1.PodCertificateRequest' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' + $ref: '#/components/schemas/v1alpha1.PodCertificateRequest' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' + $ref: '#/components/schemas/v1alpha1.PodCertificateRequest' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' + $ref: '#/components/schemas/v1alpha1.PodCertificateRequest' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' + $ref: '#/components/schemas/v1alpha1.PodCertificateRequest' description: Created "401": content: {} description: Unauthorized tags: - - certificates_v1beta1 + - certificates_v1alpha1 + x-kubernetes-action: patch + x-kubernetes-group-version-kind: + group: certificates.k8s.io + kind: PodCertificateRequest + version: v1alpha1 + x-codegen-request-body-name: body + x-content-type: application/json + x-accepts: + - application/cbor + - application/json + - application/vnd.kubernetes.protobuf + - application/yaml + put: + description: replace the specified PodCertificateRequest + operationId: replaceNamespacedPodCertificateRequest + parameters: + - description: name of the PodCertificateRequest + in: path + name: name + required: true + schema: + type: string + - description: "object name and auth scope, such as for teams and projects" + in: path + name: namespace + required: true + schema: + type: string + - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ + \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ + \ and wget)." + in: query + name: pretty + schema: + type: string + - description: "When present, indicates that modifications should not be persisted.\ + \ An invalid or unrecognized dryRun directive will result in an error response\ + \ and no further processing of the request. Valid values are: - All: all\ + \ dry run stages will be processed" + in: query + name: dryRun + schema: + type: string + - description: "fieldManager is a name associated with the actor or entity that\ + \ is making these changes. The value must be less than or 128 characters\ + \ long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint." + in: query + name: fieldManager + schema: + type: string + - description: "fieldValidation instructs the server on how to handle objects\ + \ in the request (POST/PUT/PATCH) containing unknown or duplicate fields.\ + \ Valid values are: - Ignore: This will ignore any unknown fields that are\ + \ silently dropped from the object, and will ignore all but the last duplicate\ + \ field that the decoder encounters. This is the default behavior prior\ + \ to v1.23. - Warn: This will send a warning via the standard warning response\ + \ header for each unknown field that is dropped from the object, and for\ + \ each duplicate field that is encountered. The request will still succeed\ + \ if there are no other errors, and will only persist the last of any duplicate\ + \ fields. This is the default in v1.23+ - Strict: This will fail the request\ + \ with a BadRequest error if any unknown fields would be dropped from the\ + \ object, or if any duplicate fields are present. The error returned from\ + \ the server will contain all unknown and duplicate fields encountered." + in: query + name: fieldValidation + schema: + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/v1alpha1.PodCertificateRequest' + required: true + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/v1alpha1.PodCertificateRequest' + application/yaml: + schema: + $ref: '#/components/schemas/v1alpha1.PodCertificateRequest' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1alpha1.PodCertificateRequest' + application/cbor: + schema: + $ref: '#/components/schemas/v1alpha1.PodCertificateRequest' + description: OK + "201": + content: + application/json: + schema: + $ref: '#/components/schemas/v1alpha1.PodCertificateRequest' + application/yaml: + schema: + $ref: '#/components/schemas/v1alpha1.PodCertificateRequest' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1alpha1.PodCertificateRequest' + application/cbor: + schema: + $ref: '#/components/schemas/v1alpha1.PodCertificateRequest' + description: Created + "401": + content: {} + description: Unauthorized + tags: + - certificates_v1alpha1 x-kubernetes-action: put x-kubernetes-group-version-kind: group: certificates.k8s.io - kind: ClusterTrustBundle - version: v1beta1 + kind: PodCertificateRequest + version: v1alpha1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -45772,68 +45518,292 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/certificates.k8s.io/v1beta1/watch/clustertrustbundles: {} - /apis/certificates.k8s.io/v1beta1/watch/clustertrustbundles/{name}: {} - /apis/coordination.k8s.io/: + /apis/certificates.k8s.io/v1alpha1/namespaces/{namespace}/podcertificaterequests/{name}/status: get: - description: get information of a group - operationId: getAPIGroup + description: read status of the specified PodCertificateRequest + operationId: readNamespacedPodCertificateRequestStatus + parameters: + - description: name of the PodCertificateRequest + in: path + name: name + required: true + schema: + type: string + - description: "object name and auth scope, such as for teams and projects" + in: path + name: namespace + required: true + schema: + type: string + - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ + \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ + \ and wget)." + in: query + name: pretty + schema: + type: string responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1.APIGroup' + $ref: '#/components/schemas/v1alpha1.PodCertificateRequest' application/yaml: schema: - $ref: '#/components/schemas/v1.APIGroup' + $ref: '#/components/schemas/v1alpha1.PodCertificateRequest' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.APIGroup' + $ref: '#/components/schemas/v1alpha1.PodCertificateRequest' + application/cbor: + schema: + $ref: '#/components/schemas/v1alpha1.PodCertificateRequest' description: OK "401": content: {} description: Unauthorized tags: - - coordination + - certificates_v1alpha1 + x-kubernetes-action: get + x-kubernetes-group-version-kind: + group: certificates.k8s.io + kind: PodCertificateRequest + version: v1alpha1 x-accepts: + - application/cbor - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/coordination.k8s.io/v1/: - get: - description: get available resources - operationId: getAPIResources + patch: + description: partially update status of the specified PodCertificateRequest + operationId: patchNamespacedPodCertificateRequestStatus + parameters: + - description: name of the PodCertificateRequest + in: path + name: name + required: true + schema: + type: string + - description: "object name and auth scope, such as for teams and projects" + in: path + name: namespace + required: true + schema: + type: string + - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ + \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ + \ and wget)." + in: query + name: pretty + schema: + type: string + - description: "When present, indicates that modifications should not be persisted.\ + \ An invalid or unrecognized dryRun directive will result in an error response\ + \ and no further processing of the request. Valid values are: - All: all\ + \ dry run stages will be processed" + in: query + name: dryRun + schema: + type: string + - description: "fieldManager is a name associated with the actor or entity that\ + \ is making these changes. The value must be less than or 128 characters\ + \ long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.\ + \ This field is required for apply requests (application/apply-patch) but\ + \ optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch)." + in: query + name: fieldManager + schema: + type: string + - description: "fieldValidation instructs the server on how to handle objects\ + \ in the request (POST/PUT/PATCH) containing unknown or duplicate fields.\ + \ Valid values are: - Ignore: This will ignore any unknown fields that are\ + \ silently dropped from the object, and will ignore all but the last duplicate\ + \ field that the decoder encounters. This is the default behavior prior\ + \ to v1.23. - Warn: This will send a warning via the standard warning response\ + \ header for each unknown field that is dropped from the object, and for\ + \ each duplicate field that is encountered. The request will still succeed\ + \ if there are no other errors, and will only persist the last of any duplicate\ + \ fields. This is the default in v1.23+ - Strict: This will fail the request\ + \ with a BadRequest error if any unknown fields would be dropped from the\ + \ object, or if any duplicate fields are present. The error returned from\ + \ the server will contain all unknown and duplicate fields encountered." + in: query + name: fieldValidation + schema: + type: string + - description: Force is going to "force" Apply requests. It means user will + re-acquire conflicting fields owned by other people. Force flag must be + unset for non-apply patch requests. + in: query + name: force + schema: + type: boolean + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/v1.Patch' + required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1.APIResourceList' + $ref: '#/components/schemas/v1alpha1.PodCertificateRequest' application/yaml: schema: - $ref: '#/components/schemas/v1.APIResourceList' + $ref: '#/components/schemas/v1alpha1.PodCertificateRequest' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.APIResourceList' + $ref: '#/components/schemas/v1alpha1.PodCertificateRequest' application/cbor: schema: - $ref: '#/components/schemas/v1.APIResourceList' + $ref: '#/components/schemas/v1alpha1.PodCertificateRequest' description: OK + "201": + content: + application/json: + schema: + $ref: '#/components/schemas/v1alpha1.PodCertificateRequest' + application/yaml: + schema: + $ref: '#/components/schemas/v1alpha1.PodCertificateRequest' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1alpha1.PodCertificateRequest' + application/cbor: + schema: + $ref: '#/components/schemas/v1alpha1.PodCertificateRequest' + description: Created "401": content: {} description: Unauthorized tags: - - coordination_v1 + - certificates_v1alpha1 + x-kubernetes-action: patch + x-kubernetes-group-version-kind: + group: certificates.k8s.io + kind: PodCertificateRequest + version: v1alpha1 + x-codegen-request-body-name: body + x-content-type: application/json x-accepts: - application/cbor - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/coordination.k8s.io/v1/leases: + put: + description: replace status of the specified PodCertificateRequest + operationId: replaceNamespacedPodCertificateRequestStatus + parameters: + - description: name of the PodCertificateRequest + in: path + name: name + required: true + schema: + type: string + - description: "object name and auth scope, such as for teams and projects" + in: path + name: namespace + required: true + schema: + type: string + - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ + \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ + \ and wget)." + in: query + name: pretty + schema: + type: string + - description: "When present, indicates that modifications should not be persisted.\ + \ An invalid or unrecognized dryRun directive will result in an error response\ + \ and no further processing of the request. Valid values are: - All: all\ + \ dry run stages will be processed" + in: query + name: dryRun + schema: + type: string + - description: "fieldManager is a name associated with the actor or entity that\ + \ is making these changes. The value must be less than or 128 characters\ + \ long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint." + in: query + name: fieldManager + schema: + type: string + - description: "fieldValidation instructs the server on how to handle objects\ + \ in the request (POST/PUT/PATCH) containing unknown or duplicate fields.\ + \ Valid values are: - Ignore: This will ignore any unknown fields that are\ + \ silently dropped from the object, and will ignore all but the last duplicate\ + \ field that the decoder encounters. This is the default behavior prior\ + \ to v1.23. - Warn: This will send a warning via the standard warning response\ + \ header for each unknown field that is dropped from the object, and for\ + \ each duplicate field that is encountered. The request will still succeed\ + \ if there are no other errors, and will only persist the last of any duplicate\ + \ fields. This is the default in v1.23+ - Strict: This will fail the request\ + \ with a BadRequest error if any unknown fields would be dropped from the\ + \ object, or if any duplicate fields are present. The error returned from\ + \ the server will contain all unknown and duplicate fields encountered." + in: query + name: fieldValidation + schema: + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/v1alpha1.PodCertificateRequest' + required: true + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/v1alpha1.PodCertificateRequest' + application/yaml: + schema: + $ref: '#/components/schemas/v1alpha1.PodCertificateRequest' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1alpha1.PodCertificateRequest' + application/cbor: + schema: + $ref: '#/components/schemas/v1alpha1.PodCertificateRequest' + description: OK + "201": + content: + application/json: + schema: + $ref: '#/components/schemas/v1alpha1.PodCertificateRequest' + application/yaml: + schema: + $ref: '#/components/schemas/v1alpha1.PodCertificateRequest' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1alpha1.PodCertificateRequest' + application/cbor: + schema: + $ref: '#/components/schemas/v1alpha1.PodCertificateRequest' + description: Created + "401": + content: {} + description: Unauthorized + tags: + - certificates_v1alpha1 + x-kubernetes-action: put + x-kubernetes-group-version-kind: + group: certificates.k8s.io + kind: PodCertificateRequest + version: v1alpha1 + x-codegen-request-body-name: body + x-content-type: application/json + x-accepts: + - application/cbor + - application/json + - application/vnd.kubernetes.protobuf + - application/yaml + /apis/certificates.k8s.io/v1alpha1/podcertificaterequests: get: - description: list or watch objects of kind Lease - operationId: listLeaseForAllNamespaces + description: list or watch objects of kind PodCertificateRequest + operationId: listPodCertificateRequestForAllNamespaces parameters: - description: "allowWatchBookmarks requests watch events with type \"BOOKMARK\"\ . Servers that do not implement bookmarks may ignore this flag and bookmarks\ @@ -45931,36 +45901,36 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.LeaseList' + $ref: '#/components/schemas/v1alpha1.PodCertificateRequestList' application/yaml: schema: - $ref: '#/components/schemas/v1.LeaseList' + $ref: '#/components/schemas/v1alpha1.PodCertificateRequestList' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.LeaseList' + $ref: '#/components/schemas/v1alpha1.PodCertificateRequestList' application/cbor: schema: - $ref: '#/components/schemas/v1.LeaseList' + $ref: '#/components/schemas/v1alpha1.PodCertificateRequestList' application/json;stream=watch: schema: - $ref: '#/components/schemas/v1.LeaseList' + $ref: '#/components/schemas/v1alpha1.PodCertificateRequestList' application/vnd.kubernetes.protobuf;stream=watch: schema: - $ref: '#/components/schemas/v1.LeaseList' + $ref: '#/components/schemas/v1alpha1.PodCertificateRequestList' application/cbor-seq: schema: - $ref: '#/components/schemas/v1.LeaseList' + $ref: '#/components/schemas/v1alpha1.PodCertificateRequestList' description: OK "401": content: {} description: Unauthorized tags: - - coordination_v1 + - certificates_v1alpha1 x-kubernetes-action: list x-kubernetes-group-version-kind: - group: coordination.k8s.io - kind: Lease - version: v1 + group: certificates.k8s.io + kind: PodCertificateRequest + version: v1alpha1 x-accepts: - application/cbor - application/cbor-seq @@ -45969,17 +45939,46 @@ paths: - application/vnd.kubernetes.protobuf - application/vnd.kubernetes.protobuf;stream=watch - application/yaml - /apis/coordination.k8s.io/v1/namespaces/{namespace}/leases: + /apis/certificates.k8s.io/v1alpha1/watch/clustertrustbundles: {} + /apis/certificates.k8s.io/v1alpha1/watch/clustertrustbundles/{name}: {} + /apis/certificates.k8s.io/v1alpha1/watch/namespaces/{namespace}/podcertificaterequests: {} + /apis/certificates.k8s.io/v1alpha1/watch/namespaces/{namespace}/podcertificaterequests/{name}: {} + /apis/certificates.k8s.io/v1alpha1/watch/podcertificaterequests: {} + /apis/certificates.k8s.io/v1beta1/: + get: + description: get available resources + operationId: getAPIResources + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/v1.APIResourceList' + application/yaml: + schema: + $ref: '#/components/schemas/v1.APIResourceList' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1.APIResourceList' + application/cbor: + schema: + $ref: '#/components/schemas/v1.APIResourceList' + description: OK + "401": + content: {} + description: Unauthorized + tags: + - certificates_v1beta1 + x-accepts: + - application/cbor + - application/json + - application/vnd.kubernetes.protobuf + - application/yaml + /apis/certificates.k8s.io/v1beta1/clustertrustbundles: delete: - description: delete collection of Lease - operationId: deleteCollectionNamespacedLease + description: delete collection of ClusterTrustBundle + operationId: deleteCollectionClusterTrustBundle parameters: - - description: "object name and auth scope, such as for teams and projects" - in: path - name: namespace - required: true - schema: - type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -46132,12 +46131,12 @@ paths: content: {} description: Unauthorized tags: - - coordination_v1 + - certificates_v1beta1 x-kubernetes-action: deletecollection x-kubernetes-group-version-kind: - group: coordination.k8s.io - kind: Lease - version: v1 + group: certificates.k8s.io + kind: ClusterTrustBundle + version: v1beta1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -46146,15 +46145,9 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml get: - description: list or watch objects of kind Lease - operationId: listNamespacedLease + description: list or watch objects of kind ClusterTrustBundle + operationId: listClusterTrustBundle parameters: - - description: "object name and auth scope, such as for teams and projects" - in: path - name: namespace - required: true - schema: - type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -46251,36 +46244,36 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.LeaseList' + $ref: '#/components/schemas/v1beta1.ClusterTrustBundleList' application/yaml: schema: - $ref: '#/components/schemas/v1.LeaseList' + $ref: '#/components/schemas/v1beta1.ClusterTrustBundleList' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.LeaseList' + $ref: '#/components/schemas/v1beta1.ClusterTrustBundleList' application/cbor: schema: - $ref: '#/components/schemas/v1.LeaseList' + $ref: '#/components/schemas/v1beta1.ClusterTrustBundleList' application/json;stream=watch: schema: - $ref: '#/components/schemas/v1.LeaseList' + $ref: '#/components/schemas/v1beta1.ClusterTrustBundleList' application/vnd.kubernetes.protobuf;stream=watch: schema: - $ref: '#/components/schemas/v1.LeaseList' + $ref: '#/components/schemas/v1beta1.ClusterTrustBundleList' application/cbor-seq: schema: - $ref: '#/components/schemas/v1.LeaseList' + $ref: '#/components/schemas/v1beta1.ClusterTrustBundleList' description: OK "401": content: {} description: Unauthorized tags: - - coordination_v1 + - certificates_v1beta1 x-kubernetes-action: list x-kubernetes-group-version-kind: - group: coordination.k8s.io - kind: Lease - version: v1 + group: certificates.k8s.io + kind: ClusterTrustBundle + version: v1beta1 x-accepts: - application/cbor - application/cbor-seq @@ -46290,15 +46283,9 @@ paths: - application/vnd.kubernetes.protobuf;stream=watch - application/yaml post: - description: create a Lease - operationId: createNamespacedLease + description: create a ClusterTrustBundle + operationId: createClusterTrustBundle parameters: - - description: "object name and auth scope, such as for teams and projects" - in: path - name: namespace - required: true - schema: - type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -46342,64 +46329,64 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.Lease' + $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1.Lease' + $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' application/yaml: schema: - $ref: '#/components/schemas/v1.Lease' + $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.Lease' + $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' application/cbor: schema: - $ref: '#/components/schemas/v1.Lease' + $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1.Lease' + $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' application/yaml: schema: - $ref: '#/components/schemas/v1.Lease' + $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.Lease' + $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' application/cbor: schema: - $ref: '#/components/schemas/v1.Lease' + $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' description: Created "202": content: application/json: schema: - $ref: '#/components/schemas/v1.Lease' + $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' application/yaml: schema: - $ref: '#/components/schemas/v1.Lease' + $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.Lease' + $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' application/cbor: schema: - $ref: '#/components/schemas/v1.Lease' + $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' description: Accepted "401": content: {} description: Unauthorized tags: - - coordination_v1 + - certificates_v1beta1 x-kubernetes-action: post x-kubernetes-group-version-kind: - group: coordination.k8s.io - kind: Lease - version: v1 + group: certificates.k8s.io + kind: ClusterTrustBundle + version: v1beta1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -46407,23 +46394,17 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}: + /apis/certificates.k8s.io/v1beta1/clustertrustbundles/{name}: delete: - description: delete a Lease - operationId: deleteNamespacedLease + description: delete a ClusterTrustBundle + operationId: deleteClusterTrustBundle parameters: - - description: name of the Lease + - description: name of the ClusterTrustBundle in: path name: name required: true schema: type: string - - description: "object name and auth scope, such as for teams and projects" - in: path - name: namespace - required: true - schema: - type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -46523,12 +46504,12 @@ paths: content: {} description: Unauthorized tags: - - coordination_v1 + - certificates_v1beta1 x-kubernetes-action: delete x-kubernetes-group-version-kind: - group: coordination.k8s.io - kind: Lease - version: v1 + group: certificates.k8s.io + kind: ClusterTrustBundle + version: v1beta1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -46537,21 +46518,15 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml get: - description: read the specified Lease - operationId: readNamespacedLease + description: read the specified ClusterTrustBundle + operationId: readClusterTrustBundle parameters: - - description: name of the Lease + - description: name of the ClusterTrustBundle in: path name: name required: true schema: type: string - - description: "object name and auth scope, such as for teams and projects" - in: path - name: namespace - required: true - schema: - type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -46564,48 +46539,42 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.Lease' + $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' application/yaml: schema: - $ref: '#/components/schemas/v1.Lease' + $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.Lease' + $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' application/cbor: schema: - $ref: '#/components/schemas/v1.Lease' + $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' description: OK "401": content: {} description: Unauthorized tags: - - coordination_v1 + - certificates_v1beta1 x-kubernetes-action: get x-kubernetes-group-version-kind: - group: coordination.k8s.io - kind: Lease - version: v1 + group: certificates.k8s.io + kind: ClusterTrustBundle + version: v1beta1 x-accepts: - application/cbor - application/json - application/vnd.kubernetes.protobuf - application/yaml patch: - description: partially update the specified Lease - operationId: patchNamespacedLease + description: partially update the specified ClusterTrustBundle + operationId: patchClusterTrustBundle parameters: - - description: name of the Lease + - description: name of the ClusterTrustBundle in: path name: name required: true schema: type: string - - description: "object name and auth scope, such as for teams and projects" - in: path - name: namespace - required: true - schema: - type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -46665,42 +46634,42 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.Lease' + $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' application/yaml: schema: - $ref: '#/components/schemas/v1.Lease' + $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.Lease' + $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' application/cbor: schema: - $ref: '#/components/schemas/v1.Lease' + $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1.Lease' + $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' application/yaml: schema: - $ref: '#/components/schemas/v1.Lease' + $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.Lease' + $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' application/cbor: schema: - $ref: '#/components/schemas/v1.Lease' + $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' description: Created "401": content: {} description: Unauthorized tags: - - coordination_v1 + - certificates_v1beta1 x-kubernetes-action: patch x-kubernetes-group-version-kind: - group: coordination.k8s.io - kind: Lease - version: v1 + group: certificates.k8s.io + kind: ClusterTrustBundle + version: v1beta1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -46709,21 +46678,15 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml put: - description: replace the specified Lease - operationId: replaceNamespacedLease + description: replace the specified ClusterTrustBundle + operationId: replaceClusterTrustBundle parameters: - - description: name of the Lease + - description: name of the ClusterTrustBundle in: path name: name required: true schema: type: string - - description: "object name and auth scope, such as for teams and projects" - in: path - name: namespace - required: true - schema: - type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -46767,49 +46730,49 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.Lease' + $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1.Lease' + $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' application/yaml: schema: - $ref: '#/components/schemas/v1.Lease' + $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.Lease' + $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' application/cbor: schema: - $ref: '#/components/schemas/v1.Lease' + $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1.Lease' + $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' application/yaml: schema: - $ref: '#/components/schemas/v1.Lease' + $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.Lease' + $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' application/cbor: schema: - $ref: '#/components/schemas/v1.Lease' + $ref: '#/components/schemas/v1beta1.ClusterTrustBundle' description: Created "401": content: {} description: Unauthorized tags: - - coordination_v1 + - certificates_v1beta1 x-kubernetes-action: put x-kubernetes-group-version-kind: - group: coordination.k8s.io - kind: Lease - version: v1 + group: certificates.k8s.io + kind: ClusterTrustBundle + version: v1beta1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -46817,10 +46780,35 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/coordination.k8s.io/v1/watch/leases: {} - /apis/coordination.k8s.io/v1/watch/namespaces/{namespace}/leases: {} - /apis/coordination.k8s.io/v1/watch/namespaces/{namespace}/leases/{name}: {} - /apis/coordination.k8s.io/v1alpha2/: + /apis/certificates.k8s.io/v1beta1/watch/clustertrustbundles: {} + /apis/certificates.k8s.io/v1beta1/watch/clustertrustbundles/{name}: {} + /apis/coordination.k8s.io/: + get: + description: get information of a group + operationId: getAPIGroup + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/v1.APIGroup' + application/yaml: + schema: + $ref: '#/components/schemas/v1.APIGroup' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1.APIGroup' + description: OK + "401": + content: {} + description: Unauthorized + tags: + - coordination + x-accepts: + - application/json + - application/vnd.kubernetes.protobuf + - application/yaml + /apis/coordination.k8s.io/v1/: get: description: get available resources operationId: getAPIResources @@ -46844,16 +46832,16 @@ paths: content: {} description: Unauthorized tags: - - coordination_v1alpha2 + - coordination_v1 x-accepts: - application/cbor - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/coordination.k8s.io/v1alpha2/leasecandidates: + /apis/coordination.k8s.io/v1/leases: get: - description: list or watch objects of kind LeaseCandidate - operationId: listLeaseCandidateForAllNamespaces + description: list or watch objects of kind Lease + operationId: listLeaseForAllNamespaces parameters: - description: "allowWatchBookmarks requests watch events with type \"BOOKMARK\"\ . Servers that do not implement bookmarks may ignore this flag and bookmarks\ @@ -46951,36 +46939,36 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1alpha2.LeaseCandidateList' + $ref: '#/components/schemas/v1.LeaseList' application/yaml: schema: - $ref: '#/components/schemas/v1alpha2.LeaseCandidateList' + $ref: '#/components/schemas/v1.LeaseList' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha2.LeaseCandidateList' + $ref: '#/components/schemas/v1.LeaseList' application/cbor: schema: - $ref: '#/components/schemas/v1alpha2.LeaseCandidateList' + $ref: '#/components/schemas/v1.LeaseList' application/json;stream=watch: schema: - $ref: '#/components/schemas/v1alpha2.LeaseCandidateList' + $ref: '#/components/schemas/v1.LeaseList' application/vnd.kubernetes.protobuf;stream=watch: schema: - $ref: '#/components/schemas/v1alpha2.LeaseCandidateList' + $ref: '#/components/schemas/v1.LeaseList' application/cbor-seq: schema: - $ref: '#/components/schemas/v1alpha2.LeaseCandidateList' + $ref: '#/components/schemas/v1.LeaseList' description: OK "401": content: {} description: Unauthorized tags: - - coordination_v1alpha2 + - coordination_v1 x-kubernetes-action: list x-kubernetes-group-version-kind: group: coordination.k8s.io - kind: LeaseCandidate - version: v1alpha2 + kind: Lease + version: v1 x-accepts: - application/cbor - application/cbor-seq @@ -46989,10 +46977,10 @@ paths: - application/vnd.kubernetes.protobuf - application/vnd.kubernetes.protobuf;stream=watch - application/yaml - /apis/coordination.k8s.io/v1alpha2/namespaces/{namespace}/leasecandidates: + /apis/coordination.k8s.io/v1/namespaces/{namespace}/leases: delete: - description: delete collection of LeaseCandidate - operationId: deleteCollectionNamespacedLeaseCandidate + description: delete collection of Lease + operationId: deleteCollectionNamespacedLease parameters: - description: "object name and auth scope, such as for teams and projects" in: path @@ -47152,12 +47140,12 @@ paths: content: {} description: Unauthorized tags: - - coordination_v1alpha2 + - coordination_v1 x-kubernetes-action: deletecollection x-kubernetes-group-version-kind: group: coordination.k8s.io - kind: LeaseCandidate - version: v1alpha2 + kind: Lease + version: v1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -47166,8 +47154,8 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml get: - description: list or watch objects of kind LeaseCandidate - operationId: listNamespacedLeaseCandidate + description: list or watch objects of kind Lease + operationId: listNamespacedLease parameters: - description: "object name and auth scope, such as for teams and projects" in: path @@ -47271,36 +47259,36 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1alpha2.LeaseCandidateList' + $ref: '#/components/schemas/v1.LeaseList' application/yaml: schema: - $ref: '#/components/schemas/v1alpha2.LeaseCandidateList' + $ref: '#/components/schemas/v1.LeaseList' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha2.LeaseCandidateList' + $ref: '#/components/schemas/v1.LeaseList' application/cbor: schema: - $ref: '#/components/schemas/v1alpha2.LeaseCandidateList' + $ref: '#/components/schemas/v1.LeaseList' application/json;stream=watch: schema: - $ref: '#/components/schemas/v1alpha2.LeaseCandidateList' + $ref: '#/components/schemas/v1.LeaseList' application/vnd.kubernetes.protobuf;stream=watch: schema: - $ref: '#/components/schemas/v1alpha2.LeaseCandidateList' + $ref: '#/components/schemas/v1.LeaseList' application/cbor-seq: schema: - $ref: '#/components/schemas/v1alpha2.LeaseCandidateList' + $ref: '#/components/schemas/v1.LeaseList' description: OK "401": content: {} description: Unauthorized tags: - - coordination_v1alpha2 + - coordination_v1 x-kubernetes-action: list x-kubernetes-group-version-kind: group: coordination.k8s.io - kind: LeaseCandidate - version: v1alpha2 + kind: Lease + version: v1 x-accepts: - application/cbor - application/cbor-seq @@ -47310,8 +47298,8 @@ paths: - application/vnd.kubernetes.protobuf;stream=watch - application/yaml post: - description: create a LeaseCandidate - operationId: createNamespacedLeaseCandidate + description: create a Lease + operationId: createNamespacedLease parameters: - description: "object name and auth scope, such as for teams and projects" in: path @@ -47362,64 +47350,64 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1alpha2.LeaseCandidate' + $ref: '#/components/schemas/v1.Lease' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1alpha2.LeaseCandidate' + $ref: '#/components/schemas/v1.Lease' application/yaml: schema: - $ref: '#/components/schemas/v1alpha2.LeaseCandidate' + $ref: '#/components/schemas/v1.Lease' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha2.LeaseCandidate' + $ref: '#/components/schemas/v1.Lease' application/cbor: schema: - $ref: '#/components/schemas/v1alpha2.LeaseCandidate' + $ref: '#/components/schemas/v1.Lease' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1alpha2.LeaseCandidate' + $ref: '#/components/schemas/v1.Lease' application/yaml: schema: - $ref: '#/components/schemas/v1alpha2.LeaseCandidate' + $ref: '#/components/schemas/v1.Lease' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha2.LeaseCandidate' + $ref: '#/components/schemas/v1.Lease' application/cbor: schema: - $ref: '#/components/schemas/v1alpha2.LeaseCandidate' + $ref: '#/components/schemas/v1.Lease' description: Created "202": content: application/json: schema: - $ref: '#/components/schemas/v1alpha2.LeaseCandidate' + $ref: '#/components/schemas/v1.Lease' application/yaml: schema: - $ref: '#/components/schemas/v1alpha2.LeaseCandidate' + $ref: '#/components/schemas/v1.Lease' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha2.LeaseCandidate' + $ref: '#/components/schemas/v1.Lease' application/cbor: schema: - $ref: '#/components/schemas/v1alpha2.LeaseCandidate' + $ref: '#/components/schemas/v1.Lease' description: Accepted "401": content: {} description: Unauthorized tags: - - coordination_v1alpha2 + - coordination_v1 x-kubernetes-action: post x-kubernetes-group-version-kind: group: coordination.k8s.io - kind: LeaseCandidate - version: v1alpha2 + kind: Lease + version: v1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -47427,12 +47415,12 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/coordination.k8s.io/v1alpha2/namespaces/{namespace}/leasecandidates/{name}: + /apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}: delete: - description: delete a LeaseCandidate - operationId: deleteNamespacedLeaseCandidate + description: delete a Lease + operationId: deleteNamespacedLease parameters: - - description: name of the LeaseCandidate + - description: name of the Lease in: path name: name required: true @@ -47543,12 +47531,12 @@ paths: content: {} description: Unauthorized tags: - - coordination_v1alpha2 + - coordination_v1 x-kubernetes-action: delete x-kubernetes-group-version-kind: group: coordination.k8s.io - kind: LeaseCandidate - version: v1alpha2 + kind: Lease + version: v1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -47557,10 +47545,10 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml get: - description: read the specified LeaseCandidate - operationId: readNamespacedLeaseCandidate + description: read the specified Lease + operationId: readNamespacedLease parameters: - - description: name of the LeaseCandidate + - description: name of the Lease in: path name: name required: true @@ -47584,37 +47572,37 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1alpha2.LeaseCandidate' + $ref: '#/components/schemas/v1.Lease' application/yaml: schema: - $ref: '#/components/schemas/v1alpha2.LeaseCandidate' + $ref: '#/components/schemas/v1.Lease' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha2.LeaseCandidate' + $ref: '#/components/schemas/v1.Lease' application/cbor: schema: - $ref: '#/components/schemas/v1alpha2.LeaseCandidate' + $ref: '#/components/schemas/v1.Lease' description: OK "401": content: {} description: Unauthorized tags: - - coordination_v1alpha2 + - coordination_v1 x-kubernetes-action: get x-kubernetes-group-version-kind: group: coordination.k8s.io - kind: LeaseCandidate - version: v1alpha2 + kind: Lease + version: v1 x-accepts: - application/cbor - application/json - application/vnd.kubernetes.protobuf - application/yaml patch: - description: partially update the specified LeaseCandidate - operationId: patchNamespacedLeaseCandidate + description: partially update the specified Lease + operationId: patchNamespacedLease parameters: - - description: name of the LeaseCandidate + - description: name of the Lease in: path name: name required: true @@ -47685,42 +47673,42 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1alpha2.LeaseCandidate' + $ref: '#/components/schemas/v1.Lease' application/yaml: schema: - $ref: '#/components/schemas/v1alpha2.LeaseCandidate' + $ref: '#/components/schemas/v1.Lease' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha2.LeaseCandidate' + $ref: '#/components/schemas/v1.Lease' application/cbor: schema: - $ref: '#/components/schemas/v1alpha2.LeaseCandidate' + $ref: '#/components/schemas/v1.Lease' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1alpha2.LeaseCandidate' + $ref: '#/components/schemas/v1.Lease' application/yaml: schema: - $ref: '#/components/schemas/v1alpha2.LeaseCandidate' + $ref: '#/components/schemas/v1.Lease' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha2.LeaseCandidate' + $ref: '#/components/schemas/v1.Lease' application/cbor: schema: - $ref: '#/components/schemas/v1alpha2.LeaseCandidate' + $ref: '#/components/schemas/v1.Lease' description: Created "401": content: {} description: Unauthorized tags: - - coordination_v1alpha2 + - coordination_v1 x-kubernetes-action: patch x-kubernetes-group-version-kind: group: coordination.k8s.io - kind: LeaseCandidate - version: v1alpha2 + kind: Lease + version: v1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -47729,10 +47717,10 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml put: - description: replace the specified LeaseCandidate - operationId: replaceNamespacedLeaseCandidate + description: replace the specified Lease + operationId: replaceNamespacedLease parameters: - - description: name of the LeaseCandidate + - description: name of the Lease in: path name: name required: true @@ -47787,49 +47775,49 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1alpha2.LeaseCandidate' + $ref: '#/components/schemas/v1.Lease' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1alpha2.LeaseCandidate' + $ref: '#/components/schemas/v1.Lease' application/yaml: schema: - $ref: '#/components/schemas/v1alpha2.LeaseCandidate' + $ref: '#/components/schemas/v1.Lease' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha2.LeaseCandidate' + $ref: '#/components/schemas/v1.Lease' application/cbor: schema: - $ref: '#/components/schemas/v1alpha2.LeaseCandidate' + $ref: '#/components/schemas/v1.Lease' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1alpha2.LeaseCandidate' + $ref: '#/components/schemas/v1.Lease' application/yaml: schema: - $ref: '#/components/schemas/v1alpha2.LeaseCandidate' + $ref: '#/components/schemas/v1.Lease' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha2.LeaseCandidate' + $ref: '#/components/schemas/v1.Lease' application/cbor: schema: - $ref: '#/components/schemas/v1alpha2.LeaseCandidate' + $ref: '#/components/schemas/v1.Lease' description: Created "401": content: {} description: Unauthorized tags: - - coordination_v1alpha2 + - coordination_v1 x-kubernetes-action: put x-kubernetes-group-version-kind: group: coordination.k8s.io - kind: LeaseCandidate - version: v1alpha2 + kind: Lease + version: v1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -47837,10 +47825,10 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/coordination.k8s.io/v1alpha2/watch/leasecandidates: {} - /apis/coordination.k8s.io/v1alpha2/watch/namespaces/{namespace}/leasecandidates: {} - /apis/coordination.k8s.io/v1alpha2/watch/namespaces/{namespace}/leasecandidates/{name}: {} - /apis/coordination.k8s.io/v1beta1/: + /apis/coordination.k8s.io/v1/watch/leases: {} + /apis/coordination.k8s.io/v1/watch/namespaces/{namespace}/leases: {} + /apis/coordination.k8s.io/v1/watch/namespaces/{namespace}/leases/{name}: {} + /apis/coordination.k8s.io/v1alpha2/: get: description: get available resources operationId: getAPIResources @@ -47864,13 +47852,13 @@ paths: content: {} description: Unauthorized tags: - - coordination_v1beta1 + - coordination_v1alpha2 x-accepts: - application/cbor - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/coordination.k8s.io/v1beta1/leasecandidates: + /apis/coordination.k8s.io/v1alpha2/leasecandidates: get: description: list or watch objects of kind LeaseCandidate operationId: listLeaseCandidateForAllNamespaces @@ -47971,36 +47959,36 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta1.LeaseCandidateList' + $ref: '#/components/schemas/v1alpha2.LeaseCandidateList' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.LeaseCandidateList' + $ref: '#/components/schemas/v1alpha2.LeaseCandidateList' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.LeaseCandidateList' + $ref: '#/components/schemas/v1alpha2.LeaseCandidateList' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.LeaseCandidateList' + $ref: '#/components/schemas/v1alpha2.LeaseCandidateList' application/json;stream=watch: schema: - $ref: '#/components/schemas/v1beta1.LeaseCandidateList' + $ref: '#/components/schemas/v1alpha2.LeaseCandidateList' application/vnd.kubernetes.protobuf;stream=watch: schema: - $ref: '#/components/schemas/v1beta1.LeaseCandidateList' + $ref: '#/components/schemas/v1alpha2.LeaseCandidateList' application/cbor-seq: schema: - $ref: '#/components/schemas/v1beta1.LeaseCandidateList' + $ref: '#/components/schemas/v1alpha2.LeaseCandidateList' description: OK "401": content: {} description: Unauthorized tags: - - coordination_v1beta1 + - coordination_v1alpha2 x-kubernetes-action: list x-kubernetes-group-version-kind: group: coordination.k8s.io kind: LeaseCandidate - version: v1beta1 + version: v1alpha2 x-accepts: - application/cbor - application/cbor-seq @@ -48009,7 +47997,7 @@ paths: - application/vnd.kubernetes.protobuf - application/vnd.kubernetes.protobuf;stream=watch - application/yaml - /apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leasecandidates: + /apis/coordination.k8s.io/v1alpha2/namespaces/{namespace}/leasecandidates: delete: description: delete collection of LeaseCandidate operationId: deleteCollectionNamespacedLeaseCandidate @@ -48172,12 +48160,12 @@ paths: content: {} description: Unauthorized tags: - - coordination_v1beta1 + - coordination_v1alpha2 x-kubernetes-action: deletecollection x-kubernetes-group-version-kind: group: coordination.k8s.io kind: LeaseCandidate - version: v1beta1 + version: v1alpha2 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -48291,36 +48279,36 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta1.LeaseCandidateList' + $ref: '#/components/schemas/v1alpha2.LeaseCandidateList' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.LeaseCandidateList' + $ref: '#/components/schemas/v1alpha2.LeaseCandidateList' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.LeaseCandidateList' + $ref: '#/components/schemas/v1alpha2.LeaseCandidateList' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.LeaseCandidateList' + $ref: '#/components/schemas/v1alpha2.LeaseCandidateList' application/json;stream=watch: schema: - $ref: '#/components/schemas/v1beta1.LeaseCandidateList' + $ref: '#/components/schemas/v1alpha2.LeaseCandidateList' application/vnd.kubernetes.protobuf;stream=watch: schema: - $ref: '#/components/schemas/v1beta1.LeaseCandidateList' + $ref: '#/components/schemas/v1alpha2.LeaseCandidateList' application/cbor-seq: schema: - $ref: '#/components/schemas/v1beta1.LeaseCandidateList' + $ref: '#/components/schemas/v1alpha2.LeaseCandidateList' description: OK "401": content: {} description: Unauthorized tags: - - coordination_v1beta1 + - coordination_v1alpha2 x-kubernetes-action: list x-kubernetes-group-version-kind: group: coordination.k8s.io kind: LeaseCandidate - version: v1beta1 + version: v1alpha2 x-accepts: - application/cbor - application/cbor-seq @@ -48382,64 +48370,64 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta1.LeaseCandidate' + $ref: '#/components/schemas/v1alpha2.LeaseCandidate' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.LeaseCandidate' + $ref: '#/components/schemas/v1alpha2.LeaseCandidate' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.LeaseCandidate' + $ref: '#/components/schemas/v1alpha2.LeaseCandidate' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.LeaseCandidate' + $ref: '#/components/schemas/v1alpha2.LeaseCandidate' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.LeaseCandidate' + $ref: '#/components/schemas/v1alpha2.LeaseCandidate' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.LeaseCandidate' + $ref: '#/components/schemas/v1alpha2.LeaseCandidate' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.LeaseCandidate' + $ref: '#/components/schemas/v1alpha2.LeaseCandidate' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.LeaseCandidate' + $ref: '#/components/schemas/v1alpha2.LeaseCandidate' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.LeaseCandidate' + $ref: '#/components/schemas/v1alpha2.LeaseCandidate' description: Created "202": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.LeaseCandidate' + $ref: '#/components/schemas/v1alpha2.LeaseCandidate' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.LeaseCandidate' + $ref: '#/components/schemas/v1alpha2.LeaseCandidate' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.LeaseCandidate' + $ref: '#/components/schemas/v1alpha2.LeaseCandidate' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.LeaseCandidate' + $ref: '#/components/schemas/v1alpha2.LeaseCandidate' description: Accepted "401": content: {} description: Unauthorized tags: - - coordination_v1beta1 + - coordination_v1alpha2 x-kubernetes-action: post x-kubernetes-group-version-kind: group: coordination.k8s.io kind: LeaseCandidate - version: v1beta1 + version: v1alpha2 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -48447,7 +48435,7 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leasecandidates/{name}: + /apis/coordination.k8s.io/v1alpha2/namespaces/{namespace}/leasecandidates/{name}: delete: description: delete a LeaseCandidate operationId: deleteNamespacedLeaseCandidate @@ -48563,12 +48551,12 @@ paths: content: {} description: Unauthorized tags: - - coordination_v1beta1 + - coordination_v1alpha2 x-kubernetes-action: delete x-kubernetes-group-version-kind: group: coordination.k8s.io kind: LeaseCandidate - version: v1beta1 + version: v1alpha2 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -48604,27 +48592,27 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta1.LeaseCandidate' + $ref: '#/components/schemas/v1alpha2.LeaseCandidate' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.LeaseCandidate' + $ref: '#/components/schemas/v1alpha2.LeaseCandidate' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.LeaseCandidate' + $ref: '#/components/schemas/v1alpha2.LeaseCandidate' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.LeaseCandidate' + $ref: '#/components/schemas/v1alpha2.LeaseCandidate' description: OK "401": content: {} description: Unauthorized tags: - - coordination_v1beta1 + - coordination_v1alpha2 x-kubernetes-action: get x-kubernetes-group-version-kind: group: coordination.k8s.io kind: LeaseCandidate - version: v1beta1 + version: v1alpha2 x-accepts: - application/cbor - application/json @@ -48705,42 +48693,42 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta1.LeaseCandidate' + $ref: '#/components/schemas/v1alpha2.LeaseCandidate' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.LeaseCandidate' + $ref: '#/components/schemas/v1alpha2.LeaseCandidate' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.LeaseCandidate' + $ref: '#/components/schemas/v1alpha2.LeaseCandidate' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.LeaseCandidate' + $ref: '#/components/schemas/v1alpha2.LeaseCandidate' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.LeaseCandidate' + $ref: '#/components/schemas/v1alpha2.LeaseCandidate' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.LeaseCandidate' + $ref: '#/components/schemas/v1alpha2.LeaseCandidate' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.LeaseCandidate' + $ref: '#/components/schemas/v1alpha2.LeaseCandidate' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.LeaseCandidate' + $ref: '#/components/schemas/v1alpha2.LeaseCandidate' description: Created "401": content: {} description: Unauthorized tags: - - coordination_v1beta1 + - coordination_v1alpha2 x-kubernetes-action: patch x-kubernetes-group-version-kind: group: coordination.k8s.io kind: LeaseCandidate - version: v1beta1 + version: v1alpha2 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -48807,49 +48795,49 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta1.LeaseCandidate' + $ref: '#/components/schemas/v1alpha2.LeaseCandidate' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.LeaseCandidate' + $ref: '#/components/schemas/v1alpha2.LeaseCandidate' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.LeaseCandidate' + $ref: '#/components/schemas/v1alpha2.LeaseCandidate' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.LeaseCandidate' + $ref: '#/components/schemas/v1alpha2.LeaseCandidate' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.LeaseCandidate' + $ref: '#/components/schemas/v1alpha2.LeaseCandidate' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.LeaseCandidate' + $ref: '#/components/schemas/v1alpha2.LeaseCandidate' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.LeaseCandidate' + $ref: '#/components/schemas/v1alpha2.LeaseCandidate' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.LeaseCandidate' + $ref: '#/components/schemas/v1alpha2.LeaseCandidate' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.LeaseCandidate' + $ref: '#/components/schemas/v1alpha2.LeaseCandidate' description: Created "401": content: {} description: Unauthorized tags: - - coordination_v1beta1 + - coordination_v1alpha2 x-kubernetes-action: put x-kubernetes-group-version-kind: group: coordination.k8s.io kind: LeaseCandidate - version: v1beta1 + version: v1alpha2 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -48857,36 +48845,10 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/coordination.k8s.io/v1beta1/watch/leasecandidates: {} - /apis/coordination.k8s.io/v1beta1/watch/namespaces/{namespace}/leasecandidates: {} - /apis/coordination.k8s.io/v1beta1/watch/namespaces/{namespace}/leasecandidates/{name}: {} - /apis/discovery.k8s.io/: - get: - description: get information of a group - operationId: getAPIGroup - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/v1.APIGroup' - application/yaml: - schema: - $ref: '#/components/schemas/v1.APIGroup' - application/vnd.kubernetes.protobuf: - schema: - $ref: '#/components/schemas/v1.APIGroup' - description: OK - "401": - content: {} - description: Unauthorized - tags: - - discovery - x-accepts: - - application/json - - application/vnd.kubernetes.protobuf - - application/yaml - /apis/discovery.k8s.io/v1/: + /apis/coordination.k8s.io/v1alpha2/watch/leasecandidates: {} + /apis/coordination.k8s.io/v1alpha2/watch/namespaces/{namespace}/leasecandidates: {} + /apis/coordination.k8s.io/v1alpha2/watch/namespaces/{namespace}/leasecandidates/{name}: {} + /apis/coordination.k8s.io/v1beta1/: get: description: get available resources operationId: getAPIResources @@ -48910,16 +48872,16 @@ paths: content: {} description: Unauthorized tags: - - discovery_v1 + - coordination_v1beta1 x-accepts: - application/cbor - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/discovery.k8s.io/v1/endpointslices: + /apis/coordination.k8s.io/v1beta1/leasecandidates: get: - description: list or watch objects of kind EndpointSlice - operationId: listEndpointSliceForAllNamespaces + description: list or watch objects of kind LeaseCandidate + operationId: listLeaseCandidateForAllNamespaces parameters: - description: "allowWatchBookmarks requests watch events with type \"BOOKMARK\"\ . Servers that do not implement bookmarks may ignore this flag and bookmarks\ @@ -49017,36 +48979,36 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.EndpointSliceList' + $ref: '#/components/schemas/v1beta1.LeaseCandidateList' application/yaml: schema: - $ref: '#/components/schemas/v1.EndpointSliceList' + $ref: '#/components/schemas/v1beta1.LeaseCandidateList' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.EndpointSliceList' + $ref: '#/components/schemas/v1beta1.LeaseCandidateList' application/cbor: schema: - $ref: '#/components/schemas/v1.EndpointSliceList' + $ref: '#/components/schemas/v1beta1.LeaseCandidateList' application/json;stream=watch: schema: - $ref: '#/components/schemas/v1.EndpointSliceList' + $ref: '#/components/schemas/v1beta1.LeaseCandidateList' application/vnd.kubernetes.protobuf;stream=watch: schema: - $ref: '#/components/schemas/v1.EndpointSliceList' + $ref: '#/components/schemas/v1beta1.LeaseCandidateList' application/cbor-seq: schema: - $ref: '#/components/schemas/v1.EndpointSliceList' + $ref: '#/components/schemas/v1beta1.LeaseCandidateList' description: OK "401": content: {} description: Unauthorized tags: - - discovery_v1 + - coordination_v1beta1 x-kubernetes-action: list x-kubernetes-group-version-kind: - group: discovery.k8s.io - kind: EndpointSlice - version: v1 + group: coordination.k8s.io + kind: LeaseCandidate + version: v1beta1 x-accepts: - application/cbor - application/cbor-seq @@ -49055,10 +49017,10 @@ paths: - application/vnd.kubernetes.protobuf - application/vnd.kubernetes.protobuf;stream=watch - application/yaml - /apis/discovery.k8s.io/v1/namespaces/{namespace}/endpointslices: + /apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leasecandidates: delete: - description: delete collection of EndpointSlice - operationId: deleteCollectionNamespacedEndpointSlice + description: delete collection of LeaseCandidate + operationId: deleteCollectionNamespacedLeaseCandidate parameters: - description: "object name and auth scope, such as for teams and projects" in: path @@ -49218,12 +49180,12 @@ paths: content: {} description: Unauthorized tags: - - discovery_v1 + - coordination_v1beta1 x-kubernetes-action: deletecollection x-kubernetes-group-version-kind: - group: discovery.k8s.io - kind: EndpointSlice - version: v1 + group: coordination.k8s.io + kind: LeaseCandidate + version: v1beta1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -49232,8 +49194,8 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml get: - description: list or watch objects of kind EndpointSlice - operationId: listNamespacedEndpointSlice + description: list or watch objects of kind LeaseCandidate + operationId: listNamespacedLeaseCandidate parameters: - description: "object name and auth scope, such as for teams and projects" in: path @@ -49337,36 +49299,36 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.EndpointSliceList' + $ref: '#/components/schemas/v1beta1.LeaseCandidateList' application/yaml: schema: - $ref: '#/components/schemas/v1.EndpointSliceList' + $ref: '#/components/schemas/v1beta1.LeaseCandidateList' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.EndpointSliceList' + $ref: '#/components/schemas/v1beta1.LeaseCandidateList' application/cbor: schema: - $ref: '#/components/schemas/v1.EndpointSliceList' + $ref: '#/components/schemas/v1beta1.LeaseCandidateList' application/json;stream=watch: schema: - $ref: '#/components/schemas/v1.EndpointSliceList' + $ref: '#/components/schemas/v1beta1.LeaseCandidateList' application/vnd.kubernetes.protobuf;stream=watch: schema: - $ref: '#/components/schemas/v1.EndpointSliceList' + $ref: '#/components/schemas/v1beta1.LeaseCandidateList' application/cbor-seq: schema: - $ref: '#/components/schemas/v1.EndpointSliceList' + $ref: '#/components/schemas/v1beta1.LeaseCandidateList' description: OK "401": content: {} description: Unauthorized tags: - - discovery_v1 + - coordination_v1beta1 x-kubernetes-action: list x-kubernetes-group-version-kind: - group: discovery.k8s.io - kind: EndpointSlice - version: v1 + group: coordination.k8s.io + kind: LeaseCandidate + version: v1beta1 x-accepts: - application/cbor - application/cbor-seq @@ -49376,8 +49338,8 @@ paths: - application/vnd.kubernetes.protobuf;stream=watch - application/yaml post: - description: create an EndpointSlice - operationId: createNamespacedEndpointSlice + description: create a LeaseCandidate + operationId: createNamespacedLeaseCandidate parameters: - description: "object name and auth scope, such as for teams and projects" in: path @@ -49428,64 +49390,64 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.EndpointSlice' + $ref: '#/components/schemas/v1beta1.LeaseCandidate' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1.EndpointSlice' + $ref: '#/components/schemas/v1beta1.LeaseCandidate' application/yaml: schema: - $ref: '#/components/schemas/v1.EndpointSlice' + $ref: '#/components/schemas/v1beta1.LeaseCandidate' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.EndpointSlice' + $ref: '#/components/schemas/v1beta1.LeaseCandidate' application/cbor: schema: - $ref: '#/components/schemas/v1.EndpointSlice' + $ref: '#/components/schemas/v1beta1.LeaseCandidate' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1.EndpointSlice' + $ref: '#/components/schemas/v1beta1.LeaseCandidate' application/yaml: schema: - $ref: '#/components/schemas/v1.EndpointSlice' + $ref: '#/components/schemas/v1beta1.LeaseCandidate' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.EndpointSlice' + $ref: '#/components/schemas/v1beta1.LeaseCandidate' application/cbor: schema: - $ref: '#/components/schemas/v1.EndpointSlice' + $ref: '#/components/schemas/v1beta1.LeaseCandidate' description: Created "202": content: application/json: schema: - $ref: '#/components/schemas/v1.EndpointSlice' + $ref: '#/components/schemas/v1beta1.LeaseCandidate' application/yaml: schema: - $ref: '#/components/schemas/v1.EndpointSlice' + $ref: '#/components/schemas/v1beta1.LeaseCandidate' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.EndpointSlice' + $ref: '#/components/schemas/v1beta1.LeaseCandidate' application/cbor: schema: - $ref: '#/components/schemas/v1.EndpointSlice' + $ref: '#/components/schemas/v1beta1.LeaseCandidate' description: Accepted "401": content: {} description: Unauthorized tags: - - discovery_v1 + - coordination_v1beta1 x-kubernetes-action: post x-kubernetes-group-version-kind: - group: discovery.k8s.io - kind: EndpointSlice - version: v1 + group: coordination.k8s.io + kind: LeaseCandidate + version: v1beta1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -49493,12 +49455,12 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/discovery.k8s.io/v1/namespaces/{namespace}/endpointslices/{name}: + /apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leasecandidates/{name}: delete: - description: delete an EndpointSlice - operationId: deleteNamespacedEndpointSlice + description: delete a LeaseCandidate + operationId: deleteNamespacedLeaseCandidate parameters: - - description: name of the EndpointSlice + - description: name of the LeaseCandidate in: path name: name required: true @@ -49609,12 +49571,12 @@ paths: content: {} description: Unauthorized tags: - - discovery_v1 + - coordination_v1beta1 x-kubernetes-action: delete x-kubernetes-group-version-kind: - group: discovery.k8s.io - kind: EndpointSlice - version: v1 + group: coordination.k8s.io + kind: LeaseCandidate + version: v1beta1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -49623,10 +49585,10 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml get: - description: read the specified EndpointSlice - operationId: readNamespacedEndpointSlice + description: read the specified LeaseCandidate + operationId: readNamespacedLeaseCandidate parameters: - - description: name of the EndpointSlice + - description: name of the LeaseCandidate in: path name: name required: true @@ -49650,37 +49612,37 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.EndpointSlice' + $ref: '#/components/schemas/v1beta1.LeaseCandidate' application/yaml: schema: - $ref: '#/components/schemas/v1.EndpointSlice' + $ref: '#/components/schemas/v1beta1.LeaseCandidate' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.EndpointSlice' + $ref: '#/components/schemas/v1beta1.LeaseCandidate' application/cbor: schema: - $ref: '#/components/schemas/v1.EndpointSlice' + $ref: '#/components/schemas/v1beta1.LeaseCandidate' description: OK "401": content: {} description: Unauthorized tags: - - discovery_v1 + - coordination_v1beta1 x-kubernetes-action: get x-kubernetes-group-version-kind: - group: discovery.k8s.io - kind: EndpointSlice - version: v1 + group: coordination.k8s.io + kind: LeaseCandidate + version: v1beta1 x-accepts: - application/cbor - application/json - application/vnd.kubernetes.protobuf - application/yaml patch: - description: partially update the specified EndpointSlice - operationId: patchNamespacedEndpointSlice + description: partially update the specified LeaseCandidate + operationId: patchNamespacedLeaseCandidate parameters: - - description: name of the EndpointSlice + - description: name of the LeaseCandidate in: path name: name required: true @@ -49751,42 +49713,42 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.EndpointSlice' + $ref: '#/components/schemas/v1beta1.LeaseCandidate' application/yaml: schema: - $ref: '#/components/schemas/v1.EndpointSlice' + $ref: '#/components/schemas/v1beta1.LeaseCandidate' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.EndpointSlice' + $ref: '#/components/schemas/v1beta1.LeaseCandidate' application/cbor: schema: - $ref: '#/components/schemas/v1.EndpointSlice' + $ref: '#/components/schemas/v1beta1.LeaseCandidate' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1.EndpointSlice' + $ref: '#/components/schemas/v1beta1.LeaseCandidate' application/yaml: schema: - $ref: '#/components/schemas/v1.EndpointSlice' + $ref: '#/components/schemas/v1beta1.LeaseCandidate' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.EndpointSlice' + $ref: '#/components/schemas/v1beta1.LeaseCandidate' application/cbor: schema: - $ref: '#/components/schemas/v1.EndpointSlice' + $ref: '#/components/schemas/v1beta1.LeaseCandidate' description: Created "401": content: {} description: Unauthorized tags: - - discovery_v1 + - coordination_v1beta1 x-kubernetes-action: patch x-kubernetes-group-version-kind: - group: discovery.k8s.io - kind: EndpointSlice - version: v1 + group: coordination.k8s.io + kind: LeaseCandidate + version: v1beta1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -49795,10 +49757,10 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml put: - description: replace the specified EndpointSlice - operationId: replaceNamespacedEndpointSlice + description: replace the specified LeaseCandidate + operationId: replaceNamespacedLeaseCandidate parameters: - - description: name of the EndpointSlice + - description: name of the LeaseCandidate in: path name: name required: true @@ -49853,49 +49815,49 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.EndpointSlice' + $ref: '#/components/schemas/v1beta1.LeaseCandidate' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1.EndpointSlice' + $ref: '#/components/schemas/v1beta1.LeaseCandidate' application/yaml: schema: - $ref: '#/components/schemas/v1.EndpointSlice' + $ref: '#/components/schemas/v1beta1.LeaseCandidate' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.EndpointSlice' + $ref: '#/components/schemas/v1beta1.LeaseCandidate' application/cbor: schema: - $ref: '#/components/schemas/v1.EndpointSlice' + $ref: '#/components/schemas/v1beta1.LeaseCandidate' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1.EndpointSlice' + $ref: '#/components/schemas/v1beta1.LeaseCandidate' application/yaml: schema: - $ref: '#/components/schemas/v1.EndpointSlice' + $ref: '#/components/schemas/v1beta1.LeaseCandidate' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.EndpointSlice' + $ref: '#/components/schemas/v1beta1.LeaseCandidate' application/cbor: schema: - $ref: '#/components/schemas/v1.EndpointSlice' + $ref: '#/components/schemas/v1beta1.LeaseCandidate' description: Created "401": content: {} description: Unauthorized tags: - - discovery_v1 + - coordination_v1beta1 x-kubernetes-action: put x-kubernetes-group-version-kind: - group: discovery.k8s.io - kind: EndpointSlice - version: v1 + group: coordination.k8s.io + kind: LeaseCandidate + version: v1beta1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -49903,10 +49865,10 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/discovery.k8s.io/v1/watch/endpointslices: {} - /apis/discovery.k8s.io/v1/watch/namespaces/{namespace}/endpointslices: {} - /apis/discovery.k8s.io/v1/watch/namespaces/{namespace}/endpointslices/{name}: {} - /apis/events.k8s.io/: + /apis/coordination.k8s.io/v1beta1/watch/leasecandidates: {} + /apis/coordination.k8s.io/v1beta1/watch/namespaces/{namespace}/leasecandidates: {} + /apis/coordination.k8s.io/v1beta1/watch/namespaces/{namespace}/leasecandidates/{name}: {} + /apis/discovery.k8s.io/: get: description: get information of a group operationId: getAPIGroup @@ -49927,12 +49889,12 @@ paths: content: {} description: Unauthorized tags: - - events + - discovery x-accepts: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/events.k8s.io/v1/: + /apis/discovery.k8s.io/v1/: get: description: get available resources operationId: getAPIResources @@ -49956,16 +49918,16 @@ paths: content: {} description: Unauthorized tags: - - events_v1 + - discovery_v1 x-accepts: - application/cbor - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/events.k8s.io/v1/events: + /apis/discovery.k8s.io/v1/endpointslices: get: - description: list or watch objects of kind Event - operationId: listEventForAllNamespaces + description: list or watch objects of kind EndpointSlice + operationId: listEndpointSliceForAllNamespaces parameters: - description: "allowWatchBookmarks requests watch events with type \"BOOKMARK\"\ . Servers that do not implement bookmarks may ignore this flag and bookmarks\ @@ -50063,35 +50025,35 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/events.v1.EventList' + $ref: '#/components/schemas/v1.EndpointSliceList' application/yaml: schema: - $ref: '#/components/schemas/events.v1.EventList' + $ref: '#/components/schemas/v1.EndpointSliceList' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/events.v1.EventList' + $ref: '#/components/schemas/v1.EndpointSliceList' application/cbor: schema: - $ref: '#/components/schemas/events.v1.EventList' + $ref: '#/components/schemas/v1.EndpointSliceList' application/json;stream=watch: schema: - $ref: '#/components/schemas/events.v1.EventList' + $ref: '#/components/schemas/v1.EndpointSliceList' application/vnd.kubernetes.protobuf;stream=watch: schema: - $ref: '#/components/schemas/events.v1.EventList' + $ref: '#/components/schemas/v1.EndpointSliceList' application/cbor-seq: schema: - $ref: '#/components/schemas/events.v1.EventList' + $ref: '#/components/schemas/v1.EndpointSliceList' description: OK "401": content: {} description: Unauthorized tags: - - events_v1 + - discovery_v1 x-kubernetes-action: list x-kubernetes-group-version-kind: - group: events.k8s.io - kind: Event + group: discovery.k8s.io + kind: EndpointSlice version: v1 x-accepts: - application/cbor @@ -50101,10 +50063,10 @@ paths: - application/vnd.kubernetes.protobuf - application/vnd.kubernetes.protobuf;stream=watch - application/yaml - /apis/events.k8s.io/v1/namespaces/{namespace}/events: + /apis/discovery.k8s.io/v1/namespaces/{namespace}/endpointslices: delete: - description: delete collection of Event - operationId: deleteCollectionNamespacedEvent + description: delete collection of EndpointSlice + operationId: deleteCollectionNamespacedEndpointSlice parameters: - description: "object name and auth scope, such as for teams and projects" in: path @@ -50264,11 +50226,11 @@ paths: content: {} description: Unauthorized tags: - - events_v1 + - discovery_v1 x-kubernetes-action: deletecollection x-kubernetes-group-version-kind: - group: events.k8s.io - kind: Event + group: discovery.k8s.io + kind: EndpointSlice version: v1 x-codegen-request-body-name: body x-content-type: application/json @@ -50278,8 +50240,8 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml get: - description: list or watch objects of kind Event - operationId: listNamespacedEvent + description: list or watch objects of kind EndpointSlice + operationId: listNamespacedEndpointSlice parameters: - description: "object name and auth scope, such as for teams and projects" in: path @@ -50383,35 +50345,35 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/events.v1.EventList' + $ref: '#/components/schemas/v1.EndpointSliceList' application/yaml: schema: - $ref: '#/components/schemas/events.v1.EventList' + $ref: '#/components/schemas/v1.EndpointSliceList' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/events.v1.EventList' + $ref: '#/components/schemas/v1.EndpointSliceList' application/cbor: schema: - $ref: '#/components/schemas/events.v1.EventList' + $ref: '#/components/schemas/v1.EndpointSliceList' application/json;stream=watch: schema: - $ref: '#/components/schemas/events.v1.EventList' + $ref: '#/components/schemas/v1.EndpointSliceList' application/vnd.kubernetes.protobuf;stream=watch: schema: - $ref: '#/components/schemas/events.v1.EventList' + $ref: '#/components/schemas/v1.EndpointSliceList' application/cbor-seq: schema: - $ref: '#/components/schemas/events.v1.EventList' + $ref: '#/components/schemas/v1.EndpointSliceList' description: OK "401": content: {} description: Unauthorized tags: - - events_v1 + - discovery_v1 x-kubernetes-action: list x-kubernetes-group-version-kind: - group: events.k8s.io - kind: Event + group: discovery.k8s.io + kind: EndpointSlice version: v1 x-accepts: - application/cbor @@ -50422,8 +50384,8 @@ paths: - application/vnd.kubernetes.protobuf;stream=watch - application/yaml post: - description: create an Event - operationId: createNamespacedEvent + description: create an EndpointSlice + operationId: createNamespacedEndpointSlice parameters: - description: "object name and auth scope, such as for teams and projects" in: path @@ -50474,63 +50436,63 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/events.v1.Event' + $ref: '#/components/schemas/v1.EndpointSlice' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/events.v1.Event' + $ref: '#/components/schemas/v1.EndpointSlice' application/yaml: schema: - $ref: '#/components/schemas/events.v1.Event' + $ref: '#/components/schemas/v1.EndpointSlice' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/events.v1.Event' + $ref: '#/components/schemas/v1.EndpointSlice' application/cbor: schema: - $ref: '#/components/schemas/events.v1.Event' + $ref: '#/components/schemas/v1.EndpointSlice' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/events.v1.Event' + $ref: '#/components/schemas/v1.EndpointSlice' application/yaml: schema: - $ref: '#/components/schemas/events.v1.Event' + $ref: '#/components/schemas/v1.EndpointSlice' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/events.v1.Event' + $ref: '#/components/schemas/v1.EndpointSlice' application/cbor: schema: - $ref: '#/components/schemas/events.v1.Event' + $ref: '#/components/schemas/v1.EndpointSlice' description: Created "202": content: application/json: schema: - $ref: '#/components/schemas/events.v1.Event' + $ref: '#/components/schemas/v1.EndpointSlice' application/yaml: schema: - $ref: '#/components/schemas/events.v1.Event' + $ref: '#/components/schemas/v1.EndpointSlice' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/events.v1.Event' + $ref: '#/components/schemas/v1.EndpointSlice' application/cbor: schema: - $ref: '#/components/schemas/events.v1.Event' + $ref: '#/components/schemas/v1.EndpointSlice' description: Accepted "401": content: {} description: Unauthorized tags: - - events_v1 + - discovery_v1 x-kubernetes-action: post x-kubernetes-group-version-kind: - group: events.k8s.io - kind: Event + group: discovery.k8s.io + kind: EndpointSlice version: v1 x-codegen-request-body-name: body x-content-type: application/json @@ -50539,12 +50501,12 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/events.k8s.io/v1/namespaces/{namespace}/events/{name}: + /apis/discovery.k8s.io/v1/namespaces/{namespace}/endpointslices/{name}: delete: - description: delete an Event - operationId: deleteNamespacedEvent + description: delete an EndpointSlice + operationId: deleteNamespacedEndpointSlice parameters: - - description: name of the Event + - description: name of the EndpointSlice in: path name: name required: true @@ -50655,11 +50617,11 @@ paths: content: {} description: Unauthorized tags: - - events_v1 + - discovery_v1 x-kubernetes-action: delete x-kubernetes-group-version-kind: - group: events.k8s.io - kind: Event + group: discovery.k8s.io + kind: EndpointSlice version: v1 x-codegen-request-body-name: body x-content-type: application/json @@ -50669,10 +50631,10 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml get: - description: read the specified Event - operationId: readNamespacedEvent + description: read the specified EndpointSlice + operationId: readNamespacedEndpointSlice parameters: - - description: name of the Event + - description: name of the EndpointSlice in: path name: name required: true @@ -50696,26 +50658,26 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/events.v1.Event' + $ref: '#/components/schemas/v1.EndpointSlice' application/yaml: schema: - $ref: '#/components/schemas/events.v1.Event' + $ref: '#/components/schemas/v1.EndpointSlice' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/events.v1.Event' + $ref: '#/components/schemas/v1.EndpointSlice' application/cbor: schema: - $ref: '#/components/schemas/events.v1.Event' + $ref: '#/components/schemas/v1.EndpointSlice' description: OK "401": content: {} description: Unauthorized tags: - - events_v1 + - discovery_v1 x-kubernetes-action: get x-kubernetes-group-version-kind: - group: events.k8s.io - kind: Event + group: discovery.k8s.io + kind: EndpointSlice version: v1 x-accepts: - application/cbor @@ -50723,10 +50685,10 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml patch: - description: partially update the specified Event - operationId: patchNamespacedEvent + description: partially update the specified EndpointSlice + operationId: patchNamespacedEndpointSlice parameters: - - description: name of the Event + - description: name of the EndpointSlice in: path name: name required: true @@ -50797,41 +50759,41 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/events.v1.Event' + $ref: '#/components/schemas/v1.EndpointSlice' application/yaml: schema: - $ref: '#/components/schemas/events.v1.Event' + $ref: '#/components/schemas/v1.EndpointSlice' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/events.v1.Event' + $ref: '#/components/schemas/v1.EndpointSlice' application/cbor: schema: - $ref: '#/components/schemas/events.v1.Event' + $ref: '#/components/schemas/v1.EndpointSlice' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/events.v1.Event' + $ref: '#/components/schemas/v1.EndpointSlice' application/yaml: schema: - $ref: '#/components/schemas/events.v1.Event' + $ref: '#/components/schemas/v1.EndpointSlice' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/events.v1.Event' + $ref: '#/components/schemas/v1.EndpointSlice' application/cbor: schema: - $ref: '#/components/schemas/events.v1.Event' + $ref: '#/components/schemas/v1.EndpointSlice' description: Created "401": content: {} description: Unauthorized tags: - - events_v1 + - discovery_v1 x-kubernetes-action: patch x-kubernetes-group-version-kind: - group: events.k8s.io - kind: Event + group: discovery.k8s.io + kind: EndpointSlice version: v1 x-codegen-request-body-name: body x-content-type: application/json @@ -50841,10 +50803,10 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml put: - description: replace the specified Event - operationId: replaceNamespacedEvent + description: replace the specified EndpointSlice + operationId: replaceNamespacedEndpointSlice parameters: - - description: name of the Event + - description: name of the EndpointSlice in: path name: name required: true @@ -50899,48 +50861,48 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/events.v1.Event' + $ref: '#/components/schemas/v1.EndpointSlice' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/events.v1.Event' + $ref: '#/components/schemas/v1.EndpointSlice' application/yaml: schema: - $ref: '#/components/schemas/events.v1.Event' + $ref: '#/components/schemas/v1.EndpointSlice' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/events.v1.Event' + $ref: '#/components/schemas/v1.EndpointSlice' application/cbor: schema: - $ref: '#/components/schemas/events.v1.Event' + $ref: '#/components/schemas/v1.EndpointSlice' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/events.v1.Event' + $ref: '#/components/schemas/v1.EndpointSlice' application/yaml: schema: - $ref: '#/components/schemas/events.v1.Event' + $ref: '#/components/schemas/v1.EndpointSlice' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/events.v1.Event' + $ref: '#/components/schemas/v1.EndpointSlice' application/cbor: schema: - $ref: '#/components/schemas/events.v1.Event' + $ref: '#/components/schemas/v1.EndpointSlice' description: Created "401": content: {} description: Unauthorized tags: - - events_v1 + - discovery_v1 x-kubernetes-action: put x-kubernetes-group-version-kind: - group: events.k8s.io - kind: Event + group: discovery.k8s.io + kind: EndpointSlice version: v1 x-codegen-request-body-name: body x-content-type: application/json @@ -50949,10 +50911,10 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/events.k8s.io/v1/watch/events: {} - /apis/events.k8s.io/v1/watch/namespaces/{namespace}/events: {} - /apis/events.k8s.io/v1/watch/namespaces/{namespace}/events/{name}: {} - /apis/flowcontrol.apiserver.k8s.io/: + /apis/discovery.k8s.io/v1/watch/endpointslices: {} + /apis/discovery.k8s.io/v1/watch/namespaces/{namespace}/endpointslices: {} + /apis/discovery.k8s.io/v1/watch/namespaces/{namespace}/endpointslices/{name}: {} + /apis/events.k8s.io/: get: description: get information of a group operationId: getAPIGroup @@ -50973,12 +50935,12 @@ paths: content: {} description: Unauthorized tags: - - flowcontrolApiserver + - events x-accepts: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/flowcontrol.apiserver.k8s.io/v1/: + /apis/events.k8s.io/v1/: get: description: get available resources operationId: getAPIResources @@ -51002,24 +50964,27 @@ paths: content: {} description: Unauthorized tags: - - flowcontrolApiserver_v1 + - events_v1 x-accepts: - application/cbor - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/flowcontrol.apiserver.k8s.io/v1/flowschemas: - delete: - description: delete collection of FlowSchema - operationId: deleteCollectionFlowSchema + /apis/events.k8s.io/v1/events: + get: + description: list or watch objects of kind Event + operationId: listEventForAllNamespaces parameters: - - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ - \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ - \ and wget)." + - description: "allowWatchBookmarks requests watch events with type \"BOOKMARK\"\ + . Servers that do not implement bookmarks may ignore this flag and bookmarks\ + \ are sent at the server's discretion. Clients should not assume bookmarks\ + \ are returned at any specific interval, nor may they assume the server\ + \ will send any BOOKMARK event during a session. If this is not a watch,\ + \ this field is ignored." in: query - name: pretty + name: allowWatchBookmarks schema: - type: string + type: boolean - description: |- The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -51028,44 +50993,12 @@ paths: name: continue schema: type: string - - description: "When present, indicates that modifications should not be persisted.\ - \ An invalid or unrecognized dryRun directive will result in an error response\ - \ and no further processing of the request. Valid values are: - All: all\ - \ dry run stages will be processed" - in: query - name: dryRun - schema: - type: string - description: A selector to restrict the list of returned objects by their fields. Defaults to everything. in: query name: fieldSelector schema: type: string - - description: "The duration in seconds before the object should be deleted.\ - \ Value must be non-negative integer. The value zero indicates delete immediately.\ - \ If this value is nil, the default grace period for the specified type\ - \ will be used. Defaults to a per object value if not specified. zero means\ - \ delete immediately." - in: query - name: gracePeriodSeconds - schema: - type: integer - - description: "if set to true, it will trigger an unsafe deletion of the resource\ - \ in case the normal deletion flow fails with a corrupt object error. A\ - \ resource is considered corrupt if it can not be retrieved from the underlying\ - \ storage successfully because of a) its data can not be transformed e.g.\ - \ decryption failure, or b) it fails to decode into an object. NOTE: unsafe\ - \ deletion ignores finalizer constraints, skips precondition checks, and\ - \ removes the object from the storage. WARNING: This may potentially break\ - \ the cluster if the workload associated with the resource being unsafe-deleted\ - \ relies on normal deletion flow. Use only if you REALLY know what you are\ - \ doing. The default value is false, and the user must opt in to enable\ - \ it" - in: query - name: ignoreStoreReadErrorWithClusterBreakingPotential - schema: - type: boolean - description: A selector to restrict the list of returned objects by their labels. Defaults to everything. in: query @@ -51080,23 +51013,197 @@ paths: name: limit schema: type: integer - - description: "Deprecated: please use the PropagationPolicy, this field will\ - \ be deprecated in 1.7. Should the dependent objects be orphaned. If true/false,\ - \ the \"orphan\" finalizer will be added to/removed from the object's finalizers\ - \ list. Either this field or PropagationPolicy may be set, but not both." - in: query - name: orphanDependents - schema: - type: boolean - - description: "Whether and how garbage collection will be performed. Either\ - \ this field or OrphanDependents may be set, but not both. The default policy\ - \ is decided by the existing finalizer set in the metadata.finalizers and\ - \ the resource-specific default policy. Acceptable values are: 'Orphan'\ - \ - orphan the dependents; 'Background' - allow the garbage collector to\ - \ delete the dependents in the background; 'Foreground' - a cascading policy\ - \ that deletes all dependents in the foreground." + - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ + \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ + \ and wget)." in: query - name: propagationPolicy + name: pretty + schema: + type: string + - description: |- + resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. + + Defaults to unset + in: query + name: resourceVersion + schema: + type: string + - description: |- + resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. + + Defaults to unset + in: query + name: resourceVersionMatch + schema: + type: string + - description: |- + `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic "Bookmark" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. + + When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan + is interpreted as "data at least as new as the provided `resourceVersion`" + and the bookmark event is send when the state is synced + to a `resourceVersion` at least as fresh as the one provided by the ListOptions. + If `resourceVersion` is unset, this is interpreted as "consistent read" and the + bookmark event is send when the state is synced at least to the moment + when request started being processed. + - `resourceVersionMatch` set to any other value or unset + Invalid error is returned. + + Defaults to true if `resourceVersion=""` or `resourceVersion="0"` (for backward compatibility reasons) and to false otherwise. + in: query + name: sendInitialEvents + schema: + type: boolean + - description: "Timeout for the list/watch call. This limits the duration of\ + \ the call, regardless of any activity or inactivity." + in: query + name: timeoutSeconds + schema: + type: integer + - description: "Watch for changes to the described resources and return them\ + \ as a stream of add, update, and remove notifications. Specify resourceVersion." + in: query + name: watch + schema: + type: boolean + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/events.v1.EventList' + application/yaml: + schema: + $ref: '#/components/schemas/events.v1.EventList' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/events.v1.EventList' + application/cbor: + schema: + $ref: '#/components/schemas/events.v1.EventList' + application/json;stream=watch: + schema: + $ref: '#/components/schemas/events.v1.EventList' + application/vnd.kubernetes.protobuf;stream=watch: + schema: + $ref: '#/components/schemas/events.v1.EventList' + application/cbor-seq: + schema: + $ref: '#/components/schemas/events.v1.EventList' + description: OK + "401": + content: {} + description: Unauthorized + tags: + - events_v1 + x-kubernetes-action: list + x-kubernetes-group-version-kind: + group: events.k8s.io + kind: Event + version: v1 + x-accepts: + - application/cbor + - application/cbor-seq + - application/json + - application/json;stream=watch + - application/vnd.kubernetes.protobuf + - application/vnd.kubernetes.protobuf;stream=watch + - application/yaml + /apis/events.k8s.io/v1/namespaces/{namespace}/events: + delete: + description: delete collection of Event + operationId: deleteCollectionNamespacedEvent + parameters: + - description: "object name and auth scope, such as for teams and projects" + in: path + name: namespace + required: true + schema: + type: string + - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ + \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ + \ and wget)." + in: query + name: pretty + schema: + type: string + - description: |- + The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + + This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + in: query + name: continue + schema: + type: string + - description: "When present, indicates that modifications should not be persisted.\ + \ An invalid or unrecognized dryRun directive will result in an error response\ + \ and no further processing of the request. Valid values are: - All: all\ + \ dry run stages will be processed" + in: query + name: dryRun + schema: + type: string + - description: A selector to restrict the list of returned objects by their + fields. Defaults to everything. + in: query + name: fieldSelector + schema: + type: string + - description: "The duration in seconds before the object should be deleted.\ + \ Value must be non-negative integer. The value zero indicates delete immediately.\ + \ If this value is nil, the default grace period for the specified type\ + \ will be used. Defaults to a per object value if not specified. zero means\ + \ delete immediately." + in: query + name: gracePeriodSeconds + schema: + type: integer + - description: "if set to true, it will trigger an unsafe deletion of the resource\ + \ in case the normal deletion flow fails with a corrupt object error. A\ + \ resource is considered corrupt if it can not be retrieved from the underlying\ + \ storage successfully because of a) its data can not be transformed e.g.\ + \ decryption failure, or b) it fails to decode into an object. NOTE: unsafe\ + \ deletion ignores finalizer constraints, skips precondition checks, and\ + \ removes the object from the storage. WARNING: This may potentially break\ + \ the cluster if the workload associated with the resource being unsafe-deleted\ + \ relies on normal deletion flow. Use only if you REALLY know what you are\ + \ doing. The default value is false, and the user must opt in to enable\ + \ it" + in: query + name: ignoreStoreReadErrorWithClusterBreakingPotential + schema: + type: boolean + - description: A selector to restrict the list of returned objects by their + labels. Defaults to everything. + in: query + name: labelSelector + schema: + type: string + - description: |- + limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. + + The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + in: query + name: limit + schema: + type: integer + - description: "Deprecated: please use the PropagationPolicy, this field will\ + \ be deprecated in 1.7. Should the dependent objects be orphaned. If true/false,\ + \ the \"orphan\" finalizer will be added to/removed from the object's finalizers\ + \ list. Either this field or PropagationPolicy may be set, but not both." + in: query + name: orphanDependents + schema: + type: boolean + - description: "Whether and how garbage collection will be performed. Either\ + \ this field or OrphanDependents may be set, but not both. The default policy\ + \ is decided by the existing finalizer set in the metadata.finalizers and\ + \ the resource-specific default policy. Acceptable values are: 'Orphan'\ + \ - orphan the dependents; 'Background' - allow the garbage collector to\ + \ delete the dependents in the background; 'Foreground' - a cascading policy\ + \ that deletes all dependents in the foreground." + in: query + name: propagationPolicy schema: type: string - description: |- @@ -51165,11 +51272,11 @@ paths: content: {} description: Unauthorized tags: - - flowcontrolApiserver_v1 + - events_v1 x-kubernetes-action: deletecollection x-kubernetes-group-version-kind: - group: flowcontrol.apiserver.k8s.io - kind: FlowSchema + group: events.k8s.io + kind: Event version: v1 x-codegen-request-body-name: body x-content-type: application/json @@ -51179,9 +51286,15 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml get: - description: list or watch objects of kind FlowSchema - operationId: listFlowSchema + description: list or watch objects of kind Event + operationId: listNamespacedEvent parameters: + - description: "object name and auth scope, such as for teams and projects" + in: path + name: namespace + required: true + schema: + type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -51278,35 +51391,35 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.FlowSchemaList' + $ref: '#/components/schemas/events.v1.EventList' application/yaml: schema: - $ref: '#/components/schemas/v1.FlowSchemaList' + $ref: '#/components/schemas/events.v1.EventList' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.FlowSchemaList' + $ref: '#/components/schemas/events.v1.EventList' application/cbor: schema: - $ref: '#/components/schemas/v1.FlowSchemaList' + $ref: '#/components/schemas/events.v1.EventList' application/json;stream=watch: schema: - $ref: '#/components/schemas/v1.FlowSchemaList' + $ref: '#/components/schemas/events.v1.EventList' application/vnd.kubernetes.protobuf;stream=watch: schema: - $ref: '#/components/schemas/v1.FlowSchemaList' + $ref: '#/components/schemas/events.v1.EventList' application/cbor-seq: schema: - $ref: '#/components/schemas/v1.FlowSchemaList' + $ref: '#/components/schemas/events.v1.EventList' description: OK "401": content: {} description: Unauthorized tags: - - flowcontrolApiserver_v1 + - events_v1 x-kubernetes-action: list x-kubernetes-group-version-kind: - group: flowcontrol.apiserver.k8s.io - kind: FlowSchema + group: events.k8s.io + kind: Event version: v1 x-accepts: - application/cbor @@ -51317,9 +51430,15 @@ paths: - application/vnd.kubernetes.protobuf;stream=watch - application/yaml post: - description: create a FlowSchema - operationId: createFlowSchema + description: create an Event + operationId: createNamespacedEvent parameters: + - description: "object name and auth scope, such as for teams and projects" + in: path + name: namespace + required: true + schema: + type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -51363,63 +51482,63 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.FlowSchema' + $ref: '#/components/schemas/events.v1.Event' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1.FlowSchema' + $ref: '#/components/schemas/events.v1.Event' application/yaml: schema: - $ref: '#/components/schemas/v1.FlowSchema' + $ref: '#/components/schemas/events.v1.Event' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.FlowSchema' + $ref: '#/components/schemas/events.v1.Event' application/cbor: schema: - $ref: '#/components/schemas/v1.FlowSchema' + $ref: '#/components/schemas/events.v1.Event' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1.FlowSchema' + $ref: '#/components/schemas/events.v1.Event' application/yaml: schema: - $ref: '#/components/schemas/v1.FlowSchema' + $ref: '#/components/schemas/events.v1.Event' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.FlowSchema' + $ref: '#/components/schemas/events.v1.Event' application/cbor: schema: - $ref: '#/components/schemas/v1.FlowSchema' + $ref: '#/components/schemas/events.v1.Event' description: Created "202": content: application/json: schema: - $ref: '#/components/schemas/v1.FlowSchema' + $ref: '#/components/schemas/events.v1.Event' application/yaml: schema: - $ref: '#/components/schemas/v1.FlowSchema' + $ref: '#/components/schemas/events.v1.Event' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.FlowSchema' + $ref: '#/components/schemas/events.v1.Event' application/cbor: schema: - $ref: '#/components/schemas/v1.FlowSchema' + $ref: '#/components/schemas/events.v1.Event' description: Accepted "401": content: {} description: Unauthorized tags: - - flowcontrolApiserver_v1 + - events_v1 x-kubernetes-action: post x-kubernetes-group-version-kind: - group: flowcontrol.apiserver.k8s.io - kind: FlowSchema + group: events.k8s.io + kind: Event version: v1 x-codegen-request-body-name: body x-content-type: application/json @@ -51428,17 +51547,23 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/{name}: + /apis/events.k8s.io/v1/namespaces/{namespace}/events/{name}: delete: - description: delete a FlowSchema - operationId: deleteFlowSchema + description: delete an Event + operationId: deleteNamespacedEvent parameters: - - description: name of the FlowSchema + - description: name of the Event in: path name: name required: true schema: type: string + - description: "object name and auth scope, such as for teams and projects" + in: path + name: namespace + required: true + schema: + type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -51538,11 +51663,11 @@ paths: content: {} description: Unauthorized tags: - - flowcontrolApiserver_v1 + - events_v1 x-kubernetes-action: delete x-kubernetes-group-version-kind: - group: flowcontrol.apiserver.k8s.io - kind: FlowSchema + group: events.k8s.io + kind: Event version: v1 x-codegen-request-body-name: body x-content-type: application/json @@ -51552,15 +51677,21 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml get: - description: read the specified FlowSchema - operationId: readFlowSchema + description: read the specified Event + operationId: readNamespacedEvent parameters: - - description: name of the FlowSchema + - description: name of the Event in: path name: name required: true schema: type: string + - description: "object name and auth scope, such as for teams and projects" + in: path + name: namespace + required: true + schema: + type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -51573,26 +51704,26 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.FlowSchema' + $ref: '#/components/schemas/events.v1.Event' application/yaml: schema: - $ref: '#/components/schemas/v1.FlowSchema' + $ref: '#/components/schemas/events.v1.Event' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.FlowSchema' + $ref: '#/components/schemas/events.v1.Event' application/cbor: schema: - $ref: '#/components/schemas/v1.FlowSchema' + $ref: '#/components/schemas/events.v1.Event' description: OK "401": content: {} description: Unauthorized tags: - - flowcontrolApiserver_v1 + - events_v1 x-kubernetes-action: get x-kubernetes-group-version-kind: - group: flowcontrol.apiserver.k8s.io - kind: FlowSchema + group: events.k8s.io + kind: Event version: v1 x-accepts: - application/cbor @@ -51600,15 +51731,21 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml patch: - description: partially update the specified FlowSchema - operationId: patchFlowSchema + description: partially update the specified Event + operationId: patchNamespacedEvent parameters: - - description: name of the FlowSchema + - description: name of the Event in: path name: name required: true schema: type: string + - description: "object name and auth scope, such as for teams and projects" + in: path + name: namespace + required: true + schema: + type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -51668,41 +51805,41 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.FlowSchema' + $ref: '#/components/schemas/events.v1.Event' application/yaml: schema: - $ref: '#/components/schemas/v1.FlowSchema' + $ref: '#/components/schemas/events.v1.Event' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.FlowSchema' + $ref: '#/components/schemas/events.v1.Event' application/cbor: schema: - $ref: '#/components/schemas/v1.FlowSchema' + $ref: '#/components/schemas/events.v1.Event' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1.FlowSchema' + $ref: '#/components/schemas/events.v1.Event' application/yaml: schema: - $ref: '#/components/schemas/v1.FlowSchema' + $ref: '#/components/schemas/events.v1.Event' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.FlowSchema' + $ref: '#/components/schemas/events.v1.Event' application/cbor: schema: - $ref: '#/components/schemas/v1.FlowSchema' + $ref: '#/components/schemas/events.v1.Event' description: Created "401": content: {} description: Unauthorized tags: - - flowcontrolApiserver_v1 + - events_v1 x-kubernetes-action: patch x-kubernetes-group-version-kind: - group: flowcontrol.apiserver.k8s.io - kind: FlowSchema + group: events.k8s.io + kind: Event version: v1 x-codegen-request-body-name: body x-content-type: application/json @@ -51712,15 +51849,21 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml put: - description: replace the specified FlowSchema - operationId: replaceFlowSchema + description: replace the specified Event + operationId: replaceNamespacedEvent parameters: - - description: name of the FlowSchema + - description: name of the Event in: path name: name required: true schema: type: string + - description: "object name and auth scope, such as for teams and projects" + in: path + name: namespace + required: true + schema: + type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -51764,48 +51907,48 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.FlowSchema' + $ref: '#/components/schemas/events.v1.Event' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1.FlowSchema' + $ref: '#/components/schemas/events.v1.Event' application/yaml: schema: - $ref: '#/components/schemas/v1.FlowSchema' + $ref: '#/components/schemas/events.v1.Event' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.FlowSchema' + $ref: '#/components/schemas/events.v1.Event' application/cbor: schema: - $ref: '#/components/schemas/v1.FlowSchema' + $ref: '#/components/schemas/events.v1.Event' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1.FlowSchema' + $ref: '#/components/schemas/events.v1.Event' application/yaml: schema: - $ref: '#/components/schemas/v1.FlowSchema' + $ref: '#/components/schemas/events.v1.Event' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.FlowSchema' + $ref: '#/components/schemas/events.v1.Event' application/cbor: schema: - $ref: '#/components/schemas/v1.FlowSchema' + $ref: '#/components/schemas/events.v1.Event' description: Created "401": content: {} description: Unauthorized tags: - - flowcontrolApiserver_v1 + - events_v1 x-kubernetes-action: put x-kubernetes-group-version-kind: - group: flowcontrol.apiserver.k8s.io - kind: FlowSchema + group: events.k8s.io + kind: Event version: v1 x-codegen-request-body-name: body x-content-type: application/json @@ -51814,274 +51957,69 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/{name}/status: + /apis/events.k8s.io/v1/watch/events: {} + /apis/events.k8s.io/v1/watch/namespaces/{namespace}/events: {} + /apis/events.k8s.io/v1/watch/namespaces/{namespace}/events/{name}: {} + /apis/flowcontrol.apiserver.k8s.io/: get: - description: read status of the specified FlowSchema - operationId: readFlowSchemaStatus - parameters: - - description: name of the FlowSchema - in: path - name: name - required: true - schema: - type: string - - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ - \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ - \ and wget)." - in: query - name: pretty - schema: - type: string - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/v1.FlowSchema' - application/yaml: - schema: - $ref: '#/components/schemas/v1.FlowSchema' - application/vnd.kubernetes.protobuf: - schema: - $ref: '#/components/schemas/v1.FlowSchema' - application/cbor: - schema: - $ref: '#/components/schemas/v1.FlowSchema' - description: OK - "401": - content: {} - description: Unauthorized - tags: - - flowcontrolApiserver_v1 - x-kubernetes-action: get - x-kubernetes-group-version-kind: - group: flowcontrol.apiserver.k8s.io - kind: FlowSchema - version: v1 - x-accepts: - - application/cbor - - application/json - - application/vnd.kubernetes.protobuf - - application/yaml - patch: - description: partially update status of the specified FlowSchema - operationId: patchFlowSchemaStatus - parameters: - - description: name of the FlowSchema - in: path - name: name - required: true - schema: - type: string - - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ - \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ - \ and wget)." - in: query - name: pretty - schema: - type: string - - description: "When present, indicates that modifications should not be persisted.\ - \ An invalid or unrecognized dryRun directive will result in an error response\ - \ and no further processing of the request. Valid values are: - All: all\ - \ dry run stages will be processed" - in: query - name: dryRun - schema: - type: string - - description: "fieldManager is a name associated with the actor or entity that\ - \ is making these changes. The value must be less than or 128 characters\ - \ long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.\ - \ This field is required for apply requests (application/apply-patch) but\ - \ optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch)." - in: query - name: fieldManager - schema: - type: string - - description: "fieldValidation instructs the server on how to handle objects\ - \ in the request (POST/PUT/PATCH) containing unknown or duplicate fields.\ - \ Valid values are: - Ignore: This will ignore any unknown fields that are\ - \ silently dropped from the object, and will ignore all but the last duplicate\ - \ field that the decoder encounters. This is the default behavior prior\ - \ to v1.23. - Warn: This will send a warning via the standard warning response\ - \ header for each unknown field that is dropped from the object, and for\ - \ each duplicate field that is encountered. The request will still succeed\ - \ if there are no other errors, and will only persist the last of any duplicate\ - \ fields. This is the default in v1.23+ - Strict: This will fail the request\ - \ with a BadRequest error if any unknown fields would be dropped from the\ - \ object, or if any duplicate fields are present. The error returned from\ - \ the server will contain all unknown and duplicate fields encountered." - in: query - name: fieldValidation - schema: - type: string - - description: Force is going to "force" Apply requests. It means user will - re-acquire conflicting fields owned by other people. Force flag must be - unset for non-apply patch requests. - in: query - name: force - schema: - type: boolean - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/v1.Patch' - required: true + description: get information of a group + operationId: getAPIGroup responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1.FlowSchema' + $ref: '#/components/schemas/v1.APIGroup' application/yaml: schema: - $ref: '#/components/schemas/v1.FlowSchema' + $ref: '#/components/schemas/v1.APIGroup' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.FlowSchema' - application/cbor: - schema: - $ref: '#/components/schemas/v1.FlowSchema' + $ref: '#/components/schemas/v1.APIGroup' description: OK - "201": - content: - application/json: - schema: - $ref: '#/components/schemas/v1.FlowSchema' - application/yaml: - schema: - $ref: '#/components/schemas/v1.FlowSchema' - application/vnd.kubernetes.protobuf: - schema: - $ref: '#/components/schemas/v1.FlowSchema' - application/cbor: - schema: - $ref: '#/components/schemas/v1.FlowSchema' - description: Created "401": content: {} description: Unauthorized tags: - - flowcontrolApiserver_v1 - x-kubernetes-action: patch - x-kubernetes-group-version-kind: - group: flowcontrol.apiserver.k8s.io - kind: FlowSchema - version: v1 - x-codegen-request-body-name: body - x-content-type: application/json + - flowcontrolApiserver x-accepts: - - application/cbor - application/json - application/vnd.kubernetes.protobuf - application/yaml - put: - description: replace status of the specified FlowSchema - operationId: replaceFlowSchemaStatus - parameters: - - description: name of the FlowSchema - in: path - name: name - required: true - schema: - type: string - - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ - \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ - \ and wget)." - in: query - name: pretty - schema: - type: string - - description: "When present, indicates that modifications should not be persisted.\ - \ An invalid or unrecognized dryRun directive will result in an error response\ - \ and no further processing of the request. Valid values are: - All: all\ - \ dry run stages will be processed" - in: query - name: dryRun - schema: - type: string - - description: "fieldManager is a name associated with the actor or entity that\ - \ is making these changes. The value must be less than or 128 characters\ - \ long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint." - in: query - name: fieldManager - schema: - type: string - - description: "fieldValidation instructs the server on how to handle objects\ - \ in the request (POST/PUT/PATCH) containing unknown or duplicate fields.\ - \ Valid values are: - Ignore: This will ignore any unknown fields that are\ - \ silently dropped from the object, and will ignore all but the last duplicate\ - \ field that the decoder encounters. This is the default behavior prior\ - \ to v1.23. - Warn: This will send a warning via the standard warning response\ - \ header for each unknown field that is dropped from the object, and for\ - \ each duplicate field that is encountered. The request will still succeed\ - \ if there are no other errors, and will only persist the last of any duplicate\ - \ fields. This is the default in v1.23+ - Strict: This will fail the request\ - \ with a BadRequest error if any unknown fields would be dropped from the\ - \ object, or if any duplicate fields are present. The error returned from\ - \ the server will contain all unknown and duplicate fields encountered." - in: query - name: fieldValidation - schema: - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/v1.FlowSchema' - required: true + /apis/flowcontrol.apiserver.k8s.io/v1/: + get: + description: get available resources + operationId: getAPIResources responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1.FlowSchema' + $ref: '#/components/schemas/v1.APIResourceList' application/yaml: schema: - $ref: '#/components/schemas/v1.FlowSchema' + $ref: '#/components/schemas/v1.APIResourceList' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.FlowSchema' + $ref: '#/components/schemas/v1.APIResourceList' application/cbor: schema: - $ref: '#/components/schemas/v1.FlowSchema' + $ref: '#/components/schemas/v1.APIResourceList' description: OK - "201": - content: - application/json: - schema: - $ref: '#/components/schemas/v1.FlowSchema' - application/yaml: - schema: - $ref: '#/components/schemas/v1.FlowSchema' - application/vnd.kubernetes.protobuf: - schema: - $ref: '#/components/schemas/v1.FlowSchema' - application/cbor: - schema: - $ref: '#/components/schemas/v1.FlowSchema' - description: Created "401": content: {} description: Unauthorized tags: - flowcontrolApiserver_v1 - x-kubernetes-action: put - x-kubernetes-group-version-kind: - group: flowcontrol.apiserver.k8s.io - kind: FlowSchema - version: v1 - x-codegen-request-body-name: body - x-content-type: application/json x-accepts: - application/cbor - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations: + /apis/flowcontrol.apiserver.k8s.io/v1/flowschemas: delete: - description: delete collection of PriorityLevelConfiguration - operationId: deleteCollectionPriorityLevelConfiguration + description: delete collection of FlowSchema + operationId: deleteCollectionFlowSchema parameters: - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ @@ -52239,7 +52177,7 @@ paths: x-kubernetes-action: deletecollection x-kubernetes-group-version-kind: group: flowcontrol.apiserver.k8s.io - kind: PriorityLevelConfiguration + kind: FlowSchema version: v1 x-codegen-request-body-name: body x-content-type: application/json @@ -52249,8 +52187,8 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml get: - description: list or watch objects of kind PriorityLevelConfiguration - operationId: listPriorityLevelConfiguration + description: list or watch objects of kind FlowSchema + operationId: listFlowSchema parameters: - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ @@ -52348,25 +52286,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.PriorityLevelConfigurationList' + $ref: '#/components/schemas/v1.FlowSchemaList' application/yaml: schema: - $ref: '#/components/schemas/v1.PriorityLevelConfigurationList' + $ref: '#/components/schemas/v1.FlowSchemaList' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.PriorityLevelConfigurationList' + $ref: '#/components/schemas/v1.FlowSchemaList' application/cbor: schema: - $ref: '#/components/schemas/v1.PriorityLevelConfigurationList' + $ref: '#/components/schemas/v1.FlowSchemaList' application/json;stream=watch: schema: - $ref: '#/components/schemas/v1.PriorityLevelConfigurationList' + $ref: '#/components/schemas/v1.FlowSchemaList' application/vnd.kubernetes.protobuf;stream=watch: schema: - $ref: '#/components/schemas/v1.PriorityLevelConfigurationList' + $ref: '#/components/schemas/v1.FlowSchemaList' application/cbor-seq: schema: - $ref: '#/components/schemas/v1.PriorityLevelConfigurationList' + $ref: '#/components/schemas/v1.FlowSchemaList' description: OK "401": content: {} @@ -52376,7 +52314,7 @@ paths: x-kubernetes-action: list x-kubernetes-group-version-kind: group: flowcontrol.apiserver.k8s.io - kind: PriorityLevelConfiguration + kind: FlowSchema version: v1 x-accepts: - application/cbor @@ -52387,8 +52325,8 @@ paths: - application/vnd.kubernetes.protobuf;stream=watch - application/yaml post: - description: create a PriorityLevelConfiguration - operationId: createPriorityLevelConfiguration + description: create a FlowSchema + operationId: createFlowSchema parameters: - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ @@ -52433,53 +52371,53 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.PriorityLevelConfiguration' + $ref: '#/components/schemas/v1.FlowSchema' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1.PriorityLevelConfiguration' + $ref: '#/components/schemas/v1.FlowSchema' application/yaml: schema: - $ref: '#/components/schemas/v1.PriorityLevelConfiguration' + $ref: '#/components/schemas/v1.FlowSchema' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.PriorityLevelConfiguration' + $ref: '#/components/schemas/v1.FlowSchema' application/cbor: schema: - $ref: '#/components/schemas/v1.PriorityLevelConfiguration' + $ref: '#/components/schemas/v1.FlowSchema' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1.PriorityLevelConfiguration' + $ref: '#/components/schemas/v1.FlowSchema' application/yaml: schema: - $ref: '#/components/schemas/v1.PriorityLevelConfiguration' + $ref: '#/components/schemas/v1.FlowSchema' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.PriorityLevelConfiguration' + $ref: '#/components/schemas/v1.FlowSchema' application/cbor: schema: - $ref: '#/components/schemas/v1.PriorityLevelConfiguration' + $ref: '#/components/schemas/v1.FlowSchema' description: Created "202": content: application/json: schema: - $ref: '#/components/schemas/v1.PriorityLevelConfiguration' + $ref: '#/components/schemas/v1.FlowSchema' application/yaml: schema: - $ref: '#/components/schemas/v1.PriorityLevelConfiguration' + $ref: '#/components/schemas/v1.FlowSchema' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.PriorityLevelConfiguration' + $ref: '#/components/schemas/v1.FlowSchema' application/cbor: schema: - $ref: '#/components/schemas/v1.PriorityLevelConfiguration' + $ref: '#/components/schemas/v1.FlowSchema' description: Accepted "401": content: {} @@ -52489,7 +52427,7 @@ paths: x-kubernetes-action: post x-kubernetes-group-version-kind: group: flowcontrol.apiserver.k8s.io - kind: PriorityLevelConfiguration + kind: FlowSchema version: v1 x-codegen-request-body-name: body x-content-type: application/json @@ -52498,12 +52436,12 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/{name}: + /apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/{name}: delete: - description: delete a PriorityLevelConfiguration - operationId: deletePriorityLevelConfiguration + description: delete a FlowSchema + operationId: deleteFlowSchema parameters: - - description: name of the PriorityLevelConfiguration + - description: name of the FlowSchema in: path name: name required: true @@ -52612,7 +52550,7 @@ paths: x-kubernetes-action: delete x-kubernetes-group-version-kind: group: flowcontrol.apiserver.k8s.io - kind: PriorityLevelConfiguration + kind: FlowSchema version: v1 x-codegen-request-body-name: body x-content-type: application/json @@ -52622,10 +52560,10 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml get: - description: read the specified PriorityLevelConfiguration - operationId: readPriorityLevelConfiguration + description: read the specified FlowSchema + operationId: readFlowSchema parameters: - - description: name of the PriorityLevelConfiguration + - description: name of the FlowSchema in: path name: name required: true @@ -52643,16 +52581,16 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.PriorityLevelConfiguration' + $ref: '#/components/schemas/v1.FlowSchema' application/yaml: schema: - $ref: '#/components/schemas/v1.PriorityLevelConfiguration' + $ref: '#/components/schemas/v1.FlowSchema' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.PriorityLevelConfiguration' + $ref: '#/components/schemas/v1.FlowSchema' application/cbor: schema: - $ref: '#/components/schemas/v1.PriorityLevelConfiguration' + $ref: '#/components/schemas/v1.FlowSchema' description: OK "401": content: {} @@ -52662,7 +52600,7 @@ paths: x-kubernetes-action: get x-kubernetes-group-version-kind: group: flowcontrol.apiserver.k8s.io - kind: PriorityLevelConfiguration + kind: FlowSchema version: v1 x-accepts: - application/cbor @@ -52670,10 +52608,10 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml patch: - description: partially update the specified PriorityLevelConfiguration - operationId: patchPriorityLevelConfiguration + description: partially update the specified FlowSchema + operationId: patchFlowSchema parameters: - - description: name of the PriorityLevelConfiguration + - description: name of the FlowSchema in: path name: name required: true @@ -52738,31 +52676,31 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.PriorityLevelConfiguration' + $ref: '#/components/schemas/v1.FlowSchema' application/yaml: schema: - $ref: '#/components/schemas/v1.PriorityLevelConfiguration' + $ref: '#/components/schemas/v1.FlowSchema' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.PriorityLevelConfiguration' + $ref: '#/components/schemas/v1.FlowSchema' application/cbor: schema: - $ref: '#/components/schemas/v1.PriorityLevelConfiguration' + $ref: '#/components/schemas/v1.FlowSchema' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1.PriorityLevelConfiguration' + $ref: '#/components/schemas/v1.FlowSchema' application/yaml: schema: - $ref: '#/components/schemas/v1.PriorityLevelConfiguration' + $ref: '#/components/schemas/v1.FlowSchema' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.PriorityLevelConfiguration' + $ref: '#/components/schemas/v1.FlowSchema' application/cbor: schema: - $ref: '#/components/schemas/v1.PriorityLevelConfiguration' + $ref: '#/components/schemas/v1.FlowSchema' description: Created "401": content: {} @@ -52772,7 +52710,7 @@ paths: x-kubernetes-action: patch x-kubernetes-group-version-kind: group: flowcontrol.apiserver.k8s.io - kind: PriorityLevelConfiguration + kind: FlowSchema version: v1 x-codegen-request-body-name: body x-content-type: application/json @@ -52782,10 +52720,10 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml put: - description: replace the specified PriorityLevelConfiguration - operationId: replacePriorityLevelConfiguration + description: replace the specified FlowSchema + operationId: replaceFlowSchema parameters: - - description: name of the PriorityLevelConfiguration + - description: name of the FlowSchema in: path name: name required: true @@ -52834,38 +52772,38 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.PriorityLevelConfiguration' + $ref: '#/components/schemas/v1.FlowSchema' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1.PriorityLevelConfiguration' + $ref: '#/components/schemas/v1.FlowSchema' application/yaml: schema: - $ref: '#/components/schemas/v1.PriorityLevelConfiguration' + $ref: '#/components/schemas/v1.FlowSchema' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.PriorityLevelConfiguration' + $ref: '#/components/schemas/v1.FlowSchema' application/cbor: schema: - $ref: '#/components/schemas/v1.PriorityLevelConfiguration' + $ref: '#/components/schemas/v1.FlowSchema' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1.PriorityLevelConfiguration' + $ref: '#/components/schemas/v1.FlowSchema' application/yaml: schema: - $ref: '#/components/schemas/v1.PriorityLevelConfiguration' + $ref: '#/components/schemas/v1.FlowSchema' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.PriorityLevelConfiguration' + $ref: '#/components/schemas/v1.FlowSchema' application/cbor: schema: - $ref: '#/components/schemas/v1.PriorityLevelConfiguration' + $ref: '#/components/schemas/v1.FlowSchema' description: Created "401": content: {} @@ -52875,7 +52813,7 @@ paths: x-kubernetes-action: put x-kubernetes-group-version-kind: group: flowcontrol.apiserver.k8s.io - kind: PriorityLevelConfiguration + kind: FlowSchema version: v1 x-codegen-request-body-name: body x-content-type: application/json @@ -52884,12 +52822,12 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/{name}/status: + /apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/{name}/status: get: - description: read status of the specified PriorityLevelConfiguration - operationId: readPriorityLevelConfigurationStatus + description: read status of the specified FlowSchema + operationId: readFlowSchemaStatus parameters: - - description: name of the PriorityLevelConfiguration + - description: name of the FlowSchema in: path name: name required: true @@ -52907,16 +52845,16 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.PriorityLevelConfiguration' + $ref: '#/components/schemas/v1.FlowSchema' application/yaml: schema: - $ref: '#/components/schemas/v1.PriorityLevelConfiguration' + $ref: '#/components/schemas/v1.FlowSchema' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.PriorityLevelConfiguration' + $ref: '#/components/schemas/v1.FlowSchema' application/cbor: schema: - $ref: '#/components/schemas/v1.PriorityLevelConfiguration' + $ref: '#/components/schemas/v1.FlowSchema' description: OK "401": content: {} @@ -52926,7 +52864,7 @@ paths: x-kubernetes-action: get x-kubernetes-group-version-kind: group: flowcontrol.apiserver.k8s.io - kind: PriorityLevelConfiguration + kind: FlowSchema version: v1 x-accepts: - application/cbor @@ -52934,10 +52872,10 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml patch: - description: partially update status of the specified PriorityLevelConfiguration - operationId: patchPriorityLevelConfigurationStatus + description: partially update status of the specified FlowSchema + operationId: patchFlowSchemaStatus parameters: - - description: name of the PriorityLevelConfiguration + - description: name of the FlowSchema in: path name: name required: true @@ -53002,31 +52940,31 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.PriorityLevelConfiguration' + $ref: '#/components/schemas/v1.FlowSchema' application/yaml: schema: - $ref: '#/components/schemas/v1.PriorityLevelConfiguration' + $ref: '#/components/schemas/v1.FlowSchema' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.PriorityLevelConfiguration' + $ref: '#/components/schemas/v1.FlowSchema' application/cbor: schema: - $ref: '#/components/schemas/v1.PriorityLevelConfiguration' + $ref: '#/components/schemas/v1.FlowSchema' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1.PriorityLevelConfiguration' + $ref: '#/components/schemas/v1.FlowSchema' application/yaml: schema: - $ref: '#/components/schemas/v1.PriorityLevelConfiguration' + $ref: '#/components/schemas/v1.FlowSchema' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.PriorityLevelConfiguration' + $ref: '#/components/schemas/v1.FlowSchema' application/cbor: schema: - $ref: '#/components/schemas/v1.PriorityLevelConfiguration' + $ref: '#/components/schemas/v1.FlowSchema' description: Created "401": content: {} @@ -53036,7 +52974,7 @@ paths: x-kubernetes-action: patch x-kubernetes-group-version-kind: group: flowcontrol.apiserver.k8s.io - kind: PriorityLevelConfiguration + kind: FlowSchema version: v1 x-codegen-request-body-name: body x-content-type: application/json @@ -53046,10 +52984,10 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml put: - description: replace status of the specified PriorityLevelConfiguration - operationId: replacePriorityLevelConfigurationStatus + description: replace status of the specified FlowSchema + operationId: replaceFlowSchemaStatus parameters: - - description: name of the PriorityLevelConfiguration + - description: name of the FlowSchema in: path name: name required: true @@ -53098,38 +53036,38 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.PriorityLevelConfiguration' + $ref: '#/components/schemas/v1.FlowSchema' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1.PriorityLevelConfiguration' + $ref: '#/components/schemas/v1.FlowSchema' application/yaml: schema: - $ref: '#/components/schemas/v1.PriorityLevelConfiguration' + $ref: '#/components/schemas/v1.FlowSchema' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.PriorityLevelConfiguration' + $ref: '#/components/schemas/v1.FlowSchema' application/cbor: schema: - $ref: '#/components/schemas/v1.PriorityLevelConfiguration' + $ref: '#/components/schemas/v1.FlowSchema' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1.PriorityLevelConfiguration' + $ref: '#/components/schemas/v1.FlowSchema' application/yaml: schema: - $ref: '#/components/schemas/v1.PriorityLevelConfiguration' + $ref: '#/components/schemas/v1.FlowSchema' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.PriorityLevelConfiguration' + $ref: '#/components/schemas/v1.FlowSchema' application/cbor: schema: - $ref: '#/components/schemas/v1.PriorityLevelConfiguration' + $ref: '#/components/schemas/v1.FlowSchema' description: Created "401": content: {} @@ -53139,7 +53077,7 @@ paths: x-kubernetes-action: put x-kubernetes-group-version-kind: group: flowcontrol.apiserver.k8s.io - kind: PriorityLevelConfiguration + kind: FlowSchema version: v1 x-codegen-request-body-name: body x-content-type: application/json @@ -53148,70 +53086,10 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/flowcontrol.apiserver.k8s.io/v1/watch/flowschemas: {} - /apis/flowcontrol.apiserver.k8s.io/v1/watch/flowschemas/{name}: {} - /apis/flowcontrol.apiserver.k8s.io/v1/watch/prioritylevelconfigurations: {} - /apis/flowcontrol.apiserver.k8s.io/v1/watch/prioritylevelconfigurations/{name}: {} - /apis/internal.apiserver.k8s.io/: - get: - description: get information of a group - operationId: getAPIGroup - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/v1.APIGroup' - application/yaml: - schema: - $ref: '#/components/schemas/v1.APIGroup' - application/vnd.kubernetes.protobuf: - schema: - $ref: '#/components/schemas/v1.APIGroup' - description: OK - "401": - content: {} - description: Unauthorized - tags: - - internalApiserver - x-accepts: - - application/json - - application/vnd.kubernetes.protobuf - - application/yaml - /apis/internal.apiserver.k8s.io/v1alpha1/: - get: - description: get available resources - operationId: getAPIResources - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/v1.APIResourceList' - application/yaml: - schema: - $ref: '#/components/schemas/v1.APIResourceList' - application/vnd.kubernetes.protobuf: - schema: - $ref: '#/components/schemas/v1.APIResourceList' - application/cbor: - schema: - $ref: '#/components/schemas/v1.APIResourceList' - description: OK - "401": - content: {} - description: Unauthorized - tags: - - internalApiserver_v1alpha1 - x-accepts: - - application/cbor - - application/json - - application/vnd.kubernetes.protobuf - - application/yaml - /apis/internal.apiserver.k8s.io/v1alpha1/storageversions: + /apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations: delete: - description: delete collection of StorageVersion - operationId: deleteCollectionStorageVersion + description: delete collection of PriorityLevelConfiguration + operationId: deleteCollectionPriorityLevelConfiguration parameters: - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ @@ -53365,12 +53243,12 @@ paths: content: {} description: Unauthorized tags: - - internalApiserver_v1alpha1 + - flowcontrolApiserver_v1 x-kubernetes-action: deletecollection x-kubernetes-group-version-kind: - group: internal.apiserver.k8s.io - kind: StorageVersion - version: v1alpha1 + group: flowcontrol.apiserver.k8s.io + kind: PriorityLevelConfiguration + version: v1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -53379,8 +53257,8 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml get: - description: list or watch objects of kind StorageVersion - operationId: listStorageVersion + description: list or watch objects of kind PriorityLevelConfiguration + operationId: listPriorityLevelConfiguration parameters: - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ @@ -53478,36 +53356,36 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersionList' + $ref: '#/components/schemas/v1.PriorityLevelConfigurationList' application/yaml: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersionList' + $ref: '#/components/schemas/v1.PriorityLevelConfigurationList' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersionList' + $ref: '#/components/schemas/v1.PriorityLevelConfigurationList' application/cbor: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersionList' + $ref: '#/components/schemas/v1.PriorityLevelConfigurationList' application/json;stream=watch: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersionList' + $ref: '#/components/schemas/v1.PriorityLevelConfigurationList' application/vnd.kubernetes.protobuf;stream=watch: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersionList' + $ref: '#/components/schemas/v1.PriorityLevelConfigurationList' application/cbor-seq: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersionList' + $ref: '#/components/schemas/v1.PriorityLevelConfigurationList' description: OK "401": content: {} description: Unauthorized tags: - - internalApiserver_v1alpha1 + - flowcontrolApiserver_v1 x-kubernetes-action: list x-kubernetes-group-version-kind: - group: internal.apiserver.k8s.io - kind: StorageVersion - version: v1alpha1 + group: flowcontrol.apiserver.k8s.io + kind: PriorityLevelConfiguration + version: v1 x-accepts: - application/cbor - application/cbor-seq @@ -53517,8 +53395,8 @@ paths: - application/vnd.kubernetes.protobuf;stream=watch - application/yaml post: - description: create a StorageVersion - operationId: createStorageVersion + description: create a PriorityLevelConfiguration + operationId: createPriorityLevelConfiguration parameters: - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ @@ -53563,64 +53441,64 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersion' + $ref: '#/components/schemas/v1.PriorityLevelConfiguration' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersion' + $ref: '#/components/schemas/v1.PriorityLevelConfiguration' application/yaml: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersion' + $ref: '#/components/schemas/v1.PriorityLevelConfiguration' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersion' + $ref: '#/components/schemas/v1.PriorityLevelConfiguration' application/cbor: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersion' + $ref: '#/components/schemas/v1.PriorityLevelConfiguration' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersion' + $ref: '#/components/schemas/v1.PriorityLevelConfiguration' application/yaml: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersion' + $ref: '#/components/schemas/v1.PriorityLevelConfiguration' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersion' + $ref: '#/components/schemas/v1.PriorityLevelConfiguration' application/cbor: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersion' + $ref: '#/components/schemas/v1.PriorityLevelConfiguration' description: Created "202": content: application/json: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersion' + $ref: '#/components/schemas/v1.PriorityLevelConfiguration' application/yaml: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersion' + $ref: '#/components/schemas/v1.PriorityLevelConfiguration' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersion' + $ref: '#/components/schemas/v1.PriorityLevelConfiguration' application/cbor: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersion' + $ref: '#/components/schemas/v1.PriorityLevelConfiguration' description: Accepted "401": content: {} description: Unauthorized tags: - - internalApiserver_v1alpha1 + - flowcontrolApiserver_v1 x-kubernetes-action: post x-kubernetes-group-version-kind: - group: internal.apiserver.k8s.io - kind: StorageVersion - version: v1alpha1 + group: flowcontrol.apiserver.k8s.io + kind: PriorityLevelConfiguration + version: v1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -53628,12 +53506,12 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/internal.apiserver.k8s.io/v1alpha1/storageversions/{name}: + /apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/{name}: delete: - description: delete a StorageVersion - operationId: deleteStorageVersion + description: delete a PriorityLevelConfiguration + operationId: deletePriorityLevelConfiguration parameters: - - description: name of the StorageVersion + - description: name of the PriorityLevelConfiguration in: path name: name required: true @@ -53738,12 +53616,12 @@ paths: content: {} description: Unauthorized tags: - - internalApiserver_v1alpha1 + - flowcontrolApiserver_v1 x-kubernetes-action: delete x-kubernetes-group-version-kind: - group: internal.apiserver.k8s.io - kind: StorageVersion - version: v1alpha1 + group: flowcontrol.apiserver.k8s.io + kind: PriorityLevelConfiguration + version: v1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -53752,10 +53630,10 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml get: - description: read the specified StorageVersion - operationId: readStorageVersion + description: read the specified PriorityLevelConfiguration + operationId: readPriorityLevelConfiguration parameters: - - description: name of the StorageVersion + - description: name of the PriorityLevelConfiguration in: path name: name required: true @@ -53773,37 +53651,37 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersion' + $ref: '#/components/schemas/v1.PriorityLevelConfiguration' application/yaml: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersion' + $ref: '#/components/schemas/v1.PriorityLevelConfiguration' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersion' + $ref: '#/components/schemas/v1.PriorityLevelConfiguration' application/cbor: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersion' + $ref: '#/components/schemas/v1.PriorityLevelConfiguration' description: OK "401": content: {} description: Unauthorized tags: - - internalApiserver_v1alpha1 + - flowcontrolApiserver_v1 x-kubernetes-action: get x-kubernetes-group-version-kind: - group: internal.apiserver.k8s.io - kind: StorageVersion - version: v1alpha1 + group: flowcontrol.apiserver.k8s.io + kind: PriorityLevelConfiguration + version: v1 x-accepts: - application/cbor - application/json - application/vnd.kubernetes.protobuf - application/yaml patch: - description: partially update the specified StorageVersion - operationId: patchStorageVersion + description: partially update the specified PriorityLevelConfiguration + operationId: patchPriorityLevelConfiguration parameters: - - description: name of the StorageVersion + - description: name of the PriorityLevelConfiguration in: path name: name required: true @@ -53868,42 +53746,42 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersion' + $ref: '#/components/schemas/v1.PriorityLevelConfiguration' application/yaml: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersion' + $ref: '#/components/schemas/v1.PriorityLevelConfiguration' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersion' + $ref: '#/components/schemas/v1.PriorityLevelConfiguration' application/cbor: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersion' + $ref: '#/components/schemas/v1.PriorityLevelConfiguration' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersion' + $ref: '#/components/schemas/v1.PriorityLevelConfiguration' application/yaml: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersion' + $ref: '#/components/schemas/v1.PriorityLevelConfiguration' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersion' + $ref: '#/components/schemas/v1.PriorityLevelConfiguration' application/cbor: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersion' + $ref: '#/components/schemas/v1.PriorityLevelConfiguration' description: Created "401": content: {} description: Unauthorized tags: - - internalApiserver_v1alpha1 + - flowcontrolApiserver_v1 x-kubernetes-action: patch x-kubernetes-group-version-kind: - group: internal.apiserver.k8s.io - kind: StorageVersion - version: v1alpha1 + group: flowcontrol.apiserver.k8s.io + kind: PriorityLevelConfiguration + version: v1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -53912,10 +53790,10 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml put: - description: replace the specified StorageVersion - operationId: replaceStorageVersion + description: replace the specified PriorityLevelConfiguration + operationId: replacePriorityLevelConfiguration parameters: - - description: name of the StorageVersion + - description: name of the PriorityLevelConfiguration in: path name: name required: true @@ -53964,49 +53842,49 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersion' + $ref: '#/components/schemas/v1.PriorityLevelConfiguration' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersion' + $ref: '#/components/schemas/v1.PriorityLevelConfiguration' application/yaml: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersion' + $ref: '#/components/schemas/v1.PriorityLevelConfiguration' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersion' + $ref: '#/components/schemas/v1.PriorityLevelConfiguration' application/cbor: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersion' + $ref: '#/components/schemas/v1.PriorityLevelConfiguration' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersion' + $ref: '#/components/schemas/v1.PriorityLevelConfiguration' application/yaml: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersion' + $ref: '#/components/schemas/v1.PriorityLevelConfiguration' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersion' + $ref: '#/components/schemas/v1.PriorityLevelConfiguration' application/cbor: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersion' + $ref: '#/components/schemas/v1.PriorityLevelConfiguration' description: Created "401": content: {} description: Unauthorized tags: - - internalApiserver_v1alpha1 + - flowcontrolApiserver_v1 x-kubernetes-action: put x-kubernetes-group-version-kind: - group: internal.apiserver.k8s.io - kind: StorageVersion - version: v1alpha1 + group: flowcontrol.apiserver.k8s.io + kind: PriorityLevelConfiguration + version: v1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -54014,12 +53892,12 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/internal.apiserver.k8s.io/v1alpha1/storageversions/{name}/status: + /apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/{name}/status: get: - description: read status of the specified StorageVersion - operationId: readStorageVersionStatus + description: read status of the specified PriorityLevelConfiguration + operationId: readPriorityLevelConfigurationStatus parameters: - - description: name of the StorageVersion + - description: name of the PriorityLevelConfiguration in: path name: name required: true @@ -54037,37 +53915,37 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersion' + $ref: '#/components/schemas/v1.PriorityLevelConfiguration' application/yaml: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersion' + $ref: '#/components/schemas/v1.PriorityLevelConfiguration' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersion' + $ref: '#/components/schemas/v1.PriorityLevelConfiguration' application/cbor: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersion' + $ref: '#/components/schemas/v1.PriorityLevelConfiguration' description: OK "401": content: {} description: Unauthorized tags: - - internalApiserver_v1alpha1 + - flowcontrolApiserver_v1 x-kubernetes-action: get x-kubernetes-group-version-kind: - group: internal.apiserver.k8s.io - kind: StorageVersion - version: v1alpha1 + group: flowcontrol.apiserver.k8s.io + kind: PriorityLevelConfiguration + version: v1 x-accepts: - application/cbor - application/json - application/vnd.kubernetes.protobuf - application/yaml patch: - description: partially update status of the specified StorageVersion - operationId: patchStorageVersionStatus + description: partially update status of the specified PriorityLevelConfiguration + operationId: patchPriorityLevelConfigurationStatus parameters: - - description: name of the StorageVersion + - description: name of the PriorityLevelConfiguration in: path name: name required: true @@ -54132,42 +54010,42 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersion' + $ref: '#/components/schemas/v1.PriorityLevelConfiguration' application/yaml: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersion' + $ref: '#/components/schemas/v1.PriorityLevelConfiguration' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersion' + $ref: '#/components/schemas/v1.PriorityLevelConfiguration' application/cbor: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersion' + $ref: '#/components/schemas/v1.PriorityLevelConfiguration' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersion' + $ref: '#/components/schemas/v1.PriorityLevelConfiguration' application/yaml: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersion' + $ref: '#/components/schemas/v1.PriorityLevelConfiguration' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersion' + $ref: '#/components/schemas/v1.PriorityLevelConfiguration' application/cbor: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersion' + $ref: '#/components/schemas/v1.PriorityLevelConfiguration' description: Created "401": content: {} description: Unauthorized tags: - - internalApiserver_v1alpha1 + - flowcontrolApiserver_v1 x-kubernetes-action: patch x-kubernetes-group-version-kind: - group: internal.apiserver.k8s.io - kind: StorageVersion - version: v1alpha1 + group: flowcontrol.apiserver.k8s.io + kind: PriorityLevelConfiguration + version: v1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -54176,10 +54054,10 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml put: - description: replace status of the specified StorageVersion - operationId: replaceStorageVersionStatus + description: replace status of the specified PriorityLevelConfiguration + operationId: replacePriorityLevelConfigurationStatus parameters: - - description: name of the StorageVersion + - description: name of the PriorityLevelConfiguration in: path name: name required: true @@ -54228,49 +54106,49 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersion' + $ref: '#/components/schemas/v1.PriorityLevelConfiguration' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersion' + $ref: '#/components/schemas/v1.PriorityLevelConfiguration' application/yaml: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersion' + $ref: '#/components/schemas/v1.PriorityLevelConfiguration' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersion' + $ref: '#/components/schemas/v1.PriorityLevelConfiguration' application/cbor: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersion' + $ref: '#/components/schemas/v1.PriorityLevelConfiguration' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersion' + $ref: '#/components/schemas/v1.PriorityLevelConfiguration' application/yaml: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersion' + $ref: '#/components/schemas/v1.PriorityLevelConfiguration' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersion' + $ref: '#/components/schemas/v1.PriorityLevelConfiguration' application/cbor: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersion' + $ref: '#/components/schemas/v1.PriorityLevelConfiguration' description: Created "401": content: {} description: Unauthorized tags: - - internalApiserver_v1alpha1 + - flowcontrolApiserver_v1 x-kubernetes-action: put x-kubernetes-group-version-kind: - group: internal.apiserver.k8s.io - kind: StorageVersion - version: v1alpha1 + group: flowcontrol.apiserver.k8s.io + kind: PriorityLevelConfiguration + version: v1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -54278,9 +54156,11 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/internal.apiserver.k8s.io/v1alpha1/watch/storageversions: {} - /apis/internal.apiserver.k8s.io/v1alpha1/watch/storageversions/{name}: {} - /apis/networking.k8s.io/: + /apis/flowcontrol.apiserver.k8s.io/v1/watch/flowschemas: {} + /apis/flowcontrol.apiserver.k8s.io/v1/watch/flowschemas/{name}: {} + /apis/flowcontrol.apiserver.k8s.io/v1/watch/prioritylevelconfigurations: {} + /apis/flowcontrol.apiserver.k8s.io/v1/watch/prioritylevelconfigurations/{name}: {} + /apis/internal.apiserver.k8s.io/: get: description: get information of a group operationId: getAPIGroup @@ -54301,12 +54181,12 @@ paths: content: {} description: Unauthorized tags: - - networking + - internalApiserver x-accepts: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/networking.k8s.io/v1/: + /apis/internal.apiserver.k8s.io/v1alpha1/: get: description: get available resources operationId: getAPIResources @@ -54330,16 +54210,16 @@ paths: content: {} description: Unauthorized tags: - - networking_v1 + - internalApiserver_v1alpha1 x-accepts: - application/cbor - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/networking.k8s.io/v1/ingressclasses: + /apis/internal.apiserver.k8s.io/v1alpha1/storageversions: delete: - description: delete collection of IngressClass - operationId: deleteCollectionIngressClass + description: delete collection of StorageVersion + operationId: deleteCollectionStorageVersion parameters: - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ @@ -54493,12 +54373,12 @@ paths: content: {} description: Unauthorized tags: - - networking_v1 + - internalApiserver_v1alpha1 x-kubernetes-action: deletecollection x-kubernetes-group-version-kind: - group: networking.k8s.io - kind: IngressClass - version: v1 + group: internal.apiserver.k8s.io + kind: StorageVersion + version: v1alpha1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -54507,8 +54387,8 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml get: - description: list or watch objects of kind IngressClass - operationId: listIngressClass + description: list or watch objects of kind StorageVersion + operationId: listStorageVersion parameters: - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ @@ -54606,36 +54486,36 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.IngressClassList' + $ref: '#/components/schemas/v1alpha1.StorageVersionList' application/yaml: schema: - $ref: '#/components/schemas/v1.IngressClassList' + $ref: '#/components/schemas/v1alpha1.StorageVersionList' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.IngressClassList' + $ref: '#/components/schemas/v1alpha1.StorageVersionList' application/cbor: schema: - $ref: '#/components/schemas/v1.IngressClassList' + $ref: '#/components/schemas/v1alpha1.StorageVersionList' application/json;stream=watch: schema: - $ref: '#/components/schemas/v1.IngressClassList' + $ref: '#/components/schemas/v1alpha1.StorageVersionList' application/vnd.kubernetes.protobuf;stream=watch: schema: - $ref: '#/components/schemas/v1.IngressClassList' + $ref: '#/components/schemas/v1alpha1.StorageVersionList' application/cbor-seq: schema: - $ref: '#/components/schemas/v1.IngressClassList' + $ref: '#/components/schemas/v1alpha1.StorageVersionList' description: OK "401": content: {} description: Unauthorized tags: - - networking_v1 + - internalApiserver_v1alpha1 x-kubernetes-action: list x-kubernetes-group-version-kind: - group: networking.k8s.io - kind: IngressClass - version: v1 + group: internal.apiserver.k8s.io + kind: StorageVersion + version: v1alpha1 x-accepts: - application/cbor - application/cbor-seq @@ -54645,8 +54525,8 @@ paths: - application/vnd.kubernetes.protobuf;stream=watch - application/yaml post: - description: create an IngressClass - operationId: createIngressClass + description: create a StorageVersion + operationId: createStorageVersion parameters: - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ @@ -54691,64 +54571,64 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.IngressClass' + $ref: '#/components/schemas/v1alpha1.StorageVersion' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1.IngressClass' + $ref: '#/components/schemas/v1alpha1.StorageVersion' application/yaml: schema: - $ref: '#/components/schemas/v1.IngressClass' + $ref: '#/components/schemas/v1alpha1.StorageVersion' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.IngressClass' + $ref: '#/components/schemas/v1alpha1.StorageVersion' application/cbor: schema: - $ref: '#/components/schemas/v1.IngressClass' + $ref: '#/components/schemas/v1alpha1.StorageVersion' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1.IngressClass' + $ref: '#/components/schemas/v1alpha1.StorageVersion' application/yaml: schema: - $ref: '#/components/schemas/v1.IngressClass' + $ref: '#/components/schemas/v1alpha1.StorageVersion' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.IngressClass' + $ref: '#/components/schemas/v1alpha1.StorageVersion' application/cbor: schema: - $ref: '#/components/schemas/v1.IngressClass' + $ref: '#/components/schemas/v1alpha1.StorageVersion' description: Created "202": content: application/json: schema: - $ref: '#/components/schemas/v1.IngressClass' + $ref: '#/components/schemas/v1alpha1.StorageVersion' application/yaml: schema: - $ref: '#/components/schemas/v1.IngressClass' + $ref: '#/components/schemas/v1alpha1.StorageVersion' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.IngressClass' + $ref: '#/components/schemas/v1alpha1.StorageVersion' application/cbor: schema: - $ref: '#/components/schemas/v1.IngressClass' + $ref: '#/components/schemas/v1alpha1.StorageVersion' description: Accepted "401": content: {} description: Unauthorized tags: - - networking_v1 + - internalApiserver_v1alpha1 x-kubernetes-action: post x-kubernetes-group-version-kind: - group: networking.k8s.io - kind: IngressClass - version: v1 + group: internal.apiserver.k8s.io + kind: StorageVersion + version: v1alpha1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -54756,12 +54636,12 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/networking.k8s.io/v1/ingressclasses/{name}: + /apis/internal.apiserver.k8s.io/v1alpha1/storageversions/{name}: delete: - description: delete an IngressClass - operationId: deleteIngressClass + description: delete a StorageVersion + operationId: deleteStorageVersion parameters: - - description: name of the IngressClass + - description: name of the StorageVersion in: path name: name required: true @@ -54866,12 +54746,12 @@ paths: content: {} description: Unauthorized tags: - - networking_v1 + - internalApiserver_v1alpha1 x-kubernetes-action: delete x-kubernetes-group-version-kind: - group: networking.k8s.io - kind: IngressClass - version: v1 + group: internal.apiserver.k8s.io + kind: StorageVersion + version: v1alpha1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -54880,10 +54760,10 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml get: - description: read the specified IngressClass - operationId: readIngressClass + description: read the specified StorageVersion + operationId: readStorageVersion parameters: - - description: name of the IngressClass + - description: name of the StorageVersion in: path name: name required: true @@ -54901,37 +54781,37 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.IngressClass' + $ref: '#/components/schemas/v1alpha1.StorageVersion' application/yaml: schema: - $ref: '#/components/schemas/v1.IngressClass' + $ref: '#/components/schemas/v1alpha1.StorageVersion' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.IngressClass' + $ref: '#/components/schemas/v1alpha1.StorageVersion' application/cbor: schema: - $ref: '#/components/schemas/v1.IngressClass' + $ref: '#/components/schemas/v1alpha1.StorageVersion' description: OK "401": content: {} description: Unauthorized tags: - - networking_v1 + - internalApiserver_v1alpha1 x-kubernetes-action: get x-kubernetes-group-version-kind: - group: networking.k8s.io - kind: IngressClass - version: v1 + group: internal.apiserver.k8s.io + kind: StorageVersion + version: v1alpha1 x-accepts: - application/cbor - application/json - application/vnd.kubernetes.protobuf - application/yaml patch: - description: partially update the specified IngressClass - operationId: patchIngressClass + description: partially update the specified StorageVersion + operationId: patchStorageVersion parameters: - - description: name of the IngressClass + - description: name of the StorageVersion in: path name: name required: true @@ -54996,42 +54876,42 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.IngressClass' + $ref: '#/components/schemas/v1alpha1.StorageVersion' application/yaml: schema: - $ref: '#/components/schemas/v1.IngressClass' + $ref: '#/components/schemas/v1alpha1.StorageVersion' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.IngressClass' + $ref: '#/components/schemas/v1alpha1.StorageVersion' application/cbor: schema: - $ref: '#/components/schemas/v1.IngressClass' + $ref: '#/components/schemas/v1alpha1.StorageVersion' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1.IngressClass' + $ref: '#/components/schemas/v1alpha1.StorageVersion' application/yaml: schema: - $ref: '#/components/schemas/v1.IngressClass' + $ref: '#/components/schemas/v1alpha1.StorageVersion' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.IngressClass' + $ref: '#/components/schemas/v1alpha1.StorageVersion' application/cbor: schema: - $ref: '#/components/schemas/v1.IngressClass' + $ref: '#/components/schemas/v1alpha1.StorageVersion' description: Created "401": content: {} description: Unauthorized tags: - - networking_v1 + - internalApiserver_v1alpha1 x-kubernetes-action: patch x-kubernetes-group-version-kind: - group: networking.k8s.io - kind: IngressClass - version: v1 + group: internal.apiserver.k8s.io + kind: StorageVersion + version: v1alpha1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -55040,10 +54920,10 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml put: - description: replace the specified IngressClass - operationId: replaceIngressClass + description: replace the specified StorageVersion + operationId: replaceStorageVersion parameters: - - description: name of the IngressClass + - description: name of the StorageVersion in: path name: name required: true @@ -55092,49 +54972,49 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.IngressClass' + $ref: '#/components/schemas/v1alpha1.StorageVersion' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1.IngressClass' + $ref: '#/components/schemas/v1alpha1.StorageVersion' application/yaml: schema: - $ref: '#/components/schemas/v1.IngressClass' + $ref: '#/components/schemas/v1alpha1.StorageVersion' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.IngressClass' + $ref: '#/components/schemas/v1alpha1.StorageVersion' application/cbor: schema: - $ref: '#/components/schemas/v1.IngressClass' + $ref: '#/components/schemas/v1alpha1.StorageVersion' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1.IngressClass' + $ref: '#/components/schemas/v1alpha1.StorageVersion' application/yaml: schema: - $ref: '#/components/schemas/v1.IngressClass' + $ref: '#/components/schemas/v1alpha1.StorageVersion' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.IngressClass' + $ref: '#/components/schemas/v1alpha1.StorageVersion' application/cbor: schema: - $ref: '#/components/schemas/v1.IngressClass' + $ref: '#/components/schemas/v1alpha1.StorageVersion' description: Created "401": content: {} description: Unauthorized tags: - - networking_v1 + - internalApiserver_v1alpha1 x-kubernetes-action: put x-kubernetes-group-version-kind: - group: networking.k8s.io - kind: IngressClass - version: v1 + group: internal.apiserver.k8s.io + kind: StorageVersion + version: v1alpha1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -55142,49 +55022,177 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/networking.k8s.io/v1/ingresses: + /apis/internal.apiserver.k8s.io/v1alpha1/storageversions/{name}/status: get: - description: list or watch objects of kind Ingress - operationId: listIngressForAllNamespaces + description: read status of the specified StorageVersion + operationId: readStorageVersionStatus parameters: - - description: "allowWatchBookmarks requests watch events with type \"BOOKMARK\"\ - . Servers that do not implement bookmarks may ignore this flag and bookmarks\ - \ are sent at the server's discretion. Clients should not assume bookmarks\ - \ are returned at any specific interval, nor may they assume the server\ - \ will send any BOOKMARK event during a session. If this is not a watch,\ - \ this field is ignored." + - description: name of the StorageVersion + in: path + name: name + required: true + schema: + type: string + - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ + \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ + \ and wget)." in: query - name: allowWatchBookmarks + name: pretty schema: - type: boolean - - description: |- - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". - - This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + type: string + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/v1alpha1.StorageVersion' + application/yaml: + schema: + $ref: '#/components/schemas/v1alpha1.StorageVersion' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1alpha1.StorageVersion' + application/cbor: + schema: + $ref: '#/components/schemas/v1alpha1.StorageVersion' + description: OK + "401": + content: {} + description: Unauthorized + tags: + - internalApiserver_v1alpha1 + x-kubernetes-action: get + x-kubernetes-group-version-kind: + group: internal.apiserver.k8s.io + kind: StorageVersion + version: v1alpha1 + x-accepts: + - application/cbor + - application/json + - application/vnd.kubernetes.protobuf + - application/yaml + patch: + description: partially update status of the specified StorageVersion + operationId: patchStorageVersionStatus + parameters: + - description: name of the StorageVersion + in: path + name: name + required: true + schema: + type: string + - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ + \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ + \ and wget)." in: query - name: continue + name: pretty schema: type: string - - description: A selector to restrict the list of returned objects by their - fields. Defaults to everything. + - description: "When present, indicates that modifications should not be persisted.\ + \ An invalid or unrecognized dryRun directive will result in an error response\ + \ and no further processing of the request. Valid values are: - All: all\ + \ dry run stages will be processed" in: query - name: fieldSelector + name: dryRun schema: type: string - - description: A selector to restrict the list of returned objects by their - labels. Defaults to everything. + - description: "fieldManager is a name associated with the actor or entity that\ + \ is making these changes. The value must be less than or 128 characters\ + \ long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.\ + \ This field is required for apply requests (application/apply-patch) but\ + \ optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch)." in: query - name: labelSelector + name: fieldManager schema: type: string - - description: |- - limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. - - The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + - description: "fieldValidation instructs the server on how to handle objects\ + \ in the request (POST/PUT/PATCH) containing unknown or duplicate fields.\ + \ Valid values are: - Ignore: This will ignore any unknown fields that are\ + \ silently dropped from the object, and will ignore all but the last duplicate\ + \ field that the decoder encounters. This is the default behavior prior\ + \ to v1.23. - Warn: This will send a warning via the standard warning response\ + \ header for each unknown field that is dropped from the object, and for\ + \ each duplicate field that is encountered. The request will still succeed\ + \ if there are no other errors, and will only persist the last of any duplicate\ + \ fields. This is the default in v1.23+ - Strict: This will fail the request\ + \ with a BadRequest error if any unknown fields would be dropped from the\ + \ object, or if any duplicate fields are present. The error returned from\ + \ the server will contain all unknown and duplicate fields encountered." in: query - name: limit + name: fieldValidation schema: - type: integer + type: string + - description: Force is going to "force" Apply requests. It means user will + re-acquire conflicting fields owned by other people. Force flag must be + unset for non-apply patch requests. + in: query + name: force + schema: + type: boolean + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/v1.Patch' + required: true + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/v1alpha1.StorageVersion' + application/yaml: + schema: + $ref: '#/components/schemas/v1alpha1.StorageVersion' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1alpha1.StorageVersion' + application/cbor: + schema: + $ref: '#/components/schemas/v1alpha1.StorageVersion' + description: OK + "201": + content: + application/json: + schema: + $ref: '#/components/schemas/v1alpha1.StorageVersion' + application/yaml: + schema: + $ref: '#/components/schemas/v1alpha1.StorageVersion' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1alpha1.StorageVersion' + application/cbor: + schema: + $ref: '#/components/schemas/v1alpha1.StorageVersion' + description: Created + "401": + content: {} + description: Unauthorized + tags: + - internalApiserver_v1alpha1 + x-kubernetes-action: patch + x-kubernetes-group-version-kind: + group: internal.apiserver.k8s.io + kind: StorageVersion + version: v1alpha1 + x-codegen-request-body-name: body + x-content-type: application/json + x-accepts: + - application/cbor + - application/json + - application/vnd.kubernetes.protobuf + - application/yaml + put: + description: replace status of the specified StorageVersion + operationId: replaceStorageVersionStatus + parameters: + - description: name of the StorageVersion + in: path + name: name + required: true + schema: + type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -55192,99 +55200,154 @@ paths: name: pretty schema: type: string - - description: |- - resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. - - Defaults to unset + - description: "When present, indicates that modifications should not be persisted.\ + \ An invalid or unrecognized dryRun directive will result in an error response\ + \ and no further processing of the request. Valid values are: - All: all\ + \ dry run stages will be processed" in: query - name: resourceVersion + name: dryRun schema: type: string - - description: |- - resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. - - Defaults to unset + - description: "fieldManager is a name associated with the actor or entity that\ + \ is making these changes. The value must be less than or 128 characters\ + \ long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint." in: query - name: resourceVersionMatch + name: fieldManager schema: type: string - - description: |- - `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic "Bookmark" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. - - When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan - is interpreted as "data at least as new as the provided `resourceVersion`" - and the bookmark event is send when the state is synced - to a `resourceVersion` at least as fresh as the one provided by the ListOptions. - If `resourceVersion` is unset, this is interpreted as "consistent read" and the - bookmark event is send when the state is synced at least to the moment - when request started being processed. - - `resourceVersionMatch` set to any other value or unset - Invalid error is returned. - - Defaults to true if `resourceVersion=""` or `resourceVersion="0"` (for backward compatibility reasons) and to false otherwise. - in: query - name: sendInitialEvents - schema: - type: boolean - - description: "Timeout for the list/watch call. This limits the duration of\ - \ the call, regardless of any activity or inactivity." - in: query - name: timeoutSeconds - schema: - type: integer - - description: "Watch for changes to the described resources and return them\ - \ as a stream of add, update, and remove notifications. Specify resourceVersion." + - description: "fieldValidation instructs the server on how to handle objects\ + \ in the request (POST/PUT/PATCH) containing unknown or duplicate fields.\ + \ Valid values are: - Ignore: This will ignore any unknown fields that are\ + \ silently dropped from the object, and will ignore all but the last duplicate\ + \ field that the decoder encounters. This is the default behavior prior\ + \ to v1.23. - Warn: This will send a warning via the standard warning response\ + \ header for each unknown field that is dropped from the object, and for\ + \ each duplicate field that is encountered. The request will still succeed\ + \ if there are no other errors, and will only persist the last of any duplicate\ + \ fields. This is the default in v1.23+ - Strict: This will fail the request\ + \ with a BadRequest error if any unknown fields would be dropped from the\ + \ object, or if any duplicate fields are present. The error returned from\ + \ the server will contain all unknown and duplicate fields encountered." in: query - name: watch + name: fieldValidation schema: - type: boolean + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/v1alpha1.StorageVersion' + required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1.IngressList' + $ref: '#/components/schemas/v1alpha1.StorageVersion' application/yaml: schema: - $ref: '#/components/schemas/v1.IngressList' + $ref: '#/components/schemas/v1alpha1.StorageVersion' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.IngressList' + $ref: '#/components/schemas/v1alpha1.StorageVersion' application/cbor: schema: - $ref: '#/components/schemas/v1.IngressList' - application/json;stream=watch: + $ref: '#/components/schemas/v1alpha1.StorageVersion' + description: OK + "201": + content: + application/json: schema: - $ref: '#/components/schemas/v1.IngressList' - application/vnd.kubernetes.protobuf;stream=watch: + $ref: '#/components/schemas/v1alpha1.StorageVersion' + application/yaml: schema: - $ref: '#/components/schemas/v1.IngressList' - application/cbor-seq: + $ref: '#/components/schemas/v1alpha1.StorageVersion' + application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.IngressList' + $ref: '#/components/schemas/v1alpha1.StorageVersion' + application/cbor: + schema: + $ref: '#/components/schemas/v1alpha1.StorageVersion' + description: Created + "401": + content: {} + description: Unauthorized + tags: + - internalApiserver_v1alpha1 + x-kubernetes-action: put + x-kubernetes-group-version-kind: + group: internal.apiserver.k8s.io + kind: StorageVersion + version: v1alpha1 + x-codegen-request-body-name: body + x-content-type: application/json + x-accepts: + - application/cbor + - application/json + - application/vnd.kubernetes.protobuf + - application/yaml + /apis/internal.apiserver.k8s.io/v1alpha1/watch/storageversions: {} + /apis/internal.apiserver.k8s.io/v1alpha1/watch/storageversions/{name}: {} + /apis/networking.k8s.io/: + get: + description: get information of a group + operationId: getAPIGroup + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/v1.APIGroup' + application/yaml: + schema: + $ref: '#/components/schemas/v1.APIGroup' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1.APIGroup' + description: OK + "401": + content: {} + description: Unauthorized + tags: + - networking + x-accepts: + - application/json + - application/vnd.kubernetes.protobuf + - application/yaml + /apis/networking.k8s.io/v1/: + get: + description: get available resources + operationId: getAPIResources + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/v1.APIResourceList' + application/yaml: + schema: + $ref: '#/components/schemas/v1.APIResourceList' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1.APIResourceList' + application/cbor: + schema: + $ref: '#/components/schemas/v1.APIResourceList' description: OK "401": content: {} description: Unauthorized tags: - networking_v1 - x-kubernetes-action: list - x-kubernetes-group-version-kind: - group: networking.k8s.io - kind: Ingress - version: v1 x-accepts: - application/cbor - - application/cbor-seq - application/json - - application/json;stream=watch - application/vnd.kubernetes.protobuf - - application/vnd.kubernetes.protobuf;stream=watch - application/yaml - /apis/networking.k8s.io/v1/ipaddresses: + /apis/networking.k8s.io/v1/ingressclasses: delete: - description: delete collection of IPAddress - operationId: deleteCollectionIPAddress + description: delete collection of IngressClass + operationId: deleteCollectionIngressClass parameters: - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ @@ -55442,7 +55505,7 @@ paths: x-kubernetes-action: deletecollection x-kubernetes-group-version-kind: group: networking.k8s.io - kind: IPAddress + kind: IngressClass version: v1 x-codegen-request-body-name: body x-content-type: application/json @@ -55452,8 +55515,8 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml get: - description: list or watch objects of kind IPAddress - operationId: listIPAddress + description: list or watch objects of kind IngressClass + operationId: listIngressClass parameters: - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ @@ -55551,25 +55614,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.IPAddressList' + $ref: '#/components/schemas/v1.IngressClassList' application/yaml: schema: - $ref: '#/components/schemas/v1.IPAddressList' + $ref: '#/components/schemas/v1.IngressClassList' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.IPAddressList' + $ref: '#/components/schemas/v1.IngressClassList' application/cbor: schema: - $ref: '#/components/schemas/v1.IPAddressList' + $ref: '#/components/schemas/v1.IngressClassList' application/json;stream=watch: schema: - $ref: '#/components/schemas/v1.IPAddressList' + $ref: '#/components/schemas/v1.IngressClassList' application/vnd.kubernetes.protobuf;stream=watch: schema: - $ref: '#/components/schemas/v1.IPAddressList' + $ref: '#/components/schemas/v1.IngressClassList' application/cbor-seq: schema: - $ref: '#/components/schemas/v1.IPAddressList' + $ref: '#/components/schemas/v1.IngressClassList' description: OK "401": content: {} @@ -55579,7 +55642,7 @@ paths: x-kubernetes-action: list x-kubernetes-group-version-kind: group: networking.k8s.io - kind: IPAddress + kind: IngressClass version: v1 x-accepts: - application/cbor @@ -55590,8 +55653,8 @@ paths: - application/vnd.kubernetes.protobuf;stream=watch - application/yaml post: - description: create an IPAddress - operationId: createIPAddress + description: create an IngressClass + operationId: createIngressClass parameters: - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ @@ -55636,53 +55699,53 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.IPAddress' + $ref: '#/components/schemas/v1.IngressClass' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1.IPAddress' + $ref: '#/components/schemas/v1.IngressClass' application/yaml: schema: - $ref: '#/components/schemas/v1.IPAddress' + $ref: '#/components/schemas/v1.IngressClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.IPAddress' + $ref: '#/components/schemas/v1.IngressClass' application/cbor: schema: - $ref: '#/components/schemas/v1.IPAddress' + $ref: '#/components/schemas/v1.IngressClass' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1.IPAddress' + $ref: '#/components/schemas/v1.IngressClass' application/yaml: schema: - $ref: '#/components/schemas/v1.IPAddress' + $ref: '#/components/schemas/v1.IngressClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.IPAddress' + $ref: '#/components/schemas/v1.IngressClass' application/cbor: schema: - $ref: '#/components/schemas/v1.IPAddress' + $ref: '#/components/schemas/v1.IngressClass' description: Created "202": content: application/json: schema: - $ref: '#/components/schemas/v1.IPAddress' + $ref: '#/components/schemas/v1.IngressClass' application/yaml: schema: - $ref: '#/components/schemas/v1.IPAddress' + $ref: '#/components/schemas/v1.IngressClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.IPAddress' + $ref: '#/components/schemas/v1.IngressClass' application/cbor: schema: - $ref: '#/components/schemas/v1.IPAddress' + $ref: '#/components/schemas/v1.IngressClass' description: Accepted "401": content: {} @@ -55692,7 +55755,7 @@ paths: x-kubernetes-action: post x-kubernetes-group-version-kind: group: networking.k8s.io - kind: IPAddress + kind: IngressClass version: v1 x-codegen-request-body-name: body x-content-type: application/json @@ -55701,12 +55764,12 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/networking.k8s.io/v1/ipaddresses/{name}: + /apis/networking.k8s.io/v1/ingressclasses/{name}: delete: - description: delete an IPAddress - operationId: deleteIPAddress + description: delete an IngressClass + operationId: deleteIngressClass parameters: - - description: name of the IPAddress + - description: name of the IngressClass in: path name: name required: true @@ -55815,7 +55878,7 @@ paths: x-kubernetes-action: delete x-kubernetes-group-version-kind: group: networking.k8s.io - kind: IPAddress + kind: IngressClass version: v1 x-codegen-request-body-name: body x-content-type: application/json @@ -55825,10 +55888,10 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml get: - description: read the specified IPAddress - operationId: readIPAddress + description: read the specified IngressClass + operationId: readIngressClass parameters: - - description: name of the IPAddress + - description: name of the IngressClass in: path name: name required: true @@ -55846,16 +55909,16 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.IPAddress' + $ref: '#/components/schemas/v1.IngressClass' application/yaml: schema: - $ref: '#/components/schemas/v1.IPAddress' + $ref: '#/components/schemas/v1.IngressClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.IPAddress' + $ref: '#/components/schemas/v1.IngressClass' application/cbor: schema: - $ref: '#/components/schemas/v1.IPAddress' + $ref: '#/components/schemas/v1.IngressClass' description: OK "401": content: {} @@ -55865,7 +55928,7 @@ paths: x-kubernetes-action: get x-kubernetes-group-version-kind: group: networking.k8s.io - kind: IPAddress + kind: IngressClass version: v1 x-accepts: - application/cbor @@ -55873,10 +55936,10 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml patch: - description: partially update the specified IPAddress - operationId: patchIPAddress + description: partially update the specified IngressClass + operationId: patchIngressClass parameters: - - description: name of the IPAddress + - description: name of the IngressClass in: path name: name required: true @@ -55941,31 +56004,31 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.IPAddress' + $ref: '#/components/schemas/v1.IngressClass' application/yaml: schema: - $ref: '#/components/schemas/v1.IPAddress' + $ref: '#/components/schemas/v1.IngressClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.IPAddress' + $ref: '#/components/schemas/v1.IngressClass' application/cbor: schema: - $ref: '#/components/schemas/v1.IPAddress' + $ref: '#/components/schemas/v1.IngressClass' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1.IPAddress' + $ref: '#/components/schemas/v1.IngressClass' application/yaml: schema: - $ref: '#/components/schemas/v1.IPAddress' + $ref: '#/components/schemas/v1.IngressClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.IPAddress' + $ref: '#/components/schemas/v1.IngressClass' application/cbor: schema: - $ref: '#/components/schemas/v1.IPAddress' + $ref: '#/components/schemas/v1.IngressClass' description: Created "401": content: {} @@ -55975,7 +56038,7 @@ paths: x-kubernetes-action: patch x-kubernetes-group-version-kind: group: networking.k8s.io - kind: IPAddress + kind: IngressClass version: v1 x-codegen-request-body-name: body x-content-type: application/json @@ -55985,10 +56048,10 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml put: - description: replace the specified IPAddress - operationId: replaceIPAddress + description: replace the specified IngressClass + operationId: replaceIngressClass parameters: - - description: name of the IPAddress + - description: name of the IngressClass in: path name: name required: true @@ -56037,38 +56100,38 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.IPAddress' + $ref: '#/components/schemas/v1.IngressClass' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1.IPAddress' + $ref: '#/components/schemas/v1.IngressClass' application/yaml: schema: - $ref: '#/components/schemas/v1.IPAddress' + $ref: '#/components/schemas/v1.IngressClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.IPAddress' + $ref: '#/components/schemas/v1.IngressClass' application/cbor: schema: - $ref: '#/components/schemas/v1.IPAddress' + $ref: '#/components/schemas/v1.IngressClass' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1.IPAddress' + $ref: '#/components/schemas/v1.IngressClass' application/yaml: schema: - $ref: '#/components/schemas/v1.IPAddress' + $ref: '#/components/schemas/v1.IngressClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.IPAddress' + $ref: '#/components/schemas/v1.IngressClass' application/cbor: schema: - $ref: '#/components/schemas/v1.IPAddress' + $ref: '#/components/schemas/v1.IngressClass' description: Created "401": content: {} @@ -56078,7 +56141,7 @@ paths: x-kubernetes-action: put x-kubernetes-group-version-kind: group: networking.k8s.io - kind: IPAddress + kind: IngressClass version: v1 x-codegen-request-body-name: body x-content-type: application/json @@ -56087,17 +56150,150 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses: - delete: - description: delete collection of Ingress - operationId: deleteCollectionNamespacedIngress + /apis/networking.k8s.io/v1/ingresses: + get: + description: list or watch objects of kind Ingress + operationId: listIngressForAllNamespaces parameters: - - description: "object name and auth scope, such as for teams and projects" - in: path - name: namespace - required: true + - description: "allowWatchBookmarks requests watch events with type \"BOOKMARK\"\ + . Servers that do not implement bookmarks may ignore this flag and bookmarks\ + \ are sent at the server's discretion. Clients should not assume bookmarks\ + \ are returned at any specific interval, nor may they assume the server\ + \ will send any BOOKMARK event during a session. If this is not a watch,\ + \ this field is ignored." + in: query + name: allowWatchBookmarks + schema: + type: boolean + - description: |- + The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + + This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + in: query + name: continue + schema: + type: string + - description: A selector to restrict the list of returned objects by their + fields. Defaults to everything. + in: query + name: fieldSelector schema: type: string + - description: A selector to restrict the list of returned objects by their + labels. Defaults to everything. + in: query + name: labelSelector + schema: + type: string + - description: |- + limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. + + The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + in: query + name: limit + schema: + type: integer + - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ + \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ + \ and wget)." + in: query + name: pretty + schema: + type: string + - description: |- + resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. + + Defaults to unset + in: query + name: resourceVersion + schema: + type: string + - description: |- + resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. + + Defaults to unset + in: query + name: resourceVersionMatch + schema: + type: string + - description: |- + `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic "Bookmark" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. + + When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan + is interpreted as "data at least as new as the provided `resourceVersion`" + and the bookmark event is send when the state is synced + to a `resourceVersion` at least as fresh as the one provided by the ListOptions. + If `resourceVersion` is unset, this is interpreted as "consistent read" and the + bookmark event is send when the state is synced at least to the moment + when request started being processed. + - `resourceVersionMatch` set to any other value or unset + Invalid error is returned. + + Defaults to true if `resourceVersion=""` or `resourceVersion="0"` (for backward compatibility reasons) and to false otherwise. + in: query + name: sendInitialEvents + schema: + type: boolean + - description: "Timeout for the list/watch call. This limits the duration of\ + \ the call, regardless of any activity or inactivity." + in: query + name: timeoutSeconds + schema: + type: integer + - description: "Watch for changes to the described resources and return them\ + \ as a stream of add, update, and remove notifications. Specify resourceVersion." + in: query + name: watch + schema: + type: boolean + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/v1.IngressList' + application/yaml: + schema: + $ref: '#/components/schemas/v1.IngressList' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1.IngressList' + application/cbor: + schema: + $ref: '#/components/schemas/v1.IngressList' + application/json;stream=watch: + schema: + $ref: '#/components/schemas/v1.IngressList' + application/vnd.kubernetes.protobuf;stream=watch: + schema: + $ref: '#/components/schemas/v1.IngressList' + application/cbor-seq: + schema: + $ref: '#/components/schemas/v1.IngressList' + description: OK + "401": + content: {} + description: Unauthorized + tags: + - networking_v1 + x-kubernetes-action: list + x-kubernetes-group-version-kind: + group: networking.k8s.io + kind: Ingress + version: v1 + x-accepts: + - application/cbor + - application/cbor-seq + - application/json + - application/json;stream=watch + - application/vnd.kubernetes.protobuf + - application/vnd.kubernetes.protobuf;stream=watch + - application/yaml + /apis/networking.k8s.io/v1/ipaddresses: + delete: + description: delete collection of IPAddress + operationId: deleteCollectionIPAddress + parameters: - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -56254,7 +56450,7 @@ paths: x-kubernetes-action: deletecollection x-kubernetes-group-version-kind: group: networking.k8s.io - kind: Ingress + kind: IPAddress version: v1 x-codegen-request-body-name: body x-content-type: application/json @@ -56264,15 +56460,9 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml get: - description: list or watch objects of kind Ingress - operationId: listNamespacedIngress + description: list or watch objects of kind IPAddress + operationId: listIPAddress parameters: - - description: "object name and auth scope, such as for teams and projects" - in: path - name: namespace - required: true - schema: - type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -56369,25 +56559,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.IngressList' + $ref: '#/components/schemas/v1.IPAddressList' application/yaml: schema: - $ref: '#/components/schemas/v1.IngressList' + $ref: '#/components/schemas/v1.IPAddressList' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.IngressList' + $ref: '#/components/schemas/v1.IPAddressList' application/cbor: schema: - $ref: '#/components/schemas/v1.IngressList' + $ref: '#/components/schemas/v1.IPAddressList' application/json;stream=watch: schema: - $ref: '#/components/schemas/v1.IngressList' + $ref: '#/components/schemas/v1.IPAddressList' application/vnd.kubernetes.protobuf;stream=watch: schema: - $ref: '#/components/schemas/v1.IngressList' + $ref: '#/components/schemas/v1.IPAddressList' application/cbor-seq: schema: - $ref: '#/components/schemas/v1.IngressList' + $ref: '#/components/schemas/v1.IPAddressList' description: OK "401": content: {} @@ -56397,7 +56587,7 @@ paths: x-kubernetes-action: list x-kubernetes-group-version-kind: group: networking.k8s.io - kind: Ingress + kind: IPAddress version: v1 x-accepts: - application/cbor @@ -56408,15 +56598,9 @@ paths: - application/vnd.kubernetes.protobuf;stream=watch - application/yaml post: - description: create an Ingress - operationId: createNamespacedIngress + description: create an IPAddress + operationId: createIPAddress parameters: - - description: "object name and auth scope, such as for teams and projects" - in: path - name: namespace - required: true - schema: - type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -56460,53 +56644,53 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.Ingress' + $ref: '#/components/schemas/v1.IPAddress' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1.Ingress' + $ref: '#/components/schemas/v1.IPAddress' application/yaml: schema: - $ref: '#/components/schemas/v1.Ingress' + $ref: '#/components/schemas/v1.IPAddress' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.Ingress' + $ref: '#/components/schemas/v1.IPAddress' application/cbor: schema: - $ref: '#/components/schemas/v1.Ingress' + $ref: '#/components/schemas/v1.IPAddress' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1.Ingress' + $ref: '#/components/schemas/v1.IPAddress' application/yaml: schema: - $ref: '#/components/schemas/v1.Ingress' + $ref: '#/components/schemas/v1.IPAddress' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.Ingress' + $ref: '#/components/schemas/v1.IPAddress' application/cbor: schema: - $ref: '#/components/schemas/v1.Ingress' + $ref: '#/components/schemas/v1.IPAddress' description: Created "202": content: application/json: schema: - $ref: '#/components/schemas/v1.Ingress' + $ref: '#/components/schemas/v1.IPAddress' application/yaml: schema: - $ref: '#/components/schemas/v1.Ingress' + $ref: '#/components/schemas/v1.IPAddress' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.Ingress' + $ref: '#/components/schemas/v1.IPAddress' application/cbor: schema: - $ref: '#/components/schemas/v1.Ingress' + $ref: '#/components/schemas/v1.IPAddress' description: Accepted "401": content: {} @@ -56516,7 +56700,7 @@ paths: x-kubernetes-action: post x-kubernetes-group-version-kind: group: networking.k8s.io - kind: Ingress + kind: IPAddress version: v1 x-codegen-request-body-name: body x-content-type: application/json @@ -56525,23 +56709,17 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}: + /apis/networking.k8s.io/v1/ipaddresses/{name}: delete: - description: delete an Ingress - operationId: deleteNamespacedIngress + description: delete an IPAddress + operationId: deleteIPAddress parameters: - - description: name of the Ingress + - description: name of the IPAddress in: path name: name required: true schema: type: string - - description: "object name and auth scope, such as for teams and projects" - in: path - name: namespace - required: true - schema: - type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -56645,288 +56823,7 @@ paths: x-kubernetes-action: delete x-kubernetes-group-version-kind: group: networking.k8s.io - kind: Ingress - version: v1 - x-codegen-request-body-name: body - x-content-type: application/json - x-accepts: - - application/cbor - - application/json - - application/vnd.kubernetes.protobuf - - application/yaml - get: - description: read the specified Ingress - operationId: readNamespacedIngress - parameters: - - description: name of the Ingress - in: path - name: name - required: true - schema: - type: string - - description: "object name and auth scope, such as for teams and projects" - in: path - name: namespace - required: true - schema: - type: string - - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ - \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ - \ and wget)." - in: query - name: pretty - schema: - type: string - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/v1.Ingress' - application/yaml: - schema: - $ref: '#/components/schemas/v1.Ingress' - application/vnd.kubernetes.protobuf: - schema: - $ref: '#/components/schemas/v1.Ingress' - application/cbor: - schema: - $ref: '#/components/schemas/v1.Ingress' - description: OK - "401": - content: {} - description: Unauthorized - tags: - - networking_v1 - x-kubernetes-action: get - x-kubernetes-group-version-kind: - group: networking.k8s.io - kind: Ingress - version: v1 - x-accepts: - - application/cbor - - application/json - - application/vnd.kubernetes.protobuf - - application/yaml - patch: - description: partially update the specified Ingress - operationId: patchNamespacedIngress - parameters: - - description: name of the Ingress - in: path - name: name - required: true - schema: - type: string - - description: "object name and auth scope, such as for teams and projects" - in: path - name: namespace - required: true - schema: - type: string - - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ - \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ - \ and wget)." - in: query - name: pretty - schema: - type: string - - description: "When present, indicates that modifications should not be persisted.\ - \ An invalid or unrecognized dryRun directive will result in an error response\ - \ and no further processing of the request. Valid values are: - All: all\ - \ dry run stages will be processed" - in: query - name: dryRun - schema: - type: string - - description: "fieldManager is a name associated with the actor or entity that\ - \ is making these changes. The value must be less than or 128 characters\ - \ long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.\ - \ This field is required for apply requests (application/apply-patch) but\ - \ optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch)." - in: query - name: fieldManager - schema: - type: string - - description: "fieldValidation instructs the server on how to handle objects\ - \ in the request (POST/PUT/PATCH) containing unknown or duplicate fields.\ - \ Valid values are: - Ignore: This will ignore any unknown fields that are\ - \ silently dropped from the object, and will ignore all but the last duplicate\ - \ field that the decoder encounters. This is the default behavior prior\ - \ to v1.23. - Warn: This will send a warning via the standard warning response\ - \ header for each unknown field that is dropped from the object, and for\ - \ each duplicate field that is encountered. The request will still succeed\ - \ if there are no other errors, and will only persist the last of any duplicate\ - \ fields. This is the default in v1.23+ - Strict: This will fail the request\ - \ with a BadRequest error if any unknown fields would be dropped from the\ - \ object, or if any duplicate fields are present. The error returned from\ - \ the server will contain all unknown and duplicate fields encountered." - in: query - name: fieldValidation - schema: - type: string - - description: Force is going to "force" Apply requests. It means user will - re-acquire conflicting fields owned by other people. Force flag must be - unset for non-apply patch requests. - in: query - name: force - schema: - type: boolean - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/v1.Patch' - required: true - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/v1.Ingress' - application/yaml: - schema: - $ref: '#/components/schemas/v1.Ingress' - application/vnd.kubernetes.protobuf: - schema: - $ref: '#/components/schemas/v1.Ingress' - application/cbor: - schema: - $ref: '#/components/schemas/v1.Ingress' - description: OK - "201": - content: - application/json: - schema: - $ref: '#/components/schemas/v1.Ingress' - application/yaml: - schema: - $ref: '#/components/schemas/v1.Ingress' - application/vnd.kubernetes.protobuf: - schema: - $ref: '#/components/schemas/v1.Ingress' - application/cbor: - schema: - $ref: '#/components/schemas/v1.Ingress' - description: Created - "401": - content: {} - description: Unauthorized - tags: - - networking_v1 - x-kubernetes-action: patch - x-kubernetes-group-version-kind: - group: networking.k8s.io - kind: Ingress - version: v1 - x-codegen-request-body-name: body - x-content-type: application/json - x-accepts: - - application/cbor - - application/json - - application/vnd.kubernetes.protobuf - - application/yaml - put: - description: replace the specified Ingress - operationId: replaceNamespacedIngress - parameters: - - description: name of the Ingress - in: path - name: name - required: true - schema: - type: string - - description: "object name and auth scope, such as for teams and projects" - in: path - name: namespace - required: true - schema: - type: string - - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ - \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ - \ and wget)." - in: query - name: pretty - schema: - type: string - - description: "When present, indicates that modifications should not be persisted.\ - \ An invalid or unrecognized dryRun directive will result in an error response\ - \ and no further processing of the request. Valid values are: - All: all\ - \ dry run stages will be processed" - in: query - name: dryRun - schema: - type: string - - description: "fieldManager is a name associated with the actor or entity that\ - \ is making these changes. The value must be less than or 128 characters\ - \ long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint." - in: query - name: fieldManager - schema: - type: string - - description: "fieldValidation instructs the server on how to handle objects\ - \ in the request (POST/PUT/PATCH) containing unknown or duplicate fields.\ - \ Valid values are: - Ignore: This will ignore any unknown fields that are\ - \ silently dropped from the object, and will ignore all but the last duplicate\ - \ field that the decoder encounters. This is the default behavior prior\ - \ to v1.23. - Warn: This will send a warning via the standard warning response\ - \ header for each unknown field that is dropped from the object, and for\ - \ each duplicate field that is encountered. The request will still succeed\ - \ if there are no other errors, and will only persist the last of any duplicate\ - \ fields. This is the default in v1.23+ - Strict: This will fail the request\ - \ with a BadRequest error if any unknown fields would be dropped from the\ - \ object, or if any duplicate fields are present. The error returned from\ - \ the server will contain all unknown and duplicate fields encountered." - in: query - name: fieldValidation - schema: - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/v1.Ingress' - required: true - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/v1.Ingress' - application/yaml: - schema: - $ref: '#/components/schemas/v1.Ingress' - application/vnd.kubernetes.protobuf: - schema: - $ref: '#/components/schemas/v1.Ingress' - application/cbor: - schema: - $ref: '#/components/schemas/v1.Ingress' - description: OK - "201": - content: - application/json: - schema: - $ref: '#/components/schemas/v1.Ingress' - application/yaml: - schema: - $ref: '#/components/schemas/v1.Ingress' - application/vnd.kubernetes.protobuf: - schema: - $ref: '#/components/schemas/v1.Ingress' - application/cbor: - schema: - $ref: '#/components/schemas/v1.Ingress' - description: Created - "401": - content: {} - description: Unauthorized - tags: - - networking_v1 - x-kubernetes-action: put - x-kubernetes-group-version-kind: - group: networking.k8s.io - kind: Ingress + kind: IPAddress version: v1 x-codegen-request-body-name: body x-content-type: application/json @@ -56935,23 +56832,16 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}/status: get: - description: read status of the specified Ingress - operationId: readNamespacedIngressStatus + description: read the specified IPAddress + operationId: readIPAddress parameters: - - description: name of the Ingress + - description: name of the IPAddress in: path name: name required: true schema: type: string - - description: "object name and auth scope, such as for teams and projects" - in: path - name: namespace - required: true - schema: - type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -56964,16 +56854,16 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.Ingress' + $ref: '#/components/schemas/v1.IPAddress' application/yaml: schema: - $ref: '#/components/schemas/v1.Ingress' + $ref: '#/components/schemas/v1.IPAddress' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.Ingress' + $ref: '#/components/schemas/v1.IPAddress' application/cbor: schema: - $ref: '#/components/schemas/v1.Ingress' + $ref: '#/components/schemas/v1.IPAddress' description: OK "401": content: {} @@ -56983,7 +56873,7 @@ paths: x-kubernetes-action: get x-kubernetes-group-version-kind: group: networking.k8s.io - kind: Ingress + kind: IPAddress version: v1 x-accepts: - application/cbor @@ -56991,21 +56881,15 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml patch: - description: partially update status of the specified Ingress - operationId: patchNamespacedIngressStatus + description: partially update the specified IPAddress + operationId: patchIPAddress parameters: - - description: name of the Ingress + - description: name of the IPAddress in: path name: name required: true schema: type: string - - description: "object name and auth scope, such as for teams and projects" - in: path - name: namespace - required: true - schema: - type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -57065,31 +56949,31 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.Ingress' + $ref: '#/components/schemas/v1.IPAddress' application/yaml: schema: - $ref: '#/components/schemas/v1.Ingress' + $ref: '#/components/schemas/v1.IPAddress' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.Ingress' + $ref: '#/components/schemas/v1.IPAddress' application/cbor: schema: - $ref: '#/components/schemas/v1.Ingress' + $ref: '#/components/schemas/v1.IPAddress' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1.Ingress' + $ref: '#/components/schemas/v1.IPAddress' application/yaml: schema: - $ref: '#/components/schemas/v1.Ingress' + $ref: '#/components/schemas/v1.IPAddress' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.Ingress' + $ref: '#/components/schemas/v1.IPAddress' application/cbor: schema: - $ref: '#/components/schemas/v1.Ingress' + $ref: '#/components/schemas/v1.IPAddress' description: Created "401": content: {} @@ -57099,7 +56983,7 @@ paths: x-kubernetes-action: patch x-kubernetes-group-version-kind: group: networking.k8s.io - kind: Ingress + kind: IPAddress version: v1 x-codegen-request-body-name: body x-content-type: application/json @@ -57109,21 +56993,15 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml put: - description: replace status of the specified Ingress - operationId: replaceNamespacedIngressStatus + description: replace the specified IPAddress + operationId: replaceIPAddress parameters: - - description: name of the Ingress + - description: name of the IPAddress in: path name: name required: true schema: type: string - - description: "object name and auth scope, such as for teams and projects" - in: path - name: namespace - required: true - schema: - type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -57167,38 +57045,38 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.Ingress' + $ref: '#/components/schemas/v1.IPAddress' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1.Ingress' + $ref: '#/components/schemas/v1.IPAddress' application/yaml: schema: - $ref: '#/components/schemas/v1.Ingress' + $ref: '#/components/schemas/v1.IPAddress' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.Ingress' + $ref: '#/components/schemas/v1.IPAddress' application/cbor: schema: - $ref: '#/components/schemas/v1.Ingress' + $ref: '#/components/schemas/v1.IPAddress' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1.Ingress' + $ref: '#/components/schemas/v1.IPAddress' application/yaml: schema: - $ref: '#/components/schemas/v1.Ingress' + $ref: '#/components/schemas/v1.IPAddress' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.Ingress' + $ref: '#/components/schemas/v1.IPAddress' application/cbor: schema: - $ref: '#/components/schemas/v1.Ingress' + $ref: '#/components/schemas/v1.IPAddress' description: Created "401": content: {} @@ -57208,7 +57086,7 @@ paths: x-kubernetes-action: put x-kubernetes-group-version-kind: group: networking.k8s.io - kind: Ingress + kind: IPAddress version: v1 x-codegen-request-body-name: body x-content-type: application/json @@ -57217,10 +57095,10 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies: + /apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses: delete: - description: delete collection of NetworkPolicy - operationId: deleteCollectionNamespacedNetworkPolicy + description: delete collection of Ingress + operationId: deleteCollectionNamespacedIngress parameters: - description: "object name and auth scope, such as for teams and projects" in: path @@ -57384,7 +57262,7 @@ paths: x-kubernetes-action: deletecollection x-kubernetes-group-version-kind: group: networking.k8s.io - kind: NetworkPolicy + kind: Ingress version: v1 x-codegen-request-body-name: body x-content-type: application/json @@ -57394,8 +57272,8 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml get: - description: list or watch objects of kind NetworkPolicy - operationId: listNamespacedNetworkPolicy + description: list or watch objects of kind Ingress + operationId: listNamespacedIngress parameters: - description: "object name and auth scope, such as for teams and projects" in: path @@ -57499,25 +57377,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.NetworkPolicyList' + $ref: '#/components/schemas/v1.IngressList' application/yaml: schema: - $ref: '#/components/schemas/v1.NetworkPolicyList' + $ref: '#/components/schemas/v1.IngressList' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.NetworkPolicyList' + $ref: '#/components/schemas/v1.IngressList' application/cbor: schema: - $ref: '#/components/schemas/v1.NetworkPolicyList' + $ref: '#/components/schemas/v1.IngressList' application/json;stream=watch: schema: - $ref: '#/components/schemas/v1.NetworkPolicyList' + $ref: '#/components/schemas/v1.IngressList' application/vnd.kubernetes.protobuf;stream=watch: schema: - $ref: '#/components/schemas/v1.NetworkPolicyList' + $ref: '#/components/schemas/v1.IngressList' application/cbor-seq: schema: - $ref: '#/components/schemas/v1.NetworkPolicyList' + $ref: '#/components/schemas/v1.IngressList' description: OK "401": content: {} @@ -57527,7 +57405,7 @@ paths: x-kubernetes-action: list x-kubernetes-group-version-kind: group: networking.k8s.io - kind: NetworkPolicy + kind: Ingress version: v1 x-accepts: - application/cbor @@ -57538,8 +57416,8 @@ paths: - application/vnd.kubernetes.protobuf;stream=watch - application/yaml post: - description: create a NetworkPolicy - operationId: createNamespacedNetworkPolicy + description: create an Ingress + operationId: createNamespacedIngress parameters: - description: "object name and auth scope, such as for teams and projects" in: path @@ -57590,53 +57468,53 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.NetworkPolicy' + $ref: '#/components/schemas/v1.Ingress' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1.NetworkPolicy' + $ref: '#/components/schemas/v1.Ingress' application/yaml: schema: - $ref: '#/components/schemas/v1.NetworkPolicy' + $ref: '#/components/schemas/v1.Ingress' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.NetworkPolicy' + $ref: '#/components/schemas/v1.Ingress' application/cbor: schema: - $ref: '#/components/schemas/v1.NetworkPolicy' + $ref: '#/components/schemas/v1.Ingress' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1.NetworkPolicy' + $ref: '#/components/schemas/v1.Ingress' application/yaml: schema: - $ref: '#/components/schemas/v1.NetworkPolicy' + $ref: '#/components/schemas/v1.Ingress' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.NetworkPolicy' + $ref: '#/components/schemas/v1.Ingress' application/cbor: schema: - $ref: '#/components/schemas/v1.NetworkPolicy' + $ref: '#/components/schemas/v1.Ingress' description: Created "202": content: application/json: schema: - $ref: '#/components/schemas/v1.NetworkPolicy' + $ref: '#/components/schemas/v1.Ingress' application/yaml: schema: - $ref: '#/components/schemas/v1.NetworkPolicy' + $ref: '#/components/schemas/v1.Ingress' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.NetworkPolicy' + $ref: '#/components/schemas/v1.Ingress' application/cbor: schema: - $ref: '#/components/schemas/v1.NetworkPolicy' + $ref: '#/components/schemas/v1.Ingress' description: Accepted "401": content: {} @@ -57646,7 +57524,7 @@ paths: x-kubernetes-action: post x-kubernetes-group-version-kind: group: networking.k8s.io - kind: NetworkPolicy + kind: Ingress version: v1 x-codegen-request-body-name: body x-content-type: application/json @@ -57655,12 +57533,12 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}: + /apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}: delete: - description: delete a NetworkPolicy - operationId: deleteNamespacedNetworkPolicy + description: delete an Ingress + operationId: deleteNamespacedIngress parameters: - - description: name of the NetworkPolicy + - description: name of the Ingress in: path name: name required: true @@ -57775,7 +57653,7 @@ paths: x-kubernetes-action: delete x-kubernetes-group-version-kind: group: networking.k8s.io - kind: NetworkPolicy + kind: Ingress version: v1 x-codegen-request-body-name: body x-content-type: application/json @@ -57785,10 +57663,10 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml get: - description: read the specified NetworkPolicy - operationId: readNamespacedNetworkPolicy + description: read the specified Ingress + operationId: readNamespacedIngress parameters: - - description: name of the NetworkPolicy + - description: name of the Ingress in: path name: name required: true @@ -57812,16 +57690,16 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.NetworkPolicy' + $ref: '#/components/schemas/v1.Ingress' application/yaml: schema: - $ref: '#/components/schemas/v1.NetworkPolicy' + $ref: '#/components/schemas/v1.Ingress' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.NetworkPolicy' + $ref: '#/components/schemas/v1.Ingress' application/cbor: schema: - $ref: '#/components/schemas/v1.NetworkPolicy' + $ref: '#/components/schemas/v1.Ingress' description: OK "401": content: {} @@ -57831,7 +57709,7 @@ paths: x-kubernetes-action: get x-kubernetes-group-version-kind: group: networking.k8s.io - kind: NetworkPolicy + kind: Ingress version: v1 x-accepts: - application/cbor @@ -57839,10 +57717,10 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml patch: - description: partially update the specified NetworkPolicy - operationId: patchNamespacedNetworkPolicy + description: partially update the specified Ingress + operationId: patchNamespacedIngress parameters: - - description: name of the NetworkPolicy + - description: name of the Ingress in: path name: name required: true @@ -57913,31 +57791,31 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.NetworkPolicy' + $ref: '#/components/schemas/v1.Ingress' application/yaml: schema: - $ref: '#/components/schemas/v1.NetworkPolicy' + $ref: '#/components/schemas/v1.Ingress' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.NetworkPolicy' + $ref: '#/components/schemas/v1.Ingress' application/cbor: schema: - $ref: '#/components/schemas/v1.NetworkPolicy' + $ref: '#/components/schemas/v1.Ingress' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1.NetworkPolicy' + $ref: '#/components/schemas/v1.Ingress' application/yaml: schema: - $ref: '#/components/schemas/v1.NetworkPolicy' + $ref: '#/components/schemas/v1.Ingress' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.NetworkPolicy' + $ref: '#/components/schemas/v1.Ingress' application/cbor: schema: - $ref: '#/components/schemas/v1.NetworkPolicy' + $ref: '#/components/schemas/v1.Ingress' description: Created "401": content: {} @@ -57947,7 +57825,7 @@ paths: x-kubernetes-action: patch x-kubernetes-group-version-kind: group: networking.k8s.io - kind: NetworkPolicy + kind: Ingress version: v1 x-codegen-request-body-name: body x-content-type: application/json @@ -57957,10 +57835,10 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml put: - description: replace the specified NetworkPolicy - operationId: replaceNamespacedNetworkPolicy + description: replace the specified Ingress + operationId: replaceNamespacedIngress parameters: - - description: name of the NetworkPolicy + - description: name of the Ingress in: path name: name required: true @@ -58015,38 +57893,38 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.NetworkPolicy' + $ref: '#/components/schemas/v1.Ingress' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1.NetworkPolicy' + $ref: '#/components/schemas/v1.Ingress' application/yaml: schema: - $ref: '#/components/schemas/v1.NetworkPolicy' + $ref: '#/components/schemas/v1.Ingress' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.NetworkPolicy' + $ref: '#/components/schemas/v1.Ingress' application/cbor: schema: - $ref: '#/components/schemas/v1.NetworkPolicy' + $ref: '#/components/schemas/v1.Ingress' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1.NetworkPolicy' + $ref: '#/components/schemas/v1.Ingress' application/yaml: schema: - $ref: '#/components/schemas/v1.NetworkPolicy' + $ref: '#/components/schemas/v1.Ingress' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.NetworkPolicy' + $ref: '#/components/schemas/v1.Ingress' application/cbor: schema: - $ref: '#/components/schemas/v1.NetworkPolicy' + $ref: '#/components/schemas/v1.Ingress' description: Created "401": content: {} @@ -58056,7 +57934,7 @@ paths: x-kubernetes-action: put x-kubernetes-group-version-kind: group: networking.k8s.io - kind: NetworkPolicy + kind: Ingress version: v1 x-codegen-request-body-name: body x-content-type: application/json @@ -58065,49 +57943,77 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/networking.k8s.io/v1/networkpolicies: + /apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}/status: get: - description: list or watch objects of kind NetworkPolicy - operationId: listNetworkPolicyForAllNamespaces + description: read status of the specified Ingress + operationId: readNamespacedIngressStatus parameters: - - description: "allowWatchBookmarks requests watch events with type \"BOOKMARK\"\ - . Servers that do not implement bookmarks may ignore this flag and bookmarks\ - \ are sent at the server's discretion. Clients should not assume bookmarks\ - \ are returned at any specific interval, nor may they assume the server\ - \ will send any BOOKMARK event during a session. If this is not a watch,\ - \ this field is ignored." - in: query - name: allowWatchBookmarks + - description: name of the Ingress + in: path + name: name + required: true schema: - type: boolean - - description: |- - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". - - This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - in: query - name: continue + type: string + - description: "object name and auth scope, such as for teams and projects" + in: path + name: namespace + required: true schema: type: string - - description: A selector to restrict the list of returned objects by their - fields. Defaults to everything. + - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ + \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ + \ and wget)." in: query - name: fieldSelector + name: pretty schema: type: string - - description: A selector to restrict the list of returned objects by their - labels. Defaults to everything. - in: query - name: labelSelector + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/v1.Ingress' + application/yaml: + schema: + $ref: '#/components/schemas/v1.Ingress' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1.Ingress' + application/cbor: + schema: + $ref: '#/components/schemas/v1.Ingress' + description: OK + "401": + content: {} + description: Unauthorized + tags: + - networking_v1 + x-kubernetes-action: get + x-kubernetes-group-version-kind: + group: networking.k8s.io + kind: Ingress + version: v1 + x-accepts: + - application/cbor + - application/json + - application/vnd.kubernetes.protobuf + - application/yaml + patch: + description: partially update status of the specified Ingress + operationId: patchNamespacedIngressStatus + parameters: + - description: name of the Ingress + in: path + name: name + required: true schema: type: string - - description: |- - limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. - - The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - in: query - name: limit + - description: "object name and auth scope, such as for teams and projects" + in: path + name: namespace + required: true schema: - type: integer + type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -58115,100 +58021,221 @@ paths: name: pretty schema: type: string - - description: |- - resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. - - Defaults to unset + - description: "When present, indicates that modifications should not be persisted.\ + \ An invalid or unrecognized dryRun directive will result in an error response\ + \ and no further processing of the request. Valid values are: - All: all\ + \ dry run stages will be processed" in: query - name: resourceVersion + name: dryRun schema: type: string - - description: |- - resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. - - Defaults to unset + - description: "fieldManager is a name associated with the actor or entity that\ + \ is making these changes. The value must be less than or 128 characters\ + \ long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.\ + \ This field is required for apply requests (application/apply-patch) but\ + \ optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch)." in: query - name: resourceVersionMatch + name: fieldManager schema: type: string - - description: |- - `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic "Bookmark" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. - - When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan - is interpreted as "data at least as new as the provided `resourceVersion`" - and the bookmark event is send when the state is synced - to a `resourceVersion` at least as fresh as the one provided by the ListOptions. - If `resourceVersion` is unset, this is interpreted as "consistent read" and the - bookmark event is send when the state is synced at least to the moment - when request started being processed. - - `resourceVersionMatch` set to any other value or unset - Invalid error is returned. - - Defaults to true if `resourceVersion=""` or `resourceVersion="0"` (for backward compatibility reasons) and to false otherwise. + - description: "fieldValidation instructs the server on how to handle objects\ + \ in the request (POST/PUT/PATCH) containing unknown or duplicate fields.\ + \ Valid values are: - Ignore: This will ignore any unknown fields that are\ + \ silently dropped from the object, and will ignore all but the last duplicate\ + \ field that the decoder encounters. This is the default behavior prior\ + \ to v1.23. - Warn: This will send a warning via the standard warning response\ + \ header for each unknown field that is dropped from the object, and for\ + \ each duplicate field that is encountered. The request will still succeed\ + \ if there are no other errors, and will only persist the last of any duplicate\ + \ fields. This is the default in v1.23+ - Strict: This will fail the request\ + \ with a BadRequest error if any unknown fields would be dropped from the\ + \ object, or if any duplicate fields are present. The error returned from\ + \ the server will contain all unknown and duplicate fields encountered." in: query - name: sendInitialEvents + name: fieldValidation + schema: + type: string + - description: Force is going to "force" Apply requests. It means user will + re-acquire conflicting fields owned by other people. Force flag must be + unset for non-apply patch requests. + in: query + name: force schema: type: boolean - - description: "Timeout for the list/watch call. This limits the duration of\ - \ the call, regardless of any activity or inactivity." + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/v1.Patch' + required: true + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/v1.Ingress' + application/yaml: + schema: + $ref: '#/components/schemas/v1.Ingress' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1.Ingress' + application/cbor: + schema: + $ref: '#/components/schemas/v1.Ingress' + description: OK + "201": + content: + application/json: + schema: + $ref: '#/components/schemas/v1.Ingress' + application/yaml: + schema: + $ref: '#/components/schemas/v1.Ingress' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1.Ingress' + application/cbor: + schema: + $ref: '#/components/schemas/v1.Ingress' + description: Created + "401": + content: {} + description: Unauthorized + tags: + - networking_v1 + x-kubernetes-action: patch + x-kubernetes-group-version-kind: + group: networking.k8s.io + kind: Ingress + version: v1 + x-codegen-request-body-name: body + x-content-type: application/json + x-accepts: + - application/cbor + - application/json + - application/vnd.kubernetes.protobuf + - application/yaml + put: + description: replace status of the specified Ingress + operationId: replaceNamespacedIngressStatus + parameters: + - description: name of the Ingress + in: path + name: name + required: true + schema: + type: string + - description: "object name and auth scope, such as for teams and projects" + in: path + name: namespace + required: true + schema: + type: string + - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ + \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ + \ and wget)." in: query - name: timeoutSeconds + name: pretty schema: - type: integer - - description: "Watch for changes to the described resources and return them\ - \ as a stream of add, update, and remove notifications. Specify resourceVersion." + type: string + - description: "When present, indicates that modifications should not be persisted.\ + \ An invalid or unrecognized dryRun directive will result in an error response\ + \ and no further processing of the request. Valid values are: - All: all\ + \ dry run stages will be processed" in: query - name: watch + name: dryRun schema: - type: boolean + type: string + - description: "fieldManager is a name associated with the actor or entity that\ + \ is making these changes. The value must be less than or 128 characters\ + \ long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint." + in: query + name: fieldManager + schema: + type: string + - description: "fieldValidation instructs the server on how to handle objects\ + \ in the request (POST/PUT/PATCH) containing unknown or duplicate fields.\ + \ Valid values are: - Ignore: This will ignore any unknown fields that are\ + \ silently dropped from the object, and will ignore all but the last duplicate\ + \ field that the decoder encounters. This is the default behavior prior\ + \ to v1.23. - Warn: This will send a warning via the standard warning response\ + \ header for each unknown field that is dropped from the object, and for\ + \ each duplicate field that is encountered. The request will still succeed\ + \ if there are no other errors, and will only persist the last of any duplicate\ + \ fields. This is the default in v1.23+ - Strict: This will fail the request\ + \ with a BadRequest error if any unknown fields would be dropped from the\ + \ object, or if any duplicate fields are present. The error returned from\ + \ the server will contain all unknown and duplicate fields encountered." + in: query + name: fieldValidation + schema: + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/v1.Ingress' + required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1.NetworkPolicyList' + $ref: '#/components/schemas/v1.Ingress' application/yaml: schema: - $ref: '#/components/schemas/v1.NetworkPolicyList' + $ref: '#/components/schemas/v1.Ingress' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.NetworkPolicyList' + $ref: '#/components/schemas/v1.Ingress' application/cbor: schema: - $ref: '#/components/schemas/v1.NetworkPolicyList' - application/json;stream=watch: + $ref: '#/components/schemas/v1.Ingress' + description: OK + "201": + content: + application/json: schema: - $ref: '#/components/schemas/v1.NetworkPolicyList' - application/vnd.kubernetes.protobuf;stream=watch: + $ref: '#/components/schemas/v1.Ingress' + application/yaml: schema: - $ref: '#/components/schemas/v1.NetworkPolicyList' - application/cbor-seq: + $ref: '#/components/schemas/v1.Ingress' + application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.NetworkPolicyList' - description: OK + $ref: '#/components/schemas/v1.Ingress' + application/cbor: + schema: + $ref: '#/components/schemas/v1.Ingress' + description: Created "401": content: {} description: Unauthorized tags: - networking_v1 - x-kubernetes-action: list + x-kubernetes-action: put x-kubernetes-group-version-kind: group: networking.k8s.io - kind: NetworkPolicy + kind: Ingress version: v1 + x-codegen-request-body-name: body + x-content-type: application/json x-accepts: - application/cbor - - application/cbor-seq - application/json - - application/json;stream=watch - application/vnd.kubernetes.protobuf - - application/vnd.kubernetes.protobuf;stream=watch - application/yaml - /apis/networking.k8s.io/v1/servicecidrs: + /apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies: delete: - description: delete collection of ServiceCIDR - operationId: deleteCollectionServiceCIDR + description: delete collection of NetworkPolicy + operationId: deleteCollectionNamespacedNetworkPolicy parameters: + - description: "object name and auth scope, such as for teams and projects" + in: path + name: namespace + required: true + schema: + type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -58365,7 +58392,7 @@ paths: x-kubernetes-action: deletecollection x-kubernetes-group-version-kind: group: networking.k8s.io - kind: ServiceCIDR + kind: NetworkPolicy version: v1 x-codegen-request-body-name: body x-content-type: application/json @@ -58375,9 +58402,15 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml get: - description: list or watch objects of kind ServiceCIDR - operationId: listServiceCIDR + description: list or watch objects of kind NetworkPolicy + operationId: listNamespacedNetworkPolicy parameters: + - description: "object name and auth scope, such as for teams and projects" + in: path + name: namespace + required: true + schema: + type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -58474,25 +58507,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.ServiceCIDRList' + $ref: '#/components/schemas/v1.NetworkPolicyList' application/yaml: schema: - $ref: '#/components/schemas/v1.ServiceCIDRList' + $ref: '#/components/schemas/v1.NetworkPolicyList' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.ServiceCIDRList' + $ref: '#/components/schemas/v1.NetworkPolicyList' application/cbor: schema: - $ref: '#/components/schemas/v1.ServiceCIDRList' + $ref: '#/components/schemas/v1.NetworkPolicyList' application/json;stream=watch: schema: - $ref: '#/components/schemas/v1.ServiceCIDRList' + $ref: '#/components/schemas/v1.NetworkPolicyList' application/vnd.kubernetes.protobuf;stream=watch: schema: - $ref: '#/components/schemas/v1.ServiceCIDRList' + $ref: '#/components/schemas/v1.NetworkPolicyList' application/cbor-seq: schema: - $ref: '#/components/schemas/v1.ServiceCIDRList' + $ref: '#/components/schemas/v1.NetworkPolicyList' description: OK "401": content: {} @@ -58502,7 +58535,7 @@ paths: x-kubernetes-action: list x-kubernetes-group-version-kind: group: networking.k8s.io - kind: ServiceCIDR + kind: NetworkPolicy version: v1 x-accepts: - application/cbor @@ -58513,9 +58546,15 @@ paths: - application/vnd.kubernetes.protobuf;stream=watch - application/yaml post: - description: create a ServiceCIDR - operationId: createServiceCIDR + description: create a NetworkPolicy + operationId: createNamespacedNetworkPolicy parameters: + - description: "object name and auth scope, such as for teams and projects" + in: path + name: namespace + required: true + schema: + type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -58559,53 +58598,53 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.ServiceCIDR' + $ref: '#/components/schemas/v1.NetworkPolicy' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1.ServiceCIDR' + $ref: '#/components/schemas/v1.NetworkPolicy' application/yaml: schema: - $ref: '#/components/schemas/v1.ServiceCIDR' + $ref: '#/components/schemas/v1.NetworkPolicy' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.ServiceCIDR' + $ref: '#/components/schemas/v1.NetworkPolicy' application/cbor: schema: - $ref: '#/components/schemas/v1.ServiceCIDR' + $ref: '#/components/schemas/v1.NetworkPolicy' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1.ServiceCIDR' + $ref: '#/components/schemas/v1.NetworkPolicy' application/yaml: schema: - $ref: '#/components/schemas/v1.ServiceCIDR' + $ref: '#/components/schemas/v1.NetworkPolicy' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.ServiceCIDR' + $ref: '#/components/schemas/v1.NetworkPolicy' application/cbor: schema: - $ref: '#/components/schemas/v1.ServiceCIDR' + $ref: '#/components/schemas/v1.NetworkPolicy' description: Created "202": content: application/json: schema: - $ref: '#/components/schemas/v1.ServiceCIDR' + $ref: '#/components/schemas/v1.NetworkPolicy' application/yaml: schema: - $ref: '#/components/schemas/v1.ServiceCIDR' + $ref: '#/components/schemas/v1.NetworkPolicy' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.ServiceCIDR' + $ref: '#/components/schemas/v1.NetworkPolicy' application/cbor: schema: - $ref: '#/components/schemas/v1.ServiceCIDR' + $ref: '#/components/schemas/v1.NetworkPolicy' description: Accepted "401": content: {} @@ -58615,7 +58654,7 @@ paths: x-kubernetes-action: post x-kubernetes-group-version-kind: group: networking.k8s.io - kind: ServiceCIDR + kind: NetworkPolicy version: v1 x-codegen-request-body-name: body x-content-type: application/json @@ -58624,17 +58663,23 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/networking.k8s.io/v1/servicecidrs/{name}: + /apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}: delete: - description: delete a ServiceCIDR - operationId: deleteServiceCIDR + description: delete a NetworkPolicy + operationId: deleteNamespacedNetworkPolicy parameters: - - description: name of the ServiceCIDR + - description: name of the NetworkPolicy in: path name: name required: true schema: type: string + - description: "object name and auth scope, such as for teams and projects" + in: path + name: namespace + required: true + schema: + type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -58738,7 +58783,7 @@ paths: x-kubernetes-action: delete x-kubernetes-group-version-kind: group: networking.k8s.io - kind: ServiceCIDR + kind: NetworkPolicy version: v1 x-codegen-request-body-name: body x-content-type: application/json @@ -58748,15 +58793,21 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml get: - description: read the specified ServiceCIDR - operationId: readServiceCIDR + description: read the specified NetworkPolicy + operationId: readNamespacedNetworkPolicy parameters: - - description: name of the ServiceCIDR + - description: name of the NetworkPolicy in: path name: name required: true schema: type: string + - description: "object name and auth scope, such as for teams and projects" + in: path + name: namespace + required: true + schema: + type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -58769,16 +58820,16 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.ServiceCIDR' + $ref: '#/components/schemas/v1.NetworkPolicy' application/yaml: schema: - $ref: '#/components/schemas/v1.ServiceCIDR' + $ref: '#/components/schemas/v1.NetworkPolicy' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.ServiceCIDR' + $ref: '#/components/schemas/v1.NetworkPolicy' application/cbor: schema: - $ref: '#/components/schemas/v1.ServiceCIDR' + $ref: '#/components/schemas/v1.NetworkPolicy' description: OK "401": content: {} @@ -58788,7 +58839,7 @@ paths: x-kubernetes-action: get x-kubernetes-group-version-kind: group: networking.k8s.io - kind: ServiceCIDR + kind: NetworkPolicy version: v1 x-accepts: - application/cbor @@ -58796,15 +58847,21 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml patch: - description: partially update the specified ServiceCIDR - operationId: patchServiceCIDR + description: partially update the specified NetworkPolicy + operationId: patchNamespacedNetworkPolicy parameters: - - description: name of the ServiceCIDR + - description: name of the NetworkPolicy in: path name: name required: true schema: type: string + - description: "object name and auth scope, such as for teams and projects" + in: path + name: namespace + required: true + schema: + type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -58864,31 +58921,31 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.ServiceCIDR' + $ref: '#/components/schemas/v1.NetworkPolicy' application/yaml: schema: - $ref: '#/components/schemas/v1.ServiceCIDR' + $ref: '#/components/schemas/v1.NetworkPolicy' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.ServiceCIDR' + $ref: '#/components/schemas/v1.NetworkPolicy' application/cbor: schema: - $ref: '#/components/schemas/v1.ServiceCIDR' + $ref: '#/components/schemas/v1.NetworkPolicy' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1.ServiceCIDR' + $ref: '#/components/schemas/v1.NetworkPolicy' application/yaml: schema: - $ref: '#/components/schemas/v1.ServiceCIDR' + $ref: '#/components/schemas/v1.NetworkPolicy' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.ServiceCIDR' + $ref: '#/components/schemas/v1.NetworkPolicy' application/cbor: schema: - $ref: '#/components/schemas/v1.ServiceCIDR' + $ref: '#/components/schemas/v1.NetworkPolicy' description: Created "401": content: {} @@ -58898,7 +58955,7 @@ paths: x-kubernetes-action: patch x-kubernetes-group-version-kind: group: networking.k8s.io - kind: ServiceCIDR + kind: NetworkPolicy version: v1 x-codegen-request-body-name: body x-content-type: application/json @@ -58908,15 +58965,21 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml put: - description: replace the specified ServiceCIDR - operationId: replaceServiceCIDR + description: replace the specified NetworkPolicy + operationId: replaceNamespacedNetworkPolicy parameters: - - description: name of the ServiceCIDR + - description: name of the NetworkPolicy in: path name: name required: true schema: type: string + - description: "object name and auth scope, such as for teams and projects" + in: path + name: namespace + required: true + schema: + type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -58960,38 +59023,38 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.ServiceCIDR' + $ref: '#/components/schemas/v1.NetworkPolicy' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1.ServiceCIDR' + $ref: '#/components/schemas/v1.NetworkPolicy' application/yaml: schema: - $ref: '#/components/schemas/v1.ServiceCIDR' + $ref: '#/components/schemas/v1.NetworkPolicy' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.ServiceCIDR' + $ref: '#/components/schemas/v1.NetworkPolicy' application/cbor: schema: - $ref: '#/components/schemas/v1.ServiceCIDR' + $ref: '#/components/schemas/v1.NetworkPolicy' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1.ServiceCIDR' + $ref: '#/components/schemas/v1.NetworkPolicy' application/yaml: schema: - $ref: '#/components/schemas/v1.ServiceCIDR' + $ref: '#/components/schemas/v1.NetworkPolicy' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.ServiceCIDR' + $ref: '#/components/schemas/v1.NetworkPolicy' application/cbor: schema: - $ref: '#/components/schemas/v1.ServiceCIDR' + $ref: '#/components/schemas/v1.NetworkPolicy' description: Created "401": content: {} @@ -59001,7 +59064,7 @@ paths: x-kubernetes-action: put x-kubernetes-group-version-kind: group: networking.k8s.io - kind: ServiceCIDR + kind: NetworkPolicy version: v1 x-codegen-request-body-name: body x-content-type: application/json @@ -59010,177 +59073,49 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/networking.k8s.io/v1/servicecidrs/{name}/status: + /apis/networking.k8s.io/v1/networkpolicies: get: - description: read status of the specified ServiceCIDR - operationId: readServiceCIDRStatus - parameters: - - description: name of the ServiceCIDR - in: path - name: name - required: true - schema: - type: string - - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ - \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ - \ and wget)." - in: query - name: pretty - schema: - type: string - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/v1.ServiceCIDR' - application/yaml: - schema: - $ref: '#/components/schemas/v1.ServiceCIDR' - application/vnd.kubernetes.protobuf: - schema: - $ref: '#/components/schemas/v1.ServiceCIDR' - application/cbor: - schema: - $ref: '#/components/schemas/v1.ServiceCIDR' - description: OK - "401": - content: {} - description: Unauthorized - tags: - - networking_v1 - x-kubernetes-action: get - x-kubernetes-group-version-kind: - group: networking.k8s.io - kind: ServiceCIDR - version: v1 - x-accepts: - - application/cbor - - application/json - - application/vnd.kubernetes.protobuf - - application/yaml - patch: - description: partially update status of the specified ServiceCIDR - operationId: patchServiceCIDRStatus + description: list or watch objects of kind NetworkPolicy + operationId: listNetworkPolicyForAllNamespaces parameters: - - description: name of the ServiceCIDR - in: path - name: name - required: true - schema: - type: string - - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ - \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ - \ and wget)." + - description: "allowWatchBookmarks requests watch events with type \"BOOKMARK\"\ + . Servers that do not implement bookmarks may ignore this flag and bookmarks\ + \ are sent at the server's discretion. Clients should not assume bookmarks\ + \ are returned at any specific interval, nor may they assume the server\ + \ will send any BOOKMARK event during a session. If this is not a watch,\ + \ this field is ignored." in: query - name: pretty + name: allowWatchBookmarks schema: - type: string - - description: "When present, indicates that modifications should not be persisted.\ - \ An invalid or unrecognized dryRun directive will result in an error response\ - \ and no further processing of the request. Valid values are: - All: all\ - \ dry run stages will be processed" + type: boolean + - description: |- + The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + + This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. in: query - name: dryRun + name: continue schema: type: string - - description: "fieldManager is a name associated with the actor or entity that\ - \ is making these changes. The value must be less than or 128 characters\ - \ long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.\ - \ This field is required for apply requests (application/apply-patch) but\ - \ optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch)." + - description: A selector to restrict the list of returned objects by their + fields. Defaults to everything. in: query - name: fieldManager + name: fieldSelector schema: type: string - - description: "fieldValidation instructs the server on how to handle objects\ - \ in the request (POST/PUT/PATCH) containing unknown or duplicate fields.\ - \ Valid values are: - Ignore: This will ignore any unknown fields that are\ - \ silently dropped from the object, and will ignore all but the last duplicate\ - \ field that the decoder encounters. This is the default behavior prior\ - \ to v1.23. - Warn: This will send a warning via the standard warning response\ - \ header for each unknown field that is dropped from the object, and for\ - \ each duplicate field that is encountered. The request will still succeed\ - \ if there are no other errors, and will only persist the last of any duplicate\ - \ fields. This is the default in v1.23+ - Strict: This will fail the request\ - \ with a BadRequest error if any unknown fields would be dropped from the\ - \ object, or if any duplicate fields are present. The error returned from\ - \ the server will contain all unknown and duplicate fields encountered." + - description: A selector to restrict the list of returned objects by their + labels. Defaults to everything. in: query - name: fieldValidation + name: labelSelector schema: type: string - - description: Force is going to "force" Apply requests. It means user will - re-acquire conflicting fields owned by other people. Force flag must be - unset for non-apply patch requests. + - description: |- + limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. + + The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. in: query - name: force - schema: - type: boolean - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/v1.Patch' - required: true - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/v1.ServiceCIDR' - application/yaml: - schema: - $ref: '#/components/schemas/v1.ServiceCIDR' - application/vnd.kubernetes.protobuf: - schema: - $ref: '#/components/schemas/v1.ServiceCIDR' - application/cbor: - schema: - $ref: '#/components/schemas/v1.ServiceCIDR' - description: OK - "201": - content: - application/json: - schema: - $ref: '#/components/schemas/v1.ServiceCIDR' - application/yaml: - schema: - $ref: '#/components/schemas/v1.ServiceCIDR' - application/vnd.kubernetes.protobuf: - schema: - $ref: '#/components/schemas/v1.ServiceCIDR' - application/cbor: - schema: - $ref: '#/components/schemas/v1.ServiceCIDR' - description: Created - "401": - content: {} - description: Unauthorized - tags: - - networking_v1 - x-kubernetes-action: patch - x-kubernetes-group-version-kind: - group: networking.k8s.io - kind: ServiceCIDR - version: v1 - x-codegen-request-body-name: body - x-content-type: application/json - x-accepts: - - application/cbor - - application/json - - application/vnd.kubernetes.protobuf - - application/yaml - put: - description: replace status of the specified ServiceCIDR - operationId: replaceServiceCIDRStatus - parameters: - - description: name of the ServiceCIDR - in: path - name: name - required: true + name: limit schema: - type: string + type: integer - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -59188,138 +59123,99 @@ paths: name: pretty schema: type: string - - description: "When present, indicates that modifications should not be persisted.\ - \ An invalid or unrecognized dryRun directive will result in an error response\ - \ and no further processing of the request. Valid values are: - All: all\ - \ dry run stages will be processed" + - description: |- + resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. + + Defaults to unset in: query - name: dryRun + name: resourceVersion schema: type: string - - description: "fieldManager is a name associated with the actor or entity that\ - \ is making these changes. The value must be less than or 128 characters\ - \ long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint." + - description: |- + resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. + + Defaults to unset in: query - name: fieldManager + name: resourceVersionMatch schema: type: string - - description: "fieldValidation instructs the server on how to handle objects\ - \ in the request (POST/PUT/PATCH) containing unknown or duplicate fields.\ - \ Valid values are: - Ignore: This will ignore any unknown fields that are\ - \ silently dropped from the object, and will ignore all but the last duplicate\ - \ field that the decoder encounters. This is the default behavior prior\ - \ to v1.23. - Warn: This will send a warning via the standard warning response\ - \ header for each unknown field that is dropped from the object, and for\ - \ each duplicate field that is encountered. The request will still succeed\ - \ if there are no other errors, and will only persist the last of any duplicate\ - \ fields. This is the default in v1.23+ - Strict: This will fail the request\ - \ with a BadRequest error if any unknown fields would be dropped from the\ - \ object, or if any duplicate fields are present. The error returned from\ - \ the server will contain all unknown and duplicate fields encountered." + - description: |- + `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic "Bookmark" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. + + When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan + is interpreted as "data at least as new as the provided `resourceVersion`" + and the bookmark event is send when the state is synced + to a `resourceVersion` at least as fresh as the one provided by the ListOptions. + If `resourceVersion` is unset, this is interpreted as "consistent read" and the + bookmark event is send when the state is synced at least to the moment + when request started being processed. + - `resourceVersionMatch` set to any other value or unset + Invalid error is returned. + + Defaults to true if `resourceVersion=""` or `resourceVersion="0"` (for backward compatibility reasons) and to false otherwise. in: query - name: fieldValidation + name: sendInitialEvents schema: - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/v1.ServiceCIDR' - required: true + type: boolean + - description: "Timeout for the list/watch call. This limits the duration of\ + \ the call, regardless of any activity or inactivity." + in: query + name: timeoutSeconds + schema: + type: integer + - description: "Watch for changes to the described resources and return them\ + \ as a stream of add, update, and remove notifications. Specify resourceVersion." + in: query + name: watch + schema: + type: boolean responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1.ServiceCIDR' + $ref: '#/components/schemas/v1.NetworkPolicyList' application/yaml: schema: - $ref: '#/components/schemas/v1.ServiceCIDR' + $ref: '#/components/schemas/v1.NetworkPolicyList' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.ServiceCIDR' + $ref: '#/components/schemas/v1.NetworkPolicyList' application/cbor: schema: - $ref: '#/components/schemas/v1.ServiceCIDR' - description: OK - "201": - content: - application/json: - schema: - $ref: '#/components/schemas/v1.ServiceCIDR' - application/yaml: + $ref: '#/components/schemas/v1.NetworkPolicyList' + application/json;stream=watch: schema: - $ref: '#/components/schemas/v1.ServiceCIDR' - application/vnd.kubernetes.protobuf: + $ref: '#/components/schemas/v1.NetworkPolicyList' + application/vnd.kubernetes.protobuf;stream=watch: schema: - $ref: '#/components/schemas/v1.ServiceCIDR' - application/cbor: + $ref: '#/components/schemas/v1.NetworkPolicyList' + application/cbor-seq: schema: - $ref: '#/components/schemas/v1.ServiceCIDR' - description: Created + $ref: '#/components/schemas/v1.NetworkPolicyList' + description: OK "401": content: {} description: Unauthorized tags: - networking_v1 - x-kubernetes-action: put + x-kubernetes-action: list x-kubernetes-group-version-kind: group: networking.k8s.io - kind: ServiceCIDR + kind: NetworkPolicy version: v1 - x-codegen-request-body-name: body - x-content-type: application/json - x-accepts: - - application/cbor - - application/json - - application/vnd.kubernetes.protobuf - - application/yaml - /apis/networking.k8s.io/v1/watch/ingressclasses: {} - /apis/networking.k8s.io/v1/watch/ingressclasses/{name}: {} - /apis/networking.k8s.io/v1/watch/ingresses: {} - /apis/networking.k8s.io/v1/watch/ipaddresses: {} - /apis/networking.k8s.io/v1/watch/ipaddresses/{name}: {} - /apis/networking.k8s.io/v1/watch/namespaces/{namespace}/ingresses: {} - /apis/networking.k8s.io/v1/watch/namespaces/{namespace}/ingresses/{name}: {} - /apis/networking.k8s.io/v1/watch/namespaces/{namespace}/networkpolicies: {} - /apis/networking.k8s.io/v1/watch/namespaces/{namespace}/networkpolicies/{name}: {} - /apis/networking.k8s.io/v1/watch/networkpolicies: {} - /apis/networking.k8s.io/v1/watch/servicecidrs: {} - /apis/networking.k8s.io/v1/watch/servicecidrs/{name}: {} - /apis/networking.k8s.io/v1beta1/: - get: - description: get available resources - operationId: getAPIResources - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/v1.APIResourceList' - application/yaml: - schema: - $ref: '#/components/schemas/v1.APIResourceList' - application/vnd.kubernetes.protobuf: - schema: - $ref: '#/components/schemas/v1.APIResourceList' - application/cbor: - schema: - $ref: '#/components/schemas/v1.APIResourceList' - description: OK - "401": - content: {} - description: Unauthorized - tags: - - networking_v1beta1 x-accepts: - application/cbor + - application/cbor-seq - application/json + - application/json;stream=watch - application/vnd.kubernetes.protobuf + - application/vnd.kubernetes.protobuf;stream=watch - application/yaml - /apis/networking.k8s.io/v1beta1/ipaddresses: + /apis/networking.k8s.io/v1/servicecidrs: delete: - description: delete collection of IPAddress - operationId: deleteCollectionIPAddress + description: delete collection of ServiceCIDR + operationId: deleteCollectionServiceCIDR parameters: - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ @@ -59473,12 +59369,12 @@ paths: content: {} description: Unauthorized tags: - - networking_v1beta1 + - networking_v1 x-kubernetes-action: deletecollection x-kubernetes-group-version-kind: group: networking.k8s.io - kind: IPAddress - version: v1beta1 + kind: ServiceCIDR + version: v1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -59487,8 +59383,8 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml get: - description: list or watch objects of kind IPAddress - operationId: listIPAddress + description: list or watch objects of kind ServiceCIDR + operationId: listServiceCIDR parameters: - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ @@ -59586,36 +59482,36 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta1.IPAddressList' + $ref: '#/components/schemas/v1.ServiceCIDRList' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.IPAddressList' + $ref: '#/components/schemas/v1.ServiceCIDRList' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.IPAddressList' + $ref: '#/components/schemas/v1.ServiceCIDRList' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.IPAddressList' + $ref: '#/components/schemas/v1.ServiceCIDRList' application/json;stream=watch: schema: - $ref: '#/components/schemas/v1beta1.IPAddressList' + $ref: '#/components/schemas/v1.ServiceCIDRList' application/vnd.kubernetes.protobuf;stream=watch: schema: - $ref: '#/components/schemas/v1beta1.IPAddressList' + $ref: '#/components/schemas/v1.ServiceCIDRList' application/cbor-seq: schema: - $ref: '#/components/schemas/v1beta1.IPAddressList' + $ref: '#/components/schemas/v1.ServiceCIDRList' description: OK "401": content: {} description: Unauthorized tags: - - networking_v1beta1 + - networking_v1 x-kubernetes-action: list x-kubernetes-group-version-kind: group: networking.k8s.io - kind: IPAddress - version: v1beta1 + kind: ServiceCIDR + version: v1 x-accepts: - application/cbor - application/cbor-seq @@ -59625,8 +59521,8 @@ paths: - application/vnd.kubernetes.protobuf;stream=watch - application/yaml post: - description: create an IPAddress - operationId: createIPAddress + description: create a ServiceCIDR + operationId: createServiceCIDR parameters: - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ @@ -59671,64 +59567,64 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta1.IPAddress' + $ref: '#/components/schemas/v1.ServiceCIDR' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.IPAddress' + $ref: '#/components/schemas/v1.ServiceCIDR' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.IPAddress' + $ref: '#/components/schemas/v1.ServiceCIDR' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.IPAddress' + $ref: '#/components/schemas/v1.ServiceCIDR' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.IPAddress' + $ref: '#/components/schemas/v1.ServiceCIDR' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.IPAddress' + $ref: '#/components/schemas/v1.ServiceCIDR' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.IPAddress' + $ref: '#/components/schemas/v1.ServiceCIDR' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.IPAddress' + $ref: '#/components/schemas/v1.ServiceCIDR' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.IPAddress' + $ref: '#/components/schemas/v1.ServiceCIDR' description: Created "202": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.IPAddress' + $ref: '#/components/schemas/v1.ServiceCIDR' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.IPAddress' + $ref: '#/components/schemas/v1.ServiceCIDR' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.IPAddress' + $ref: '#/components/schemas/v1.ServiceCIDR' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.IPAddress' + $ref: '#/components/schemas/v1.ServiceCIDR' description: Accepted "401": content: {} description: Unauthorized tags: - - networking_v1beta1 + - networking_v1 x-kubernetes-action: post x-kubernetes-group-version-kind: group: networking.k8s.io - kind: IPAddress - version: v1beta1 + kind: ServiceCIDR + version: v1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -59736,12 +59632,12 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/networking.k8s.io/v1beta1/ipaddresses/{name}: + /apis/networking.k8s.io/v1/servicecidrs/{name}: delete: - description: delete an IPAddress - operationId: deleteIPAddress + description: delete a ServiceCIDR + operationId: deleteServiceCIDR parameters: - - description: name of the IPAddress + - description: name of the ServiceCIDR in: path name: name required: true @@ -59846,12 +59742,12 @@ paths: content: {} description: Unauthorized tags: - - networking_v1beta1 + - networking_v1 x-kubernetes-action: delete x-kubernetes-group-version-kind: group: networking.k8s.io - kind: IPAddress - version: v1beta1 + kind: ServiceCIDR + version: v1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -59860,10 +59756,10 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml get: - description: read the specified IPAddress - operationId: readIPAddress + description: read the specified ServiceCIDR + operationId: readServiceCIDR parameters: - - description: name of the IPAddress + - description: name of the ServiceCIDR in: path name: name required: true @@ -59881,37 +59777,37 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta1.IPAddress' + $ref: '#/components/schemas/v1.ServiceCIDR' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.IPAddress' + $ref: '#/components/schemas/v1.ServiceCIDR' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.IPAddress' + $ref: '#/components/schemas/v1.ServiceCIDR' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.IPAddress' + $ref: '#/components/schemas/v1.ServiceCIDR' description: OK "401": content: {} description: Unauthorized tags: - - networking_v1beta1 + - networking_v1 x-kubernetes-action: get x-kubernetes-group-version-kind: group: networking.k8s.io - kind: IPAddress - version: v1beta1 + kind: ServiceCIDR + version: v1 x-accepts: - application/cbor - application/json - application/vnd.kubernetes.protobuf - application/yaml patch: - description: partially update the specified IPAddress - operationId: patchIPAddress + description: partially update the specified ServiceCIDR + operationId: patchServiceCIDR parameters: - - description: name of the IPAddress + - description: name of the ServiceCIDR in: path name: name required: true @@ -59976,42 +59872,42 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta1.IPAddress' + $ref: '#/components/schemas/v1.ServiceCIDR' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.IPAddress' + $ref: '#/components/schemas/v1.ServiceCIDR' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.IPAddress' + $ref: '#/components/schemas/v1.ServiceCIDR' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.IPAddress' + $ref: '#/components/schemas/v1.ServiceCIDR' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.IPAddress' + $ref: '#/components/schemas/v1.ServiceCIDR' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.IPAddress' + $ref: '#/components/schemas/v1.ServiceCIDR' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.IPAddress' + $ref: '#/components/schemas/v1.ServiceCIDR' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.IPAddress' + $ref: '#/components/schemas/v1.ServiceCIDR' description: Created "401": content: {} description: Unauthorized tags: - - networking_v1beta1 + - networking_v1 x-kubernetes-action: patch x-kubernetes-group-version-kind: group: networking.k8s.io - kind: IPAddress - version: v1beta1 + kind: ServiceCIDR + version: v1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -60020,10 +59916,10 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml put: - description: replace the specified IPAddress - operationId: replaceIPAddress + description: replace the specified ServiceCIDR + operationId: replaceServiceCIDR parameters: - - description: name of the IPAddress + - description: name of the ServiceCIDR in: path name: name required: true @@ -60072,49 +59968,49 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta1.IPAddress' + $ref: '#/components/schemas/v1.ServiceCIDR' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.IPAddress' + $ref: '#/components/schemas/v1.ServiceCIDR' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.IPAddress' + $ref: '#/components/schemas/v1.ServiceCIDR' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.IPAddress' + $ref: '#/components/schemas/v1.ServiceCIDR' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.IPAddress' + $ref: '#/components/schemas/v1.ServiceCIDR' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.IPAddress' + $ref: '#/components/schemas/v1.ServiceCIDR' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.IPAddress' + $ref: '#/components/schemas/v1.ServiceCIDR' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.IPAddress' + $ref: '#/components/schemas/v1.ServiceCIDR' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.IPAddress' + $ref: '#/components/schemas/v1.ServiceCIDR' description: Created "401": content: {} description: Unauthorized tags: - - networking_v1beta1 + - networking_v1 x-kubernetes-action: put x-kubernetes-group-version-kind: group: networking.k8s.io - kind: IPAddress - version: v1beta1 + kind: ServiceCIDR + version: v1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -60122,10 +60018,316 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/networking.k8s.io/v1beta1/servicecidrs: + /apis/networking.k8s.io/v1/servicecidrs/{name}/status: + get: + description: read status of the specified ServiceCIDR + operationId: readServiceCIDRStatus + parameters: + - description: name of the ServiceCIDR + in: path + name: name + required: true + schema: + type: string + - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ + \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ + \ and wget)." + in: query + name: pretty + schema: + type: string + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/v1.ServiceCIDR' + application/yaml: + schema: + $ref: '#/components/schemas/v1.ServiceCIDR' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1.ServiceCIDR' + application/cbor: + schema: + $ref: '#/components/schemas/v1.ServiceCIDR' + description: OK + "401": + content: {} + description: Unauthorized + tags: + - networking_v1 + x-kubernetes-action: get + x-kubernetes-group-version-kind: + group: networking.k8s.io + kind: ServiceCIDR + version: v1 + x-accepts: + - application/cbor + - application/json + - application/vnd.kubernetes.protobuf + - application/yaml + patch: + description: partially update status of the specified ServiceCIDR + operationId: patchServiceCIDRStatus + parameters: + - description: name of the ServiceCIDR + in: path + name: name + required: true + schema: + type: string + - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ + \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ + \ and wget)." + in: query + name: pretty + schema: + type: string + - description: "When present, indicates that modifications should not be persisted.\ + \ An invalid or unrecognized dryRun directive will result in an error response\ + \ and no further processing of the request. Valid values are: - All: all\ + \ dry run stages will be processed" + in: query + name: dryRun + schema: + type: string + - description: "fieldManager is a name associated with the actor or entity that\ + \ is making these changes. The value must be less than or 128 characters\ + \ long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.\ + \ This field is required for apply requests (application/apply-patch) but\ + \ optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch)." + in: query + name: fieldManager + schema: + type: string + - description: "fieldValidation instructs the server on how to handle objects\ + \ in the request (POST/PUT/PATCH) containing unknown or duplicate fields.\ + \ Valid values are: - Ignore: This will ignore any unknown fields that are\ + \ silently dropped from the object, and will ignore all but the last duplicate\ + \ field that the decoder encounters. This is the default behavior prior\ + \ to v1.23. - Warn: This will send a warning via the standard warning response\ + \ header for each unknown field that is dropped from the object, and for\ + \ each duplicate field that is encountered. The request will still succeed\ + \ if there are no other errors, and will only persist the last of any duplicate\ + \ fields. This is the default in v1.23+ - Strict: This will fail the request\ + \ with a BadRequest error if any unknown fields would be dropped from the\ + \ object, or if any duplicate fields are present. The error returned from\ + \ the server will contain all unknown and duplicate fields encountered." + in: query + name: fieldValidation + schema: + type: string + - description: Force is going to "force" Apply requests. It means user will + re-acquire conflicting fields owned by other people. Force flag must be + unset for non-apply patch requests. + in: query + name: force + schema: + type: boolean + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/v1.Patch' + required: true + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/v1.ServiceCIDR' + application/yaml: + schema: + $ref: '#/components/schemas/v1.ServiceCIDR' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1.ServiceCIDR' + application/cbor: + schema: + $ref: '#/components/schemas/v1.ServiceCIDR' + description: OK + "201": + content: + application/json: + schema: + $ref: '#/components/schemas/v1.ServiceCIDR' + application/yaml: + schema: + $ref: '#/components/schemas/v1.ServiceCIDR' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1.ServiceCIDR' + application/cbor: + schema: + $ref: '#/components/schemas/v1.ServiceCIDR' + description: Created + "401": + content: {} + description: Unauthorized + tags: + - networking_v1 + x-kubernetes-action: patch + x-kubernetes-group-version-kind: + group: networking.k8s.io + kind: ServiceCIDR + version: v1 + x-codegen-request-body-name: body + x-content-type: application/json + x-accepts: + - application/cbor + - application/json + - application/vnd.kubernetes.protobuf + - application/yaml + put: + description: replace status of the specified ServiceCIDR + operationId: replaceServiceCIDRStatus + parameters: + - description: name of the ServiceCIDR + in: path + name: name + required: true + schema: + type: string + - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ + \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ + \ and wget)." + in: query + name: pretty + schema: + type: string + - description: "When present, indicates that modifications should not be persisted.\ + \ An invalid or unrecognized dryRun directive will result in an error response\ + \ and no further processing of the request. Valid values are: - All: all\ + \ dry run stages will be processed" + in: query + name: dryRun + schema: + type: string + - description: "fieldManager is a name associated with the actor or entity that\ + \ is making these changes. The value must be less than or 128 characters\ + \ long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint." + in: query + name: fieldManager + schema: + type: string + - description: "fieldValidation instructs the server on how to handle objects\ + \ in the request (POST/PUT/PATCH) containing unknown or duplicate fields.\ + \ Valid values are: - Ignore: This will ignore any unknown fields that are\ + \ silently dropped from the object, and will ignore all but the last duplicate\ + \ field that the decoder encounters. This is the default behavior prior\ + \ to v1.23. - Warn: This will send a warning via the standard warning response\ + \ header for each unknown field that is dropped from the object, and for\ + \ each duplicate field that is encountered. The request will still succeed\ + \ if there are no other errors, and will only persist the last of any duplicate\ + \ fields. This is the default in v1.23+ - Strict: This will fail the request\ + \ with a BadRequest error if any unknown fields would be dropped from the\ + \ object, or if any duplicate fields are present. The error returned from\ + \ the server will contain all unknown and duplicate fields encountered." + in: query + name: fieldValidation + schema: + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/v1.ServiceCIDR' + required: true + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/v1.ServiceCIDR' + application/yaml: + schema: + $ref: '#/components/schemas/v1.ServiceCIDR' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1.ServiceCIDR' + application/cbor: + schema: + $ref: '#/components/schemas/v1.ServiceCIDR' + description: OK + "201": + content: + application/json: + schema: + $ref: '#/components/schemas/v1.ServiceCIDR' + application/yaml: + schema: + $ref: '#/components/schemas/v1.ServiceCIDR' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1.ServiceCIDR' + application/cbor: + schema: + $ref: '#/components/schemas/v1.ServiceCIDR' + description: Created + "401": + content: {} + description: Unauthorized + tags: + - networking_v1 + x-kubernetes-action: put + x-kubernetes-group-version-kind: + group: networking.k8s.io + kind: ServiceCIDR + version: v1 + x-codegen-request-body-name: body + x-content-type: application/json + x-accepts: + - application/cbor + - application/json + - application/vnd.kubernetes.protobuf + - application/yaml + /apis/networking.k8s.io/v1/watch/ingressclasses: {} + /apis/networking.k8s.io/v1/watch/ingressclasses/{name}: {} + /apis/networking.k8s.io/v1/watch/ingresses: {} + /apis/networking.k8s.io/v1/watch/ipaddresses: {} + /apis/networking.k8s.io/v1/watch/ipaddresses/{name}: {} + /apis/networking.k8s.io/v1/watch/namespaces/{namespace}/ingresses: {} + /apis/networking.k8s.io/v1/watch/namespaces/{namespace}/ingresses/{name}: {} + /apis/networking.k8s.io/v1/watch/namespaces/{namespace}/networkpolicies: {} + /apis/networking.k8s.io/v1/watch/namespaces/{namespace}/networkpolicies/{name}: {} + /apis/networking.k8s.io/v1/watch/networkpolicies: {} + /apis/networking.k8s.io/v1/watch/servicecidrs: {} + /apis/networking.k8s.io/v1/watch/servicecidrs/{name}: {} + /apis/networking.k8s.io/v1beta1/: + get: + description: get available resources + operationId: getAPIResources + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/v1.APIResourceList' + application/yaml: + schema: + $ref: '#/components/schemas/v1.APIResourceList' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1.APIResourceList' + application/cbor: + schema: + $ref: '#/components/schemas/v1.APIResourceList' + description: OK + "401": + content: {} + description: Unauthorized + tags: + - networking_v1beta1 + x-accepts: + - application/cbor + - application/json + - application/vnd.kubernetes.protobuf + - application/yaml + /apis/networking.k8s.io/v1beta1/ipaddresses: delete: - description: delete collection of ServiceCIDR - operationId: deleteCollectionServiceCIDR + description: delete collection of IPAddress + operationId: deleteCollectionIPAddress parameters: - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ @@ -60283,7 +60485,7 @@ paths: x-kubernetes-action: deletecollection x-kubernetes-group-version-kind: group: networking.k8s.io - kind: ServiceCIDR + kind: IPAddress version: v1beta1 x-codegen-request-body-name: body x-content-type: application/json @@ -60293,8 +60495,8 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml get: - description: list or watch objects of kind ServiceCIDR - operationId: listServiceCIDR + description: list or watch objects of kind IPAddress + operationId: listIPAddress parameters: - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ @@ -60392,25 +60594,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ServiceCIDRList' + $ref: '#/components/schemas/v1beta1.IPAddressList' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ServiceCIDRList' + $ref: '#/components/schemas/v1beta1.IPAddressList' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ServiceCIDRList' + $ref: '#/components/schemas/v1beta1.IPAddressList' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ServiceCIDRList' + $ref: '#/components/schemas/v1beta1.IPAddressList' application/json;stream=watch: schema: - $ref: '#/components/schemas/v1beta1.ServiceCIDRList' + $ref: '#/components/schemas/v1beta1.IPAddressList' application/vnd.kubernetes.protobuf;stream=watch: schema: - $ref: '#/components/schemas/v1beta1.ServiceCIDRList' + $ref: '#/components/schemas/v1beta1.IPAddressList' application/cbor-seq: schema: - $ref: '#/components/schemas/v1beta1.ServiceCIDRList' + $ref: '#/components/schemas/v1beta1.IPAddressList' description: OK "401": content: {} @@ -60420,7 +60622,7 @@ paths: x-kubernetes-action: list x-kubernetes-group-version-kind: group: networking.k8s.io - kind: ServiceCIDR + kind: IPAddress version: v1beta1 x-accepts: - application/cbor @@ -60431,8 +60633,8 @@ paths: - application/vnd.kubernetes.protobuf;stream=watch - application/yaml post: - description: create a ServiceCIDR - operationId: createServiceCIDR + description: create an IPAddress + operationId: createIPAddress parameters: - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ @@ -60477,53 +60679,53 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ServiceCIDR' + $ref: '#/components/schemas/v1beta1.IPAddress' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ServiceCIDR' + $ref: '#/components/schemas/v1beta1.IPAddress' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ServiceCIDR' + $ref: '#/components/schemas/v1beta1.IPAddress' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ServiceCIDR' + $ref: '#/components/schemas/v1beta1.IPAddress' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ServiceCIDR' + $ref: '#/components/schemas/v1beta1.IPAddress' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ServiceCIDR' + $ref: '#/components/schemas/v1beta1.IPAddress' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ServiceCIDR' + $ref: '#/components/schemas/v1beta1.IPAddress' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ServiceCIDR' + $ref: '#/components/schemas/v1beta1.IPAddress' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ServiceCIDR' + $ref: '#/components/schemas/v1beta1.IPAddress' description: Created "202": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ServiceCIDR' + $ref: '#/components/schemas/v1beta1.IPAddress' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ServiceCIDR' + $ref: '#/components/schemas/v1beta1.IPAddress' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ServiceCIDR' + $ref: '#/components/schemas/v1beta1.IPAddress' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ServiceCIDR' + $ref: '#/components/schemas/v1beta1.IPAddress' description: Accepted "401": content: {} @@ -60533,7 +60735,7 @@ paths: x-kubernetes-action: post x-kubernetes-group-version-kind: group: networking.k8s.io - kind: ServiceCIDR + kind: IPAddress version: v1beta1 x-codegen-request-body-name: body x-content-type: application/json @@ -60542,12 +60744,12 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/networking.k8s.io/v1beta1/servicecidrs/{name}: + /apis/networking.k8s.io/v1beta1/ipaddresses/{name}: delete: - description: delete a ServiceCIDR - operationId: deleteServiceCIDR + description: delete an IPAddress + operationId: deleteIPAddress parameters: - - description: name of the ServiceCIDR + - description: name of the IPAddress in: path name: name required: true @@ -60656,7 +60858,7 @@ paths: x-kubernetes-action: delete x-kubernetes-group-version-kind: group: networking.k8s.io - kind: ServiceCIDR + kind: IPAddress version: v1beta1 x-codegen-request-body-name: body x-content-type: application/json @@ -60666,10 +60868,10 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml get: - description: read the specified ServiceCIDR - operationId: readServiceCIDR + description: read the specified IPAddress + operationId: readIPAddress parameters: - - description: name of the ServiceCIDR + - description: name of the IPAddress in: path name: name required: true @@ -60687,16 +60889,16 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ServiceCIDR' + $ref: '#/components/schemas/v1beta1.IPAddress' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ServiceCIDR' + $ref: '#/components/schemas/v1beta1.IPAddress' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ServiceCIDR' + $ref: '#/components/schemas/v1beta1.IPAddress' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ServiceCIDR' + $ref: '#/components/schemas/v1beta1.IPAddress' description: OK "401": content: {} @@ -60706,7 +60908,7 @@ paths: x-kubernetes-action: get x-kubernetes-group-version-kind: group: networking.k8s.io - kind: ServiceCIDR + kind: IPAddress version: v1beta1 x-accepts: - application/cbor @@ -60714,10 +60916,10 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml patch: - description: partially update the specified ServiceCIDR - operationId: patchServiceCIDR + description: partially update the specified IPAddress + operationId: patchIPAddress parameters: - - description: name of the ServiceCIDR + - description: name of the IPAddress in: path name: name required: true @@ -60782,31 +60984,31 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ServiceCIDR' + $ref: '#/components/schemas/v1beta1.IPAddress' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ServiceCIDR' + $ref: '#/components/schemas/v1beta1.IPAddress' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ServiceCIDR' + $ref: '#/components/schemas/v1beta1.IPAddress' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ServiceCIDR' + $ref: '#/components/schemas/v1beta1.IPAddress' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ServiceCIDR' + $ref: '#/components/schemas/v1beta1.IPAddress' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ServiceCIDR' + $ref: '#/components/schemas/v1beta1.IPAddress' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ServiceCIDR' + $ref: '#/components/schemas/v1beta1.IPAddress' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ServiceCIDR' + $ref: '#/components/schemas/v1beta1.IPAddress' description: Created "401": content: {} @@ -60816,7 +61018,7 @@ paths: x-kubernetes-action: patch x-kubernetes-group-version-kind: group: networking.k8s.io - kind: ServiceCIDR + kind: IPAddress version: v1beta1 x-codegen-request-body-name: body x-content-type: application/json @@ -60826,10 +61028,816 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml put: - description: replace the specified ServiceCIDR - operationId: replaceServiceCIDR + description: replace the specified IPAddress + operationId: replaceIPAddress parameters: - - description: name of the ServiceCIDR + - description: name of the IPAddress + in: path + name: name + required: true + schema: + type: string + - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ + \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ + \ and wget)." + in: query + name: pretty + schema: + type: string + - description: "When present, indicates that modifications should not be persisted.\ + \ An invalid or unrecognized dryRun directive will result in an error response\ + \ and no further processing of the request. Valid values are: - All: all\ + \ dry run stages will be processed" + in: query + name: dryRun + schema: + type: string + - description: "fieldManager is a name associated with the actor or entity that\ + \ is making these changes. The value must be less than or 128 characters\ + \ long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint." + in: query + name: fieldManager + schema: + type: string + - description: "fieldValidation instructs the server on how to handle objects\ + \ in the request (POST/PUT/PATCH) containing unknown or duplicate fields.\ + \ Valid values are: - Ignore: This will ignore any unknown fields that are\ + \ silently dropped from the object, and will ignore all but the last duplicate\ + \ field that the decoder encounters. This is the default behavior prior\ + \ to v1.23. - Warn: This will send a warning via the standard warning response\ + \ header for each unknown field that is dropped from the object, and for\ + \ each duplicate field that is encountered. The request will still succeed\ + \ if there are no other errors, and will only persist the last of any duplicate\ + \ fields. This is the default in v1.23+ - Strict: This will fail the request\ + \ with a BadRequest error if any unknown fields would be dropped from the\ + \ object, or if any duplicate fields are present. The error returned from\ + \ the server will contain all unknown and duplicate fields encountered." + in: query + name: fieldValidation + schema: + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/v1beta1.IPAddress' + required: true + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/v1beta1.IPAddress' + application/yaml: + schema: + $ref: '#/components/schemas/v1beta1.IPAddress' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1beta1.IPAddress' + application/cbor: + schema: + $ref: '#/components/schemas/v1beta1.IPAddress' + description: OK + "201": + content: + application/json: + schema: + $ref: '#/components/schemas/v1beta1.IPAddress' + application/yaml: + schema: + $ref: '#/components/schemas/v1beta1.IPAddress' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1beta1.IPAddress' + application/cbor: + schema: + $ref: '#/components/schemas/v1beta1.IPAddress' + description: Created + "401": + content: {} + description: Unauthorized + tags: + - networking_v1beta1 + x-kubernetes-action: put + x-kubernetes-group-version-kind: + group: networking.k8s.io + kind: IPAddress + version: v1beta1 + x-codegen-request-body-name: body + x-content-type: application/json + x-accepts: + - application/cbor + - application/json + - application/vnd.kubernetes.protobuf + - application/yaml + /apis/networking.k8s.io/v1beta1/servicecidrs: + delete: + description: delete collection of ServiceCIDR + operationId: deleteCollectionServiceCIDR + parameters: + - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ + \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ + \ and wget)." + in: query + name: pretty + schema: + type: string + - description: |- + The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + + This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + in: query + name: continue + schema: + type: string + - description: "When present, indicates that modifications should not be persisted.\ + \ An invalid or unrecognized dryRun directive will result in an error response\ + \ and no further processing of the request. Valid values are: - All: all\ + \ dry run stages will be processed" + in: query + name: dryRun + schema: + type: string + - description: A selector to restrict the list of returned objects by their + fields. Defaults to everything. + in: query + name: fieldSelector + schema: + type: string + - description: "The duration in seconds before the object should be deleted.\ + \ Value must be non-negative integer. The value zero indicates delete immediately.\ + \ If this value is nil, the default grace period for the specified type\ + \ will be used. Defaults to a per object value if not specified. zero means\ + \ delete immediately." + in: query + name: gracePeriodSeconds + schema: + type: integer + - description: "if set to true, it will trigger an unsafe deletion of the resource\ + \ in case the normal deletion flow fails with a corrupt object error. A\ + \ resource is considered corrupt if it can not be retrieved from the underlying\ + \ storage successfully because of a) its data can not be transformed e.g.\ + \ decryption failure, or b) it fails to decode into an object. NOTE: unsafe\ + \ deletion ignores finalizer constraints, skips precondition checks, and\ + \ removes the object from the storage. WARNING: This may potentially break\ + \ the cluster if the workload associated with the resource being unsafe-deleted\ + \ relies on normal deletion flow. Use only if you REALLY know what you are\ + \ doing. The default value is false, and the user must opt in to enable\ + \ it" + in: query + name: ignoreStoreReadErrorWithClusterBreakingPotential + schema: + type: boolean + - description: A selector to restrict the list of returned objects by their + labels. Defaults to everything. + in: query + name: labelSelector + schema: + type: string + - description: |- + limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. + + The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + in: query + name: limit + schema: + type: integer + - description: "Deprecated: please use the PropagationPolicy, this field will\ + \ be deprecated in 1.7. Should the dependent objects be orphaned. If true/false,\ + \ the \"orphan\" finalizer will be added to/removed from the object's finalizers\ + \ list. Either this field or PropagationPolicy may be set, but not both." + in: query + name: orphanDependents + schema: + type: boolean + - description: "Whether and how garbage collection will be performed. Either\ + \ this field or OrphanDependents may be set, but not both. The default policy\ + \ is decided by the existing finalizer set in the metadata.finalizers and\ + \ the resource-specific default policy. Acceptable values are: 'Orphan'\ + \ - orphan the dependents; 'Background' - allow the garbage collector to\ + \ delete the dependents in the background; 'Foreground' - a cascading policy\ + \ that deletes all dependents in the foreground." + in: query + name: propagationPolicy + schema: + type: string + - description: |- + resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. + + Defaults to unset + in: query + name: resourceVersion + schema: + type: string + - description: |- + resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. + + Defaults to unset + in: query + name: resourceVersionMatch + schema: + type: string + - description: |- + `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic "Bookmark" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. + + When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan + is interpreted as "data at least as new as the provided `resourceVersion`" + and the bookmark event is send when the state is synced + to a `resourceVersion` at least as fresh as the one provided by the ListOptions. + If `resourceVersion` is unset, this is interpreted as "consistent read" and the + bookmark event is send when the state is synced at least to the moment + when request started being processed. + - `resourceVersionMatch` set to any other value or unset + Invalid error is returned. + + Defaults to true if `resourceVersion=""` or `resourceVersion="0"` (for backward compatibility reasons) and to false otherwise. + in: query + name: sendInitialEvents + schema: + type: boolean + - description: "Timeout for the list/watch call. This limits the duration of\ + \ the call, regardless of any activity or inactivity." + in: query + name: timeoutSeconds + schema: + type: integer + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/v1.DeleteOptions' + required: false + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/v1.Status' + application/yaml: + schema: + $ref: '#/components/schemas/v1.Status' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1.Status' + application/cbor: + schema: + $ref: '#/components/schemas/v1.Status' + description: OK + "401": + content: {} + description: Unauthorized + tags: + - networking_v1beta1 + x-kubernetes-action: deletecollection + x-kubernetes-group-version-kind: + group: networking.k8s.io + kind: ServiceCIDR + version: v1beta1 + x-codegen-request-body-name: body + x-content-type: application/json + x-accepts: + - application/cbor + - application/json + - application/vnd.kubernetes.protobuf + - application/yaml + get: + description: list or watch objects of kind ServiceCIDR + operationId: listServiceCIDR + parameters: + - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ + \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ + \ and wget)." + in: query + name: pretty + schema: + type: string + - description: "allowWatchBookmarks requests watch events with type \"BOOKMARK\"\ + . Servers that do not implement bookmarks may ignore this flag and bookmarks\ + \ are sent at the server's discretion. Clients should not assume bookmarks\ + \ are returned at any specific interval, nor may they assume the server\ + \ will send any BOOKMARK event during a session. If this is not a watch,\ + \ this field is ignored." + in: query + name: allowWatchBookmarks + schema: + type: boolean + - description: |- + The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + + This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + in: query + name: continue + schema: + type: string + - description: A selector to restrict the list of returned objects by their + fields. Defaults to everything. + in: query + name: fieldSelector + schema: + type: string + - description: A selector to restrict the list of returned objects by their + labels. Defaults to everything. + in: query + name: labelSelector + schema: + type: string + - description: |- + limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. + + The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + in: query + name: limit + schema: + type: integer + - description: |- + resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. + + Defaults to unset + in: query + name: resourceVersion + schema: + type: string + - description: |- + resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. + + Defaults to unset + in: query + name: resourceVersionMatch + schema: + type: string + - description: |- + `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic "Bookmark" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. + + When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan + is interpreted as "data at least as new as the provided `resourceVersion`" + and the bookmark event is send when the state is synced + to a `resourceVersion` at least as fresh as the one provided by the ListOptions. + If `resourceVersion` is unset, this is interpreted as "consistent read" and the + bookmark event is send when the state is synced at least to the moment + when request started being processed. + - `resourceVersionMatch` set to any other value or unset + Invalid error is returned. + + Defaults to true if `resourceVersion=""` or `resourceVersion="0"` (for backward compatibility reasons) and to false otherwise. + in: query + name: sendInitialEvents + schema: + type: boolean + - description: "Timeout for the list/watch call. This limits the duration of\ + \ the call, regardless of any activity or inactivity." + in: query + name: timeoutSeconds + schema: + type: integer + - description: "Watch for changes to the described resources and return them\ + \ as a stream of add, update, and remove notifications. Specify resourceVersion." + in: query + name: watch + schema: + type: boolean + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/v1beta1.ServiceCIDRList' + application/yaml: + schema: + $ref: '#/components/schemas/v1beta1.ServiceCIDRList' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1beta1.ServiceCIDRList' + application/cbor: + schema: + $ref: '#/components/schemas/v1beta1.ServiceCIDRList' + application/json;stream=watch: + schema: + $ref: '#/components/schemas/v1beta1.ServiceCIDRList' + application/vnd.kubernetes.protobuf;stream=watch: + schema: + $ref: '#/components/schemas/v1beta1.ServiceCIDRList' + application/cbor-seq: + schema: + $ref: '#/components/schemas/v1beta1.ServiceCIDRList' + description: OK + "401": + content: {} + description: Unauthorized + tags: + - networking_v1beta1 + x-kubernetes-action: list + x-kubernetes-group-version-kind: + group: networking.k8s.io + kind: ServiceCIDR + version: v1beta1 + x-accepts: + - application/cbor + - application/cbor-seq + - application/json + - application/json;stream=watch + - application/vnd.kubernetes.protobuf + - application/vnd.kubernetes.protobuf;stream=watch + - application/yaml + post: + description: create a ServiceCIDR + operationId: createServiceCIDR + parameters: + - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ + \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ + \ and wget)." + in: query + name: pretty + schema: + type: string + - description: "When present, indicates that modifications should not be persisted.\ + \ An invalid or unrecognized dryRun directive will result in an error response\ + \ and no further processing of the request. Valid values are: - All: all\ + \ dry run stages will be processed" + in: query + name: dryRun + schema: + type: string + - description: "fieldManager is a name associated with the actor or entity that\ + \ is making these changes. The value must be less than or 128 characters\ + \ long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint." + in: query + name: fieldManager + schema: + type: string + - description: "fieldValidation instructs the server on how to handle objects\ + \ in the request (POST/PUT/PATCH) containing unknown or duplicate fields.\ + \ Valid values are: - Ignore: This will ignore any unknown fields that are\ + \ silently dropped from the object, and will ignore all but the last duplicate\ + \ field that the decoder encounters. This is the default behavior prior\ + \ to v1.23. - Warn: This will send a warning via the standard warning response\ + \ header for each unknown field that is dropped from the object, and for\ + \ each duplicate field that is encountered. The request will still succeed\ + \ if there are no other errors, and will only persist the last of any duplicate\ + \ fields. This is the default in v1.23+ - Strict: This will fail the request\ + \ with a BadRequest error if any unknown fields would be dropped from the\ + \ object, or if any duplicate fields are present. The error returned from\ + \ the server will contain all unknown and duplicate fields encountered." + in: query + name: fieldValidation + schema: + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/v1beta1.ServiceCIDR' + required: true + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/v1beta1.ServiceCIDR' + application/yaml: + schema: + $ref: '#/components/schemas/v1beta1.ServiceCIDR' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1beta1.ServiceCIDR' + application/cbor: + schema: + $ref: '#/components/schemas/v1beta1.ServiceCIDR' + description: OK + "201": + content: + application/json: + schema: + $ref: '#/components/schemas/v1beta1.ServiceCIDR' + application/yaml: + schema: + $ref: '#/components/schemas/v1beta1.ServiceCIDR' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1beta1.ServiceCIDR' + application/cbor: + schema: + $ref: '#/components/schemas/v1beta1.ServiceCIDR' + description: Created + "202": + content: + application/json: + schema: + $ref: '#/components/schemas/v1beta1.ServiceCIDR' + application/yaml: + schema: + $ref: '#/components/schemas/v1beta1.ServiceCIDR' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1beta1.ServiceCIDR' + application/cbor: + schema: + $ref: '#/components/schemas/v1beta1.ServiceCIDR' + description: Accepted + "401": + content: {} + description: Unauthorized + tags: + - networking_v1beta1 + x-kubernetes-action: post + x-kubernetes-group-version-kind: + group: networking.k8s.io + kind: ServiceCIDR + version: v1beta1 + x-codegen-request-body-name: body + x-content-type: application/json + x-accepts: + - application/cbor + - application/json + - application/vnd.kubernetes.protobuf + - application/yaml + /apis/networking.k8s.io/v1beta1/servicecidrs/{name}: + delete: + description: delete a ServiceCIDR + operationId: deleteServiceCIDR + parameters: + - description: name of the ServiceCIDR + in: path + name: name + required: true + schema: + type: string + - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ + \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ + \ and wget)." + in: query + name: pretty + schema: + type: string + - description: "When present, indicates that modifications should not be persisted.\ + \ An invalid or unrecognized dryRun directive will result in an error response\ + \ and no further processing of the request. Valid values are: - All: all\ + \ dry run stages will be processed" + in: query + name: dryRun + schema: + type: string + - description: "The duration in seconds before the object should be deleted.\ + \ Value must be non-negative integer. The value zero indicates delete immediately.\ + \ If this value is nil, the default grace period for the specified type\ + \ will be used. Defaults to a per object value if not specified. zero means\ + \ delete immediately." + in: query + name: gracePeriodSeconds + schema: + type: integer + - description: "if set to true, it will trigger an unsafe deletion of the resource\ + \ in case the normal deletion flow fails with a corrupt object error. A\ + \ resource is considered corrupt if it can not be retrieved from the underlying\ + \ storage successfully because of a) its data can not be transformed e.g.\ + \ decryption failure, or b) it fails to decode into an object. NOTE: unsafe\ + \ deletion ignores finalizer constraints, skips precondition checks, and\ + \ removes the object from the storage. WARNING: This may potentially break\ + \ the cluster if the workload associated with the resource being unsafe-deleted\ + \ relies on normal deletion flow. Use only if you REALLY know what you are\ + \ doing. The default value is false, and the user must opt in to enable\ + \ it" + in: query + name: ignoreStoreReadErrorWithClusterBreakingPotential + schema: + type: boolean + - description: "Deprecated: please use the PropagationPolicy, this field will\ + \ be deprecated in 1.7. Should the dependent objects be orphaned. If true/false,\ + \ the \"orphan\" finalizer will be added to/removed from the object's finalizers\ + \ list. Either this field or PropagationPolicy may be set, but not both." + in: query + name: orphanDependents + schema: + type: boolean + - description: "Whether and how garbage collection will be performed. Either\ + \ this field or OrphanDependents may be set, but not both. The default policy\ + \ is decided by the existing finalizer set in the metadata.finalizers and\ + \ the resource-specific default policy. Acceptable values are: 'Orphan'\ + \ - orphan the dependents; 'Background' - allow the garbage collector to\ + \ delete the dependents in the background; 'Foreground' - a cascading policy\ + \ that deletes all dependents in the foreground." + in: query + name: propagationPolicy + schema: + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/v1.DeleteOptions' + required: false + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/v1.Status' + application/yaml: + schema: + $ref: '#/components/schemas/v1.Status' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1.Status' + application/cbor: + schema: + $ref: '#/components/schemas/v1.Status' + description: OK + "202": + content: + application/json: + schema: + $ref: '#/components/schemas/v1.Status' + application/yaml: + schema: + $ref: '#/components/schemas/v1.Status' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1.Status' + application/cbor: + schema: + $ref: '#/components/schemas/v1.Status' + description: Accepted + "401": + content: {} + description: Unauthorized + tags: + - networking_v1beta1 + x-kubernetes-action: delete + x-kubernetes-group-version-kind: + group: networking.k8s.io + kind: ServiceCIDR + version: v1beta1 + x-codegen-request-body-name: body + x-content-type: application/json + x-accepts: + - application/cbor + - application/json + - application/vnd.kubernetes.protobuf + - application/yaml + get: + description: read the specified ServiceCIDR + operationId: readServiceCIDR + parameters: + - description: name of the ServiceCIDR + in: path + name: name + required: true + schema: + type: string + - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ + \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ + \ and wget)." + in: query + name: pretty + schema: + type: string + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/v1beta1.ServiceCIDR' + application/yaml: + schema: + $ref: '#/components/schemas/v1beta1.ServiceCIDR' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1beta1.ServiceCIDR' + application/cbor: + schema: + $ref: '#/components/schemas/v1beta1.ServiceCIDR' + description: OK + "401": + content: {} + description: Unauthorized + tags: + - networking_v1beta1 + x-kubernetes-action: get + x-kubernetes-group-version-kind: + group: networking.k8s.io + kind: ServiceCIDR + version: v1beta1 + x-accepts: + - application/cbor + - application/json + - application/vnd.kubernetes.protobuf + - application/yaml + patch: + description: partially update the specified ServiceCIDR + operationId: patchServiceCIDR + parameters: + - description: name of the ServiceCIDR + in: path + name: name + required: true + schema: + type: string + - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ + \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ + \ and wget)." + in: query + name: pretty + schema: + type: string + - description: "When present, indicates that modifications should not be persisted.\ + \ An invalid or unrecognized dryRun directive will result in an error response\ + \ and no further processing of the request. Valid values are: - All: all\ + \ dry run stages will be processed" + in: query + name: dryRun + schema: + type: string + - description: "fieldManager is a name associated with the actor or entity that\ + \ is making these changes. The value must be less than or 128 characters\ + \ long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.\ + \ This field is required for apply requests (application/apply-patch) but\ + \ optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch)." + in: query + name: fieldManager + schema: + type: string + - description: "fieldValidation instructs the server on how to handle objects\ + \ in the request (POST/PUT/PATCH) containing unknown or duplicate fields.\ + \ Valid values are: - Ignore: This will ignore any unknown fields that are\ + \ silently dropped from the object, and will ignore all but the last duplicate\ + \ field that the decoder encounters. This is the default behavior prior\ + \ to v1.23. - Warn: This will send a warning via the standard warning response\ + \ header for each unknown field that is dropped from the object, and for\ + \ each duplicate field that is encountered. The request will still succeed\ + \ if there are no other errors, and will only persist the last of any duplicate\ + \ fields. This is the default in v1.23+ - Strict: This will fail the request\ + \ with a BadRequest error if any unknown fields would be dropped from the\ + \ object, or if any duplicate fields are present. The error returned from\ + \ the server will contain all unknown and duplicate fields encountered." + in: query + name: fieldValidation + schema: + type: string + - description: Force is going to "force" Apply requests. It means user will + re-acquire conflicting fields owned by other people. Force flag must be + unset for non-apply patch requests. + in: query + name: force + schema: + type: boolean + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/v1.Patch' + required: true + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/v1beta1.ServiceCIDR' + application/yaml: + schema: + $ref: '#/components/schemas/v1beta1.ServiceCIDR' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1beta1.ServiceCIDR' + application/cbor: + schema: + $ref: '#/components/schemas/v1beta1.ServiceCIDR' + description: OK + "201": + content: + application/json: + schema: + $ref: '#/components/schemas/v1beta1.ServiceCIDR' + application/yaml: + schema: + $ref: '#/components/schemas/v1beta1.ServiceCIDR' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1beta1.ServiceCIDR' + application/cbor: + schema: + $ref: '#/components/schemas/v1beta1.ServiceCIDR' + description: Created + "401": + content: {} + description: Unauthorized + tags: + - networking_v1beta1 + x-kubernetes-action: patch + x-kubernetes-group-version-kind: + group: networking.k8s.io + kind: ServiceCIDR + version: v1beta1 + x-codegen-request-body-name: body + x-content-type: application/json + x-accepts: + - application/cbor + - application/json + - application/vnd.kubernetes.protobuf + - application/yaml + put: + description: replace the specified ServiceCIDR + operationId: replaceServiceCIDR + parameters: + - description: name of the ServiceCIDR in: path name: name required: true @@ -67066,7 +68074,7 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/resource.k8s.io/v1alpha3/: + /apis/resource.k8s.io/v1/: get: description: get available resources operationId: getAPIResources @@ -67090,13 +68098,13 @@ paths: content: {} description: Unauthorized tags: - - resource_v1alpha3 + - resource_v1 x-accepts: - application/cbor - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/resource.k8s.io/v1alpha3/deviceclasses: + /apis/resource.k8s.io/v1/deviceclasses: delete: description: delete collection of DeviceClass operationId: deleteCollectionDeviceClass @@ -67253,12 +68261,12 @@ paths: content: {} description: Unauthorized tags: - - resource_v1alpha3 + - resource_v1 x-kubernetes-action: deletecollection x-kubernetes-group-version-kind: group: resource.k8s.io kind: DeviceClass - version: v1alpha3 + version: v1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -67366,36 +68374,36 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1alpha3.DeviceClassList' + $ref: '#/components/schemas/v1.DeviceClassList' application/yaml: schema: - $ref: '#/components/schemas/v1alpha3.DeviceClassList' + $ref: '#/components/schemas/v1.DeviceClassList' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha3.DeviceClassList' + $ref: '#/components/schemas/v1.DeviceClassList' application/cbor: schema: - $ref: '#/components/schemas/v1alpha3.DeviceClassList' + $ref: '#/components/schemas/v1.DeviceClassList' application/json;stream=watch: schema: - $ref: '#/components/schemas/v1alpha3.DeviceClassList' + $ref: '#/components/schemas/v1.DeviceClassList' application/vnd.kubernetes.protobuf;stream=watch: schema: - $ref: '#/components/schemas/v1alpha3.DeviceClassList' + $ref: '#/components/schemas/v1.DeviceClassList' application/cbor-seq: schema: - $ref: '#/components/schemas/v1alpha3.DeviceClassList' + $ref: '#/components/schemas/v1.DeviceClassList' description: OK "401": content: {} description: Unauthorized tags: - - resource_v1alpha3 + - resource_v1 x-kubernetes-action: list x-kubernetes-group-version-kind: group: resource.k8s.io kind: DeviceClass - version: v1alpha3 + version: v1 x-accepts: - application/cbor - application/cbor-seq @@ -67451,64 +68459,64 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1alpha3.DeviceClass' + $ref: '#/components/schemas/v1.DeviceClass' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1alpha3.DeviceClass' + $ref: '#/components/schemas/v1.DeviceClass' application/yaml: schema: - $ref: '#/components/schemas/v1alpha3.DeviceClass' + $ref: '#/components/schemas/v1.DeviceClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha3.DeviceClass' + $ref: '#/components/schemas/v1.DeviceClass' application/cbor: schema: - $ref: '#/components/schemas/v1alpha3.DeviceClass' + $ref: '#/components/schemas/v1.DeviceClass' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1alpha3.DeviceClass' + $ref: '#/components/schemas/v1.DeviceClass' application/yaml: schema: - $ref: '#/components/schemas/v1alpha3.DeviceClass' + $ref: '#/components/schemas/v1.DeviceClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha3.DeviceClass' + $ref: '#/components/schemas/v1.DeviceClass' application/cbor: schema: - $ref: '#/components/schemas/v1alpha3.DeviceClass' + $ref: '#/components/schemas/v1.DeviceClass' description: Created "202": content: application/json: schema: - $ref: '#/components/schemas/v1alpha3.DeviceClass' + $ref: '#/components/schemas/v1.DeviceClass' application/yaml: schema: - $ref: '#/components/schemas/v1alpha3.DeviceClass' + $ref: '#/components/schemas/v1.DeviceClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha3.DeviceClass' + $ref: '#/components/schemas/v1.DeviceClass' application/cbor: schema: - $ref: '#/components/schemas/v1alpha3.DeviceClass' + $ref: '#/components/schemas/v1.DeviceClass' description: Accepted "401": content: {} description: Unauthorized tags: - - resource_v1alpha3 + - resource_v1 x-kubernetes-action: post x-kubernetes-group-version-kind: group: resource.k8s.io kind: DeviceClass - version: v1alpha3 + version: v1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -67516,7 +68524,7 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/resource.k8s.io/v1alpha3/deviceclasses/{name}: + /apis/resource.k8s.io/v1/deviceclasses/{name}: delete: description: delete a DeviceClass operationId: deleteDeviceClass @@ -67596,42 +68604,42 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1alpha3.DeviceClass' + $ref: '#/components/schemas/v1.DeviceClass' application/yaml: schema: - $ref: '#/components/schemas/v1alpha3.DeviceClass' + $ref: '#/components/schemas/v1.DeviceClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha3.DeviceClass' + $ref: '#/components/schemas/v1.DeviceClass' application/cbor: schema: - $ref: '#/components/schemas/v1alpha3.DeviceClass' + $ref: '#/components/schemas/v1.DeviceClass' description: OK "202": content: application/json: schema: - $ref: '#/components/schemas/v1alpha3.DeviceClass' + $ref: '#/components/schemas/v1.DeviceClass' application/yaml: schema: - $ref: '#/components/schemas/v1alpha3.DeviceClass' + $ref: '#/components/schemas/v1.DeviceClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha3.DeviceClass' + $ref: '#/components/schemas/v1.DeviceClass' application/cbor: schema: - $ref: '#/components/schemas/v1alpha3.DeviceClass' + $ref: '#/components/schemas/v1.DeviceClass' description: Accepted "401": content: {} description: Unauthorized tags: - - resource_v1alpha3 + - resource_v1 x-kubernetes-action: delete x-kubernetes-group-version-kind: group: resource.k8s.io kind: DeviceClass - version: v1alpha3 + version: v1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -67661,27 +68669,27 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1alpha3.DeviceClass' + $ref: '#/components/schemas/v1.DeviceClass' application/yaml: schema: - $ref: '#/components/schemas/v1alpha3.DeviceClass' + $ref: '#/components/schemas/v1.DeviceClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha3.DeviceClass' + $ref: '#/components/schemas/v1.DeviceClass' application/cbor: schema: - $ref: '#/components/schemas/v1alpha3.DeviceClass' + $ref: '#/components/schemas/v1.DeviceClass' description: OK "401": content: {} description: Unauthorized tags: - - resource_v1alpha3 + - resource_v1 x-kubernetes-action: get x-kubernetes-group-version-kind: group: resource.k8s.io kind: DeviceClass - version: v1alpha3 + version: v1 x-accepts: - application/cbor - application/json @@ -67756,42 +68764,42 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1alpha3.DeviceClass' + $ref: '#/components/schemas/v1.DeviceClass' application/yaml: schema: - $ref: '#/components/schemas/v1alpha3.DeviceClass' + $ref: '#/components/schemas/v1.DeviceClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha3.DeviceClass' + $ref: '#/components/schemas/v1.DeviceClass' application/cbor: schema: - $ref: '#/components/schemas/v1alpha3.DeviceClass' + $ref: '#/components/schemas/v1.DeviceClass' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1alpha3.DeviceClass' + $ref: '#/components/schemas/v1.DeviceClass' application/yaml: schema: - $ref: '#/components/schemas/v1alpha3.DeviceClass' + $ref: '#/components/schemas/v1.DeviceClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha3.DeviceClass' + $ref: '#/components/schemas/v1.DeviceClass' application/cbor: schema: - $ref: '#/components/schemas/v1alpha3.DeviceClass' + $ref: '#/components/schemas/v1.DeviceClass' description: Created "401": content: {} description: Unauthorized tags: - - resource_v1alpha3 + - resource_v1 x-kubernetes-action: patch x-kubernetes-group-version-kind: group: resource.k8s.io kind: DeviceClass - version: v1alpha3 + version: v1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -67852,49 +68860,49 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1alpha3.DeviceClass' + $ref: '#/components/schemas/v1.DeviceClass' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1alpha3.DeviceClass' + $ref: '#/components/schemas/v1.DeviceClass' application/yaml: schema: - $ref: '#/components/schemas/v1alpha3.DeviceClass' + $ref: '#/components/schemas/v1.DeviceClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha3.DeviceClass' + $ref: '#/components/schemas/v1.DeviceClass' application/cbor: schema: - $ref: '#/components/schemas/v1alpha3.DeviceClass' + $ref: '#/components/schemas/v1.DeviceClass' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1alpha3.DeviceClass' + $ref: '#/components/schemas/v1.DeviceClass' application/yaml: schema: - $ref: '#/components/schemas/v1alpha3.DeviceClass' + $ref: '#/components/schemas/v1.DeviceClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha3.DeviceClass' + $ref: '#/components/schemas/v1.DeviceClass' application/cbor: schema: - $ref: '#/components/schemas/v1alpha3.DeviceClass' + $ref: '#/components/schemas/v1.DeviceClass' description: Created "401": content: {} description: Unauthorized tags: - - resource_v1alpha3 + - resource_v1 x-kubernetes-action: put x-kubernetes-group-version-kind: group: resource.k8s.io kind: DeviceClass - version: v1alpha3 + version: v1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -67902,11 +68910,17 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/resource.k8s.io/v1alpha3/devicetaintrules: + /apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaims: delete: - description: delete collection of DeviceTaintRule - operationId: deleteCollectionDeviceTaintRule + description: delete collection of ResourceClaim + operationId: deleteCollectionNamespacedResourceClaim parameters: + - description: "object name and auth scope, such as for teams and projects" + in: path + name: namespace + required: true + schema: + type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -68059,12 +69073,12 @@ paths: content: {} description: Unauthorized tags: - - resource_v1alpha3 + - resource_v1 x-kubernetes-action: deletecollection x-kubernetes-group-version-kind: group: resource.k8s.io - kind: DeviceTaintRule - version: v1alpha3 + kind: ResourceClaim + version: v1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -68073,9 +69087,15 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml get: - description: list or watch objects of kind DeviceTaintRule - operationId: listDeviceTaintRule + description: list or watch objects of kind ResourceClaim + operationId: listNamespacedResourceClaim parameters: + - description: "object name and auth scope, such as for teams and projects" + in: path + name: namespace + required: true + schema: + type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -68172,36 +69192,36 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1alpha3.DeviceTaintRuleList' + $ref: '#/components/schemas/v1.ResourceClaimList' application/yaml: schema: - $ref: '#/components/schemas/v1alpha3.DeviceTaintRuleList' + $ref: '#/components/schemas/v1.ResourceClaimList' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha3.DeviceTaintRuleList' + $ref: '#/components/schemas/v1.ResourceClaimList' application/cbor: schema: - $ref: '#/components/schemas/v1alpha3.DeviceTaintRuleList' + $ref: '#/components/schemas/v1.ResourceClaimList' application/json;stream=watch: schema: - $ref: '#/components/schemas/v1alpha3.DeviceTaintRuleList' + $ref: '#/components/schemas/v1.ResourceClaimList' application/vnd.kubernetes.protobuf;stream=watch: schema: - $ref: '#/components/schemas/v1alpha3.DeviceTaintRuleList' + $ref: '#/components/schemas/v1.ResourceClaimList' application/cbor-seq: schema: - $ref: '#/components/schemas/v1alpha3.DeviceTaintRuleList' + $ref: '#/components/schemas/v1.ResourceClaimList' description: OK "401": content: {} description: Unauthorized tags: - - resource_v1alpha3 + - resource_v1 x-kubernetes-action: list x-kubernetes-group-version-kind: group: resource.k8s.io - kind: DeviceTaintRule - version: v1alpha3 + kind: ResourceClaim + version: v1 x-accepts: - application/cbor - application/cbor-seq @@ -68211,295 +69231,12 @@ paths: - application/vnd.kubernetes.protobuf;stream=watch - application/yaml post: - description: create a DeviceTaintRule - operationId: createDeviceTaintRule - parameters: - - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ - \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ - \ and wget)." - in: query - name: pretty - schema: - type: string - - description: "When present, indicates that modifications should not be persisted.\ - \ An invalid or unrecognized dryRun directive will result in an error response\ - \ and no further processing of the request. Valid values are: - All: all\ - \ dry run stages will be processed" - in: query - name: dryRun - schema: - type: string - - description: "fieldManager is a name associated with the actor or entity that\ - \ is making these changes. The value must be less than or 128 characters\ - \ long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint." - in: query - name: fieldManager - schema: - type: string - - description: "fieldValidation instructs the server on how to handle objects\ - \ in the request (POST/PUT/PATCH) containing unknown or duplicate fields.\ - \ Valid values are: - Ignore: This will ignore any unknown fields that are\ - \ silently dropped from the object, and will ignore all but the last duplicate\ - \ field that the decoder encounters. This is the default behavior prior\ - \ to v1.23. - Warn: This will send a warning via the standard warning response\ - \ header for each unknown field that is dropped from the object, and for\ - \ each duplicate field that is encountered. The request will still succeed\ - \ if there are no other errors, and will only persist the last of any duplicate\ - \ fields. This is the default in v1.23+ - Strict: This will fail the request\ - \ with a BadRequest error if any unknown fields would be dropped from the\ - \ object, or if any duplicate fields are present. The error returned from\ - \ the server will contain all unknown and duplicate fields encountered." - in: query - name: fieldValidation - schema: - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' - required: true - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' - application/yaml: - schema: - $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' - application/vnd.kubernetes.protobuf: - schema: - $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' - application/cbor: - schema: - $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' - description: OK - "201": - content: - application/json: - schema: - $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' - application/yaml: - schema: - $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' - application/vnd.kubernetes.protobuf: - schema: - $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' - application/cbor: - schema: - $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' - description: Created - "202": - content: - application/json: - schema: - $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' - application/yaml: - schema: - $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' - application/vnd.kubernetes.protobuf: - schema: - $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' - application/cbor: - schema: - $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' - description: Accepted - "401": - content: {} - description: Unauthorized - tags: - - resource_v1alpha3 - x-kubernetes-action: post - x-kubernetes-group-version-kind: - group: resource.k8s.io - kind: DeviceTaintRule - version: v1alpha3 - x-codegen-request-body-name: body - x-content-type: application/json - x-accepts: - - application/cbor - - application/json - - application/vnd.kubernetes.protobuf - - application/yaml - /apis/resource.k8s.io/v1alpha3/devicetaintrules/{name}: - delete: - description: delete a DeviceTaintRule - operationId: deleteDeviceTaintRule - parameters: - - description: name of the DeviceTaintRule - in: path - name: name - required: true - schema: - type: string - - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ - \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ - \ and wget)." - in: query - name: pretty - schema: - type: string - - description: "When present, indicates that modifications should not be persisted.\ - \ An invalid or unrecognized dryRun directive will result in an error response\ - \ and no further processing of the request. Valid values are: - All: all\ - \ dry run stages will be processed" - in: query - name: dryRun - schema: - type: string - - description: "The duration in seconds before the object should be deleted.\ - \ Value must be non-negative integer. The value zero indicates delete immediately.\ - \ If this value is nil, the default grace period for the specified type\ - \ will be used. Defaults to a per object value if not specified. zero means\ - \ delete immediately." - in: query - name: gracePeriodSeconds - schema: - type: integer - - description: "if set to true, it will trigger an unsafe deletion of the resource\ - \ in case the normal deletion flow fails with a corrupt object error. A\ - \ resource is considered corrupt if it can not be retrieved from the underlying\ - \ storage successfully because of a) its data can not be transformed e.g.\ - \ decryption failure, or b) it fails to decode into an object. NOTE: unsafe\ - \ deletion ignores finalizer constraints, skips precondition checks, and\ - \ removes the object from the storage. WARNING: This may potentially break\ - \ the cluster if the workload associated with the resource being unsafe-deleted\ - \ relies on normal deletion flow. Use only if you REALLY know what you are\ - \ doing. The default value is false, and the user must opt in to enable\ - \ it" - in: query - name: ignoreStoreReadErrorWithClusterBreakingPotential - schema: - type: boolean - - description: "Deprecated: please use the PropagationPolicy, this field will\ - \ be deprecated in 1.7. Should the dependent objects be orphaned. If true/false,\ - \ the \"orphan\" finalizer will be added to/removed from the object's finalizers\ - \ list. Either this field or PropagationPolicy may be set, but not both." - in: query - name: orphanDependents - schema: - type: boolean - - description: "Whether and how garbage collection will be performed. Either\ - \ this field or OrphanDependents may be set, but not both. The default policy\ - \ is decided by the existing finalizer set in the metadata.finalizers and\ - \ the resource-specific default policy. Acceptable values are: 'Orphan'\ - \ - orphan the dependents; 'Background' - allow the garbage collector to\ - \ delete the dependents in the background; 'Foreground' - a cascading policy\ - \ that deletes all dependents in the foreground." - in: query - name: propagationPolicy - schema: - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/v1.DeleteOptions' - required: false - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' - application/yaml: - schema: - $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' - application/vnd.kubernetes.protobuf: - schema: - $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' - application/cbor: - schema: - $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' - description: OK - "202": - content: - application/json: - schema: - $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' - application/yaml: - schema: - $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' - application/vnd.kubernetes.protobuf: - schema: - $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' - application/cbor: - schema: - $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' - description: Accepted - "401": - content: {} - description: Unauthorized - tags: - - resource_v1alpha3 - x-kubernetes-action: delete - x-kubernetes-group-version-kind: - group: resource.k8s.io - kind: DeviceTaintRule - version: v1alpha3 - x-codegen-request-body-name: body - x-content-type: application/json - x-accepts: - - application/cbor - - application/json - - application/vnd.kubernetes.protobuf - - application/yaml - get: - description: read the specified DeviceTaintRule - operationId: readDeviceTaintRule - parameters: - - description: name of the DeviceTaintRule - in: path - name: name - required: true - schema: - type: string - - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ - \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ - \ and wget)." - in: query - name: pretty - schema: - type: string - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' - application/yaml: - schema: - $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' - application/vnd.kubernetes.protobuf: - schema: - $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' - application/cbor: - schema: - $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' - description: OK - "401": - content: {} - description: Unauthorized - tags: - - resource_v1alpha3 - x-kubernetes-action: get - x-kubernetes-group-version-kind: - group: resource.k8s.io - kind: DeviceTaintRule - version: v1alpha3 - x-accepts: - - application/cbor - - application/json - - application/vnd.kubernetes.protobuf - - application/yaml - patch: - description: partially update the specified DeviceTaintRule - operationId: patchDeviceTaintRule + description: create a ResourceClaim + operationId: createNamespacedResourceClaim parameters: - - description: name of the DeviceTaintRule + - description: "object name and auth scope, such as for teams and projects" in: path - name: name + name: namespace required: true schema: type: string @@ -68520,9 +69257,7 @@ paths: type: string - description: "fieldManager is a name associated with the actor or entity that\ \ is making these changes. The value must be less than or 128 characters\ - \ long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.\ - \ This field is required for apply requests (application/apply-patch) but\ - \ optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch)." + \ long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint." in: query name: fieldManager schema: @@ -68544,601 +69279,68 @@ paths: name: fieldValidation schema: type: string - - description: Force is going to "force" Apply requests. It means user will - re-acquire conflicting fields owned by other people. Force flag must be - unset for non-apply patch requests. - in: query - name: force - schema: - type: boolean - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/v1.Patch' - required: true - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' - application/yaml: - schema: - $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' - application/vnd.kubernetes.protobuf: - schema: - $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' - application/cbor: - schema: - $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' - description: OK - "201": - content: - application/json: - schema: - $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' - application/yaml: - schema: - $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' - application/vnd.kubernetes.protobuf: - schema: - $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' - application/cbor: - schema: - $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' - description: Created - "401": - content: {} - description: Unauthorized - tags: - - resource_v1alpha3 - x-kubernetes-action: patch - x-kubernetes-group-version-kind: - group: resource.k8s.io - kind: DeviceTaintRule - version: v1alpha3 - x-codegen-request-body-name: body - x-content-type: application/json - x-accepts: - - application/cbor - - application/json - - application/vnd.kubernetes.protobuf - - application/yaml - put: - description: replace the specified DeviceTaintRule - operationId: replaceDeviceTaintRule - parameters: - - description: name of the DeviceTaintRule - in: path - name: name - required: true - schema: - type: string - - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ - \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ - \ and wget)." - in: query - name: pretty - schema: - type: string - - description: "When present, indicates that modifications should not be persisted.\ - \ An invalid or unrecognized dryRun directive will result in an error response\ - \ and no further processing of the request. Valid values are: - All: all\ - \ dry run stages will be processed" - in: query - name: dryRun - schema: - type: string - - description: "fieldManager is a name associated with the actor or entity that\ - \ is making these changes. The value must be less than or 128 characters\ - \ long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint." - in: query - name: fieldManager - schema: - type: string - - description: "fieldValidation instructs the server on how to handle objects\ - \ in the request (POST/PUT/PATCH) containing unknown or duplicate fields.\ - \ Valid values are: - Ignore: This will ignore any unknown fields that are\ - \ silently dropped from the object, and will ignore all but the last duplicate\ - \ field that the decoder encounters. This is the default behavior prior\ - \ to v1.23. - Warn: This will send a warning via the standard warning response\ - \ header for each unknown field that is dropped from the object, and for\ - \ each duplicate field that is encountered. The request will still succeed\ - \ if there are no other errors, and will only persist the last of any duplicate\ - \ fields. This is the default in v1.23+ - Strict: This will fail the request\ - \ with a BadRequest error if any unknown fields would be dropped from the\ - \ object, or if any duplicate fields are present. The error returned from\ - \ the server will contain all unknown and duplicate fields encountered." - in: query - name: fieldValidation - schema: - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' - required: true - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' - application/yaml: - schema: - $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' - application/vnd.kubernetes.protobuf: - schema: - $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' - application/cbor: - schema: - $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' - description: OK - "201": - content: - application/json: - schema: - $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' - application/yaml: - schema: - $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' - application/vnd.kubernetes.protobuf: - schema: - $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' - application/cbor: - schema: - $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' - description: Created - "401": - content: {} - description: Unauthorized - tags: - - resource_v1alpha3 - x-kubernetes-action: put - x-kubernetes-group-version-kind: - group: resource.k8s.io - kind: DeviceTaintRule - version: v1alpha3 - x-codegen-request-body-name: body - x-content-type: application/json - x-accepts: - - application/cbor - - application/json - - application/vnd.kubernetes.protobuf - - application/yaml - /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims: - delete: - description: delete collection of ResourceClaim - operationId: deleteCollectionNamespacedResourceClaim - parameters: - - description: "object name and auth scope, such as for teams and projects" - in: path - name: namespace - required: true - schema: - type: string - - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ - \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ - \ and wget)." - in: query - name: pretty - schema: - type: string - - description: |- - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". - - This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - in: query - name: continue - schema: - type: string - - description: "When present, indicates that modifications should not be persisted.\ - \ An invalid or unrecognized dryRun directive will result in an error response\ - \ and no further processing of the request. Valid values are: - All: all\ - \ dry run stages will be processed" - in: query - name: dryRun - schema: - type: string - - description: A selector to restrict the list of returned objects by their - fields. Defaults to everything. - in: query - name: fieldSelector - schema: - type: string - - description: "The duration in seconds before the object should be deleted.\ - \ Value must be non-negative integer. The value zero indicates delete immediately.\ - \ If this value is nil, the default grace period for the specified type\ - \ will be used. Defaults to a per object value if not specified. zero means\ - \ delete immediately." - in: query - name: gracePeriodSeconds - schema: - type: integer - - description: "if set to true, it will trigger an unsafe deletion of the resource\ - \ in case the normal deletion flow fails with a corrupt object error. A\ - \ resource is considered corrupt if it can not be retrieved from the underlying\ - \ storage successfully because of a) its data can not be transformed e.g.\ - \ decryption failure, or b) it fails to decode into an object. NOTE: unsafe\ - \ deletion ignores finalizer constraints, skips precondition checks, and\ - \ removes the object from the storage. WARNING: This may potentially break\ - \ the cluster if the workload associated with the resource being unsafe-deleted\ - \ relies on normal deletion flow. Use only if you REALLY know what you are\ - \ doing. The default value is false, and the user must opt in to enable\ - \ it" - in: query - name: ignoreStoreReadErrorWithClusterBreakingPotential - schema: - type: boolean - - description: A selector to restrict the list of returned objects by their - labels. Defaults to everything. - in: query - name: labelSelector - schema: - type: string - - description: |- - limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. - - The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - in: query - name: limit - schema: - type: integer - - description: "Deprecated: please use the PropagationPolicy, this field will\ - \ be deprecated in 1.7. Should the dependent objects be orphaned. If true/false,\ - \ the \"orphan\" finalizer will be added to/removed from the object's finalizers\ - \ list. Either this field or PropagationPolicy may be set, but not both." - in: query - name: orphanDependents - schema: - type: boolean - - description: "Whether and how garbage collection will be performed. Either\ - \ this field or OrphanDependents may be set, but not both. The default policy\ - \ is decided by the existing finalizer set in the metadata.finalizers and\ - \ the resource-specific default policy. Acceptable values are: 'Orphan'\ - \ - orphan the dependents; 'Background' - allow the garbage collector to\ - \ delete the dependents in the background; 'Foreground' - a cascading policy\ - \ that deletes all dependents in the foreground." - in: query - name: propagationPolicy - schema: - type: string - - description: |- - resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. - - Defaults to unset - in: query - name: resourceVersion - schema: - type: string - - description: |- - resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. - - Defaults to unset - in: query - name: resourceVersionMatch - schema: - type: string - - description: |- - `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic "Bookmark" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. - - When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan - is interpreted as "data at least as new as the provided `resourceVersion`" - and the bookmark event is send when the state is synced - to a `resourceVersion` at least as fresh as the one provided by the ListOptions. - If `resourceVersion` is unset, this is interpreted as "consistent read" and the - bookmark event is send when the state is synced at least to the moment - when request started being processed. - - `resourceVersionMatch` set to any other value or unset - Invalid error is returned. - - Defaults to true if `resourceVersion=""` or `resourceVersion="0"` (for backward compatibility reasons) and to false otherwise. - in: query - name: sendInitialEvents - schema: - type: boolean - - description: "Timeout for the list/watch call. This limits the duration of\ - \ the call, regardless of any activity or inactivity." - in: query - name: timeoutSeconds - schema: - type: integer requestBody: content: application/json: schema: - $ref: '#/components/schemas/v1.DeleteOptions' - required: false - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/v1.Status' - application/yaml: - schema: - $ref: '#/components/schemas/v1.Status' - application/vnd.kubernetes.protobuf: - schema: - $ref: '#/components/schemas/v1.Status' - application/cbor: - schema: - $ref: '#/components/schemas/v1.Status' - description: OK - "401": - content: {} - description: Unauthorized - tags: - - resource_v1alpha3 - x-kubernetes-action: deletecollection - x-kubernetes-group-version-kind: - group: resource.k8s.io - kind: ResourceClaim - version: v1alpha3 - x-codegen-request-body-name: body - x-content-type: application/json - x-accepts: - - application/cbor - - application/json - - application/vnd.kubernetes.protobuf - - application/yaml - get: - description: list or watch objects of kind ResourceClaim - operationId: listNamespacedResourceClaim - parameters: - - description: "object name and auth scope, such as for teams and projects" - in: path - name: namespace + $ref: '#/components/schemas/resource.v1.ResourceClaim' required: true - schema: - type: string - - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ - \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ - \ and wget)." - in: query - name: pretty - schema: - type: string - - description: "allowWatchBookmarks requests watch events with type \"BOOKMARK\"\ - . Servers that do not implement bookmarks may ignore this flag and bookmarks\ - \ are sent at the server's discretion. Clients should not assume bookmarks\ - \ are returned at any specific interval, nor may they assume the server\ - \ will send any BOOKMARK event during a session. If this is not a watch,\ - \ this field is ignored." - in: query - name: allowWatchBookmarks - schema: - type: boolean - - description: |- - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". - - This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - in: query - name: continue - schema: - type: string - - description: A selector to restrict the list of returned objects by their - fields. Defaults to everything. - in: query - name: fieldSelector - schema: - type: string - - description: A selector to restrict the list of returned objects by their - labels. Defaults to everything. - in: query - name: labelSelector - schema: - type: string - - description: |- - limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. - - The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - in: query - name: limit - schema: - type: integer - - description: |- - resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. - - Defaults to unset - in: query - name: resourceVersion - schema: - type: string - - description: |- - resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. - - Defaults to unset - in: query - name: resourceVersionMatch - schema: - type: string - - description: |- - `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic "Bookmark" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. - - When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan - is interpreted as "data at least as new as the provided `resourceVersion`" - and the bookmark event is send when the state is synced - to a `resourceVersion` at least as fresh as the one provided by the ListOptions. - If `resourceVersion` is unset, this is interpreted as "consistent read" and the - bookmark event is send when the state is synced at least to the moment - when request started being processed. - - `resourceVersionMatch` set to any other value or unset - Invalid error is returned. - - Defaults to true if `resourceVersion=""` or `resourceVersion="0"` (for backward compatibility reasons) and to false otherwise. - in: query - name: sendInitialEvents - schema: - type: boolean - - description: "Timeout for the list/watch call. This limits the duration of\ - \ the call, regardless of any activity or inactivity." - in: query - name: timeoutSeconds - schema: - type: integer - - description: "Watch for changes to the described resources and return them\ - \ as a stream of add, update, and remove notifications. Specify resourceVersion." - in: query - name: watch - schema: - type: boolean responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimList' + $ref: '#/components/schemas/resource.v1.ResourceClaim' application/yaml: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimList' + $ref: '#/components/schemas/resource.v1.ResourceClaim' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimList' + $ref: '#/components/schemas/resource.v1.ResourceClaim' application/cbor: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimList' - application/json;stream=watch: - schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimList' - application/vnd.kubernetes.protobuf;stream=watch: - schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimList' - application/cbor-seq: - schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimList' - description: OK - "401": - content: {} - description: Unauthorized - tags: - - resource_v1alpha3 - x-kubernetes-action: list - x-kubernetes-group-version-kind: - group: resource.k8s.io - kind: ResourceClaim - version: v1alpha3 - x-accepts: - - application/cbor - - application/cbor-seq - - application/json - - application/json;stream=watch - - application/vnd.kubernetes.protobuf - - application/vnd.kubernetes.protobuf;stream=watch - - application/yaml - post: - description: create a ResourceClaim - operationId: createNamespacedResourceClaim - parameters: - - description: "object name and auth scope, such as for teams and projects" - in: path - name: namespace - required: true - schema: - type: string - - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ - \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ - \ and wget)." - in: query - name: pretty - schema: - type: string - - description: "When present, indicates that modifications should not be persisted.\ - \ An invalid or unrecognized dryRun directive will result in an error response\ - \ and no further processing of the request. Valid values are: - All: all\ - \ dry run stages will be processed" - in: query - name: dryRun - schema: - type: string - - description: "fieldManager is a name associated with the actor or entity that\ - \ is making these changes. The value must be less than or 128 characters\ - \ long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint." - in: query - name: fieldManager - schema: - type: string - - description: "fieldValidation instructs the server on how to handle objects\ - \ in the request (POST/PUT/PATCH) containing unknown or duplicate fields.\ - \ Valid values are: - Ignore: This will ignore any unknown fields that are\ - \ silently dropped from the object, and will ignore all but the last duplicate\ - \ field that the decoder encounters. This is the default behavior prior\ - \ to v1.23. - Warn: This will send a warning via the standard warning response\ - \ header for each unknown field that is dropped from the object, and for\ - \ each duplicate field that is encountered. The request will still succeed\ - \ if there are no other errors, and will only persist the last of any duplicate\ - \ fields. This is the default in v1.23+ - Strict: This will fail the request\ - \ with a BadRequest error if any unknown fields would be dropped from the\ - \ object, or if any duplicate fields are present. The error returned from\ - \ the server will contain all unknown and duplicate fields encountered." - in: query - name: fieldValidation - schema: - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaim' - required: true - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaim' - application/yaml: - schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaim' - application/vnd.kubernetes.protobuf: - schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaim' - application/cbor: - schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaim' + $ref: '#/components/schemas/resource.v1.ResourceClaim' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaim' + $ref: '#/components/schemas/resource.v1.ResourceClaim' application/yaml: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaim' + $ref: '#/components/schemas/resource.v1.ResourceClaim' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaim' + $ref: '#/components/schemas/resource.v1.ResourceClaim' application/cbor: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaim' + $ref: '#/components/schemas/resource.v1.ResourceClaim' description: Created "202": content: application/json: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaim' + $ref: '#/components/schemas/resource.v1.ResourceClaim' application/yaml: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaim' + $ref: '#/components/schemas/resource.v1.ResourceClaim' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaim' + $ref: '#/components/schemas/resource.v1.ResourceClaim' application/cbor: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaim' + $ref: '#/components/schemas/resource.v1.ResourceClaim' description: Accepted "401": content: {} description: Unauthorized tags: - - resource_v1alpha3 + - resource_v1 x-kubernetes-action: post x-kubernetes-group-version-kind: group: resource.k8s.io kind: ResourceClaim - version: v1alpha3 + version: v1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -69146,7 +69348,7 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name}: + /apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaims/{name}: delete: description: delete a ResourceClaim operationId: deleteNamespacedResourceClaim @@ -69232,42 +69434,42 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaim' + $ref: '#/components/schemas/resource.v1.ResourceClaim' application/yaml: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaim' + $ref: '#/components/schemas/resource.v1.ResourceClaim' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaim' + $ref: '#/components/schemas/resource.v1.ResourceClaim' application/cbor: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaim' + $ref: '#/components/schemas/resource.v1.ResourceClaim' description: OK "202": content: application/json: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaim' + $ref: '#/components/schemas/resource.v1.ResourceClaim' application/yaml: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaim' + $ref: '#/components/schemas/resource.v1.ResourceClaim' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaim' + $ref: '#/components/schemas/resource.v1.ResourceClaim' application/cbor: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaim' + $ref: '#/components/schemas/resource.v1.ResourceClaim' description: Accepted "401": content: {} description: Unauthorized tags: - - resource_v1alpha3 + - resource_v1 x-kubernetes-action: delete x-kubernetes-group-version-kind: group: resource.k8s.io kind: ResourceClaim - version: v1alpha3 + version: v1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -69303,27 +69505,27 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaim' + $ref: '#/components/schemas/resource.v1.ResourceClaim' application/yaml: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaim' + $ref: '#/components/schemas/resource.v1.ResourceClaim' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaim' + $ref: '#/components/schemas/resource.v1.ResourceClaim' application/cbor: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaim' + $ref: '#/components/schemas/resource.v1.ResourceClaim' description: OK "401": content: {} description: Unauthorized tags: - - resource_v1alpha3 + - resource_v1 x-kubernetes-action: get x-kubernetes-group-version-kind: group: resource.k8s.io kind: ResourceClaim - version: v1alpha3 + version: v1 x-accepts: - application/cbor - application/json @@ -69404,42 +69606,42 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaim' + $ref: '#/components/schemas/resource.v1.ResourceClaim' application/yaml: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaim' + $ref: '#/components/schemas/resource.v1.ResourceClaim' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaim' + $ref: '#/components/schemas/resource.v1.ResourceClaim' application/cbor: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaim' + $ref: '#/components/schemas/resource.v1.ResourceClaim' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaim' + $ref: '#/components/schemas/resource.v1.ResourceClaim' application/yaml: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaim' + $ref: '#/components/schemas/resource.v1.ResourceClaim' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaim' + $ref: '#/components/schemas/resource.v1.ResourceClaim' application/cbor: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaim' + $ref: '#/components/schemas/resource.v1.ResourceClaim' description: Created "401": content: {} description: Unauthorized tags: - - resource_v1alpha3 + - resource_v1 x-kubernetes-action: patch x-kubernetes-group-version-kind: group: resource.k8s.io kind: ResourceClaim - version: v1alpha3 + version: v1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -69506,49 +69708,49 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaim' + $ref: '#/components/schemas/resource.v1.ResourceClaim' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaim' + $ref: '#/components/schemas/resource.v1.ResourceClaim' application/yaml: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaim' + $ref: '#/components/schemas/resource.v1.ResourceClaim' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaim' + $ref: '#/components/schemas/resource.v1.ResourceClaim' application/cbor: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaim' + $ref: '#/components/schemas/resource.v1.ResourceClaim' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaim' + $ref: '#/components/schemas/resource.v1.ResourceClaim' application/yaml: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaim' + $ref: '#/components/schemas/resource.v1.ResourceClaim' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaim' + $ref: '#/components/schemas/resource.v1.ResourceClaim' application/cbor: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaim' + $ref: '#/components/schemas/resource.v1.ResourceClaim' description: Created "401": content: {} description: Unauthorized tags: - - resource_v1alpha3 + - resource_v1 x-kubernetes-action: put x-kubernetes-group-version-kind: group: resource.k8s.io kind: ResourceClaim - version: v1alpha3 + version: v1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -69556,7 +69758,7 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name}/status: + /apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaims/{name}/status: get: description: read status of the specified ResourceClaim operationId: readNamespacedResourceClaimStatus @@ -69585,27 +69787,27 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaim' + $ref: '#/components/schemas/resource.v1.ResourceClaim' application/yaml: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaim' + $ref: '#/components/schemas/resource.v1.ResourceClaim' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaim' + $ref: '#/components/schemas/resource.v1.ResourceClaim' application/cbor: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaim' + $ref: '#/components/schemas/resource.v1.ResourceClaim' description: OK "401": content: {} description: Unauthorized tags: - - resource_v1alpha3 + - resource_v1 x-kubernetes-action: get x-kubernetes-group-version-kind: group: resource.k8s.io kind: ResourceClaim - version: v1alpha3 + version: v1 x-accepts: - application/cbor - application/json @@ -69686,42 +69888,42 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaim' + $ref: '#/components/schemas/resource.v1.ResourceClaim' application/yaml: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaim' + $ref: '#/components/schemas/resource.v1.ResourceClaim' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaim' + $ref: '#/components/schemas/resource.v1.ResourceClaim' application/cbor: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaim' + $ref: '#/components/schemas/resource.v1.ResourceClaim' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaim' + $ref: '#/components/schemas/resource.v1.ResourceClaim' application/yaml: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaim' + $ref: '#/components/schemas/resource.v1.ResourceClaim' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaim' + $ref: '#/components/schemas/resource.v1.ResourceClaim' application/cbor: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaim' + $ref: '#/components/schemas/resource.v1.ResourceClaim' description: Created "401": content: {} description: Unauthorized tags: - - resource_v1alpha3 + - resource_v1 x-kubernetes-action: patch x-kubernetes-group-version-kind: group: resource.k8s.io kind: ResourceClaim - version: v1alpha3 + version: v1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -69788,49 +69990,49 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaim' + $ref: '#/components/schemas/resource.v1.ResourceClaim' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaim' + $ref: '#/components/schemas/resource.v1.ResourceClaim' application/yaml: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaim' + $ref: '#/components/schemas/resource.v1.ResourceClaim' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaim' + $ref: '#/components/schemas/resource.v1.ResourceClaim' application/cbor: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaim' + $ref: '#/components/schemas/resource.v1.ResourceClaim' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaim' + $ref: '#/components/schemas/resource.v1.ResourceClaim' application/yaml: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaim' + $ref: '#/components/schemas/resource.v1.ResourceClaim' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaim' + $ref: '#/components/schemas/resource.v1.ResourceClaim' application/cbor: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaim' + $ref: '#/components/schemas/resource.v1.ResourceClaim' description: Created "401": content: {} description: Unauthorized tags: - - resource_v1alpha3 + - resource_v1 x-kubernetes-action: put x-kubernetes-group-version-kind: group: resource.k8s.io kind: ResourceClaim - version: v1alpha3 + version: v1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -69838,7 +70040,7 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates: + /apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaimtemplates: delete: description: delete collection of ResourceClaimTemplate operationId: deleteCollectionNamespacedResourceClaimTemplate @@ -70001,12 +70203,12 @@ paths: content: {} description: Unauthorized tags: - - resource_v1alpha3 + - resource_v1 x-kubernetes-action: deletecollection x-kubernetes-group-version-kind: group: resource.k8s.io kind: ResourceClaimTemplate - version: v1alpha3 + version: v1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -70120,36 +70322,36 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimTemplateList' + $ref: '#/components/schemas/v1.ResourceClaimTemplateList' application/yaml: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimTemplateList' + $ref: '#/components/schemas/v1.ResourceClaimTemplateList' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimTemplateList' + $ref: '#/components/schemas/v1.ResourceClaimTemplateList' application/cbor: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimTemplateList' + $ref: '#/components/schemas/v1.ResourceClaimTemplateList' application/json;stream=watch: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimTemplateList' + $ref: '#/components/schemas/v1.ResourceClaimTemplateList' application/vnd.kubernetes.protobuf;stream=watch: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimTemplateList' + $ref: '#/components/schemas/v1.ResourceClaimTemplateList' application/cbor-seq: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimTemplateList' + $ref: '#/components/schemas/v1.ResourceClaimTemplateList' description: OK "401": content: {} description: Unauthorized tags: - - resource_v1alpha3 + - resource_v1 x-kubernetes-action: list x-kubernetes-group-version-kind: group: resource.k8s.io kind: ResourceClaimTemplate - version: v1alpha3 + version: v1 x-accepts: - application/cbor - application/cbor-seq @@ -70211,64 +70413,64 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimTemplate' + $ref: '#/components/schemas/v1.ResourceClaimTemplate' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimTemplate' + $ref: '#/components/schemas/v1.ResourceClaimTemplate' application/yaml: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimTemplate' + $ref: '#/components/schemas/v1.ResourceClaimTemplate' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimTemplate' + $ref: '#/components/schemas/v1.ResourceClaimTemplate' application/cbor: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimTemplate' + $ref: '#/components/schemas/v1.ResourceClaimTemplate' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimTemplate' + $ref: '#/components/schemas/v1.ResourceClaimTemplate' application/yaml: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimTemplate' + $ref: '#/components/schemas/v1.ResourceClaimTemplate' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimTemplate' + $ref: '#/components/schemas/v1.ResourceClaimTemplate' application/cbor: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimTemplate' + $ref: '#/components/schemas/v1.ResourceClaimTemplate' description: Created "202": content: application/json: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimTemplate' + $ref: '#/components/schemas/v1.ResourceClaimTemplate' application/yaml: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimTemplate' + $ref: '#/components/schemas/v1.ResourceClaimTemplate' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimTemplate' + $ref: '#/components/schemas/v1.ResourceClaimTemplate' application/cbor: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimTemplate' + $ref: '#/components/schemas/v1.ResourceClaimTemplate' description: Accepted "401": content: {} description: Unauthorized tags: - - resource_v1alpha3 + - resource_v1 x-kubernetes-action: post x-kubernetes-group-version-kind: group: resource.k8s.io kind: ResourceClaimTemplate - version: v1alpha3 + version: v1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -70276,7 +70478,7 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates/{name}: + /apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaimtemplates/{name}: delete: description: delete a ResourceClaimTemplate operationId: deleteNamespacedResourceClaimTemplate @@ -70362,42 +70564,42 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimTemplate' + $ref: '#/components/schemas/v1.ResourceClaimTemplate' application/yaml: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimTemplate' + $ref: '#/components/schemas/v1.ResourceClaimTemplate' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimTemplate' + $ref: '#/components/schemas/v1.ResourceClaimTemplate' application/cbor: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimTemplate' + $ref: '#/components/schemas/v1.ResourceClaimTemplate' description: OK "202": content: application/json: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimTemplate' + $ref: '#/components/schemas/v1.ResourceClaimTemplate' application/yaml: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimTemplate' + $ref: '#/components/schemas/v1.ResourceClaimTemplate' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimTemplate' + $ref: '#/components/schemas/v1.ResourceClaimTemplate' application/cbor: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimTemplate' + $ref: '#/components/schemas/v1.ResourceClaimTemplate' description: Accepted "401": content: {} description: Unauthorized tags: - - resource_v1alpha3 + - resource_v1 x-kubernetes-action: delete x-kubernetes-group-version-kind: group: resource.k8s.io kind: ResourceClaimTemplate - version: v1alpha3 + version: v1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -70433,27 +70635,27 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimTemplate' + $ref: '#/components/schemas/v1.ResourceClaimTemplate' application/yaml: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimTemplate' + $ref: '#/components/schemas/v1.ResourceClaimTemplate' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimTemplate' + $ref: '#/components/schemas/v1.ResourceClaimTemplate' application/cbor: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimTemplate' + $ref: '#/components/schemas/v1.ResourceClaimTemplate' description: OK "401": content: {} description: Unauthorized tags: - - resource_v1alpha3 + - resource_v1 x-kubernetes-action: get x-kubernetes-group-version-kind: group: resource.k8s.io kind: ResourceClaimTemplate - version: v1alpha3 + version: v1 x-accepts: - application/cbor - application/json @@ -70534,42 +70736,42 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimTemplate' + $ref: '#/components/schemas/v1.ResourceClaimTemplate' application/yaml: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimTemplate' + $ref: '#/components/schemas/v1.ResourceClaimTemplate' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimTemplate' + $ref: '#/components/schemas/v1.ResourceClaimTemplate' application/cbor: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimTemplate' + $ref: '#/components/schemas/v1.ResourceClaimTemplate' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimTemplate' + $ref: '#/components/schemas/v1.ResourceClaimTemplate' application/yaml: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimTemplate' + $ref: '#/components/schemas/v1.ResourceClaimTemplate' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimTemplate' + $ref: '#/components/schemas/v1.ResourceClaimTemplate' application/cbor: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimTemplate' + $ref: '#/components/schemas/v1.ResourceClaimTemplate' description: Created "401": content: {} description: Unauthorized tags: - - resource_v1alpha3 + - resource_v1 x-kubernetes-action: patch x-kubernetes-group-version-kind: group: resource.k8s.io kind: ResourceClaimTemplate - version: v1alpha3 + version: v1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -70636,49 +70838,49 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimTemplate' + $ref: '#/components/schemas/v1.ResourceClaimTemplate' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimTemplate' + $ref: '#/components/schemas/v1.ResourceClaimTemplate' application/yaml: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimTemplate' + $ref: '#/components/schemas/v1.ResourceClaimTemplate' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimTemplate' + $ref: '#/components/schemas/v1.ResourceClaimTemplate' application/cbor: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimTemplate' + $ref: '#/components/schemas/v1.ResourceClaimTemplate' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimTemplate' + $ref: '#/components/schemas/v1.ResourceClaimTemplate' application/yaml: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimTemplate' + $ref: '#/components/schemas/v1.ResourceClaimTemplate' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimTemplate' + $ref: '#/components/schemas/v1.ResourceClaimTemplate' application/cbor: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimTemplate' + $ref: '#/components/schemas/v1.ResourceClaimTemplate' description: Created "401": content: {} description: Unauthorized tags: - - resource_v1alpha3 + - resource_v1 x-kubernetes-action: put x-kubernetes-group-version-kind: group: resource.k8s.io kind: ResourceClaimTemplate - version: v1alpha3 + version: v1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -70686,7 +70888,7 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/resource.k8s.io/v1alpha3/resourceclaims: + /apis/resource.k8s.io/v1/resourceclaims: get: description: list or watch objects of kind ResourceClaim operationId: listResourceClaimForAllNamespaces @@ -70787,36 +70989,36 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimList' + $ref: '#/components/schemas/v1.ResourceClaimList' application/yaml: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimList' + $ref: '#/components/schemas/v1.ResourceClaimList' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimList' + $ref: '#/components/schemas/v1.ResourceClaimList' application/cbor: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimList' + $ref: '#/components/schemas/v1.ResourceClaimList' application/json;stream=watch: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimList' + $ref: '#/components/schemas/v1.ResourceClaimList' application/vnd.kubernetes.protobuf;stream=watch: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimList' + $ref: '#/components/schemas/v1.ResourceClaimList' application/cbor-seq: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimList' + $ref: '#/components/schemas/v1.ResourceClaimList' description: OK "401": content: {} description: Unauthorized tags: - - resource_v1alpha3 + - resource_v1 x-kubernetes-action: list x-kubernetes-group-version-kind: group: resource.k8s.io kind: ResourceClaim - version: v1alpha3 + version: v1 x-accepts: - application/cbor - application/cbor-seq @@ -70825,7 +71027,7 @@ paths: - application/vnd.kubernetes.protobuf - application/vnd.kubernetes.protobuf;stream=watch - application/yaml - /apis/resource.k8s.io/v1alpha3/resourceclaimtemplates: + /apis/resource.k8s.io/v1/resourceclaimtemplates: get: description: list or watch objects of kind ResourceClaimTemplate operationId: listResourceClaimTemplateForAllNamespaces @@ -70926,36 +71128,36 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimTemplateList' + $ref: '#/components/schemas/v1.ResourceClaimTemplateList' application/yaml: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimTemplateList' + $ref: '#/components/schemas/v1.ResourceClaimTemplateList' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimTemplateList' + $ref: '#/components/schemas/v1.ResourceClaimTemplateList' application/cbor: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimTemplateList' + $ref: '#/components/schemas/v1.ResourceClaimTemplateList' application/json;stream=watch: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimTemplateList' + $ref: '#/components/schemas/v1.ResourceClaimTemplateList' application/vnd.kubernetes.protobuf;stream=watch: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimTemplateList' + $ref: '#/components/schemas/v1.ResourceClaimTemplateList' application/cbor-seq: schema: - $ref: '#/components/schemas/v1alpha3.ResourceClaimTemplateList' + $ref: '#/components/schemas/v1.ResourceClaimTemplateList' description: OK "401": content: {} description: Unauthorized tags: - - resource_v1alpha3 + - resource_v1 x-kubernetes-action: list x-kubernetes-group-version-kind: group: resource.k8s.io kind: ResourceClaimTemplate - version: v1alpha3 + version: v1 x-accepts: - application/cbor - application/cbor-seq @@ -70964,7 +71166,7 @@ paths: - application/vnd.kubernetes.protobuf - application/vnd.kubernetes.protobuf;stream=watch - application/yaml - /apis/resource.k8s.io/v1alpha3/resourceslices: + /apis/resource.k8s.io/v1/resourceslices: delete: description: delete collection of ResourceSlice operationId: deleteCollectionResourceSlice @@ -71121,12 +71323,12 @@ paths: content: {} description: Unauthorized tags: - - resource_v1alpha3 + - resource_v1 x-kubernetes-action: deletecollection x-kubernetes-group-version-kind: group: resource.k8s.io kind: ResourceSlice - version: v1alpha3 + version: v1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -71234,36 +71436,36 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1alpha3.ResourceSliceList' + $ref: '#/components/schemas/v1.ResourceSliceList' application/yaml: schema: - $ref: '#/components/schemas/v1alpha3.ResourceSliceList' + $ref: '#/components/schemas/v1.ResourceSliceList' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha3.ResourceSliceList' + $ref: '#/components/schemas/v1.ResourceSliceList' application/cbor: schema: - $ref: '#/components/schemas/v1alpha3.ResourceSliceList' + $ref: '#/components/schemas/v1.ResourceSliceList' application/json;stream=watch: schema: - $ref: '#/components/schemas/v1alpha3.ResourceSliceList' + $ref: '#/components/schemas/v1.ResourceSliceList' application/vnd.kubernetes.protobuf;stream=watch: schema: - $ref: '#/components/schemas/v1alpha3.ResourceSliceList' + $ref: '#/components/schemas/v1.ResourceSliceList' application/cbor-seq: schema: - $ref: '#/components/schemas/v1alpha3.ResourceSliceList' + $ref: '#/components/schemas/v1.ResourceSliceList' description: OK "401": content: {} description: Unauthorized tags: - - resource_v1alpha3 + - resource_v1 x-kubernetes-action: list x-kubernetes-group-version-kind: group: resource.k8s.io kind: ResourceSlice - version: v1alpha3 + version: v1 x-accepts: - application/cbor - application/cbor-seq @@ -71319,64 +71521,64 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1alpha3.ResourceSlice' + $ref: '#/components/schemas/v1.ResourceSlice' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1alpha3.ResourceSlice' + $ref: '#/components/schemas/v1.ResourceSlice' application/yaml: schema: - $ref: '#/components/schemas/v1alpha3.ResourceSlice' + $ref: '#/components/schemas/v1.ResourceSlice' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha3.ResourceSlice' + $ref: '#/components/schemas/v1.ResourceSlice' application/cbor: schema: - $ref: '#/components/schemas/v1alpha3.ResourceSlice' + $ref: '#/components/schemas/v1.ResourceSlice' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1alpha3.ResourceSlice' + $ref: '#/components/schemas/v1.ResourceSlice' application/yaml: schema: - $ref: '#/components/schemas/v1alpha3.ResourceSlice' + $ref: '#/components/schemas/v1.ResourceSlice' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha3.ResourceSlice' + $ref: '#/components/schemas/v1.ResourceSlice' application/cbor: schema: - $ref: '#/components/schemas/v1alpha3.ResourceSlice' + $ref: '#/components/schemas/v1.ResourceSlice' description: Created "202": content: application/json: schema: - $ref: '#/components/schemas/v1alpha3.ResourceSlice' + $ref: '#/components/schemas/v1.ResourceSlice' application/yaml: schema: - $ref: '#/components/schemas/v1alpha3.ResourceSlice' + $ref: '#/components/schemas/v1.ResourceSlice' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha3.ResourceSlice' + $ref: '#/components/schemas/v1.ResourceSlice' application/cbor: schema: - $ref: '#/components/schemas/v1alpha3.ResourceSlice' + $ref: '#/components/schemas/v1.ResourceSlice' description: Accepted "401": content: {} description: Unauthorized tags: - - resource_v1alpha3 + - resource_v1 x-kubernetes-action: post x-kubernetes-group-version-kind: group: resource.k8s.io kind: ResourceSlice - version: v1alpha3 + version: v1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -71384,7 +71586,7 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/resource.k8s.io/v1alpha3/resourceslices/{name}: + /apis/resource.k8s.io/v1/resourceslices/{name}: delete: description: delete a ResourceSlice operationId: deleteResourceSlice @@ -71464,42 +71666,42 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1alpha3.ResourceSlice' + $ref: '#/components/schemas/v1.ResourceSlice' application/yaml: schema: - $ref: '#/components/schemas/v1alpha3.ResourceSlice' + $ref: '#/components/schemas/v1.ResourceSlice' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha3.ResourceSlice' + $ref: '#/components/schemas/v1.ResourceSlice' application/cbor: schema: - $ref: '#/components/schemas/v1alpha3.ResourceSlice' + $ref: '#/components/schemas/v1.ResourceSlice' description: OK "202": content: application/json: schema: - $ref: '#/components/schemas/v1alpha3.ResourceSlice' + $ref: '#/components/schemas/v1.ResourceSlice' application/yaml: schema: - $ref: '#/components/schemas/v1alpha3.ResourceSlice' + $ref: '#/components/schemas/v1.ResourceSlice' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha3.ResourceSlice' + $ref: '#/components/schemas/v1.ResourceSlice' application/cbor: schema: - $ref: '#/components/schemas/v1alpha3.ResourceSlice' + $ref: '#/components/schemas/v1.ResourceSlice' description: Accepted "401": content: {} description: Unauthorized tags: - - resource_v1alpha3 + - resource_v1 x-kubernetes-action: delete x-kubernetes-group-version-kind: group: resource.k8s.io kind: ResourceSlice - version: v1alpha3 + version: v1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -71529,27 +71731,27 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1alpha3.ResourceSlice' + $ref: '#/components/schemas/v1.ResourceSlice' application/yaml: schema: - $ref: '#/components/schemas/v1alpha3.ResourceSlice' + $ref: '#/components/schemas/v1.ResourceSlice' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha3.ResourceSlice' + $ref: '#/components/schemas/v1.ResourceSlice' application/cbor: schema: - $ref: '#/components/schemas/v1alpha3.ResourceSlice' + $ref: '#/components/schemas/v1.ResourceSlice' description: OK "401": content: {} description: Unauthorized tags: - - resource_v1alpha3 + - resource_v1 x-kubernetes-action: get x-kubernetes-group-version-kind: group: resource.k8s.io kind: ResourceSlice - version: v1alpha3 + version: v1 x-accepts: - application/cbor - application/json @@ -71624,42 +71826,42 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1alpha3.ResourceSlice' + $ref: '#/components/schemas/v1.ResourceSlice' application/yaml: schema: - $ref: '#/components/schemas/v1alpha3.ResourceSlice' + $ref: '#/components/schemas/v1.ResourceSlice' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha3.ResourceSlice' + $ref: '#/components/schemas/v1.ResourceSlice' application/cbor: schema: - $ref: '#/components/schemas/v1alpha3.ResourceSlice' + $ref: '#/components/schemas/v1.ResourceSlice' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1alpha3.ResourceSlice' + $ref: '#/components/schemas/v1.ResourceSlice' application/yaml: schema: - $ref: '#/components/schemas/v1alpha3.ResourceSlice' + $ref: '#/components/schemas/v1.ResourceSlice' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha3.ResourceSlice' + $ref: '#/components/schemas/v1.ResourceSlice' application/cbor: schema: - $ref: '#/components/schemas/v1alpha3.ResourceSlice' + $ref: '#/components/schemas/v1.ResourceSlice' description: Created "401": content: {} description: Unauthorized tags: - - resource_v1alpha3 + - resource_v1 x-kubernetes-action: patch x-kubernetes-group-version-kind: group: resource.k8s.io kind: ResourceSlice - version: v1alpha3 + version: v1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -71720,49 +71922,49 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1alpha3.ResourceSlice' + $ref: '#/components/schemas/v1.ResourceSlice' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1alpha3.ResourceSlice' + $ref: '#/components/schemas/v1.ResourceSlice' application/yaml: schema: - $ref: '#/components/schemas/v1alpha3.ResourceSlice' + $ref: '#/components/schemas/v1.ResourceSlice' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha3.ResourceSlice' + $ref: '#/components/schemas/v1.ResourceSlice' application/cbor: schema: - $ref: '#/components/schemas/v1alpha3.ResourceSlice' + $ref: '#/components/schemas/v1.ResourceSlice' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1alpha3.ResourceSlice' + $ref: '#/components/schemas/v1.ResourceSlice' application/yaml: schema: - $ref: '#/components/schemas/v1alpha3.ResourceSlice' + $ref: '#/components/schemas/v1.ResourceSlice' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha3.ResourceSlice' + $ref: '#/components/schemas/v1.ResourceSlice' application/cbor: schema: - $ref: '#/components/schemas/v1alpha3.ResourceSlice' + $ref: '#/components/schemas/v1.ResourceSlice' description: Created "401": content: {} description: Unauthorized tags: - - resource_v1alpha3 + - resource_v1 x-kubernetes-action: put x-kubernetes-group-version-kind: group: resource.k8s.io kind: ResourceSlice - version: v1alpha3 + version: v1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -71770,19 +71972,17 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/resource.k8s.io/v1alpha3/watch/deviceclasses: {} - /apis/resource.k8s.io/v1alpha3/watch/deviceclasses/{name}: {} - /apis/resource.k8s.io/v1alpha3/watch/devicetaintrules: {} - /apis/resource.k8s.io/v1alpha3/watch/devicetaintrules/{name}: {} - /apis/resource.k8s.io/v1alpha3/watch/namespaces/{namespace}/resourceclaims: {} - /apis/resource.k8s.io/v1alpha3/watch/namespaces/{namespace}/resourceclaims/{name}: {} - /apis/resource.k8s.io/v1alpha3/watch/namespaces/{namespace}/resourceclaimtemplates: {} - /apis/resource.k8s.io/v1alpha3/watch/namespaces/{namespace}/resourceclaimtemplates/{name}: {} - /apis/resource.k8s.io/v1alpha3/watch/resourceclaims: {} - /apis/resource.k8s.io/v1alpha3/watch/resourceclaimtemplates: {} - /apis/resource.k8s.io/v1alpha3/watch/resourceslices: {} - /apis/resource.k8s.io/v1alpha3/watch/resourceslices/{name}: {} - /apis/resource.k8s.io/v1beta1/: + /apis/resource.k8s.io/v1/watch/deviceclasses: {} + /apis/resource.k8s.io/v1/watch/deviceclasses/{name}: {} + /apis/resource.k8s.io/v1/watch/namespaces/{namespace}/resourceclaims: {} + /apis/resource.k8s.io/v1/watch/namespaces/{namespace}/resourceclaims/{name}: {} + /apis/resource.k8s.io/v1/watch/namespaces/{namespace}/resourceclaimtemplates: {} + /apis/resource.k8s.io/v1/watch/namespaces/{namespace}/resourceclaimtemplates/{name}: {} + /apis/resource.k8s.io/v1/watch/resourceclaims: {} + /apis/resource.k8s.io/v1/watch/resourceclaimtemplates: {} + /apis/resource.k8s.io/v1/watch/resourceslices: {} + /apis/resource.k8s.io/v1/watch/resourceslices/{name}: {} + /apis/resource.k8s.io/v1alpha3/: get: description: get available resources operationId: getAPIResources @@ -71806,16 +72006,16 @@ paths: content: {} description: Unauthorized tags: - - resource_v1beta1 + - resource_v1alpha3 x-accepts: - application/cbor - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/resource.k8s.io/v1beta1/deviceclasses: + /apis/resource.k8s.io/v1alpha3/devicetaintrules: delete: - description: delete collection of DeviceClass - operationId: deleteCollectionDeviceClass + description: delete collection of DeviceTaintRule + operationId: deleteCollectionDeviceTaintRule parameters: - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ @@ -71969,12 +72169,12 @@ paths: content: {} description: Unauthorized tags: - - resource_v1beta1 + - resource_v1alpha3 x-kubernetes-action: deletecollection x-kubernetes-group-version-kind: group: resource.k8s.io - kind: DeviceClass - version: v1beta1 + kind: DeviceTaintRule + version: v1alpha3 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -71983,8 +72183,8 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml get: - description: list or watch objects of kind DeviceClass - operationId: listDeviceClass + description: list or watch objects of kind DeviceTaintRule + operationId: listDeviceTaintRule parameters: - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ @@ -72082,36 +72282,36 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta1.DeviceClassList' + $ref: '#/components/schemas/v1alpha3.DeviceTaintRuleList' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.DeviceClassList' + $ref: '#/components/schemas/v1alpha3.DeviceTaintRuleList' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.DeviceClassList' + $ref: '#/components/schemas/v1alpha3.DeviceTaintRuleList' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.DeviceClassList' + $ref: '#/components/schemas/v1alpha3.DeviceTaintRuleList' application/json;stream=watch: schema: - $ref: '#/components/schemas/v1beta1.DeviceClassList' + $ref: '#/components/schemas/v1alpha3.DeviceTaintRuleList' application/vnd.kubernetes.protobuf;stream=watch: schema: - $ref: '#/components/schemas/v1beta1.DeviceClassList' + $ref: '#/components/schemas/v1alpha3.DeviceTaintRuleList' application/cbor-seq: schema: - $ref: '#/components/schemas/v1beta1.DeviceClassList' + $ref: '#/components/schemas/v1alpha3.DeviceTaintRuleList' description: OK "401": content: {} description: Unauthorized tags: - - resource_v1beta1 + - resource_v1alpha3 x-kubernetes-action: list x-kubernetes-group-version-kind: group: resource.k8s.io - kind: DeviceClass - version: v1beta1 + kind: DeviceTaintRule + version: v1alpha3 x-accepts: - application/cbor - application/cbor-seq @@ -72121,8 +72321,8 @@ paths: - application/vnd.kubernetes.protobuf;stream=watch - application/yaml post: - description: create a DeviceClass - operationId: createDeviceClass + description: create a DeviceTaintRule + operationId: createDeviceTaintRule parameters: - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ @@ -72167,64 +72367,64 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta1.DeviceClass' + $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.DeviceClass' + $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.DeviceClass' + $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.DeviceClass' + $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.DeviceClass' + $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.DeviceClass' + $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.DeviceClass' + $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.DeviceClass' + $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.DeviceClass' + $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' description: Created "202": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.DeviceClass' + $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.DeviceClass' + $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.DeviceClass' + $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.DeviceClass' + $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' description: Accepted "401": content: {} description: Unauthorized tags: - - resource_v1beta1 + - resource_v1alpha3 x-kubernetes-action: post x-kubernetes-group-version-kind: group: resource.k8s.io - kind: DeviceClass - version: v1beta1 + kind: DeviceTaintRule + version: v1alpha3 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -72232,12 +72432,12 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/resource.k8s.io/v1beta1/deviceclasses/{name}: + /apis/resource.k8s.io/v1alpha3/devicetaintrules/{name}: delete: - description: delete a DeviceClass - operationId: deleteDeviceClass + description: delete a DeviceTaintRule + operationId: deleteDeviceTaintRule parameters: - - description: name of the DeviceClass + - description: name of the DeviceTaintRule in: path name: name required: true @@ -72312,42 +72512,42 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta1.DeviceClass' + $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.DeviceClass' + $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.DeviceClass' + $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.DeviceClass' + $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' description: OK "202": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.DeviceClass' + $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.DeviceClass' + $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.DeviceClass' + $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.DeviceClass' + $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' description: Accepted "401": content: {} description: Unauthorized tags: - - resource_v1beta1 + - resource_v1alpha3 x-kubernetes-action: delete x-kubernetes-group-version-kind: group: resource.k8s.io - kind: DeviceClass - version: v1beta1 + kind: DeviceTaintRule + version: v1alpha3 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -72356,10 +72556,10 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml get: - description: read the specified DeviceClass - operationId: readDeviceClass + description: read the specified DeviceTaintRule + operationId: readDeviceTaintRule parameters: - - description: name of the DeviceClass + - description: name of the DeviceTaintRule in: path name: name required: true @@ -72377,37 +72577,37 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta1.DeviceClass' + $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.DeviceClass' + $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.DeviceClass' + $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.DeviceClass' + $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' description: OK "401": content: {} description: Unauthorized tags: - - resource_v1beta1 + - resource_v1alpha3 x-kubernetes-action: get x-kubernetes-group-version-kind: group: resource.k8s.io - kind: DeviceClass - version: v1beta1 + kind: DeviceTaintRule + version: v1alpha3 x-accepts: - application/cbor - application/json - application/vnd.kubernetes.protobuf - application/yaml patch: - description: partially update the specified DeviceClass - operationId: patchDeviceClass + description: partially update the specified DeviceTaintRule + operationId: patchDeviceTaintRule parameters: - - description: name of the DeviceClass + - description: name of the DeviceTaintRule in: path name: name required: true @@ -72472,42 +72672,42 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta1.DeviceClass' + $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.DeviceClass' + $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.DeviceClass' + $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.DeviceClass' + $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.DeviceClass' + $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.DeviceClass' + $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.DeviceClass' + $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.DeviceClass' + $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' description: Created "401": content: {} description: Unauthorized tags: - - resource_v1beta1 + - resource_v1alpha3 x-kubernetes-action: patch x-kubernetes-group-version-kind: group: resource.k8s.io - kind: DeviceClass - version: v1beta1 + kind: DeviceTaintRule + version: v1alpha3 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -72516,10 +72716,10 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml put: - description: replace the specified DeviceClass - operationId: replaceDeviceClass + description: replace the specified DeviceTaintRule + operationId: replaceDeviceTaintRule parameters: - - description: name of the DeviceClass + - description: name of the DeviceTaintRule in: path name: name required: true @@ -72568,49 +72768,49 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta1.DeviceClass' + $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.DeviceClass' + $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.DeviceClass' + $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.DeviceClass' + $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.DeviceClass' + $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.DeviceClass' + $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.DeviceClass' + $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.DeviceClass' + $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.DeviceClass' + $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' description: Created "401": content: {} description: Unauthorized tags: - - resource_v1beta1 + - resource_v1alpha3 x-kubernetes-action: put x-kubernetes-group-version-kind: group: resource.k8s.io - kind: DeviceClass - version: v1beta1 + kind: DeviceTaintRule + version: v1alpha3 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -72618,17 +72818,43 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaims: + /apis/resource.k8s.io/v1alpha3/watch/devicetaintrules: {} + /apis/resource.k8s.io/v1alpha3/watch/devicetaintrules/{name}: {} + /apis/resource.k8s.io/v1beta1/: + get: + description: get available resources + operationId: getAPIResources + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/v1.APIResourceList' + application/yaml: + schema: + $ref: '#/components/schemas/v1.APIResourceList' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1.APIResourceList' + application/cbor: + schema: + $ref: '#/components/schemas/v1.APIResourceList' + description: OK + "401": + content: {} + description: Unauthorized + tags: + - resource_v1beta1 + x-accepts: + - application/cbor + - application/json + - application/vnd.kubernetes.protobuf + - application/yaml + /apis/resource.k8s.io/v1beta1/deviceclasses: delete: - description: delete collection of ResourceClaim - operationId: deleteCollectionNamespacedResourceClaim + description: delete collection of DeviceClass + operationId: deleteCollectionDeviceClass parameters: - - description: "object name and auth scope, such as for teams and projects" - in: path - name: namespace - required: true - schema: - type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -72785,7 +73011,7 @@ paths: x-kubernetes-action: deletecollection x-kubernetes-group-version-kind: group: resource.k8s.io - kind: ResourceClaim + kind: DeviceClass version: v1beta1 x-codegen-request-body-name: body x-content-type: application/json @@ -72795,15 +73021,9 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml get: - description: list or watch objects of kind ResourceClaim - operationId: listNamespacedResourceClaim + description: list or watch objects of kind DeviceClass + operationId: listDeviceClass parameters: - - description: "object name and auth scope, such as for teams and projects" - in: path - name: namespace - required: true - schema: - type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -72900,25 +73120,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimList' + $ref: '#/components/schemas/v1beta1.DeviceClassList' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimList' + $ref: '#/components/schemas/v1beta1.DeviceClassList' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimList' + $ref: '#/components/schemas/v1beta1.DeviceClassList' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimList' + $ref: '#/components/schemas/v1beta1.DeviceClassList' application/json;stream=watch: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimList' + $ref: '#/components/schemas/v1beta1.DeviceClassList' application/vnd.kubernetes.protobuf;stream=watch: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimList' + $ref: '#/components/schemas/v1beta1.DeviceClassList' application/cbor-seq: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimList' + $ref: '#/components/schemas/v1beta1.DeviceClassList' description: OK "401": content: {} @@ -72928,7 +73148,7 @@ paths: x-kubernetes-action: list x-kubernetes-group-version-kind: group: resource.k8s.io - kind: ResourceClaim + kind: DeviceClass version: v1beta1 x-accepts: - application/cbor @@ -72939,15 +73159,9 @@ paths: - application/vnd.kubernetes.protobuf;stream=watch - application/yaml post: - description: create a ResourceClaim - operationId: createNamespacedResourceClaim + description: create a DeviceClass + operationId: createDeviceClass parameters: - - description: "object name and auth scope, such as for teams and projects" - in: path - name: namespace - required: true - schema: - type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -72991,53 +73205,53 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaim' + $ref: '#/components/schemas/v1beta1.DeviceClass' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaim' + $ref: '#/components/schemas/v1beta1.DeviceClass' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaim' + $ref: '#/components/schemas/v1beta1.DeviceClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaim' + $ref: '#/components/schemas/v1beta1.DeviceClass' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaim' + $ref: '#/components/schemas/v1beta1.DeviceClass' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaim' + $ref: '#/components/schemas/v1beta1.DeviceClass' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaim' + $ref: '#/components/schemas/v1beta1.DeviceClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaim' + $ref: '#/components/schemas/v1beta1.DeviceClass' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaim' + $ref: '#/components/schemas/v1beta1.DeviceClass' description: Created "202": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaim' + $ref: '#/components/schemas/v1beta1.DeviceClass' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaim' + $ref: '#/components/schemas/v1beta1.DeviceClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaim' + $ref: '#/components/schemas/v1beta1.DeviceClass' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaim' + $ref: '#/components/schemas/v1beta1.DeviceClass' description: Accepted "401": content: {} @@ -73047,7 +73261,7 @@ paths: x-kubernetes-action: post x-kubernetes-group-version-kind: group: resource.k8s.io - kind: ResourceClaim + kind: DeviceClass version: v1beta1 x-codegen-request-body-name: body x-content-type: application/json @@ -73056,23 +73270,17 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaims/{name}: + /apis/resource.k8s.io/v1beta1/deviceclasses/{name}: delete: - description: delete a ResourceClaim - operationId: deleteNamespacedResourceClaim + description: delete a DeviceClass + operationId: deleteDeviceClass parameters: - - description: name of the ResourceClaim + - description: name of the DeviceClass in: path name: name required: true schema: type: string - - description: "object name and auth scope, such as for teams and projects" - in: path - name: namespace - required: true - schema: - type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -73142,31 +73350,31 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaim' + $ref: '#/components/schemas/v1beta1.DeviceClass' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaim' + $ref: '#/components/schemas/v1beta1.DeviceClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaim' + $ref: '#/components/schemas/v1beta1.DeviceClass' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaim' + $ref: '#/components/schemas/v1beta1.DeviceClass' description: OK "202": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaim' + $ref: '#/components/schemas/v1beta1.DeviceClass' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaim' + $ref: '#/components/schemas/v1beta1.DeviceClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaim' + $ref: '#/components/schemas/v1beta1.DeviceClass' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaim' + $ref: '#/components/schemas/v1beta1.DeviceClass' description: Accepted "401": content: {} @@ -73176,288 +73384,7 @@ paths: x-kubernetes-action: delete x-kubernetes-group-version-kind: group: resource.k8s.io - kind: ResourceClaim - version: v1beta1 - x-codegen-request-body-name: body - x-content-type: application/json - x-accepts: - - application/cbor - - application/json - - application/vnd.kubernetes.protobuf - - application/yaml - get: - description: read the specified ResourceClaim - operationId: readNamespacedResourceClaim - parameters: - - description: name of the ResourceClaim - in: path - name: name - required: true - schema: - type: string - - description: "object name and auth scope, such as for teams and projects" - in: path - name: namespace - required: true - schema: - type: string - - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ - \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ - \ and wget)." - in: query - name: pretty - schema: - type: string - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/v1beta1.ResourceClaim' - application/yaml: - schema: - $ref: '#/components/schemas/v1beta1.ResourceClaim' - application/vnd.kubernetes.protobuf: - schema: - $ref: '#/components/schemas/v1beta1.ResourceClaim' - application/cbor: - schema: - $ref: '#/components/schemas/v1beta1.ResourceClaim' - description: OK - "401": - content: {} - description: Unauthorized - tags: - - resource_v1beta1 - x-kubernetes-action: get - x-kubernetes-group-version-kind: - group: resource.k8s.io - kind: ResourceClaim - version: v1beta1 - x-accepts: - - application/cbor - - application/json - - application/vnd.kubernetes.protobuf - - application/yaml - patch: - description: partially update the specified ResourceClaim - operationId: patchNamespacedResourceClaim - parameters: - - description: name of the ResourceClaim - in: path - name: name - required: true - schema: - type: string - - description: "object name and auth scope, such as for teams and projects" - in: path - name: namespace - required: true - schema: - type: string - - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ - \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ - \ and wget)." - in: query - name: pretty - schema: - type: string - - description: "When present, indicates that modifications should not be persisted.\ - \ An invalid or unrecognized dryRun directive will result in an error response\ - \ and no further processing of the request. Valid values are: - All: all\ - \ dry run stages will be processed" - in: query - name: dryRun - schema: - type: string - - description: "fieldManager is a name associated with the actor or entity that\ - \ is making these changes. The value must be less than or 128 characters\ - \ long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.\ - \ This field is required for apply requests (application/apply-patch) but\ - \ optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch)." - in: query - name: fieldManager - schema: - type: string - - description: "fieldValidation instructs the server on how to handle objects\ - \ in the request (POST/PUT/PATCH) containing unknown or duplicate fields.\ - \ Valid values are: - Ignore: This will ignore any unknown fields that are\ - \ silently dropped from the object, and will ignore all but the last duplicate\ - \ field that the decoder encounters. This is the default behavior prior\ - \ to v1.23. - Warn: This will send a warning via the standard warning response\ - \ header for each unknown field that is dropped from the object, and for\ - \ each duplicate field that is encountered. The request will still succeed\ - \ if there are no other errors, and will only persist the last of any duplicate\ - \ fields. This is the default in v1.23+ - Strict: This will fail the request\ - \ with a BadRequest error if any unknown fields would be dropped from the\ - \ object, or if any duplicate fields are present. The error returned from\ - \ the server will contain all unknown and duplicate fields encountered." - in: query - name: fieldValidation - schema: - type: string - - description: Force is going to "force" Apply requests. It means user will - re-acquire conflicting fields owned by other people. Force flag must be - unset for non-apply patch requests. - in: query - name: force - schema: - type: boolean - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/v1.Patch' - required: true - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/v1beta1.ResourceClaim' - application/yaml: - schema: - $ref: '#/components/schemas/v1beta1.ResourceClaim' - application/vnd.kubernetes.protobuf: - schema: - $ref: '#/components/schemas/v1beta1.ResourceClaim' - application/cbor: - schema: - $ref: '#/components/schemas/v1beta1.ResourceClaim' - description: OK - "201": - content: - application/json: - schema: - $ref: '#/components/schemas/v1beta1.ResourceClaim' - application/yaml: - schema: - $ref: '#/components/schemas/v1beta1.ResourceClaim' - application/vnd.kubernetes.protobuf: - schema: - $ref: '#/components/schemas/v1beta1.ResourceClaim' - application/cbor: - schema: - $ref: '#/components/schemas/v1beta1.ResourceClaim' - description: Created - "401": - content: {} - description: Unauthorized - tags: - - resource_v1beta1 - x-kubernetes-action: patch - x-kubernetes-group-version-kind: - group: resource.k8s.io - kind: ResourceClaim - version: v1beta1 - x-codegen-request-body-name: body - x-content-type: application/json - x-accepts: - - application/cbor - - application/json - - application/vnd.kubernetes.protobuf - - application/yaml - put: - description: replace the specified ResourceClaim - operationId: replaceNamespacedResourceClaim - parameters: - - description: name of the ResourceClaim - in: path - name: name - required: true - schema: - type: string - - description: "object name and auth scope, such as for teams and projects" - in: path - name: namespace - required: true - schema: - type: string - - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ - \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ - \ and wget)." - in: query - name: pretty - schema: - type: string - - description: "When present, indicates that modifications should not be persisted.\ - \ An invalid or unrecognized dryRun directive will result in an error response\ - \ and no further processing of the request. Valid values are: - All: all\ - \ dry run stages will be processed" - in: query - name: dryRun - schema: - type: string - - description: "fieldManager is a name associated with the actor or entity that\ - \ is making these changes. The value must be less than or 128 characters\ - \ long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint." - in: query - name: fieldManager - schema: - type: string - - description: "fieldValidation instructs the server on how to handle objects\ - \ in the request (POST/PUT/PATCH) containing unknown or duplicate fields.\ - \ Valid values are: - Ignore: This will ignore any unknown fields that are\ - \ silently dropped from the object, and will ignore all but the last duplicate\ - \ field that the decoder encounters. This is the default behavior prior\ - \ to v1.23. - Warn: This will send a warning via the standard warning response\ - \ header for each unknown field that is dropped from the object, and for\ - \ each duplicate field that is encountered. The request will still succeed\ - \ if there are no other errors, and will only persist the last of any duplicate\ - \ fields. This is the default in v1.23+ - Strict: This will fail the request\ - \ with a BadRequest error if any unknown fields would be dropped from the\ - \ object, or if any duplicate fields are present. The error returned from\ - \ the server will contain all unknown and duplicate fields encountered." - in: query - name: fieldValidation - schema: - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/v1beta1.ResourceClaim' - required: true - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/v1beta1.ResourceClaim' - application/yaml: - schema: - $ref: '#/components/schemas/v1beta1.ResourceClaim' - application/vnd.kubernetes.protobuf: - schema: - $ref: '#/components/schemas/v1beta1.ResourceClaim' - application/cbor: - schema: - $ref: '#/components/schemas/v1beta1.ResourceClaim' - description: OK - "201": - content: - application/json: - schema: - $ref: '#/components/schemas/v1beta1.ResourceClaim' - application/yaml: - schema: - $ref: '#/components/schemas/v1beta1.ResourceClaim' - application/vnd.kubernetes.protobuf: - schema: - $ref: '#/components/schemas/v1beta1.ResourceClaim' - application/cbor: - schema: - $ref: '#/components/schemas/v1beta1.ResourceClaim' - description: Created - "401": - content: {} - description: Unauthorized - tags: - - resource_v1beta1 - x-kubernetes-action: put - x-kubernetes-group-version-kind: - group: resource.k8s.io - kind: ResourceClaim + kind: DeviceClass version: v1beta1 x-codegen-request-body-name: body x-content-type: application/json @@ -73466,23 +73393,16 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaims/{name}/status: get: - description: read status of the specified ResourceClaim - operationId: readNamespacedResourceClaimStatus + description: read the specified DeviceClass + operationId: readDeviceClass parameters: - - description: name of the ResourceClaim + - description: name of the DeviceClass in: path name: name required: true schema: type: string - - description: "object name and auth scope, such as for teams and projects" - in: path - name: namespace - required: true - schema: - type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -73495,16 +73415,16 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaim' + $ref: '#/components/schemas/v1beta1.DeviceClass' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaim' + $ref: '#/components/schemas/v1beta1.DeviceClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaim' + $ref: '#/components/schemas/v1beta1.DeviceClass' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaim' + $ref: '#/components/schemas/v1beta1.DeviceClass' description: OK "401": content: {} @@ -73514,7 +73434,7 @@ paths: x-kubernetes-action: get x-kubernetes-group-version-kind: group: resource.k8s.io - kind: ResourceClaim + kind: DeviceClass version: v1beta1 x-accepts: - application/cbor @@ -73522,21 +73442,15 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml patch: - description: partially update status of the specified ResourceClaim - operationId: patchNamespacedResourceClaimStatus + description: partially update the specified DeviceClass + operationId: patchDeviceClass parameters: - - description: name of the ResourceClaim + - description: name of the DeviceClass in: path name: name required: true schema: type: string - - description: "object name and auth scope, such as for teams and projects" - in: path - name: namespace - required: true - schema: - type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -73596,31 +73510,31 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaim' + $ref: '#/components/schemas/v1beta1.DeviceClass' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaim' + $ref: '#/components/schemas/v1beta1.DeviceClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaim' + $ref: '#/components/schemas/v1beta1.DeviceClass' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaim' + $ref: '#/components/schemas/v1beta1.DeviceClass' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaim' + $ref: '#/components/schemas/v1beta1.DeviceClass' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaim' + $ref: '#/components/schemas/v1beta1.DeviceClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaim' + $ref: '#/components/schemas/v1beta1.DeviceClass' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaim' + $ref: '#/components/schemas/v1beta1.DeviceClass' description: Created "401": content: {} @@ -73630,7 +73544,7 @@ paths: x-kubernetes-action: patch x-kubernetes-group-version-kind: group: resource.k8s.io - kind: ResourceClaim + kind: DeviceClass version: v1beta1 x-codegen-request-body-name: body x-content-type: application/json @@ -73640,21 +73554,15 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml put: - description: replace status of the specified ResourceClaim - operationId: replaceNamespacedResourceClaimStatus + description: replace the specified DeviceClass + operationId: replaceDeviceClass parameters: - - description: name of the ResourceClaim + - description: name of the DeviceClass in: path name: name required: true schema: type: string - - description: "object name and auth scope, such as for teams and projects" - in: path - name: namespace - required: true - schema: - type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -73698,38 +73606,38 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaim' + $ref: '#/components/schemas/v1beta1.DeviceClass' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaim' + $ref: '#/components/schemas/v1beta1.DeviceClass' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaim' + $ref: '#/components/schemas/v1beta1.DeviceClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaim' + $ref: '#/components/schemas/v1beta1.DeviceClass' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaim' + $ref: '#/components/schemas/v1beta1.DeviceClass' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaim' + $ref: '#/components/schemas/v1beta1.DeviceClass' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaim' + $ref: '#/components/schemas/v1beta1.DeviceClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaim' + $ref: '#/components/schemas/v1beta1.DeviceClass' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaim' + $ref: '#/components/schemas/v1beta1.DeviceClass' description: Created "401": content: {} @@ -73739,7 +73647,7 @@ paths: x-kubernetes-action: put x-kubernetes-group-version-kind: group: resource.k8s.io - kind: ResourceClaim + kind: DeviceClass version: v1beta1 x-codegen-request-body-name: body x-content-type: application/json @@ -73748,10 +73656,10 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaimtemplates: + /apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaims: delete: - description: delete collection of ResourceClaimTemplate - operationId: deleteCollectionNamespacedResourceClaimTemplate + description: delete collection of ResourceClaim + operationId: deleteCollectionNamespacedResourceClaim parameters: - description: "object name and auth scope, such as for teams and projects" in: path @@ -73915,7 +73823,7 @@ paths: x-kubernetes-action: deletecollection x-kubernetes-group-version-kind: group: resource.k8s.io - kind: ResourceClaimTemplate + kind: ResourceClaim version: v1beta1 x-codegen-request-body-name: body x-content-type: application/json @@ -73925,8 +73833,8 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml get: - description: list or watch objects of kind ResourceClaimTemplate - operationId: listNamespacedResourceClaimTemplate + description: list or watch objects of kind ResourceClaim + operationId: listNamespacedResourceClaim parameters: - description: "object name and auth scope, such as for teams and projects" in: path @@ -74030,25 +73938,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimTemplateList' + $ref: '#/components/schemas/v1beta1.ResourceClaimList' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimTemplateList' + $ref: '#/components/schemas/v1beta1.ResourceClaimList' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimTemplateList' + $ref: '#/components/schemas/v1beta1.ResourceClaimList' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimTemplateList' + $ref: '#/components/schemas/v1beta1.ResourceClaimList' application/json;stream=watch: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimTemplateList' + $ref: '#/components/schemas/v1beta1.ResourceClaimList' application/vnd.kubernetes.protobuf;stream=watch: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimTemplateList' + $ref: '#/components/schemas/v1beta1.ResourceClaimList' application/cbor-seq: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimTemplateList' + $ref: '#/components/schemas/v1beta1.ResourceClaimList' description: OK "401": content: {} @@ -74058,7 +73966,7 @@ paths: x-kubernetes-action: list x-kubernetes-group-version-kind: group: resource.k8s.io - kind: ResourceClaimTemplate + kind: ResourceClaim version: v1beta1 x-accepts: - application/cbor @@ -74069,8 +73977,8 @@ paths: - application/vnd.kubernetes.protobuf;stream=watch - application/yaml post: - description: create a ResourceClaimTemplate - operationId: createNamespacedResourceClaimTemplate + description: create a ResourceClaim + operationId: createNamespacedResourceClaim parameters: - description: "object name and auth scope, such as for teams and projects" in: path @@ -74121,53 +74029,53 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta1.ResourceClaim' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta1.ResourceClaim' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta1.ResourceClaim' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta1.ResourceClaim' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta1.ResourceClaim' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta1.ResourceClaim' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta1.ResourceClaim' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta1.ResourceClaim' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta1.ResourceClaim' description: Created "202": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta1.ResourceClaim' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta1.ResourceClaim' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta1.ResourceClaim' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta1.ResourceClaim' description: Accepted "401": content: {} @@ -74177,7 +74085,7 @@ paths: x-kubernetes-action: post x-kubernetes-group-version-kind: group: resource.k8s.io - kind: ResourceClaimTemplate + kind: ResourceClaim version: v1beta1 x-codegen-request-body-name: body x-content-type: application/json @@ -74186,12 +74094,12 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaimtemplates/{name}: + /apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaims/{name}: delete: - description: delete a ResourceClaimTemplate - operationId: deleteNamespacedResourceClaimTemplate + description: delete a ResourceClaim + operationId: deleteNamespacedResourceClaim parameters: - - description: name of the ResourceClaimTemplate + - description: name of the ResourceClaim in: path name: name required: true @@ -74272,31 +74180,31 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta1.ResourceClaim' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta1.ResourceClaim' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta1.ResourceClaim' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta1.ResourceClaim' description: OK "202": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta1.ResourceClaim' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta1.ResourceClaim' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta1.ResourceClaim' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta1.ResourceClaim' description: Accepted "401": content: {} @@ -74306,7 +74214,7 @@ paths: x-kubernetes-action: delete x-kubernetes-group-version-kind: group: resource.k8s.io - kind: ResourceClaimTemplate + kind: ResourceClaim version: v1beta1 x-codegen-request-body-name: body x-content-type: application/json @@ -74316,10 +74224,10 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml get: - description: read the specified ResourceClaimTemplate - operationId: readNamespacedResourceClaimTemplate + description: read the specified ResourceClaim + operationId: readNamespacedResourceClaim parameters: - - description: name of the ResourceClaimTemplate + - description: name of the ResourceClaim in: path name: name required: true @@ -74343,16 +74251,16 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta1.ResourceClaim' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta1.ResourceClaim' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta1.ResourceClaim' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta1.ResourceClaim' description: OK "401": content: {} @@ -74362,7 +74270,7 @@ paths: x-kubernetes-action: get x-kubernetes-group-version-kind: group: resource.k8s.io - kind: ResourceClaimTemplate + kind: ResourceClaim version: v1beta1 x-accepts: - application/cbor @@ -74370,10 +74278,10 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml patch: - description: partially update the specified ResourceClaimTemplate - operationId: patchNamespacedResourceClaimTemplate + description: partially update the specified ResourceClaim + operationId: patchNamespacedResourceClaim parameters: - - description: name of the ResourceClaimTemplate + - description: name of the ResourceClaim in: path name: name required: true @@ -74444,31 +74352,31 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta1.ResourceClaim' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta1.ResourceClaim' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta1.ResourceClaim' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta1.ResourceClaim' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta1.ResourceClaim' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta1.ResourceClaim' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta1.ResourceClaim' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta1.ResourceClaim' description: Created "401": content: {} @@ -74478,7 +74386,7 @@ paths: x-kubernetes-action: patch x-kubernetes-group-version-kind: group: resource.k8s.io - kind: ResourceClaimTemplate + kind: ResourceClaim version: v1beta1 x-codegen-request-body-name: body x-content-type: application/json @@ -74488,10 +74396,10 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml put: - description: replace the specified ResourceClaimTemplate - operationId: replaceNamespacedResourceClaimTemplate + description: replace the specified ResourceClaim + operationId: replaceNamespacedResourceClaim parameters: - - description: name of the ResourceClaimTemplate + - description: name of the ResourceClaim in: path name: name required: true @@ -74546,38 +74454,38 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta1.ResourceClaim' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta1.ResourceClaim' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta1.ResourceClaim' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta1.ResourceClaim' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta1.ResourceClaim' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta1.ResourceClaim' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta1.ResourceClaim' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta1.ResourceClaim' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta1.ResourceClaim' description: Created "401": content: {} @@ -74587,7 +74495,7 @@ paths: x-kubernetes-action: put x-kubernetes-group-version-kind: group: resource.k8s.io - kind: ResourceClaimTemplate + kind: ResourceClaim version: v1beta1 x-codegen-request-body-name: body x-content-type: application/json @@ -74596,49 +74504,77 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/resource.k8s.io/v1beta1/resourceclaims: + /apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaims/{name}/status: get: - description: list or watch objects of kind ResourceClaim - operationId: listResourceClaimForAllNamespaces + description: read status of the specified ResourceClaim + operationId: readNamespacedResourceClaimStatus parameters: - - description: "allowWatchBookmarks requests watch events with type \"BOOKMARK\"\ - . Servers that do not implement bookmarks may ignore this flag and bookmarks\ - \ are sent at the server's discretion. Clients should not assume bookmarks\ - \ are returned at any specific interval, nor may they assume the server\ - \ will send any BOOKMARK event during a session. If this is not a watch,\ - \ this field is ignored." - in: query - name: allowWatchBookmarks + - description: name of the ResourceClaim + in: path + name: name + required: true schema: - type: boolean - - description: |- - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". - - This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - in: query - name: continue + type: string + - description: "object name and auth scope, such as for teams and projects" + in: path + name: namespace + required: true schema: type: string - - description: A selector to restrict the list of returned objects by their - fields. Defaults to everything. + - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ + \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ + \ and wget)." in: query - name: fieldSelector + name: pretty schema: type: string - - description: A selector to restrict the list of returned objects by their - labels. Defaults to everything. - in: query - name: labelSelector + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/v1beta1.ResourceClaim' + application/yaml: + schema: + $ref: '#/components/schemas/v1beta1.ResourceClaim' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1beta1.ResourceClaim' + application/cbor: + schema: + $ref: '#/components/schemas/v1beta1.ResourceClaim' + description: OK + "401": + content: {} + description: Unauthorized + tags: + - resource_v1beta1 + x-kubernetes-action: get + x-kubernetes-group-version-kind: + group: resource.k8s.io + kind: ResourceClaim + version: v1beta1 + x-accepts: + - application/cbor + - application/json + - application/vnd.kubernetes.protobuf + - application/yaml + patch: + description: partially update status of the specified ResourceClaim + operationId: patchNamespacedResourceClaimStatus + parameters: + - description: name of the ResourceClaim + in: path + name: name + required: true schema: type: string - - description: |- - limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. - - The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - in: query - name: limit + - description: "object name and auth scope, such as for teams and projects" + in: path + name: namespace + required: true schema: - type: integer + type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -74646,138 +74582,117 @@ paths: name: pretty schema: type: string - - description: |- - resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. - - Defaults to unset + - description: "When present, indicates that modifications should not be persisted.\ + \ An invalid or unrecognized dryRun directive will result in an error response\ + \ and no further processing of the request. Valid values are: - All: all\ + \ dry run stages will be processed" in: query - name: resourceVersion + name: dryRun schema: type: string - - description: |- - resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. - - Defaults to unset + - description: "fieldManager is a name associated with the actor or entity that\ + \ is making these changes. The value must be less than or 128 characters\ + \ long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.\ + \ This field is required for apply requests (application/apply-patch) but\ + \ optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch)." in: query - name: resourceVersionMatch + name: fieldManager schema: type: string - - description: |- - `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic "Bookmark" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. - - When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan - is interpreted as "data at least as new as the provided `resourceVersion`" - and the bookmark event is send when the state is synced - to a `resourceVersion` at least as fresh as the one provided by the ListOptions. - If `resourceVersion` is unset, this is interpreted as "consistent read" and the - bookmark event is send when the state is synced at least to the moment - when request started being processed. - - `resourceVersionMatch` set to any other value or unset - Invalid error is returned. - - Defaults to true if `resourceVersion=""` or `resourceVersion="0"` (for backward compatibility reasons) and to false otherwise. - in: query - name: sendInitialEvents - schema: - type: boolean - - description: "Timeout for the list/watch call. This limits the duration of\ - \ the call, regardless of any activity or inactivity." + - description: "fieldValidation instructs the server on how to handle objects\ + \ in the request (POST/PUT/PATCH) containing unknown or duplicate fields.\ + \ Valid values are: - Ignore: This will ignore any unknown fields that are\ + \ silently dropped from the object, and will ignore all but the last duplicate\ + \ field that the decoder encounters. This is the default behavior prior\ + \ to v1.23. - Warn: This will send a warning via the standard warning response\ + \ header for each unknown field that is dropped from the object, and for\ + \ each duplicate field that is encountered. The request will still succeed\ + \ if there are no other errors, and will only persist the last of any duplicate\ + \ fields. This is the default in v1.23+ - Strict: This will fail the request\ + \ with a BadRequest error if any unknown fields would be dropped from the\ + \ object, or if any duplicate fields are present. The error returned from\ + \ the server will contain all unknown and duplicate fields encountered." in: query - name: timeoutSeconds + name: fieldValidation schema: - type: integer - - description: "Watch for changes to the described resources and return them\ - \ as a stream of add, update, and remove notifications. Specify resourceVersion." + type: string + - description: Force is going to "force" Apply requests. It means user will + re-acquire conflicting fields owned by other people. Force flag must be + unset for non-apply patch requests. in: query - name: watch + name: force schema: type: boolean + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/v1.Patch' + required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimList' + $ref: '#/components/schemas/v1beta1.ResourceClaim' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimList' + $ref: '#/components/schemas/v1beta1.ResourceClaim' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimList' + $ref: '#/components/schemas/v1beta1.ResourceClaim' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimList' - application/json;stream=watch: + $ref: '#/components/schemas/v1beta1.ResourceClaim' + description: OK + "201": + content: + application/json: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimList' - application/vnd.kubernetes.protobuf;stream=watch: + $ref: '#/components/schemas/v1beta1.ResourceClaim' + application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimList' - application/cbor-seq: + $ref: '#/components/schemas/v1beta1.ResourceClaim' + application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimList' - description: OK + $ref: '#/components/schemas/v1beta1.ResourceClaim' + application/cbor: + schema: + $ref: '#/components/schemas/v1beta1.ResourceClaim' + description: Created "401": content: {} description: Unauthorized tags: - resource_v1beta1 - x-kubernetes-action: list + x-kubernetes-action: patch x-kubernetes-group-version-kind: group: resource.k8s.io kind: ResourceClaim version: v1beta1 + x-codegen-request-body-name: body + x-content-type: application/json x-accepts: - application/cbor - - application/cbor-seq - application/json - - application/json;stream=watch - application/vnd.kubernetes.protobuf - - application/vnd.kubernetes.protobuf;stream=watch - application/yaml - /apis/resource.k8s.io/v1beta1/resourceclaimtemplates: - get: - description: list or watch objects of kind ResourceClaimTemplate - operationId: listResourceClaimTemplateForAllNamespaces + put: + description: replace status of the specified ResourceClaim + operationId: replaceNamespacedResourceClaimStatus parameters: - - description: "allowWatchBookmarks requests watch events with type \"BOOKMARK\"\ - . Servers that do not implement bookmarks may ignore this flag and bookmarks\ - \ are sent at the server's discretion. Clients should not assume bookmarks\ - \ are returned at any specific interval, nor may they assume the server\ - \ will send any BOOKMARK event during a session. If this is not a watch,\ - \ this field is ignored." - in: query - name: allowWatchBookmarks - schema: - type: boolean - - description: |- - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". - - This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - in: query - name: continue - schema: - type: string - - description: A selector to restrict the list of returned objects by their - fields. Defaults to everything. - in: query - name: fieldSelector + - description: name of the ResourceClaim + in: path + name: name + required: true schema: type: string - - description: A selector to restrict the list of returned objects by their - labels. Defaults to everything. - in: query - name: labelSelector + - description: "object name and auth scope, such as for teams and projects" + in: path + name: namespace + required: true schema: type: string - - description: |- - limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. - - The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - in: query - name: limit - schema: - type: integer - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -74785,100 +74700,103 @@ paths: name: pretty schema: type: string - - description: |- - resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. - - Defaults to unset + - description: "When present, indicates that modifications should not be persisted.\ + \ An invalid or unrecognized dryRun directive will result in an error response\ + \ and no further processing of the request. Valid values are: - All: all\ + \ dry run stages will be processed" in: query - name: resourceVersion + name: dryRun schema: type: string - - description: |- - resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. - - Defaults to unset + - description: "fieldManager is a name associated with the actor or entity that\ + \ is making these changes. The value must be less than or 128 characters\ + \ long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint." in: query - name: resourceVersionMatch + name: fieldManager schema: type: string - - description: |- - `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic "Bookmark" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. - - When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan - is interpreted as "data at least as new as the provided `resourceVersion`" - and the bookmark event is send when the state is synced - to a `resourceVersion` at least as fresh as the one provided by the ListOptions. - If `resourceVersion` is unset, this is interpreted as "consistent read" and the - bookmark event is send when the state is synced at least to the moment - when request started being processed. - - `resourceVersionMatch` set to any other value or unset - Invalid error is returned. - - Defaults to true if `resourceVersion=""` or `resourceVersion="0"` (for backward compatibility reasons) and to false otherwise. - in: query - name: sendInitialEvents - schema: - type: boolean - - description: "Timeout for the list/watch call. This limits the duration of\ - \ the call, regardless of any activity or inactivity." - in: query - name: timeoutSeconds - schema: - type: integer - - description: "Watch for changes to the described resources and return them\ - \ as a stream of add, update, and remove notifications. Specify resourceVersion." + - description: "fieldValidation instructs the server on how to handle objects\ + \ in the request (POST/PUT/PATCH) containing unknown or duplicate fields.\ + \ Valid values are: - Ignore: This will ignore any unknown fields that are\ + \ silently dropped from the object, and will ignore all but the last duplicate\ + \ field that the decoder encounters. This is the default behavior prior\ + \ to v1.23. - Warn: This will send a warning via the standard warning response\ + \ header for each unknown field that is dropped from the object, and for\ + \ each duplicate field that is encountered. The request will still succeed\ + \ if there are no other errors, and will only persist the last of any duplicate\ + \ fields. This is the default in v1.23+ - Strict: This will fail the request\ + \ with a BadRequest error if any unknown fields would be dropped from the\ + \ object, or if any duplicate fields are present. The error returned from\ + \ the server will contain all unknown and duplicate fields encountered." in: query - name: watch + name: fieldValidation schema: - type: boolean + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/v1beta1.ResourceClaim' + required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimTemplateList' + $ref: '#/components/schemas/v1beta1.ResourceClaim' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimTemplateList' + $ref: '#/components/schemas/v1beta1.ResourceClaim' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimTemplateList' + $ref: '#/components/schemas/v1beta1.ResourceClaim' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimTemplateList' - application/json;stream=watch: + $ref: '#/components/schemas/v1beta1.ResourceClaim' + description: OK + "201": + content: + application/json: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimTemplateList' - application/vnd.kubernetes.protobuf;stream=watch: + $ref: '#/components/schemas/v1beta1.ResourceClaim' + application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimTemplateList' - application/cbor-seq: + $ref: '#/components/schemas/v1beta1.ResourceClaim' + application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ResourceClaimTemplateList' - description: OK + $ref: '#/components/schemas/v1beta1.ResourceClaim' + application/cbor: + schema: + $ref: '#/components/schemas/v1beta1.ResourceClaim' + description: Created "401": content: {} description: Unauthorized tags: - resource_v1beta1 - x-kubernetes-action: list + x-kubernetes-action: put x-kubernetes-group-version-kind: group: resource.k8s.io - kind: ResourceClaimTemplate + kind: ResourceClaim version: v1beta1 + x-codegen-request-body-name: body + x-content-type: application/json x-accepts: - application/cbor - - application/cbor-seq - application/json - - application/json;stream=watch - application/vnd.kubernetes.protobuf - - application/vnd.kubernetes.protobuf;stream=watch - application/yaml - /apis/resource.k8s.io/v1beta1/resourceslices: + /apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaimtemplates: delete: - description: delete collection of ResourceSlice - operationId: deleteCollectionResourceSlice + description: delete collection of ResourceClaimTemplate + operationId: deleteCollectionNamespacedResourceClaimTemplate parameters: + - description: "object name and auth scope, such as for teams and projects" + in: path + name: namespace + required: true + schema: + type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -75035,7 +74953,7 @@ paths: x-kubernetes-action: deletecollection x-kubernetes-group-version-kind: group: resource.k8s.io - kind: ResourceSlice + kind: ResourceClaimTemplate version: v1beta1 x-codegen-request-body-name: body x-content-type: application/json @@ -75045,9 +74963,15 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml get: - description: list or watch objects of kind ResourceSlice - operationId: listResourceSlice + description: list or watch objects of kind ResourceClaimTemplate + operationId: listNamespacedResourceClaimTemplate parameters: + - description: "object name and auth scope, such as for teams and projects" + in: path + name: namespace + required: true + schema: + type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -75144,25 +75068,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ResourceSliceList' + $ref: '#/components/schemas/v1beta1.ResourceClaimTemplateList' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ResourceSliceList' + $ref: '#/components/schemas/v1beta1.ResourceClaimTemplateList' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ResourceSliceList' + $ref: '#/components/schemas/v1beta1.ResourceClaimTemplateList' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ResourceSliceList' + $ref: '#/components/schemas/v1beta1.ResourceClaimTemplateList' application/json;stream=watch: schema: - $ref: '#/components/schemas/v1beta1.ResourceSliceList' + $ref: '#/components/schemas/v1beta1.ResourceClaimTemplateList' application/vnd.kubernetes.protobuf;stream=watch: schema: - $ref: '#/components/schemas/v1beta1.ResourceSliceList' + $ref: '#/components/schemas/v1beta1.ResourceClaimTemplateList' application/cbor-seq: schema: - $ref: '#/components/schemas/v1beta1.ResourceSliceList' + $ref: '#/components/schemas/v1beta1.ResourceClaimTemplateList' description: OK "401": content: {} @@ -75172,7 +75096,7 @@ paths: x-kubernetes-action: list x-kubernetes-group-version-kind: group: resource.k8s.io - kind: ResourceSlice + kind: ResourceClaimTemplate version: v1beta1 x-accepts: - application/cbor @@ -75183,9 +75107,15 @@ paths: - application/vnd.kubernetes.protobuf;stream=watch - application/yaml post: - description: create a ResourceSlice - operationId: createResourceSlice + description: create a ResourceClaimTemplate + operationId: createNamespacedResourceClaimTemplate parameters: + - description: "object name and auth scope, such as for teams and projects" + in: path + name: namespace + required: true + schema: + type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -75229,53 +75159,53 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ResourceSlice' + $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ResourceSlice' + $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ResourceSlice' + $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ResourceSlice' + $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ResourceSlice' + $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ResourceSlice' + $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ResourceSlice' + $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ResourceSlice' + $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ResourceSlice' + $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' description: Created "202": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ResourceSlice' + $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ResourceSlice' + $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ResourceSlice' + $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ResourceSlice' + $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' description: Accepted "401": content: {} @@ -75285,7 +75215,7 @@ paths: x-kubernetes-action: post x-kubernetes-group-version-kind: group: resource.k8s.io - kind: ResourceSlice + kind: ResourceClaimTemplate version: v1beta1 x-codegen-request-body-name: body x-content-type: application/json @@ -75294,17 +75224,23 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/resource.k8s.io/v1beta1/resourceslices/{name}: + /apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaimtemplates/{name}: delete: - description: delete a ResourceSlice - operationId: deleteResourceSlice + description: delete a ResourceClaimTemplate + operationId: deleteNamespacedResourceClaimTemplate parameters: - - description: name of the ResourceSlice + - description: name of the ResourceClaimTemplate in: path name: name required: true schema: type: string + - description: "object name and auth scope, such as for teams and projects" + in: path + name: namespace + required: true + schema: + type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -75374,31 +75310,31 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ResourceSlice' + $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ResourceSlice' + $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ResourceSlice' + $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ResourceSlice' + $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' description: OK "202": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ResourceSlice' + $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ResourceSlice' + $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ResourceSlice' + $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ResourceSlice' + $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' description: Accepted "401": content: {} @@ -75408,7 +75344,7 @@ paths: x-kubernetes-action: delete x-kubernetes-group-version-kind: group: resource.k8s.io - kind: ResourceSlice + kind: ResourceClaimTemplate version: v1beta1 x-codegen-request-body-name: body x-content-type: application/json @@ -75418,15 +75354,21 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml get: - description: read the specified ResourceSlice - operationId: readResourceSlice + description: read the specified ResourceClaimTemplate + operationId: readNamespacedResourceClaimTemplate parameters: - - description: name of the ResourceSlice + - description: name of the ResourceClaimTemplate in: path name: name required: true schema: type: string + - description: "object name and auth scope, such as for teams and projects" + in: path + name: namespace + required: true + schema: + type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -75439,16 +75381,16 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ResourceSlice' + $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ResourceSlice' + $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ResourceSlice' + $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ResourceSlice' + $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' description: OK "401": content: {} @@ -75458,7 +75400,7 @@ paths: x-kubernetes-action: get x-kubernetes-group-version-kind: group: resource.k8s.io - kind: ResourceSlice + kind: ResourceClaimTemplate version: v1beta1 x-accepts: - application/cbor @@ -75466,15 +75408,21 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml patch: - description: partially update the specified ResourceSlice - operationId: patchResourceSlice + description: partially update the specified ResourceClaimTemplate + operationId: patchNamespacedResourceClaimTemplate parameters: - - description: name of the ResourceSlice + - description: name of the ResourceClaimTemplate in: path name: name required: true schema: type: string + - description: "object name and auth scope, such as for teams and projects" + in: path + name: namespace + required: true + schema: + type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -75534,31 +75482,31 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ResourceSlice' + $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ResourceSlice' + $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ResourceSlice' + $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ResourceSlice' + $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ResourceSlice' + $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ResourceSlice' + $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ResourceSlice' + $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ResourceSlice' + $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' description: Created "401": content: {} @@ -75568,7 +75516,7 @@ paths: x-kubernetes-action: patch x-kubernetes-group-version-kind: group: resource.k8s.io - kind: ResourceSlice + kind: ResourceClaimTemplate version: v1beta1 x-codegen-request-body-name: body x-content-type: application/json @@ -75578,15 +75526,21 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml put: - description: replace the specified ResourceSlice - operationId: replaceResourceSlice + description: replace the specified ResourceClaimTemplate + operationId: replaceNamespacedResourceClaimTemplate parameters: - - description: name of the ResourceSlice + - description: name of the ResourceClaimTemplate in: path name: name required: true schema: type: string + - description: "object name and auth scope, such as for teams and projects" + in: path + name: namespace + required: true + schema: + type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -75630,38 +75584,38 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ResourceSlice' + $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ResourceSlice' + $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ResourceSlice' + $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ResourceSlice' + $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ResourceSlice' + $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.ResourceSlice' + $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.ResourceSlice' + $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.ResourceSlice' + $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.ResourceSlice' + $ref: '#/components/schemas/v1beta1.ResourceClaimTemplate' description: Created "401": content: {} @@ -75671,7 +75625,7 @@ paths: x-kubernetes-action: put x-kubernetes-group-version-kind: group: resource.k8s.io - kind: ResourceSlice + kind: ResourceClaimTemplate version: v1beta1 x-codegen-request-body-name: body x-content-type: application/json @@ -75680,58 +75634,21 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/resource.k8s.io/v1beta1/watch/deviceclasses: {} - /apis/resource.k8s.io/v1beta1/watch/deviceclasses/{name}: {} - /apis/resource.k8s.io/v1beta1/watch/namespaces/{namespace}/resourceclaims: {} - /apis/resource.k8s.io/v1beta1/watch/namespaces/{namespace}/resourceclaims/{name}: {} - /apis/resource.k8s.io/v1beta1/watch/namespaces/{namespace}/resourceclaimtemplates: {} - /apis/resource.k8s.io/v1beta1/watch/namespaces/{namespace}/resourceclaimtemplates/{name}: {} - /apis/resource.k8s.io/v1beta1/watch/resourceclaims: {} - /apis/resource.k8s.io/v1beta1/watch/resourceclaimtemplates: {} - /apis/resource.k8s.io/v1beta1/watch/resourceslices: {} - /apis/resource.k8s.io/v1beta1/watch/resourceslices/{name}: {} - /apis/resource.k8s.io/v1beta2/: + /apis/resource.k8s.io/v1beta1/resourceclaims: get: - description: get available resources - operationId: getAPIResources - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/v1.APIResourceList' - application/yaml: - schema: - $ref: '#/components/schemas/v1.APIResourceList' - application/vnd.kubernetes.protobuf: - schema: - $ref: '#/components/schemas/v1.APIResourceList' - application/cbor: - schema: - $ref: '#/components/schemas/v1.APIResourceList' - description: OK - "401": - content: {} - description: Unauthorized - tags: - - resource_v1beta2 - x-accepts: - - application/cbor - - application/json - - application/vnd.kubernetes.protobuf - - application/yaml - /apis/resource.k8s.io/v1beta2/deviceclasses: - delete: - description: delete collection of DeviceClass - operationId: deleteCollectionDeviceClass + description: list or watch objects of kind ResourceClaim + operationId: listResourceClaimForAllNamespaces parameters: - - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ - \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ - \ and wget)." + - description: "allowWatchBookmarks requests watch events with type \"BOOKMARK\"\ + . Servers that do not implement bookmarks may ignore this flag and bookmarks\ + \ are sent at the server's discretion. Clients should not assume bookmarks\ + \ are returned at any specific interval, nor may they assume the server\ + \ will send any BOOKMARK event during a session. If this is not a watch,\ + \ this field is ignored." in: query - name: pretty + name: allowWatchBookmarks schema: - type: string + type: boolean - description: |- The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". @@ -75740,44 +75657,12 @@ paths: name: continue schema: type: string - - description: "When present, indicates that modifications should not be persisted.\ - \ An invalid or unrecognized dryRun directive will result in an error response\ - \ and no further processing of the request. Valid values are: - All: all\ - \ dry run stages will be processed" - in: query - name: dryRun - schema: - type: string - description: A selector to restrict the list of returned objects by their fields. Defaults to everything. in: query name: fieldSelector schema: type: string - - description: "The duration in seconds before the object should be deleted.\ - \ Value must be non-negative integer. The value zero indicates delete immediately.\ - \ If this value is nil, the default grace period for the specified type\ - \ will be used. Defaults to a per object value if not specified. zero means\ - \ delete immediately." - in: query - name: gracePeriodSeconds - schema: - type: integer - - description: "if set to true, it will trigger an unsafe deletion of the resource\ - \ in case the normal deletion flow fails with a corrupt object error. A\ - \ resource is considered corrupt if it can not be retrieved from the underlying\ - \ storage successfully because of a) its data can not be transformed e.g.\ - \ decryption failure, or b) it fails to decode into an object. NOTE: unsafe\ - \ deletion ignores finalizer constraints, skips precondition checks, and\ - \ removes the object from the storage. WARNING: This may potentially break\ - \ the cluster if the workload associated with the resource being unsafe-deleted\ - \ relies on normal deletion flow. Use only if you REALLY know what you are\ - \ doing. The default value is false, and the user must opt in to enable\ - \ it" - in: query - name: ignoreStoreReadErrorWithClusterBreakingPotential - schema: - type: boolean - description: A selector to restrict the list of returned objects by their labels. Defaults to everything. in: query @@ -75792,23 +75677,330 @@ paths: name: limit schema: type: integer - - description: "Deprecated: please use the PropagationPolicy, this field will\ - \ be deprecated in 1.7. Should the dependent objects be orphaned. If true/false,\ - \ the \"orphan\" finalizer will be added to/removed from the object's finalizers\ - \ list. Either this field or PropagationPolicy may be set, but not both." - in: query - name: orphanDependents - schema: - type: boolean - - description: "Whether and how garbage collection will be performed. Either\ - \ this field or OrphanDependents may be set, but not both. The default policy\ - \ is decided by the existing finalizer set in the metadata.finalizers and\ - \ the resource-specific default policy. Acceptable values are: 'Orphan'\ - \ - orphan the dependents; 'Background' - allow the garbage collector to\ - \ delete the dependents in the background; 'Foreground' - a cascading policy\ - \ that deletes all dependents in the foreground." + - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ + \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ + \ and wget)." in: query - name: propagationPolicy + name: pretty + schema: + type: string + - description: |- + resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. + + Defaults to unset + in: query + name: resourceVersion + schema: + type: string + - description: |- + resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. + + Defaults to unset + in: query + name: resourceVersionMatch + schema: + type: string + - description: |- + `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic "Bookmark" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. + + When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan + is interpreted as "data at least as new as the provided `resourceVersion`" + and the bookmark event is send when the state is synced + to a `resourceVersion` at least as fresh as the one provided by the ListOptions. + If `resourceVersion` is unset, this is interpreted as "consistent read" and the + bookmark event is send when the state is synced at least to the moment + when request started being processed. + - `resourceVersionMatch` set to any other value or unset + Invalid error is returned. + + Defaults to true if `resourceVersion=""` or `resourceVersion="0"` (for backward compatibility reasons) and to false otherwise. + in: query + name: sendInitialEvents + schema: + type: boolean + - description: "Timeout for the list/watch call. This limits the duration of\ + \ the call, regardless of any activity or inactivity." + in: query + name: timeoutSeconds + schema: + type: integer + - description: "Watch for changes to the described resources and return them\ + \ as a stream of add, update, and remove notifications. Specify resourceVersion." + in: query + name: watch + schema: + type: boolean + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/v1beta1.ResourceClaimList' + application/yaml: + schema: + $ref: '#/components/schemas/v1beta1.ResourceClaimList' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1beta1.ResourceClaimList' + application/cbor: + schema: + $ref: '#/components/schemas/v1beta1.ResourceClaimList' + application/json;stream=watch: + schema: + $ref: '#/components/schemas/v1beta1.ResourceClaimList' + application/vnd.kubernetes.protobuf;stream=watch: + schema: + $ref: '#/components/schemas/v1beta1.ResourceClaimList' + application/cbor-seq: + schema: + $ref: '#/components/schemas/v1beta1.ResourceClaimList' + description: OK + "401": + content: {} + description: Unauthorized + tags: + - resource_v1beta1 + x-kubernetes-action: list + x-kubernetes-group-version-kind: + group: resource.k8s.io + kind: ResourceClaim + version: v1beta1 + x-accepts: + - application/cbor + - application/cbor-seq + - application/json + - application/json;stream=watch + - application/vnd.kubernetes.protobuf + - application/vnd.kubernetes.protobuf;stream=watch + - application/yaml + /apis/resource.k8s.io/v1beta1/resourceclaimtemplates: + get: + description: list or watch objects of kind ResourceClaimTemplate + operationId: listResourceClaimTemplateForAllNamespaces + parameters: + - description: "allowWatchBookmarks requests watch events with type \"BOOKMARK\"\ + . Servers that do not implement bookmarks may ignore this flag and bookmarks\ + \ are sent at the server's discretion. Clients should not assume bookmarks\ + \ are returned at any specific interval, nor may they assume the server\ + \ will send any BOOKMARK event during a session. If this is not a watch,\ + \ this field is ignored." + in: query + name: allowWatchBookmarks + schema: + type: boolean + - description: |- + The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + + This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + in: query + name: continue + schema: + type: string + - description: A selector to restrict the list of returned objects by their + fields. Defaults to everything. + in: query + name: fieldSelector + schema: + type: string + - description: A selector to restrict the list of returned objects by their + labels. Defaults to everything. + in: query + name: labelSelector + schema: + type: string + - description: |- + limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. + + The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + in: query + name: limit + schema: + type: integer + - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ + \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ + \ and wget)." + in: query + name: pretty + schema: + type: string + - description: |- + resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. + + Defaults to unset + in: query + name: resourceVersion + schema: + type: string + - description: |- + resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. + + Defaults to unset + in: query + name: resourceVersionMatch + schema: + type: string + - description: |- + `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic "Bookmark" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. + + When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan + is interpreted as "data at least as new as the provided `resourceVersion`" + and the bookmark event is send when the state is synced + to a `resourceVersion` at least as fresh as the one provided by the ListOptions. + If `resourceVersion` is unset, this is interpreted as "consistent read" and the + bookmark event is send when the state is synced at least to the moment + when request started being processed. + - `resourceVersionMatch` set to any other value or unset + Invalid error is returned. + + Defaults to true if `resourceVersion=""` or `resourceVersion="0"` (for backward compatibility reasons) and to false otherwise. + in: query + name: sendInitialEvents + schema: + type: boolean + - description: "Timeout for the list/watch call. This limits the duration of\ + \ the call, regardless of any activity or inactivity." + in: query + name: timeoutSeconds + schema: + type: integer + - description: "Watch for changes to the described resources and return them\ + \ as a stream of add, update, and remove notifications. Specify resourceVersion." + in: query + name: watch + schema: + type: boolean + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/v1beta1.ResourceClaimTemplateList' + application/yaml: + schema: + $ref: '#/components/schemas/v1beta1.ResourceClaimTemplateList' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1beta1.ResourceClaimTemplateList' + application/cbor: + schema: + $ref: '#/components/schemas/v1beta1.ResourceClaimTemplateList' + application/json;stream=watch: + schema: + $ref: '#/components/schemas/v1beta1.ResourceClaimTemplateList' + application/vnd.kubernetes.protobuf;stream=watch: + schema: + $ref: '#/components/schemas/v1beta1.ResourceClaimTemplateList' + application/cbor-seq: + schema: + $ref: '#/components/schemas/v1beta1.ResourceClaimTemplateList' + description: OK + "401": + content: {} + description: Unauthorized + tags: + - resource_v1beta1 + x-kubernetes-action: list + x-kubernetes-group-version-kind: + group: resource.k8s.io + kind: ResourceClaimTemplate + version: v1beta1 + x-accepts: + - application/cbor + - application/cbor-seq + - application/json + - application/json;stream=watch + - application/vnd.kubernetes.protobuf + - application/vnd.kubernetes.protobuf;stream=watch + - application/yaml + /apis/resource.k8s.io/v1beta1/resourceslices: + delete: + description: delete collection of ResourceSlice + operationId: deleteCollectionResourceSlice + parameters: + - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ + \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ + \ and wget)." + in: query + name: pretty + schema: + type: string + - description: |- + The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + + This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + in: query + name: continue + schema: + type: string + - description: "When present, indicates that modifications should not be persisted.\ + \ An invalid or unrecognized dryRun directive will result in an error response\ + \ and no further processing of the request. Valid values are: - All: all\ + \ dry run stages will be processed" + in: query + name: dryRun + schema: + type: string + - description: A selector to restrict the list of returned objects by their + fields. Defaults to everything. + in: query + name: fieldSelector + schema: + type: string + - description: "The duration in seconds before the object should be deleted.\ + \ Value must be non-negative integer. The value zero indicates delete immediately.\ + \ If this value is nil, the default grace period for the specified type\ + \ will be used. Defaults to a per object value if not specified. zero means\ + \ delete immediately." + in: query + name: gracePeriodSeconds + schema: + type: integer + - description: "if set to true, it will trigger an unsafe deletion of the resource\ + \ in case the normal deletion flow fails with a corrupt object error. A\ + \ resource is considered corrupt if it can not be retrieved from the underlying\ + \ storage successfully because of a) its data can not be transformed e.g.\ + \ decryption failure, or b) it fails to decode into an object. NOTE: unsafe\ + \ deletion ignores finalizer constraints, skips precondition checks, and\ + \ removes the object from the storage. WARNING: This may potentially break\ + \ the cluster if the workload associated with the resource being unsafe-deleted\ + \ relies on normal deletion flow. Use only if you REALLY know what you are\ + \ doing. The default value is false, and the user must opt in to enable\ + \ it" + in: query + name: ignoreStoreReadErrorWithClusterBreakingPotential + schema: + type: boolean + - description: A selector to restrict the list of returned objects by their + labels. Defaults to everything. + in: query + name: labelSelector + schema: + type: string + - description: |- + limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. + + The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + in: query + name: limit + schema: + type: integer + - description: "Deprecated: please use the PropagationPolicy, this field will\ + \ be deprecated in 1.7. Should the dependent objects be orphaned. If true/false,\ + \ the \"orphan\" finalizer will be added to/removed from the object's finalizers\ + \ list. Either this field or PropagationPolicy may be set, but not both." + in: query + name: orphanDependents + schema: + type: boolean + - description: "Whether and how garbage collection will be performed. Either\ + \ this field or OrphanDependents may be set, but not both. The default policy\ + \ is decided by the existing finalizer set in the metadata.finalizers and\ + \ the resource-specific default policy. Acceptable values are: 'Orphan'\ + \ - orphan the dependents; 'Background' - allow the garbage collector to\ + \ delete the dependents in the background; 'Foreground' - a cascading policy\ + \ that deletes all dependents in the foreground." + in: query + name: propagationPolicy schema: type: string - description: |- @@ -75877,12 +76069,12 @@ paths: content: {} description: Unauthorized tags: - - resource_v1beta2 + - resource_v1beta1 x-kubernetes-action: deletecollection x-kubernetes-group-version-kind: group: resource.k8s.io - kind: DeviceClass - version: v1beta2 + kind: ResourceSlice + version: v1beta1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -75891,8 +76083,8 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml get: - description: list or watch objects of kind DeviceClass - operationId: listDeviceClass + description: list or watch objects of kind ResourceSlice + operationId: listResourceSlice parameters: - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ @@ -75990,36 +76182,36 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta2.DeviceClassList' + $ref: '#/components/schemas/v1beta1.ResourceSliceList' application/yaml: schema: - $ref: '#/components/schemas/v1beta2.DeviceClassList' + $ref: '#/components/schemas/v1beta1.ResourceSliceList' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta2.DeviceClassList' + $ref: '#/components/schemas/v1beta1.ResourceSliceList' application/cbor: schema: - $ref: '#/components/schemas/v1beta2.DeviceClassList' + $ref: '#/components/schemas/v1beta1.ResourceSliceList' application/json;stream=watch: schema: - $ref: '#/components/schemas/v1beta2.DeviceClassList' + $ref: '#/components/schemas/v1beta1.ResourceSliceList' application/vnd.kubernetes.protobuf;stream=watch: schema: - $ref: '#/components/schemas/v1beta2.DeviceClassList' + $ref: '#/components/schemas/v1beta1.ResourceSliceList' application/cbor-seq: schema: - $ref: '#/components/schemas/v1beta2.DeviceClassList' + $ref: '#/components/schemas/v1beta1.ResourceSliceList' description: OK "401": content: {} description: Unauthorized tags: - - resource_v1beta2 + - resource_v1beta1 x-kubernetes-action: list x-kubernetes-group-version-kind: group: resource.k8s.io - kind: DeviceClass - version: v1beta2 + kind: ResourceSlice + version: v1beta1 x-accepts: - application/cbor - application/cbor-seq @@ -76029,8 +76221,8 @@ paths: - application/vnd.kubernetes.protobuf;stream=watch - application/yaml post: - description: create a DeviceClass - operationId: createDeviceClass + description: create a ResourceSlice + operationId: createResourceSlice parameters: - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ @@ -76075,64 +76267,64 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta2.DeviceClass' + $ref: '#/components/schemas/v1beta1.ResourceSlice' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1beta2.DeviceClass' + $ref: '#/components/schemas/v1beta1.ResourceSlice' application/yaml: schema: - $ref: '#/components/schemas/v1beta2.DeviceClass' + $ref: '#/components/schemas/v1beta1.ResourceSlice' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta2.DeviceClass' + $ref: '#/components/schemas/v1beta1.ResourceSlice' application/cbor: schema: - $ref: '#/components/schemas/v1beta2.DeviceClass' + $ref: '#/components/schemas/v1beta1.ResourceSlice' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1beta2.DeviceClass' + $ref: '#/components/schemas/v1beta1.ResourceSlice' application/yaml: schema: - $ref: '#/components/schemas/v1beta2.DeviceClass' + $ref: '#/components/schemas/v1beta1.ResourceSlice' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta2.DeviceClass' + $ref: '#/components/schemas/v1beta1.ResourceSlice' application/cbor: schema: - $ref: '#/components/schemas/v1beta2.DeviceClass' + $ref: '#/components/schemas/v1beta1.ResourceSlice' description: Created "202": content: application/json: schema: - $ref: '#/components/schemas/v1beta2.DeviceClass' + $ref: '#/components/schemas/v1beta1.ResourceSlice' application/yaml: schema: - $ref: '#/components/schemas/v1beta2.DeviceClass' + $ref: '#/components/schemas/v1beta1.ResourceSlice' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta2.DeviceClass' + $ref: '#/components/schemas/v1beta1.ResourceSlice' application/cbor: schema: - $ref: '#/components/schemas/v1beta2.DeviceClass' + $ref: '#/components/schemas/v1beta1.ResourceSlice' description: Accepted "401": content: {} description: Unauthorized tags: - - resource_v1beta2 + - resource_v1beta1 x-kubernetes-action: post x-kubernetes-group-version-kind: group: resource.k8s.io - kind: DeviceClass - version: v1beta2 + kind: ResourceSlice + version: v1beta1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -76140,12 +76332,12 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/resource.k8s.io/v1beta2/deviceclasses/{name}: + /apis/resource.k8s.io/v1beta1/resourceslices/{name}: delete: - description: delete a DeviceClass - operationId: deleteDeviceClass + description: delete a ResourceSlice + operationId: deleteResourceSlice parameters: - - description: name of the DeviceClass + - description: name of the ResourceSlice in: path name: name required: true @@ -76220,42 +76412,42 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta2.DeviceClass' + $ref: '#/components/schemas/v1beta1.ResourceSlice' application/yaml: schema: - $ref: '#/components/schemas/v1beta2.DeviceClass' + $ref: '#/components/schemas/v1beta1.ResourceSlice' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta2.DeviceClass' + $ref: '#/components/schemas/v1beta1.ResourceSlice' application/cbor: schema: - $ref: '#/components/schemas/v1beta2.DeviceClass' + $ref: '#/components/schemas/v1beta1.ResourceSlice' description: OK "202": content: application/json: schema: - $ref: '#/components/schemas/v1beta2.DeviceClass' + $ref: '#/components/schemas/v1beta1.ResourceSlice' application/yaml: schema: - $ref: '#/components/schemas/v1beta2.DeviceClass' + $ref: '#/components/schemas/v1beta1.ResourceSlice' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta2.DeviceClass' + $ref: '#/components/schemas/v1beta1.ResourceSlice' application/cbor: schema: - $ref: '#/components/schemas/v1beta2.DeviceClass' + $ref: '#/components/schemas/v1beta1.ResourceSlice' description: Accepted "401": content: {} description: Unauthorized tags: - - resource_v1beta2 + - resource_v1beta1 x-kubernetes-action: delete x-kubernetes-group-version-kind: group: resource.k8s.io - kind: DeviceClass - version: v1beta2 + kind: ResourceSlice + version: v1beta1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -76264,10 +76456,10 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml get: - description: read the specified DeviceClass - operationId: readDeviceClass + description: read the specified ResourceSlice + operationId: readResourceSlice parameters: - - description: name of the DeviceClass + - description: name of the ResourceSlice in: path name: name required: true @@ -76285,37 +76477,37 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta2.DeviceClass' + $ref: '#/components/schemas/v1beta1.ResourceSlice' application/yaml: schema: - $ref: '#/components/schemas/v1beta2.DeviceClass' + $ref: '#/components/schemas/v1beta1.ResourceSlice' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta2.DeviceClass' + $ref: '#/components/schemas/v1beta1.ResourceSlice' application/cbor: schema: - $ref: '#/components/schemas/v1beta2.DeviceClass' + $ref: '#/components/schemas/v1beta1.ResourceSlice' description: OK "401": content: {} description: Unauthorized tags: - - resource_v1beta2 + - resource_v1beta1 x-kubernetes-action: get x-kubernetes-group-version-kind: group: resource.k8s.io - kind: DeviceClass - version: v1beta2 + kind: ResourceSlice + version: v1beta1 x-accepts: - application/cbor - application/json - application/vnd.kubernetes.protobuf - application/yaml patch: - description: partially update the specified DeviceClass - operationId: patchDeviceClass + description: partially update the specified ResourceSlice + operationId: patchResourceSlice parameters: - - description: name of the DeviceClass + - description: name of the ResourceSlice in: path name: name required: true @@ -76380,42 +76572,42 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta2.DeviceClass' + $ref: '#/components/schemas/v1beta1.ResourceSlice' application/yaml: schema: - $ref: '#/components/schemas/v1beta2.DeviceClass' + $ref: '#/components/schemas/v1beta1.ResourceSlice' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta2.DeviceClass' + $ref: '#/components/schemas/v1beta1.ResourceSlice' application/cbor: schema: - $ref: '#/components/schemas/v1beta2.DeviceClass' + $ref: '#/components/schemas/v1beta1.ResourceSlice' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1beta2.DeviceClass' + $ref: '#/components/schemas/v1beta1.ResourceSlice' application/yaml: schema: - $ref: '#/components/schemas/v1beta2.DeviceClass' + $ref: '#/components/schemas/v1beta1.ResourceSlice' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta2.DeviceClass' + $ref: '#/components/schemas/v1beta1.ResourceSlice' application/cbor: schema: - $ref: '#/components/schemas/v1beta2.DeviceClass' + $ref: '#/components/schemas/v1beta1.ResourceSlice' description: Created "401": content: {} description: Unauthorized tags: - - resource_v1beta2 + - resource_v1beta1 x-kubernetes-action: patch x-kubernetes-group-version-kind: group: resource.k8s.io - kind: DeviceClass - version: v1beta2 + kind: ResourceSlice + version: v1beta1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -76424,10 +76616,10 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml put: - description: replace the specified DeviceClass - operationId: replaceDeviceClass + description: replace the specified ResourceSlice + operationId: replaceResourceSlice parameters: - - description: name of the DeviceClass + - description: name of the ResourceSlice in: path name: name required: true @@ -76476,49 +76668,49 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta2.DeviceClass' + $ref: '#/components/schemas/v1beta1.ResourceSlice' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1beta2.DeviceClass' + $ref: '#/components/schemas/v1beta1.ResourceSlice' application/yaml: schema: - $ref: '#/components/schemas/v1beta2.DeviceClass' + $ref: '#/components/schemas/v1beta1.ResourceSlice' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta2.DeviceClass' + $ref: '#/components/schemas/v1beta1.ResourceSlice' application/cbor: schema: - $ref: '#/components/schemas/v1beta2.DeviceClass' + $ref: '#/components/schemas/v1beta1.ResourceSlice' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1beta2.DeviceClass' + $ref: '#/components/schemas/v1beta1.ResourceSlice' application/yaml: schema: - $ref: '#/components/schemas/v1beta2.DeviceClass' + $ref: '#/components/schemas/v1beta1.ResourceSlice' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta2.DeviceClass' + $ref: '#/components/schemas/v1beta1.ResourceSlice' application/cbor: schema: - $ref: '#/components/schemas/v1beta2.DeviceClass' + $ref: '#/components/schemas/v1beta1.ResourceSlice' description: Created "401": content: {} description: Unauthorized tags: - - resource_v1beta2 + - resource_v1beta1 x-kubernetes-action: put x-kubernetes-group-version-kind: group: resource.k8s.io - kind: DeviceClass - version: v1beta2 + kind: ResourceSlice + version: v1beta1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -76526,17 +76718,51 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/resource.k8s.io/v1beta2/namespaces/{namespace}/resourceclaims: + /apis/resource.k8s.io/v1beta1/watch/deviceclasses: {} + /apis/resource.k8s.io/v1beta1/watch/deviceclasses/{name}: {} + /apis/resource.k8s.io/v1beta1/watch/namespaces/{namespace}/resourceclaims: {} + /apis/resource.k8s.io/v1beta1/watch/namespaces/{namespace}/resourceclaims/{name}: {} + /apis/resource.k8s.io/v1beta1/watch/namespaces/{namespace}/resourceclaimtemplates: {} + /apis/resource.k8s.io/v1beta1/watch/namespaces/{namespace}/resourceclaimtemplates/{name}: {} + /apis/resource.k8s.io/v1beta1/watch/resourceclaims: {} + /apis/resource.k8s.io/v1beta1/watch/resourceclaimtemplates: {} + /apis/resource.k8s.io/v1beta1/watch/resourceslices: {} + /apis/resource.k8s.io/v1beta1/watch/resourceslices/{name}: {} + /apis/resource.k8s.io/v1beta2/: + get: + description: get available resources + operationId: getAPIResources + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/v1.APIResourceList' + application/yaml: + schema: + $ref: '#/components/schemas/v1.APIResourceList' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1.APIResourceList' + application/cbor: + schema: + $ref: '#/components/schemas/v1.APIResourceList' + description: OK + "401": + content: {} + description: Unauthorized + tags: + - resource_v1beta2 + x-accepts: + - application/cbor + - application/json + - application/vnd.kubernetes.protobuf + - application/yaml + /apis/resource.k8s.io/v1beta2/deviceclasses: delete: - description: delete collection of ResourceClaim - operationId: deleteCollectionNamespacedResourceClaim + description: delete collection of DeviceClass + operationId: deleteCollectionDeviceClass parameters: - - description: "object name and auth scope, such as for teams and projects" - in: path - name: namespace - required: true - schema: - type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -76693,7 +76919,7 @@ paths: x-kubernetes-action: deletecollection x-kubernetes-group-version-kind: group: resource.k8s.io - kind: ResourceClaim + kind: DeviceClass version: v1beta2 x-codegen-request-body-name: body x-content-type: application/json @@ -76703,15 +76929,9 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml get: - description: list or watch objects of kind ResourceClaim - operationId: listNamespacedResourceClaim + description: list or watch objects of kind DeviceClass + operationId: listDeviceClass parameters: - - description: "object name and auth scope, such as for teams and projects" - in: path - name: namespace - required: true - schema: - type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -76808,25 +77028,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimList' + $ref: '#/components/schemas/v1beta2.DeviceClassList' application/yaml: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimList' + $ref: '#/components/schemas/v1beta2.DeviceClassList' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimList' + $ref: '#/components/schemas/v1beta2.DeviceClassList' application/cbor: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimList' + $ref: '#/components/schemas/v1beta2.DeviceClassList' application/json;stream=watch: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimList' + $ref: '#/components/schemas/v1beta2.DeviceClassList' application/vnd.kubernetes.protobuf;stream=watch: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimList' + $ref: '#/components/schemas/v1beta2.DeviceClassList' application/cbor-seq: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimList' + $ref: '#/components/schemas/v1beta2.DeviceClassList' description: OK "401": content: {} @@ -76836,7 +77056,7 @@ paths: x-kubernetes-action: list x-kubernetes-group-version-kind: group: resource.k8s.io - kind: ResourceClaim + kind: DeviceClass version: v1beta2 x-accepts: - application/cbor @@ -76847,15 +77067,9 @@ paths: - application/vnd.kubernetes.protobuf;stream=watch - application/yaml post: - description: create a ResourceClaim - operationId: createNamespacedResourceClaim + description: create a DeviceClass + operationId: createDeviceClass parameters: - - description: "object name and auth scope, such as for teams and projects" - in: path - name: namespace - required: true - schema: - type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -76899,53 +77113,53 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaim' + $ref: '#/components/schemas/v1beta2.DeviceClass' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaim' + $ref: '#/components/schemas/v1beta2.DeviceClass' application/yaml: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaim' + $ref: '#/components/schemas/v1beta2.DeviceClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaim' + $ref: '#/components/schemas/v1beta2.DeviceClass' application/cbor: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaim' + $ref: '#/components/schemas/v1beta2.DeviceClass' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaim' + $ref: '#/components/schemas/v1beta2.DeviceClass' application/yaml: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaim' + $ref: '#/components/schemas/v1beta2.DeviceClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaim' + $ref: '#/components/schemas/v1beta2.DeviceClass' application/cbor: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaim' + $ref: '#/components/schemas/v1beta2.DeviceClass' description: Created "202": content: application/json: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaim' + $ref: '#/components/schemas/v1beta2.DeviceClass' application/yaml: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaim' + $ref: '#/components/schemas/v1beta2.DeviceClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaim' + $ref: '#/components/schemas/v1beta2.DeviceClass' application/cbor: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaim' + $ref: '#/components/schemas/v1beta2.DeviceClass' description: Accepted "401": content: {} @@ -76955,7 +77169,7 @@ paths: x-kubernetes-action: post x-kubernetes-group-version-kind: group: resource.k8s.io - kind: ResourceClaim + kind: DeviceClass version: v1beta2 x-codegen-request-body-name: body x-content-type: application/json @@ -76964,23 +77178,17 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/resource.k8s.io/v1beta2/namespaces/{namespace}/resourceclaims/{name}: + /apis/resource.k8s.io/v1beta2/deviceclasses/{name}: delete: - description: delete a ResourceClaim - operationId: deleteNamespacedResourceClaim + description: delete a DeviceClass + operationId: deleteDeviceClass parameters: - - description: name of the ResourceClaim + - description: name of the DeviceClass in: path name: name required: true schema: type: string - - description: "object name and auth scope, such as for teams and projects" - in: path - name: namespace - required: true - schema: - type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -77050,31 +77258,31 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaim' + $ref: '#/components/schemas/v1beta2.DeviceClass' application/yaml: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaim' + $ref: '#/components/schemas/v1beta2.DeviceClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaim' + $ref: '#/components/schemas/v1beta2.DeviceClass' application/cbor: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaim' + $ref: '#/components/schemas/v1beta2.DeviceClass' description: OK "202": content: application/json: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaim' + $ref: '#/components/schemas/v1beta2.DeviceClass' application/yaml: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaim' + $ref: '#/components/schemas/v1beta2.DeviceClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaim' + $ref: '#/components/schemas/v1beta2.DeviceClass' application/cbor: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaim' + $ref: '#/components/schemas/v1beta2.DeviceClass' description: Accepted "401": content: {} @@ -77084,7 +77292,7 @@ paths: x-kubernetes-action: delete x-kubernetes-group-version-kind: group: resource.k8s.io - kind: ResourceClaim + kind: DeviceClass version: v1beta2 x-codegen-request-body-name: body x-content-type: application/json @@ -77094,21 +77302,15 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml get: - description: read the specified ResourceClaim - operationId: readNamespacedResourceClaim + description: read the specified DeviceClass + operationId: readDeviceClass parameters: - - description: name of the ResourceClaim + - description: name of the DeviceClass in: path name: name required: true schema: type: string - - description: "object name and auth scope, such as for teams and projects" - in: path - name: namespace - required: true - schema: - type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -77121,16 +77323,16 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaim' + $ref: '#/components/schemas/v1beta2.DeviceClass' application/yaml: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaim' + $ref: '#/components/schemas/v1beta2.DeviceClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaim' + $ref: '#/components/schemas/v1beta2.DeviceClass' application/cbor: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaim' + $ref: '#/components/schemas/v1beta2.DeviceClass' description: OK "401": content: {} @@ -77140,7 +77342,7 @@ paths: x-kubernetes-action: get x-kubernetes-group-version-kind: group: resource.k8s.io - kind: ResourceClaim + kind: DeviceClass version: v1beta2 x-accepts: - application/cbor @@ -77148,21 +77350,15 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml patch: - description: partially update the specified ResourceClaim - operationId: patchNamespacedResourceClaim + description: partially update the specified DeviceClass + operationId: patchDeviceClass parameters: - - description: name of the ResourceClaim + - description: name of the DeviceClass in: path name: name required: true schema: type: string - - description: "object name and auth scope, such as for teams and projects" - in: path - name: namespace - required: true - schema: - type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -77222,313 +77418,31 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaim' - application/yaml: - schema: - $ref: '#/components/schemas/v1beta2.ResourceClaim' - application/vnd.kubernetes.protobuf: - schema: - $ref: '#/components/schemas/v1beta2.ResourceClaim' - application/cbor: - schema: - $ref: '#/components/schemas/v1beta2.ResourceClaim' - description: OK - "201": - content: - application/json: - schema: - $ref: '#/components/schemas/v1beta2.ResourceClaim' - application/yaml: - schema: - $ref: '#/components/schemas/v1beta2.ResourceClaim' - application/vnd.kubernetes.protobuf: - schema: - $ref: '#/components/schemas/v1beta2.ResourceClaim' - application/cbor: - schema: - $ref: '#/components/schemas/v1beta2.ResourceClaim' - description: Created - "401": - content: {} - description: Unauthorized - tags: - - resource_v1beta2 - x-kubernetes-action: patch - x-kubernetes-group-version-kind: - group: resource.k8s.io - kind: ResourceClaim - version: v1beta2 - x-codegen-request-body-name: body - x-content-type: application/json - x-accepts: - - application/cbor - - application/json - - application/vnd.kubernetes.protobuf - - application/yaml - put: - description: replace the specified ResourceClaim - operationId: replaceNamespacedResourceClaim - parameters: - - description: name of the ResourceClaim - in: path - name: name - required: true - schema: - type: string - - description: "object name and auth scope, such as for teams and projects" - in: path - name: namespace - required: true - schema: - type: string - - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ - \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ - \ and wget)." - in: query - name: pretty - schema: - type: string - - description: "When present, indicates that modifications should not be persisted.\ - \ An invalid or unrecognized dryRun directive will result in an error response\ - \ and no further processing of the request. Valid values are: - All: all\ - \ dry run stages will be processed" - in: query - name: dryRun - schema: - type: string - - description: "fieldManager is a name associated with the actor or entity that\ - \ is making these changes. The value must be less than or 128 characters\ - \ long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint." - in: query - name: fieldManager - schema: - type: string - - description: "fieldValidation instructs the server on how to handle objects\ - \ in the request (POST/PUT/PATCH) containing unknown or duplicate fields.\ - \ Valid values are: - Ignore: This will ignore any unknown fields that are\ - \ silently dropped from the object, and will ignore all but the last duplicate\ - \ field that the decoder encounters. This is the default behavior prior\ - \ to v1.23. - Warn: This will send a warning via the standard warning response\ - \ header for each unknown field that is dropped from the object, and for\ - \ each duplicate field that is encountered. The request will still succeed\ - \ if there are no other errors, and will only persist the last of any duplicate\ - \ fields. This is the default in v1.23+ - Strict: This will fail the request\ - \ with a BadRequest error if any unknown fields would be dropped from the\ - \ object, or if any duplicate fields are present. The error returned from\ - \ the server will contain all unknown and duplicate fields encountered." - in: query - name: fieldValidation - schema: - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/v1beta2.ResourceClaim' - required: true - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/v1beta2.ResourceClaim' - application/yaml: - schema: - $ref: '#/components/schemas/v1beta2.ResourceClaim' - application/vnd.kubernetes.protobuf: - schema: - $ref: '#/components/schemas/v1beta2.ResourceClaim' - application/cbor: - schema: - $ref: '#/components/schemas/v1beta2.ResourceClaim' - description: OK - "201": - content: - application/json: - schema: - $ref: '#/components/schemas/v1beta2.ResourceClaim' - application/yaml: - schema: - $ref: '#/components/schemas/v1beta2.ResourceClaim' - application/vnd.kubernetes.protobuf: - schema: - $ref: '#/components/schemas/v1beta2.ResourceClaim' - application/cbor: - schema: - $ref: '#/components/schemas/v1beta2.ResourceClaim' - description: Created - "401": - content: {} - description: Unauthorized - tags: - - resource_v1beta2 - x-kubernetes-action: put - x-kubernetes-group-version-kind: - group: resource.k8s.io - kind: ResourceClaim - version: v1beta2 - x-codegen-request-body-name: body - x-content-type: application/json - x-accepts: - - application/cbor - - application/json - - application/vnd.kubernetes.protobuf - - application/yaml - /apis/resource.k8s.io/v1beta2/namespaces/{namespace}/resourceclaims/{name}/status: - get: - description: read status of the specified ResourceClaim - operationId: readNamespacedResourceClaimStatus - parameters: - - description: name of the ResourceClaim - in: path - name: name - required: true - schema: - type: string - - description: "object name and auth scope, such as for teams and projects" - in: path - name: namespace - required: true - schema: - type: string - - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ - \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ - \ and wget)." - in: query - name: pretty - schema: - type: string - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/v1beta2.ResourceClaim' - application/yaml: - schema: - $ref: '#/components/schemas/v1beta2.ResourceClaim' - application/vnd.kubernetes.protobuf: - schema: - $ref: '#/components/schemas/v1beta2.ResourceClaim' - application/cbor: - schema: - $ref: '#/components/schemas/v1beta2.ResourceClaim' - description: OK - "401": - content: {} - description: Unauthorized - tags: - - resource_v1beta2 - x-kubernetes-action: get - x-kubernetes-group-version-kind: - group: resource.k8s.io - kind: ResourceClaim - version: v1beta2 - x-accepts: - - application/cbor - - application/json - - application/vnd.kubernetes.protobuf - - application/yaml - patch: - description: partially update status of the specified ResourceClaim - operationId: patchNamespacedResourceClaimStatus - parameters: - - description: name of the ResourceClaim - in: path - name: name - required: true - schema: - type: string - - description: "object name and auth scope, such as for teams and projects" - in: path - name: namespace - required: true - schema: - type: string - - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ - \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ - \ and wget)." - in: query - name: pretty - schema: - type: string - - description: "When present, indicates that modifications should not be persisted.\ - \ An invalid or unrecognized dryRun directive will result in an error response\ - \ and no further processing of the request. Valid values are: - All: all\ - \ dry run stages will be processed" - in: query - name: dryRun - schema: - type: string - - description: "fieldManager is a name associated with the actor or entity that\ - \ is making these changes. The value must be less than or 128 characters\ - \ long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.\ - \ This field is required for apply requests (application/apply-patch) but\ - \ optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch)." - in: query - name: fieldManager - schema: - type: string - - description: "fieldValidation instructs the server on how to handle objects\ - \ in the request (POST/PUT/PATCH) containing unknown or duplicate fields.\ - \ Valid values are: - Ignore: This will ignore any unknown fields that are\ - \ silently dropped from the object, and will ignore all but the last duplicate\ - \ field that the decoder encounters. This is the default behavior prior\ - \ to v1.23. - Warn: This will send a warning via the standard warning response\ - \ header for each unknown field that is dropped from the object, and for\ - \ each duplicate field that is encountered. The request will still succeed\ - \ if there are no other errors, and will only persist the last of any duplicate\ - \ fields. This is the default in v1.23+ - Strict: This will fail the request\ - \ with a BadRequest error if any unknown fields would be dropped from the\ - \ object, or if any duplicate fields are present. The error returned from\ - \ the server will contain all unknown and duplicate fields encountered." - in: query - name: fieldValidation - schema: - type: string - - description: Force is going to "force" Apply requests. It means user will - re-acquire conflicting fields owned by other people. Force flag must be - unset for non-apply patch requests. - in: query - name: force - schema: - type: boolean - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/v1.Patch' - required: true - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/v1beta2.ResourceClaim' + $ref: '#/components/schemas/v1beta2.DeviceClass' application/yaml: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaim' + $ref: '#/components/schemas/v1beta2.DeviceClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaim' + $ref: '#/components/schemas/v1beta2.DeviceClass' application/cbor: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaim' + $ref: '#/components/schemas/v1beta2.DeviceClass' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaim' + $ref: '#/components/schemas/v1beta2.DeviceClass' application/yaml: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaim' + $ref: '#/components/schemas/v1beta2.DeviceClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaim' + $ref: '#/components/schemas/v1beta2.DeviceClass' application/cbor: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaim' + $ref: '#/components/schemas/v1beta2.DeviceClass' description: Created "401": content: {} @@ -77538,7 +77452,7 @@ paths: x-kubernetes-action: patch x-kubernetes-group-version-kind: group: resource.k8s.io - kind: ResourceClaim + kind: DeviceClass version: v1beta2 x-codegen-request-body-name: body x-content-type: application/json @@ -77548,21 +77462,15 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml put: - description: replace status of the specified ResourceClaim - operationId: replaceNamespacedResourceClaimStatus + description: replace the specified DeviceClass + operationId: replaceDeviceClass parameters: - - description: name of the ResourceClaim + - description: name of the DeviceClass in: path name: name required: true schema: type: string - - description: "object name and auth scope, such as for teams and projects" - in: path - name: namespace - required: true - schema: - type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -77606,38 +77514,38 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaim' + $ref: '#/components/schemas/v1beta2.DeviceClass' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaim' + $ref: '#/components/schemas/v1beta2.DeviceClass' application/yaml: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaim' + $ref: '#/components/schemas/v1beta2.DeviceClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaim' + $ref: '#/components/schemas/v1beta2.DeviceClass' application/cbor: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaim' + $ref: '#/components/schemas/v1beta2.DeviceClass' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaim' + $ref: '#/components/schemas/v1beta2.DeviceClass' application/yaml: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaim' + $ref: '#/components/schemas/v1beta2.DeviceClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaim' + $ref: '#/components/schemas/v1beta2.DeviceClass' application/cbor: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaim' + $ref: '#/components/schemas/v1beta2.DeviceClass' description: Created "401": content: {} @@ -77647,7 +77555,7 @@ paths: x-kubernetes-action: put x-kubernetes-group-version-kind: group: resource.k8s.io - kind: ResourceClaim + kind: DeviceClass version: v1beta2 x-codegen-request-body-name: body x-content-type: application/json @@ -77656,10 +77564,10 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/resource.k8s.io/v1beta2/namespaces/{namespace}/resourceclaimtemplates: + /apis/resource.k8s.io/v1beta2/namespaces/{namespace}/resourceclaims: delete: - description: delete collection of ResourceClaimTemplate - operationId: deleteCollectionNamespacedResourceClaimTemplate + description: delete collection of ResourceClaim + operationId: deleteCollectionNamespacedResourceClaim parameters: - description: "object name and auth scope, such as for teams and projects" in: path @@ -77823,7 +77731,7 @@ paths: x-kubernetes-action: deletecollection x-kubernetes-group-version-kind: group: resource.k8s.io - kind: ResourceClaimTemplate + kind: ResourceClaim version: v1beta2 x-codegen-request-body-name: body x-content-type: application/json @@ -77833,8 +77741,8 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml get: - description: list or watch objects of kind ResourceClaimTemplate - operationId: listNamespacedResourceClaimTemplate + description: list or watch objects of kind ResourceClaim + operationId: listNamespacedResourceClaim parameters: - description: "object name and auth scope, such as for teams and projects" in: path @@ -77938,25 +77846,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimTemplateList' + $ref: '#/components/schemas/v1beta2.ResourceClaimList' application/yaml: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimTemplateList' + $ref: '#/components/schemas/v1beta2.ResourceClaimList' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimTemplateList' + $ref: '#/components/schemas/v1beta2.ResourceClaimList' application/cbor: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimTemplateList' + $ref: '#/components/schemas/v1beta2.ResourceClaimList' application/json;stream=watch: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimTemplateList' + $ref: '#/components/schemas/v1beta2.ResourceClaimList' application/vnd.kubernetes.protobuf;stream=watch: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimTemplateList' + $ref: '#/components/schemas/v1beta2.ResourceClaimList' application/cbor-seq: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimTemplateList' + $ref: '#/components/schemas/v1beta2.ResourceClaimList' description: OK "401": content: {} @@ -77966,7 +77874,7 @@ paths: x-kubernetes-action: list x-kubernetes-group-version-kind: group: resource.k8s.io - kind: ResourceClaimTemplate + kind: ResourceClaim version: v1beta2 x-accepts: - application/cbor @@ -77977,8 +77885,8 @@ paths: - application/vnd.kubernetes.protobuf;stream=watch - application/yaml post: - description: create a ResourceClaimTemplate - operationId: createNamespacedResourceClaimTemplate + description: create a ResourceClaim + operationId: createNamespacedResourceClaim parameters: - description: "object name and auth scope, such as for teams and projects" in: path @@ -78029,53 +77937,53 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta2.ResourceClaim' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta2.ResourceClaim' application/yaml: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta2.ResourceClaim' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta2.ResourceClaim' application/cbor: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta2.ResourceClaim' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta2.ResourceClaim' application/yaml: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta2.ResourceClaim' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta2.ResourceClaim' application/cbor: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta2.ResourceClaim' description: Created "202": content: application/json: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta2.ResourceClaim' application/yaml: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta2.ResourceClaim' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta2.ResourceClaim' application/cbor: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta2.ResourceClaim' description: Accepted "401": content: {} @@ -78085,7 +77993,7 @@ paths: x-kubernetes-action: post x-kubernetes-group-version-kind: group: resource.k8s.io - kind: ResourceClaimTemplate + kind: ResourceClaim version: v1beta2 x-codegen-request-body-name: body x-content-type: application/json @@ -78094,12 +78002,12 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/resource.k8s.io/v1beta2/namespaces/{namespace}/resourceclaimtemplates/{name}: + /apis/resource.k8s.io/v1beta2/namespaces/{namespace}/resourceclaims/{name}: delete: - description: delete a ResourceClaimTemplate - operationId: deleteNamespacedResourceClaimTemplate + description: delete a ResourceClaim + operationId: deleteNamespacedResourceClaim parameters: - - description: name of the ResourceClaimTemplate + - description: name of the ResourceClaim in: path name: name required: true @@ -78180,31 +78088,31 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta2.ResourceClaim' application/yaml: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta2.ResourceClaim' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta2.ResourceClaim' application/cbor: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta2.ResourceClaim' description: OK "202": content: application/json: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta2.ResourceClaim' application/yaml: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta2.ResourceClaim' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta2.ResourceClaim' application/cbor: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta2.ResourceClaim' description: Accepted "401": content: {} @@ -78214,7 +78122,7 @@ paths: x-kubernetes-action: delete x-kubernetes-group-version-kind: group: resource.k8s.io - kind: ResourceClaimTemplate + kind: ResourceClaim version: v1beta2 x-codegen-request-body-name: body x-content-type: application/json @@ -78224,10 +78132,10 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml get: - description: read the specified ResourceClaimTemplate - operationId: readNamespacedResourceClaimTemplate + description: read the specified ResourceClaim + operationId: readNamespacedResourceClaim parameters: - - description: name of the ResourceClaimTemplate + - description: name of the ResourceClaim in: path name: name required: true @@ -78251,16 +78159,16 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta2.ResourceClaim' application/yaml: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta2.ResourceClaim' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta2.ResourceClaim' application/cbor: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta2.ResourceClaim' description: OK "401": content: {} @@ -78270,7 +78178,7 @@ paths: x-kubernetes-action: get x-kubernetes-group-version-kind: group: resource.k8s.io - kind: ResourceClaimTemplate + kind: ResourceClaim version: v1beta2 x-accepts: - application/cbor @@ -78278,10 +78186,10 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml patch: - description: partially update the specified ResourceClaimTemplate - operationId: patchNamespacedResourceClaimTemplate + description: partially update the specified ResourceClaim + operationId: patchNamespacedResourceClaim parameters: - - description: name of the ResourceClaimTemplate + - description: name of the ResourceClaim in: path name: name required: true @@ -78352,31 +78260,31 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta2.ResourceClaim' application/yaml: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta2.ResourceClaim' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta2.ResourceClaim' application/cbor: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta2.ResourceClaim' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta2.ResourceClaim' application/yaml: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta2.ResourceClaim' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta2.ResourceClaim' application/cbor: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta2.ResourceClaim' description: Created "401": content: {} @@ -78386,7 +78294,7 @@ paths: x-kubernetes-action: patch x-kubernetes-group-version-kind: group: resource.k8s.io - kind: ResourceClaimTemplate + kind: ResourceClaim version: v1beta2 x-codegen-request-body-name: body x-content-type: application/json @@ -78396,10 +78304,10 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml put: - description: replace the specified ResourceClaimTemplate - operationId: replaceNamespacedResourceClaimTemplate + description: replace the specified ResourceClaim + operationId: replaceNamespacedResourceClaim parameters: - - description: name of the ResourceClaimTemplate + - description: name of the ResourceClaim in: path name: name required: true @@ -78454,38 +78362,38 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta2.ResourceClaim' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta2.ResourceClaim' application/yaml: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta2.ResourceClaim' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta2.ResourceClaim' application/cbor: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta2.ResourceClaim' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta2.ResourceClaim' application/yaml: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta2.ResourceClaim' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta2.ResourceClaim' application/cbor: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' + $ref: '#/components/schemas/v1beta2.ResourceClaim' description: Created "401": content: {} @@ -78495,7 +78403,7 @@ paths: x-kubernetes-action: put x-kubernetes-group-version-kind: group: resource.k8s.io - kind: ResourceClaimTemplate + kind: ResourceClaim version: v1beta2 x-codegen-request-body-name: body x-content-type: application/json @@ -78504,49 +78412,77 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/resource.k8s.io/v1beta2/resourceclaims: + /apis/resource.k8s.io/v1beta2/namespaces/{namespace}/resourceclaims/{name}/status: get: - description: list or watch objects of kind ResourceClaim - operationId: listResourceClaimForAllNamespaces + description: read status of the specified ResourceClaim + operationId: readNamespacedResourceClaimStatus parameters: - - description: "allowWatchBookmarks requests watch events with type \"BOOKMARK\"\ - . Servers that do not implement bookmarks may ignore this flag and bookmarks\ - \ are sent at the server's discretion. Clients should not assume bookmarks\ - \ are returned at any specific interval, nor may they assume the server\ - \ will send any BOOKMARK event during a session. If this is not a watch,\ - \ this field is ignored." - in: query - name: allowWatchBookmarks + - description: name of the ResourceClaim + in: path + name: name + required: true schema: - type: boolean - - description: |- - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". - - This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - in: query - name: continue + type: string + - description: "object name and auth scope, such as for teams and projects" + in: path + name: namespace + required: true schema: type: string - - description: A selector to restrict the list of returned objects by their - fields. Defaults to everything. + - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ + \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ + \ and wget)." in: query - name: fieldSelector + name: pretty schema: type: string - - description: A selector to restrict the list of returned objects by their - labels. Defaults to everything. - in: query - name: labelSelector + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/v1beta2.ResourceClaim' + application/yaml: + schema: + $ref: '#/components/schemas/v1beta2.ResourceClaim' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1beta2.ResourceClaim' + application/cbor: + schema: + $ref: '#/components/schemas/v1beta2.ResourceClaim' + description: OK + "401": + content: {} + description: Unauthorized + tags: + - resource_v1beta2 + x-kubernetes-action: get + x-kubernetes-group-version-kind: + group: resource.k8s.io + kind: ResourceClaim + version: v1beta2 + x-accepts: + - application/cbor + - application/json + - application/vnd.kubernetes.protobuf + - application/yaml + patch: + description: partially update status of the specified ResourceClaim + operationId: patchNamespacedResourceClaimStatus + parameters: + - description: name of the ResourceClaim + in: path + name: name + required: true schema: type: string - - description: |- - limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. - - The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - in: query - name: limit + - description: "object name and auth scope, such as for teams and projects" + in: path + name: namespace + required: true schema: - type: integer + type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -78554,138 +78490,117 @@ paths: name: pretty schema: type: string - - description: |- - resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. - - Defaults to unset + - description: "When present, indicates that modifications should not be persisted.\ + \ An invalid or unrecognized dryRun directive will result in an error response\ + \ and no further processing of the request. Valid values are: - All: all\ + \ dry run stages will be processed" in: query - name: resourceVersion + name: dryRun schema: type: string - - description: |- - resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. - - Defaults to unset + - description: "fieldManager is a name associated with the actor or entity that\ + \ is making these changes. The value must be less than or 128 characters\ + \ long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.\ + \ This field is required for apply requests (application/apply-patch) but\ + \ optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch)." in: query - name: resourceVersionMatch + name: fieldManager schema: type: string - - description: |- - `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic "Bookmark" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. - - When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan - is interpreted as "data at least as new as the provided `resourceVersion`" - and the bookmark event is send when the state is synced - to a `resourceVersion` at least as fresh as the one provided by the ListOptions. - If `resourceVersion` is unset, this is interpreted as "consistent read" and the - bookmark event is send when the state is synced at least to the moment - when request started being processed. - - `resourceVersionMatch` set to any other value or unset - Invalid error is returned. - - Defaults to true if `resourceVersion=""` or `resourceVersion="0"` (for backward compatibility reasons) and to false otherwise. - in: query - name: sendInitialEvents - schema: - type: boolean - - description: "Timeout for the list/watch call. This limits the duration of\ - \ the call, regardless of any activity or inactivity." + - description: "fieldValidation instructs the server on how to handle objects\ + \ in the request (POST/PUT/PATCH) containing unknown or duplicate fields.\ + \ Valid values are: - Ignore: This will ignore any unknown fields that are\ + \ silently dropped from the object, and will ignore all but the last duplicate\ + \ field that the decoder encounters. This is the default behavior prior\ + \ to v1.23. - Warn: This will send a warning via the standard warning response\ + \ header for each unknown field that is dropped from the object, and for\ + \ each duplicate field that is encountered. The request will still succeed\ + \ if there are no other errors, and will only persist the last of any duplicate\ + \ fields. This is the default in v1.23+ - Strict: This will fail the request\ + \ with a BadRequest error if any unknown fields would be dropped from the\ + \ object, or if any duplicate fields are present. The error returned from\ + \ the server will contain all unknown and duplicate fields encountered." in: query - name: timeoutSeconds + name: fieldValidation schema: - type: integer - - description: "Watch for changes to the described resources and return them\ - \ as a stream of add, update, and remove notifications. Specify resourceVersion." + type: string + - description: Force is going to "force" Apply requests. It means user will + re-acquire conflicting fields owned by other people. Force flag must be + unset for non-apply patch requests. in: query - name: watch + name: force schema: type: boolean + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/v1.Patch' + required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimList' + $ref: '#/components/schemas/v1beta2.ResourceClaim' application/yaml: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimList' + $ref: '#/components/schemas/v1beta2.ResourceClaim' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimList' + $ref: '#/components/schemas/v1beta2.ResourceClaim' application/cbor: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimList' - application/json;stream=watch: + $ref: '#/components/schemas/v1beta2.ResourceClaim' + description: OK + "201": + content: + application/json: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimList' - application/vnd.kubernetes.protobuf;stream=watch: + $ref: '#/components/schemas/v1beta2.ResourceClaim' + application/yaml: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimList' - application/cbor-seq: + $ref: '#/components/schemas/v1beta2.ResourceClaim' + application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimList' - description: OK + $ref: '#/components/schemas/v1beta2.ResourceClaim' + application/cbor: + schema: + $ref: '#/components/schemas/v1beta2.ResourceClaim' + description: Created "401": content: {} description: Unauthorized tags: - resource_v1beta2 - x-kubernetes-action: list + x-kubernetes-action: patch x-kubernetes-group-version-kind: group: resource.k8s.io kind: ResourceClaim version: v1beta2 + x-codegen-request-body-name: body + x-content-type: application/json x-accepts: - application/cbor - - application/cbor-seq - application/json - - application/json;stream=watch - application/vnd.kubernetes.protobuf - - application/vnd.kubernetes.protobuf;stream=watch - application/yaml - /apis/resource.k8s.io/v1beta2/resourceclaimtemplates: - get: - description: list or watch objects of kind ResourceClaimTemplate - operationId: listResourceClaimTemplateForAllNamespaces + put: + description: replace status of the specified ResourceClaim + operationId: replaceNamespacedResourceClaimStatus parameters: - - description: "allowWatchBookmarks requests watch events with type \"BOOKMARK\"\ - . Servers that do not implement bookmarks may ignore this flag and bookmarks\ - \ are sent at the server's discretion. Clients should not assume bookmarks\ - \ are returned at any specific interval, nor may they assume the server\ - \ will send any BOOKMARK event during a session. If this is not a watch,\ - \ this field is ignored." - in: query - name: allowWatchBookmarks - schema: - type: boolean - - description: |- - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". - - This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - in: query - name: continue - schema: - type: string - - description: A selector to restrict the list of returned objects by their - fields. Defaults to everything. - in: query - name: fieldSelector + - description: name of the ResourceClaim + in: path + name: name + required: true schema: type: string - - description: A selector to restrict the list of returned objects by their - labels. Defaults to everything. - in: query - name: labelSelector + - description: "object name and auth scope, such as for teams and projects" + in: path + name: namespace + required: true schema: type: string - - description: |- - limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. - - The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - in: query - name: limit - schema: - type: integer - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -78693,100 +78608,103 @@ paths: name: pretty schema: type: string - - description: |- - resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. - - Defaults to unset + - description: "When present, indicates that modifications should not be persisted.\ + \ An invalid or unrecognized dryRun directive will result in an error response\ + \ and no further processing of the request. Valid values are: - All: all\ + \ dry run stages will be processed" in: query - name: resourceVersion + name: dryRun schema: type: string - - description: |- - resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. - - Defaults to unset + - description: "fieldManager is a name associated with the actor or entity that\ + \ is making these changes. The value must be less than or 128 characters\ + \ long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint." in: query - name: resourceVersionMatch + name: fieldManager schema: type: string - - description: |- - `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic "Bookmark" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. - - When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan - is interpreted as "data at least as new as the provided `resourceVersion`" - and the bookmark event is send when the state is synced - to a `resourceVersion` at least as fresh as the one provided by the ListOptions. - If `resourceVersion` is unset, this is interpreted as "consistent read" and the - bookmark event is send when the state is synced at least to the moment - when request started being processed. - - `resourceVersionMatch` set to any other value or unset - Invalid error is returned. - - Defaults to true if `resourceVersion=""` or `resourceVersion="0"` (for backward compatibility reasons) and to false otherwise. - in: query - name: sendInitialEvents - schema: - type: boolean - - description: "Timeout for the list/watch call. This limits the duration of\ - \ the call, regardless of any activity or inactivity." - in: query - name: timeoutSeconds - schema: - type: integer - - description: "Watch for changes to the described resources and return them\ - \ as a stream of add, update, and remove notifications. Specify resourceVersion." + - description: "fieldValidation instructs the server on how to handle objects\ + \ in the request (POST/PUT/PATCH) containing unknown or duplicate fields.\ + \ Valid values are: - Ignore: This will ignore any unknown fields that are\ + \ silently dropped from the object, and will ignore all but the last duplicate\ + \ field that the decoder encounters. This is the default behavior prior\ + \ to v1.23. - Warn: This will send a warning via the standard warning response\ + \ header for each unknown field that is dropped from the object, and for\ + \ each duplicate field that is encountered. The request will still succeed\ + \ if there are no other errors, and will only persist the last of any duplicate\ + \ fields. This is the default in v1.23+ - Strict: This will fail the request\ + \ with a BadRequest error if any unknown fields would be dropped from the\ + \ object, or if any duplicate fields are present. The error returned from\ + \ the server will contain all unknown and duplicate fields encountered." in: query - name: watch + name: fieldValidation schema: - type: boolean + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/v1beta2.ResourceClaim' + required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimTemplateList' + $ref: '#/components/schemas/v1beta2.ResourceClaim' application/yaml: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimTemplateList' + $ref: '#/components/schemas/v1beta2.ResourceClaim' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimTemplateList' + $ref: '#/components/schemas/v1beta2.ResourceClaim' application/cbor: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimTemplateList' - application/json;stream=watch: + $ref: '#/components/schemas/v1beta2.ResourceClaim' + description: OK + "201": + content: + application/json: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimTemplateList' - application/vnd.kubernetes.protobuf;stream=watch: + $ref: '#/components/schemas/v1beta2.ResourceClaim' + application/yaml: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimTemplateList' - application/cbor-seq: + $ref: '#/components/schemas/v1beta2.ResourceClaim' + application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta2.ResourceClaimTemplateList' - description: OK + $ref: '#/components/schemas/v1beta2.ResourceClaim' + application/cbor: + schema: + $ref: '#/components/schemas/v1beta2.ResourceClaim' + description: Created "401": content: {} description: Unauthorized tags: - resource_v1beta2 - x-kubernetes-action: list + x-kubernetes-action: put x-kubernetes-group-version-kind: group: resource.k8s.io - kind: ResourceClaimTemplate + kind: ResourceClaim version: v1beta2 + x-codegen-request-body-name: body + x-content-type: application/json x-accepts: - application/cbor - - application/cbor-seq - application/json - - application/json;stream=watch - application/vnd.kubernetes.protobuf - - application/vnd.kubernetes.protobuf;stream=watch - application/yaml - /apis/resource.k8s.io/v1beta2/resourceslices: + /apis/resource.k8s.io/v1beta2/namespaces/{namespace}/resourceclaimtemplates: delete: - description: delete collection of ResourceSlice - operationId: deleteCollectionResourceSlice + description: delete collection of ResourceClaimTemplate + operationId: deleteCollectionNamespacedResourceClaimTemplate parameters: + - description: "object name and auth scope, such as for teams and projects" + in: path + name: namespace + required: true + schema: + type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -78943,7 +78861,7 @@ paths: x-kubernetes-action: deletecollection x-kubernetes-group-version-kind: group: resource.k8s.io - kind: ResourceSlice + kind: ResourceClaimTemplate version: v1beta2 x-codegen-request-body-name: body x-content-type: application/json @@ -78953,9 +78871,15 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml get: - description: list or watch objects of kind ResourceSlice - operationId: listResourceSlice + description: list or watch objects of kind ResourceClaimTemplate + operationId: listNamespacedResourceClaimTemplate parameters: + - description: "object name and auth scope, such as for teams and projects" + in: path + name: namespace + required: true + schema: + type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -79052,25 +78976,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta2.ResourceSliceList' + $ref: '#/components/schemas/v1beta2.ResourceClaimTemplateList' application/yaml: schema: - $ref: '#/components/schemas/v1beta2.ResourceSliceList' + $ref: '#/components/schemas/v1beta2.ResourceClaimTemplateList' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta2.ResourceSliceList' + $ref: '#/components/schemas/v1beta2.ResourceClaimTemplateList' application/cbor: schema: - $ref: '#/components/schemas/v1beta2.ResourceSliceList' + $ref: '#/components/schemas/v1beta2.ResourceClaimTemplateList' application/json;stream=watch: schema: - $ref: '#/components/schemas/v1beta2.ResourceSliceList' + $ref: '#/components/schemas/v1beta2.ResourceClaimTemplateList' application/vnd.kubernetes.protobuf;stream=watch: schema: - $ref: '#/components/schemas/v1beta2.ResourceSliceList' + $ref: '#/components/schemas/v1beta2.ResourceClaimTemplateList' application/cbor-seq: schema: - $ref: '#/components/schemas/v1beta2.ResourceSliceList' + $ref: '#/components/schemas/v1beta2.ResourceClaimTemplateList' description: OK "401": content: {} @@ -79080,7 +79004,7 @@ paths: x-kubernetes-action: list x-kubernetes-group-version-kind: group: resource.k8s.io - kind: ResourceSlice + kind: ResourceClaimTemplate version: v1beta2 x-accepts: - application/cbor @@ -79091,9 +79015,15 @@ paths: - application/vnd.kubernetes.protobuf;stream=watch - application/yaml post: - description: create a ResourceSlice - operationId: createResourceSlice + description: create a ResourceClaimTemplate + operationId: createNamespacedResourceClaimTemplate parameters: + - description: "object name and auth scope, such as for teams and projects" + in: path + name: namespace + required: true + schema: + type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -79137,53 +79067,53 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta2.ResourceSlice' + $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1beta2.ResourceSlice' + $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' application/yaml: schema: - $ref: '#/components/schemas/v1beta2.ResourceSlice' + $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta2.ResourceSlice' + $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' application/cbor: schema: - $ref: '#/components/schemas/v1beta2.ResourceSlice' + $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1beta2.ResourceSlice' + $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' application/yaml: schema: - $ref: '#/components/schemas/v1beta2.ResourceSlice' + $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta2.ResourceSlice' + $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' application/cbor: schema: - $ref: '#/components/schemas/v1beta2.ResourceSlice' + $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' description: Created "202": content: application/json: schema: - $ref: '#/components/schemas/v1beta2.ResourceSlice' + $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' application/yaml: schema: - $ref: '#/components/schemas/v1beta2.ResourceSlice' + $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta2.ResourceSlice' + $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' application/cbor: schema: - $ref: '#/components/schemas/v1beta2.ResourceSlice' + $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' description: Accepted "401": content: {} @@ -79193,7 +79123,7 @@ paths: x-kubernetes-action: post x-kubernetes-group-version-kind: group: resource.k8s.io - kind: ResourceSlice + kind: ResourceClaimTemplate version: v1beta2 x-codegen-request-body-name: body x-content-type: application/json @@ -79202,17 +79132,23 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/resource.k8s.io/v1beta2/resourceslices/{name}: + /apis/resource.k8s.io/v1beta2/namespaces/{namespace}/resourceclaimtemplates/{name}: delete: - description: delete a ResourceSlice - operationId: deleteResourceSlice + description: delete a ResourceClaimTemplate + operationId: deleteNamespacedResourceClaimTemplate parameters: - - description: name of the ResourceSlice + - description: name of the ResourceClaimTemplate in: path name: name required: true schema: type: string + - description: "object name and auth scope, such as for teams and projects" + in: path + name: namespace + required: true + schema: + type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -79282,31 +79218,31 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta2.ResourceSlice' + $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' application/yaml: schema: - $ref: '#/components/schemas/v1beta2.ResourceSlice' + $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta2.ResourceSlice' + $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' application/cbor: schema: - $ref: '#/components/schemas/v1beta2.ResourceSlice' + $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' description: OK "202": content: application/json: schema: - $ref: '#/components/schemas/v1beta2.ResourceSlice' + $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' application/yaml: schema: - $ref: '#/components/schemas/v1beta2.ResourceSlice' + $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta2.ResourceSlice' + $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' application/cbor: schema: - $ref: '#/components/schemas/v1beta2.ResourceSlice' + $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' description: Accepted "401": content: {} @@ -79316,7 +79252,7 @@ paths: x-kubernetes-action: delete x-kubernetes-group-version-kind: group: resource.k8s.io - kind: ResourceSlice + kind: ResourceClaimTemplate version: v1beta2 x-codegen-request-body-name: body x-content-type: application/json @@ -79326,15 +79262,21 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml get: - description: read the specified ResourceSlice - operationId: readResourceSlice + description: read the specified ResourceClaimTemplate + operationId: readNamespacedResourceClaimTemplate parameters: - - description: name of the ResourceSlice + - description: name of the ResourceClaimTemplate in: path name: name required: true schema: type: string + - description: "object name and auth scope, such as for teams and projects" + in: path + name: namespace + required: true + schema: + type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -79347,16 +79289,16 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta2.ResourceSlice' + $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' application/yaml: schema: - $ref: '#/components/schemas/v1beta2.ResourceSlice' + $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta2.ResourceSlice' + $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' application/cbor: schema: - $ref: '#/components/schemas/v1beta2.ResourceSlice' + $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' description: OK "401": content: {} @@ -79366,7 +79308,7 @@ paths: x-kubernetes-action: get x-kubernetes-group-version-kind: group: resource.k8s.io - kind: ResourceSlice + kind: ResourceClaimTemplate version: v1beta2 x-accepts: - application/cbor @@ -79374,15 +79316,21 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml patch: - description: partially update the specified ResourceSlice - operationId: patchResourceSlice + description: partially update the specified ResourceClaimTemplate + operationId: patchNamespacedResourceClaimTemplate parameters: - - description: name of the ResourceSlice + - description: name of the ResourceClaimTemplate in: path name: name required: true schema: type: string + - description: "object name and auth scope, such as for teams and projects" + in: path + name: namespace + required: true + schema: + type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -79442,31 +79390,31 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta2.ResourceSlice' + $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' application/yaml: schema: - $ref: '#/components/schemas/v1beta2.ResourceSlice' + $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta2.ResourceSlice' + $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' application/cbor: schema: - $ref: '#/components/schemas/v1beta2.ResourceSlice' + $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1beta2.ResourceSlice' + $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' application/yaml: schema: - $ref: '#/components/schemas/v1beta2.ResourceSlice' + $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta2.ResourceSlice' + $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' application/cbor: schema: - $ref: '#/components/schemas/v1beta2.ResourceSlice' + $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' description: Created "401": content: {} @@ -79476,7 +79424,7 @@ paths: x-kubernetes-action: patch x-kubernetes-group-version-kind: group: resource.k8s.io - kind: ResourceSlice + kind: ResourceClaimTemplate version: v1beta2 x-codegen-request-body-name: body x-content-type: application/json @@ -79486,15 +79434,21 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml put: - description: replace the specified ResourceSlice - operationId: replaceResourceSlice + description: replace the specified ResourceClaimTemplate + operationId: replaceNamespacedResourceClaimTemplate parameters: - - description: name of the ResourceSlice + - description: name of the ResourceClaimTemplate in: path name: name required: true schema: type: string + - description: "object name and auth scope, such as for teams and projects" + in: path + name: namespace + required: true + schema: + type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -79538,38 +79492,38 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta2.ResourceSlice' + $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1beta2.ResourceSlice' + $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' application/yaml: schema: - $ref: '#/components/schemas/v1beta2.ResourceSlice' + $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta2.ResourceSlice' + $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' application/cbor: schema: - $ref: '#/components/schemas/v1beta2.ResourceSlice' + $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1beta2.ResourceSlice' + $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' application/yaml: schema: - $ref: '#/components/schemas/v1beta2.ResourceSlice' + $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta2.ResourceSlice' + $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' application/cbor: schema: - $ref: '#/components/schemas/v1beta2.ResourceSlice' + $ref: '#/components/schemas/v1beta2.ResourceClaimTemplate' description: Created "401": content: {} @@ -79579,7 +79533,7 @@ paths: x-kubernetes-action: put x-kubernetes-group-version-kind: group: resource.k8s.io - kind: ResourceSlice + kind: ResourceClaimTemplate version: v1beta2 x-codegen-request-body-name: body x-content-type: application/json @@ -79588,76 +79542,288 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/resource.k8s.io/v1beta2/watch/deviceclasses: {} - /apis/resource.k8s.io/v1beta2/watch/deviceclasses/{name}: {} - /apis/resource.k8s.io/v1beta2/watch/namespaces/{namespace}/resourceclaims: {} - /apis/resource.k8s.io/v1beta2/watch/namespaces/{namespace}/resourceclaims/{name}: {} - /apis/resource.k8s.io/v1beta2/watch/namespaces/{namespace}/resourceclaimtemplates: {} - /apis/resource.k8s.io/v1beta2/watch/namespaces/{namespace}/resourceclaimtemplates/{name}: {} - /apis/resource.k8s.io/v1beta2/watch/resourceclaims: {} - /apis/resource.k8s.io/v1beta2/watch/resourceclaimtemplates: {} - /apis/resource.k8s.io/v1beta2/watch/resourceslices: {} - /apis/resource.k8s.io/v1beta2/watch/resourceslices/{name}: {} - /apis/scheduling.k8s.io/: + /apis/resource.k8s.io/v1beta2/resourceclaims: get: - description: get information of a group - operationId: getAPIGroup + description: list or watch objects of kind ResourceClaim + operationId: listResourceClaimForAllNamespaces + parameters: + - description: "allowWatchBookmarks requests watch events with type \"BOOKMARK\"\ + . Servers that do not implement bookmarks may ignore this flag and bookmarks\ + \ are sent at the server's discretion. Clients should not assume bookmarks\ + \ are returned at any specific interval, nor may they assume the server\ + \ will send any BOOKMARK event during a session. If this is not a watch,\ + \ this field is ignored." + in: query + name: allowWatchBookmarks + schema: + type: boolean + - description: |- + The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + + This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + in: query + name: continue + schema: + type: string + - description: A selector to restrict the list of returned objects by their + fields. Defaults to everything. + in: query + name: fieldSelector + schema: + type: string + - description: A selector to restrict the list of returned objects by their + labels. Defaults to everything. + in: query + name: labelSelector + schema: + type: string + - description: |- + limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. + + The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + in: query + name: limit + schema: + type: integer + - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ + \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ + \ and wget)." + in: query + name: pretty + schema: + type: string + - description: |- + resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. + + Defaults to unset + in: query + name: resourceVersion + schema: + type: string + - description: |- + resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. + + Defaults to unset + in: query + name: resourceVersionMatch + schema: + type: string + - description: |- + `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic "Bookmark" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. + + When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan + is interpreted as "data at least as new as the provided `resourceVersion`" + and the bookmark event is send when the state is synced + to a `resourceVersion` at least as fresh as the one provided by the ListOptions. + If `resourceVersion` is unset, this is interpreted as "consistent read" and the + bookmark event is send when the state is synced at least to the moment + when request started being processed. + - `resourceVersionMatch` set to any other value or unset + Invalid error is returned. + + Defaults to true if `resourceVersion=""` or `resourceVersion="0"` (for backward compatibility reasons) and to false otherwise. + in: query + name: sendInitialEvents + schema: + type: boolean + - description: "Timeout for the list/watch call. This limits the duration of\ + \ the call, regardless of any activity or inactivity." + in: query + name: timeoutSeconds + schema: + type: integer + - description: "Watch for changes to the described resources and return them\ + \ as a stream of add, update, and remove notifications. Specify resourceVersion." + in: query + name: watch + schema: + type: boolean responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1.APIGroup' + $ref: '#/components/schemas/v1beta2.ResourceClaimList' application/yaml: schema: - $ref: '#/components/schemas/v1.APIGroup' + $ref: '#/components/schemas/v1beta2.ResourceClaimList' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.APIGroup' + $ref: '#/components/schemas/v1beta2.ResourceClaimList' + application/cbor: + schema: + $ref: '#/components/schemas/v1beta2.ResourceClaimList' + application/json;stream=watch: + schema: + $ref: '#/components/schemas/v1beta2.ResourceClaimList' + application/vnd.kubernetes.protobuf;stream=watch: + schema: + $ref: '#/components/schemas/v1beta2.ResourceClaimList' + application/cbor-seq: + schema: + $ref: '#/components/schemas/v1beta2.ResourceClaimList' description: OK "401": content: {} description: Unauthorized tags: - - scheduling + - resource_v1beta2 + x-kubernetes-action: list + x-kubernetes-group-version-kind: + group: resource.k8s.io + kind: ResourceClaim + version: v1beta2 x-accepts: + - application/cbor + - application/cbor-seq - application/json + - application/json;stream=watch - application/vnd.kubernetes.protobuf + - application/vnd.kubernetes.protobuf;stream=watch - application/yaml - /apis/scheduling.k8s.io/v1/: + /apis/resource.k8s.io/v1beta2/resourceclaimtemplates: get: - description: get available resources - operationId: getAPIResources + description: list or watch objects of kind ResourceClaimTemplate + operationId: listResourceClaimTemplateForAllNamespaces + parameters: + - description: "allowWatchBookmarks requests watch events with type \"BOOKMARK\"\ + . Servers that do not implement bookmarks may ignore this flag and bookmarks\ + \ are sent at the server's discretion. Clients should not assume bookmarks\ + \ are returned at any specific interval, nor may they assume the server\ + \ will send any BOOKMARK event during a session. If this is not a watch,\ + \ this field is ignored." + in: query + name: allowWatchBookmarks + schema: + type: boolean + - description: |- + The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + + This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + in: query + name: continue + schema: + type: string + - description: A selector to restrict the list of returned objects by their + fields. Defaults to everything. + in: query + name: fieldSelector + schema: + type: string + - description: A selector to restrict the list of returned objects by their + labels. Defaults to everything. + in: query + name: labelSelector + schema: + type: string + - description: |- + limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. + + The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + in: query + name: limit + schema: + type: integer + - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ + \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ + \ and wget)." + in: query + name: pretty + schema: + type: string + - description: |- + resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. + + Defaults to unset + in: query + name: resourceVersion + schema: + type: string + - description: |- + resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. + + Defaults to unset + in: query + name: resourceVersionMatch + schema: + type: string + - description: |- + `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic "Bookmark" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. + + When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan + is interpreted as "data at least as new as the provided `resourceVersion`" + and the bookmark event is send when the state is synced + to a `resourceVersion` at least as fresh as the one provided by the ListOptions. + If `resourceVersion` is unset, this is interpreted as "consistent read" and the + bookmark event is send when the state is synced at least to the moment + when request started being processed. + - `resourceVersionMatch` set to any other value or unset + Invalid error is returned. + + Defaults to true if `resourceVersion=""` or `resourceVersion="0"` (for backward compatibility reasons) and to false otherwise. + in: query + name: sendInitialEvents + schema: + type: boolean + - description: "Timeout for the list/watch call. This limits the duration of\ + \ the call, regardless of any activity or inactivity." + in: query + name: timeoutSeconds + schema: + type: integer + - description: "Watch for changes to the described resources and return them\ + \ as a stream of add, update, and remove notifications. Specify resourceVersion." + in: query + name: watch + schema: + type: boolean responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1.APIResourceList' + $ref: '#/components/schemas/v1beta2.ResourceClaimTemplateList' application/yaml: schema: - $ref: '#/components/schemas/v1.APIResourceList' + $ref: '#/components/schemas/v1beta2.ResourceClaimTemplateList' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.APIResourceList' + $ref: '#/components/schemas/v1beta2.ResourceClaimTemplateList' application/cbor: schema: - $ref: '#/components/schemas/v1.APIResourceList' + $ref: '#/components/schemas/v1beta2.ResourceClaimTemplateList' + application/json;stream=watch: + schema: + $ref: '#/components/schemas/v1beta2.ResourceClaimTemplateList' + application/vnd.kubernetes.protobuf;stream=watch: + schema: + $ref: '#/components/schemas/v1beta2.ResourceClaimTemplateList' + application/cbor-seq: + schema: + $ref: '#/components/schemas/v1beta2.ResourceClaimTemplateList' description: OK "401": content: {} description: Unauthorized tags: - - scheduling_v1 + - resource_v1beta2 + x-kubernetes-action: list + x-kubernetes-group-version-kind: + group: resource.k8s.io + kind: ResourceClaimTemplate + version: v1beta2 x-accepts: - application/cbor + - application/cbor-seq - application/json + - application/json;stream=watch - application/vnd.kubernetes.protobuf + - application/vnd.kubernetes.protobuf;stream=watch - application/yaml - /apis/scheduling.k8s.io/v1/priorityclasses: + /apis/resource.k8s.io/v1beta2/resourceslices: delete: - description: delete collection of PriorityClass - operationId: deleteCollectionPriorityClass + description: delete collection of ResourceSlice + operationId: deleteCollectionResourceSlice parameters: - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ @@ -79811,12 +79977,12 @@ paths: content: {} description: Unauthorized tags: - - scheduling_v1 + - resource_v1beta2 x-kubernetes-action: deletecollection x-kubernetes-group-version-kind: - group: scheduling.k8s.io - kind: PriorityClass - version: v1 + group: resource.k8s.io + kind: ResourceSlice + version: v1beta2 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -79825,8 +79991,8 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml get: - description: list or watch objects of kind PriorityClass - operationId: listPriorityClass + description: list or watch objects of kind ResourceSlice + operationId: listResourceSlice parameters: - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ @@ -79924,36 +80090,36 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.PriorityClassList' + $ref: '#/components/schemas/v1beta2.ResourceSliceList' application/yaml: schema: - $ref: '#/components/schemas/v1.PriorityClassList' + $ref: '#/components/schemas/v1beta2.ResourceSliceList' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.PriorityClassList' + $ref: '#/components/schemas/v1beta2.ResourceSliceList' application/cbor: schema: - $ref: '#/components/schemas/v1.PriorityClassList' + $ref: '#/components/schemas/v1beta2.ResourceSliceList' application/json;stream=watch: schema: - $ref: '#/components/schemas/v1.PriorityClassList' + $ref: '#/components/schemas/v1beta2.ResourceSliceList' application/vnd.kubernetes.protobuf;stream=watch: schema: - $ref: '#/components/schemas/v1.PriorityClassList' + $ref: '#/components/schemas/v1beta2.ResourceSliceList' application/cbor-seq: schema: - $ref: '#/components/schemas/v1.PriorityClassList' + $ref: '#/components/schemas/v1beta2.ResourceSliceList' description: OK "401": content: {} description: Unauthorized tags: - - scheduling_v1 + - resource_v1beta2 x-kubernetes-action: list x-kubernetes-group-version-kind: - group: scheduling.k8s.io - kind: PriorityClass - version: v1 + group: resource.k8s.io + kind: ResourceSlice + version: v1beta2 x-accepts: - application/cbor - application/cbor-seq @@ -79963,8 +80129,8 @@ paths: - application/vnd.kubernetes.protobuf;stream=watch - application/yaml post: - description: create a PriorityClass - operationId: createPriorityClass + description: create a ResourceSlice + operationId: createResourceSlice parameters: - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ @@ -80009,64 +80175,64 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.PriorityClass' + $ref: '#/components/schemas/v1beta2.ResourceSlice' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1.PriorityClass' + $ref: '#/components/schemas/v1beta2.ResourceSlice' application/yaml: schema: - $ref: '#/components/schemas/v1.PriorityClass' + $ref: '#/components/schemas/v1beta2.ResourceSlice' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.PriorityClass' + $ref: '#/components/schemas/v1beta2.ResourceSlice' application/cbor: schema: - $ref: '#/components/schemas/v1.PriorityClass' + $ref: '#/components/schemas/v1beta2.ResourceSlice' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1.PriorityClass' + $ref: '#/components/schemas/v1beta2.ResourceSlice' application/yaml: schema: - $ref: '#/components/schemas/v1.PriorityClass' + $ref: '#/components/schemas/v1beta2.ResourceSlice' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.PriorityClass' + $ref: '#/components/schemas/v1beta2.ResourceSlice' application/cbor: schema: - $ref: '#/components/schemas/v1.PriorityClass' + $ref: '#/components/schemas/v1beta2.ResourceSlice' description: Created "202": content: application/json: schema: - $ref: '#/components/schemas/v1.PriorityClass' + $ref: '#/components/schemas/v1beta2.ResourceSlice' application/yaml: schema: - $ref: '#/components/schemas/v1.PriorityClass' + $ref: '#/components/schemas/v1beta2.ResourceSlice' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.PriorityClass' + $ref: '#/components/schemas/v1beta2.ResourceSlice' application/cbor: schema: - $ref: '#/components/schemas/v1.PriorityClass' + $ref: '#/components/schemas/v1beta2.ResourceSlice' description: Accepted "401": content: {} description: Unauthorized tags: - - scheduling_v1 + - resource_v1beta2 x-kubernetes-action: post x-kubernetes-group-version-kind: - group: scheduling.k8s.io - kind: PriorityClass - version: v1 + group: resource.k8s.io + kind: ResourceSlice + version: v1beta2 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -80074,12 +80240,12 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/scheduling.k8s.io/v1/priorityclasses/{name}: + /apis/resource.k8s.io/v1beta2/resourceslices/{name}: delete: - description: delete a PriorityClass - operationId: deletePriorityClass + description: delete a ResourceSlice + operationId: deleteResourceSlice parameters: - - description: name of the PriorityClass + - description: name of the ResourceSlice in: path name: name required: true @@ -80154,42 +80320,42 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.Status' + $ref: '#/components/schemas/v1beta2.ResourceSlice' application/yaml: schema: - $ref: '#/components/schemas/v1.Status' + $ref: '#/components/schemas/v1beta2.ResourceSlice' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.Status' + $ref: '#/components/schemas/v1beta2.ResourceSlice' application/cbor: schema: - $ref: '#/components/schemas/v1.Status' + $ref: '#/components/schemas/v1beta2.ResourceSlice' description: OK "202": content: application/json: schema: - $ref: '#/components/schemas/v1.Status' + $ref: '#/components/schemas/v1beta2.ResourceSlice' application/yaml: schema: - $ref: '#/components/schemas/v1.Status' + $ref: '#/components/schemas/v1beta2.ResourceSlice' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.Status' + $ref: '#/components/schemas/v1beta2.ResourceSlice' application/cbor: schema: - $ref: '#/components/schemas/v1.Status' + $ref: '#/components/schemas/v1beta2.ResourceSlice' description: Accepted "401": content: {} description: Unauthorized tags: - - scheduling_v1 + - resource_v1beta2 x-kubernetes-action: delete x-kubernetes-group-version-kind: - group: scheduling.k8s.io - kind: PriorityClass - version: v1 + group: resource.k8s.io + kind: ResourceSlice + version: v1beta2 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -80198,10 +80364,10 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml get: - description: read the specified PriorityClass - operationId: readPriorityClass + description: read the specified ResourceSlice + operationId: readResourceSlice parameters: - - description: name of the PriorityClass + - description: name of the ResourceSlice in: path name: name required: true @@ -80219,37 +80385,37 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.PriorityClass' + $ref: '#/components/schemas/v1beta2.ResourceSlice' application/yaml: schema: - $ref: '#/components/schemas/v1.PriorityClass' + $ref: '#/components/schemas/v1beta2.ResourceSlice' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.PriorityClass' + $ref: '#/components/schemas/v1beta2.ResourceSlice' application/cbor: schema: - $ref: '#/components/schemas/v1.PriorityClass' + $ref: '#/components/schemas/v1beta2.ResourceSlice' description: OK "401": content: {} description: Unauthorized tags: - - scheduling_v1 + - resource_v1beta2 x-kubernetes-action: get x-kubernetes-group-version-kind: - group: scheduling.k8s.io - kind: PriorityClass - version: v1 + group: resource.k8s.io + kind: ResourceSlice + version: v1beta2 x-accepts: - application/cbor - application/json - application/vnd.kubernetes.protobuf - application/yaml patch: - description: partially update the specified PriorityClass - operationId: patchPriorityClass + description: partially update the specified ResourceSlice + operationId: patchResourceSlice parameters: - - description: name of the PriorityClass + - description: name of the ResourceSlice in: path name: name required: true @@ -80314,42 +80480,42 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.PriorityClass' + $ref: '#/components/schemas/v1beta2.ResourceSlice' application/yaml: schema: - $ref: '#/components/schemas/v1.PriorityClass' + $ref: '#/components/schemas/v1beta2.ResourceSlice' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.PriorityClass' + $ref: '#/components/schemas/v1beta2.ResourceSlice' application/cbor: schema: - $ref: '#/components/schemas/v1.PriorityClass' + $ref: '#/components/schemas/v1beta2.ResourceSlice' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1.PriorityClass' + $ref: '#/components/schemas/v1beta2.ResourceSlice' application/yaml: schema: - $ref: '#/components/schemas/v1.PriorityClass' + $ref: '#/components/schemas/v1beta2.ResourceSlice' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.PriorityClass' + $ref: '#/components/schemas/v1beta2.ResourceSlice' application/cbor: schema: - $ref: '#/components/schemas/v1.PriorityClass' + $ref: '#/components/schemas/v1beta2.ResourceSlice' description: Created "401": content: {} description: Unauthorized tags: - - scheduling_v1 + - resource_v1beta2 x-kubernetes-action: patch x-kubernetes-group-version-kind: - group: scheduling.k8s.io - kind: PriorityClass - version: v1 + group: resource.k8s.io + kind: ResourceSlice + version: v1beta2 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -80358,10 +80524,10 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml put: - description: replace the specified PriorityClass - operationId: replacePriorityClass + description: replace the specified ResourceSlice + operationId: replaceResourceSlice parameters: - - description: name of the PriorityClass + - description: name of the ResourceSlice in: path name: name required: true @@ -80410,49 +80576,49 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.PriorityClass' + $ref: '#/components/schemas/v1beta2.ResourceSlice' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1.PriorityClass' + $ref: '#/components/schemas/v1beta2.ResourceSlice' application/yaml: schema: - $ref: '#/components/schemas/v1.PriorityClass' + $ref: '#/components/schemas/v1beta2.ResourceSlice' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.PriorityClass' + $ref: '#/components/schemas/v1beta2.ResourceSlice' application/cbor: schema: - $ref: '#/components/schemas/v1.PriorityClass' + $ref: '#/components/schemas/v1beta2.ResourceSlice' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1.PriorityClass' + $ref: '#/components/schemas/v1beta2.ResourceSlice' application/yaml: schema: - $ref: '#/components/schemas/v1.PriorityClass' + $ref: '#/components/schemas/v1beta2.ResourceSlice' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.PriorityClass' + $ref: '#/components/schemas/v1beta2.ResourceSlice' application/cbor: schema: - $ref: '#/components/schemas/v1.PriorityClass' + $ref: '#/components/schemas/v1beta2.ResourceSlice' description: Created "401": content: {} description: Unauthorized tags: - - scheduling_v1 + - resource_v1beta2 x-kubernetes-action: put x-kubernetes-group-version-kind: - group: scheduling.k8s.io - kind: PriorityClass - version: v1 + group: resource.k8s.io + kind: ResourceSlice + version: v1beta2 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -80460,9 +80626,17 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/scheduling.k8s.io/v1/watch/priorityclasses: {} - /apis/scheduling.k8s.io/v1/watch/priorityclasses/{name}: {} - /apis/storage.k8s.io/: + /apis/resource.k8s.io/v1beta2/watch/deviceclasses: {} + /apis/resource.k8s.io/v1beta2/watch/deviceclasses/{name}: {} + /apis/resource.k8s.io/v1beta2/watch/namespaces/{namespace}/resourceclaims: {} + /apis/resource.k8s.io/v1beta2/watch/namespaces/{namespace}/resourceclaims/{name}: {} + /apis/resource.k8s.io/v1beta2/watch/namespaces/{namespace}/resourceclaimtemplates: {} + /apis/resource.k8s.io/v1beta2/watch/namespaces/{namespace}/resourceclaimtemplates/{name}: {} + /apis/resource.k8s.io/v1beta2/watch/resourceclaims: {} + /apis/resource.k8s.io/v1beta2/watch/resourceclaimtemplates: {} + /apis/resource.k8s.io/v1beta2/watch/resourceslices: {} + /apis/resource.k8s.io/v1beta2/watch/resourceslices/{name}: {} + /apis/scheduling.k8s.io/: get: description: get information of a group operationId: getAPIGroup @@ -80483,12 +80657,12 @@ paths: content: {} description: Unauthorized tags: - - storage + - scheduling x-accepts: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/storage.k8s.io/v1/: + /apis/scheduling.k8s.io/v1/: get: description: get available resources operationId: getAPIResources @@ -80512,16 +80686,16 @@ paths: content: {} description: Unauthorized tags: - - storage_v1 + - scheduling_v1 x-accepts: - application/cbor - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/storage.k8s.io/v1/csidrivers: + /apis/scheduling.k8s.io/v1/priorityclasses: delete: - description: delete collection of CSIDriver - operationId: deleteCollectionCSIDriver + description: delete collection of PriorityClass + operationId: deleteCollectionPriorityClass parameters: - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ @@ -80675,11 +80849,11 @@ paths: content: {} description: Unauthorized tags: - - storage_v1 + - scheduling_v1 x-kubernetes-action: deletecollection x-kubernetes-group-version-kind: - group: storage.k8s.io - kind: CSIDriver + group: scheduling.k8s.io + kind: PriorityClass version: v1 x-codegen-request-body-name: body x-content-type: application/json @@ -80689,8 +80863,8 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml get: - description: list or watch objects of kind CSIDriver - operationId: listCSIDriver + description: list or watch objects of kind PriorityClass + operationId: listPriorityClass parameters: - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ @@ -80788,35 +80962,35 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.CSIDriverList' + $ref: '#/components/schemas/v1.PriorityClassList' application/yaml: schema: - $ref: '#/components/schemas/v1.CSIDriverList' + $ref: '#/components/schemas/v1.PriorityClassList' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.CSIDriverList' + $ref: '#/components/schemas/v1.PriorityClassList' application/cbor: schema: - $ref: '#/components/schemas/v1.CSIDriverList' + $ref: '#/components/schemas/v1.PriorityClassList' application/json;stream=watch: schema: - $ref: '#/components/schemas/v1.CSIDriverList' + $ref: '#/components/schemas/v1.PriorityClassList' application/vnd.kubernetes.protobuf;stream=watch: schema: - $ref: '#/components/schemas/v1.CSIDriverList' + $ref: '#/components/schemas/v1.PriorityClassList' application/cbor-seq: schema: - $ref: '#/components/schemas/v1.CSIDriverList' + $ref: '#/components/schemas/v1.PriorityClassList' description: OK "401": content: {} description: Unauthorized tags: - - storage_v1 + - scheduling_v1 x-kubernetes-action: list x-kubernetes-group-version-kind: - group: storage.k8s.io - kind: CSIDriver + group: scheduling.k8s.io + kind: PriorityClass version: v1 x-accepts: - application/cbor @@ -80827,8 +81001,8 @@ paths: - application/vnd.kubernetes.protobuf;stream=watch - application/yaml post: - description: create a CSIDriver - operationId: createCSIDriver + description: create a PriorityClass + operationId: createPriorityClass parameters: - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ @@ -80873,63 +81047,63 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.CSIDriver' + $ref: '#/components/schemas/v1.PriorityClass' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1.CSIDriver' + $ref: '#/components/schemas/v1.PriorityClass' application/yaml: schema: - $ref: '#/components/schemas/v1.CSIDriver' + $ref: '#/components/schemas/v1.PriorityClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.CSIDriver' + $ref: '#/components/schemas/v1.PriorityClass' application/cbor: schema: - $ref: '#/components/schemas/v1.CSIDriver' + $ref: '#/components/schemas/v1.PriorityClass' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1.CSIDriver' + $ref: '#/components/schemas/v1.PriorityClass' application/yaml: schema: - $ref: '#/components/schemas/v1.CSIDriver' + $ref: '#/components/schemas/v1.PriorityClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.CSIDriver' + $ref: '#/components/schemas/v1.PriorityClass' application/cbor: schema: - $ref: '#/components/schemas/v1.CSIDriver' + $ref: '#/components/schemas/v1.PriorityClass' description: Created "202": content: application/json: schema: - $ref: '#/components/schemas/v1.CSIDriver' + $ref: '#/components/schemas/v1.PriorityClass' application/yaml: schema: - $ref: '#/components/schemas/v1.CSIDriver' + $ref: '#/components/schemas/v1.PriorityClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.CSIDriver' + $ref: '#/components/schemas/v1.PriorityClass' application/cbor: schema: - $ref: '#/components/schemas/v1.CSIDriver' + $ref: '#/components/schemas/v1.PriorityClass' description: Accepted "401": content: {} description: Unauthorized tags: - - storage_v1 + - scheduling_v1 x-kubernetes-action: post x-kubernetes-group-version-kind: - group: storage.k8s.io - kind: CSIDriver + group: scheduling.k8s.io + kind: PriorityClass version: v1 x-codegen-request-body-name: body x-content-type: application/json @@ -80938,12 +81112,12 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/storage.k8s.io/v1/csidrivers/{name}: + /apis/scheduling.k8s.io/v1/priorityclasses/{name}: delete: - description: delete a CSIDriver - operationId: deleteCSIDriver + description: delete a PriorityClass + operationId: deletePriorityClass parameters: - - description: name of the CSIDriver + - description: name of the PriorityClass in: path name: name required: true @@ -81018,41 +81192,41 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.CSIDriver' + $ref: '#/components/schemas/v1.Status' application/yaml: schema: - $ref: '#/components/schemas/v1.CSIDriver' + $ref: '#/components/schemas/v1.Status' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.CSIDriver' + $ref: '#/components/schemas/v1.Status' application/cbor: schema: - $ref: '#/components/schemas/v1.CSIDriver' + $ref: '#/components/schemas/v1.Status' description: OK "202": content: application/json: schema: - $ref: '#/components/schemas/v1.CSIDriver' + $ref: '#/components/schemas/v1.Status' application/yaml: schema: - $ref: '#/components/schemas/v1.CSIDriver' + $ref: '#/components/schemas/v1.Status' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.CSIDriver' + $ref: '#/components/schemas/v1.Status' application/cbor: schema: - $ref: '#/components/schemas/v1.CSIDriver' + $ref: '#/components/schemas/v1.Status' description: Accepted "401": content: {} description: Unauthorized tags: - - storage_v1 + - scheduling_v1 x-kubernetes-action: delete x-kubernetes-group-version-kind: - group: storage.k8s.io - kind: CSIDriver + group: scheduling.k8s.io + kind: PriorityClass version: v1 x-codegen-request-body-name: body x-content-type: application/json @@ -81062,10 +81236,10 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml get: - description: read the specified CSIDriver - operationId: readCSIDriver + description: read the specified PriorityClass + operationId: readPriorityClass parameters: - - description: name of the CSIDriver + - description: name of the PriorityClass in: path name: name required: true @@ -81083,26 +81257,26 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.CSIDriver' + $ref: '#/components/schemas/v1.PriorityClass' application/yaml: schema: - $ref: '#/components/schemas/v1.CSIDriver' + $ref: '#/components/schemas/v1.PriorityClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.CSIDriver' + $ref: '#/components/schemas/v1.PriorityClass' application/cbor: schema: - $ref: '#/components/schemas/v1.CSIDriver' + $ref: '#/components/schemas/v1.PriorityClass' description: OK "401": content: {} description: Unauthorized tags: - - storage_v1 + - scheduling_v1 x-kubernetes-action: get x-kubernetes-group-version-kind: - group: storage.k8s.io - kind: CSIDriver + group: scheduling.k8s.io + kind: PriorityClass version: v1 x-accepts: - application/cbor @@ -81110,10 +81284,10 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml patch: - description: partially update the specified CSIDriver - operationId: patchCSIDriver + description: partially update the specified PriorityClass + operationId: patchPriorityClass parameters: - - description: name of the CSIDriver + - description: name of the PriorityClass in: path name: name required: true @@ -81178,41 +81352,41 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.CSIDriver' + $ref: '#/components/schemas/v1.PriorityClass' application/yaml: schema: - $ref: '#/components/schemas/v1.CSIDriver' + $ref: '#/components/schemas/v1.PriorityClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.CSIDriver' + $ref: '#/components/schemas/v1.PriorityClass' application/cbor: schema: - $ref: '#/components/schemas/v1.CSIDriver' + $ref: '#/components/schemas/v1.PriorityClass' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1.CSIDriver' + $ref: '#/components/schemas/v1.PriorityClass' application/yaml: schema: - $ref: '#/components/schemas/v1.CSIDriver' + $ref: '#/components/schemas/v1.PriorityClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.CSIDriver' + $ref: '#/components/schemas/v1.PriorityClass' application/cbor: schema: - $ref: '#/components/schemas/v1.CSIDriver' + $ref: '#/components/schemas/v1.PriorityClass' description: Created "401": content: {} description: Unauthorized tags: - - storage_v1 + - scheduling_v1 x-kubernetes-action: patch x-kubernetes-group-version-kind: - group: storage.k8s.io - kind: CSIDriver + group: scheduling.k8s.io + kind: PriorityClass version: v1 x-codegen-request-body-name: body x-content-type: application/json @@ -81222,10 +81396,10 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml put: - description: replace the specified CSIDriver - operationId: replaceCSIDriver + description: replace the specified PriorityClass + operationId: replacePriorityClass parameters: - - description: name of the CSIDriver + - description: name of the PriorityClass in: path name: name required: true @@ -81274,48 +81448,48 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.CSIDriver' + $ref: '#/components/schemas/v1.PriorityClass' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1.CSIDriver' + $ref: '#/components/schemas/v1.PriorityClass' application/yaml: schema: - $ref: '#/components/schemas/v1.CSIDriver' + $ref: '#/components/schemas/v1.PriorityClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.CSIDriver' + $ref: '#/components/schemas/v1.PriorityClass' application/cbor: schema: - $ref: '#/components/schemas/v1.CSIDriver' + $ref: '#/components/schemas/v1.PriorityClass' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1.CSIDriver' + $ref: '#/components/schemas/v1.PriorityClass' application/yaml: schema: - $ref: '#/components/schemas/v1.CSIDriver' + $ref: '#/components/schemas/v1.PriorityClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.CSIDriver' + $ref: '#/components/schemas/v1.PriorityClass' application/cbor: schema: - $ref: '#/components/schemas/v1.CSIDriver' + $ref: '#/components/schemas/v1.PriorityClass' description: Created "401": content: {} description: Unauthorized tags: - - storage_v1 + - scheduling_v1 x-kubernetes-action: put x-kubernetes-group-version-kind: - group: storage.k8s.io - kind: CSIDriver + group: scheduling.k8s.io + kind: PriorityClass version: v1 x-codegen-request-body-name: body x-content-type: application/json @@ -81324,10 +81498,68 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/storage.k8s.io/v1/csinodes: + /apis/scheduling.k8s.io/v1/watch/priorityclasses: {} + /apis/scheduling.k8s.io/v1/watch/priorityclasses/{name}: {} + /apis/storage.k8s.io/: + get: + description: get information of a group + operationId: getAPIGroup + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/v1.APIGroup' + application/yaml: + schema: + $ref: '#/components/schemas/v1.APIGroup' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1.APIGroup' + description: OK + "401": + content: {} + description: Unauthorized + tags: + - storage + x-accepts: + - application/json + - application/vnd.kubernetes.protobuf + - application/yaml + /apis/storage.k8s.io/v1/: + get: + description: get available resources + operationId: getAPIResources + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/v1.APIResourceList' + application/yaml: + schema: + $ref: '#/components/schemas/v1.APIResourceList' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1.APIResourceList' + application/cbor: + schema: + $ref: '#/components/schemas/v1.APIResourceList' + description: OK + "401": + content: {} + description: Unauthorized + tags: + - storage_v1 + x-accepts: + - application/cbor + - application/json + - application/vnd.kubernetes.protobuf + - application/yaml + /apis/storage.k8s.io/v1/csidrivers: delete: - description: delete collection of CSINode - operationId: deleteCollectionCSINode + description: delete collection of CSIDriver + operationId: deleteCollectionCSIDriver parameters: - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ @@ -81485,7 +81717,7 @@ paths: x-kubernetes-action: deletecollection x-kubernetes-group-version-kind: group: storage.k8s.io - kind: CSINode + kind: CSIDriver version: v1 x-codegen-request-body-name: body x-content-type: application/json @@ -81495,8 +81727,8 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml get: - description: list or watch objects of kind CSINode - operationId: listCSINode + description: list or watch objects of kind CSIDriver + operationId: listCSIDriver parameters: - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ @@ -81594,25 +81826,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.CSINodeList' + $ref: '#/components/schemas/v1.CSIDriverList' application/yaml: schema: - $ref: '#/components/schemas/v1.CSINodeList' + $ref: '#/components/schemas/v1.CSIDriverList' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.CSINodeList' + $ref: '#/components/schemas/v1.CSIDriverList' application/cbor: schema: - $ref: '#/components/schemas/v1.CSINodeList' + $ref: '#/components/schemas/v1.CSIDriverList' application/json;stream=watch: schema: - $ref: '#/components/schemas/v1.CSINodeList' + $ref: '#/components/schemas/v1.CSIDriverList' application/vnd.kubernetes.protobuf;stream=watch: schema: - $ref: '#/components/schemas/v1.CSINodeList' + $ref: '#/components/schemas/v1.CSIDriverList' application/cbor-seq: schema: - $ref: '#/components/schemas/v1.CSINodeList' + $ref: '#/components/schemas/v1.CSIDriverList' description: OK "401": content: {} @@ -81622,7 +81854,7 @@ paths: x-kubernetes-action: list x-kubernetes-group-version-kind: group: storage.k8s.io - kind: CSINode + kind: CSIDriver version: v1 x-accepts: - application/cbor @@ -81633,8 +81865,8 @@ paths: - application/vnd.kubernetes.protobuf;stream=watch - application/yaml post: - description: create a CSINode - operationId: createCSINode + description: create a CSIDriver + operationId: createCSIDriver parameters: - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ @@ -81679,53 +81911,53 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.CSINode' + $ref: '#/components/schemas/v1.CSIDriver' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1.CSINode' + $ref: '#/components/schemas/v1.CSIDriver' application/yaml: schema: - $ref: '#/components/schemas/v1.CSINode' + $ref: '#/components/schemas/v1.CSIDriver' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.CSINode' + $ref: '#/components/schemas/v1.CSIDriver' application/cbor: schema: - $ref: '#/components/schemas/v1.CSINode' + $ref: '#/components/schemas/v1.CSIDriver' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1.CSINode' + $ref: '#/components/schemas/v1.CSIDriver' application/yaml: schema: - $ref: '#/components/schemas/v1.CSINode' + $ref: '#/components/schemas/v1.CSIDriver' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.CSINode' + $ref: '#/components/schemas/v1.CSIDriver' application/cbor: schema: - $ref: '#/components/schemas/v1.CSINode' + $ref: '#/components/schemas/v1.CSIDriver' description: Created "202": content: application/json: schema: - $ref: '#/components/schemas/v1.CSINode' + $ref: '#/components/schemas/v1.CSIDriver' application/yaml: schema: - $ref: '#/components/schemas/v1.CSINode' + $ref: '#/components/schemas/v1.CSIDriver' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.CSINode' + $ref: '#/components/schemas/v1.CSIDriver' application/cbor: schema: - $ref: '#/components/schemas/v1.CSINode' + $ref: '#/components/schemas/v1.CSIDriver' description: Accepted "401": content: {} @@ -81735,7 +81967,7 @@ paths: x-kubernetes-action: post x-kubernetes-group-version-kind: group: storage.k8s.io - kind: CSINode + kind: CSIDriver version: v1 x-codegen-request-body-name: body x-content-type: application/json @@ -81744,12 +81976,12 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/storage.k8s.io/v1/csinodes/{name}: + /apis/storage.k8s.io/v1/csidrivers/{name}: delete: - description: delete a CSINode - operationId: deleteCSINode + description: delete a CSIDriver + operationId: deleteCSIDriver parameters: - - description: name of the CSINode + - description: name of the CSIDriver in: path name: name required: true @@ -81824,31 +82056,31 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.CSINode' + $ref: '#/components/schemas/v1.CSIDriver' application/yaml: schema: - $ref: '#/components/schemas/v1.CSINode' + $ref: '#/components/schemas/v1.CSIDriver' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.CSINode' + $ref: '#/components/schemas/v1.CSIDriver' application/cbor: schema: - $ref: '#/components/schemas/v1.CSINode' + $ref: '#/components/schemas/v1.CSIDriver' description: OK "202": content: application/json: schema: - $ref: '#/components/schemas/v1.CSINode' + $ref: '#/components/schemas/v1.CSIDriver' application/yaml: schema: - $ref: '#/components/schemas/v1.CSINode' + $ref: '#/components/schemas/v1.CSIDriver' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.CSINode' + $ref: '#/components/schemas/v1.CSIDriver' application/cbor: schema: - $ref: '#/components/schemas/v1.CSINode' + $ref: '#/components/schemas/v1.CSIDriver' description: Accepted "401": content: {} @@ -81858,7 +82090,7 @@ paths: x-kubernetes-action: delete x-kubernetes-group-version-kind: group: storage.k8s.io - kind: CSINode + kind: CSIDriver version: v1 x-codegen-request-body-name: body x-content-type: application/json @@ -81868,10 +82100,10 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml get: - description: read the specified CSINode - operationId: readCSINode + description: read the specified CSIDriver + operationId: readCSIDriver parameters: - - description: name of the CSINode + - description: name of the CSIDriver in: path name: name required: true @@ -81889,16 +82121,16 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.CSINode' + $ref: '#/components/schemas/v1.CSIDriver' application/yaml: schema: - $ref: '#/components/schemas/v1.CSINode' + $ref: '#/components/schemas/v1.CSIDriver' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.CSINode' + $ref: '#/components/schemas/v1.CSIDriver' application/cbor: schema: - $ref: '#/components/schemas/v1.CSINode' + $ref: '#/components/schemas/v1.CSIDriver' description: OK "401": content: {} @@ -81908,7 +82140,7 @@ paths: x-kubernetes-action: get x-kubernetes-group-version-kind: group: storage.k8s.io - kind: CSINode + kind: CSIDriver version: v1 x-accepts: - application/cbor @@ -81916,10 +82148,10 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml patch: - description: partially update the specified CSINode - operationId: patchCSINode + description: partially update the specified CSIDriver + operationId: patchCSIDriver parameters: - - description: name of the CSINode + - description: name of the CSIDriver in: path name: name required: true @@ -81984,31 +82216,31 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.CSINode' + $ref: '#/components/schemas/v1.CSIDriver' application/yaml: schema: - $ref: '#/components/schemas/v1.CSINode' + $ref: '#/components/schemas/v1.CSIDriver' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.CSINode' + $ref: '#/components/schemas/v1.CSIDriver' application/cbor: schema: - $ref: '#/components/schemas/v1.CSINode' + $ref: '#/components/schemas/v1.CSIDriver' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1.CSINode' + $ref: '#/components/schemas/v1.CSIDriver' application/yaml: schema: - $ref: '#/components/schemas/v1.CSINode' + $ref: '#/components/schemas/v1.CSIDriver' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.CSINode' + $ref: '#/components/schemas/v1.CSIDriver' application/cbor: schema: - $ref: '#/components/schemas/v1.CSINode' + $ref: '#/components/schemas/v1.CSIDriver' description: Created "401": content: {} @@ -82018,7 +82250,7 @@ paths: x-kubernetes-action: patch x-kubernetes-group-version-kind: group: storage.k8s.io - kind: CSINode + kind: CSIDriver version: v1 x-codegen-request-body-name: body x-content-type: application/json @@ -82028,10 +82260,10 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml put: - description: replace the specified CSINode - operationId: replaceCSINode + description: replace the specified CSIDriver + operationId: replaceCSIDriver parameters: - - description: name of the CSINode + - description: name of the CSIDriver in: path name: name required: true @@ -82080,38 +82312,38 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.CSINode' + $ref: '#/components/schemas/v1.CSIDriver' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1.CSINode' + $ref: '#/components/schemas/v1.CSIDriver' application/yaml: schema: - $ref: '#/components/schemas/v1.CSINode' + $ref: '#/components/schemas/v1.CSIDriver' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.CSINode' + $ref: '#/components/schemas/v1.CSIDriver' application/cbor: schema: - $ref: '#/components/schemas/v1.CSINode' + $ref: '#/components/schemas/v1.CSIDriver' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1.CSINode' + $ref: '#/components/schemas/v1.CSIDriver' application/yaml: schema: - $ref: '#/components/schemas/v1.CSINode' + $ref: '#/components/schemas/v1.CSIDriver' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.CSINode' + $ref: '#/components/schemas/v1.CSIDriver' application/cbor: schema: - $ref: '#/components/schemas/v1.CSINode' + $ref: '#/components/schemas/v1.CSIDriver' description: Created "401": content: {} @@ -82121,7 +82353,7 @@ paths: x-kubernetes-action: put x-kubernetes-group-version-kind: group: storage.k8s.io - kind: CSINode + kind: CSIDriver version: v1 x-codegen-request-body-name: body x-content-type: application/json @@ -82130,156 +82362,11 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/storage.k8s.io/v1/csistoragecapacities: - get: - description: list or watch objects of kind CSIStorageCapacity - operationId: listCSIStorageCapacityForAllNamespaces - parameters: - - description: "allowWatchBookmarks requests watch events with type \"BOOKMARK\"\ - . Servers that do not implement bookmarks may ignore this flag and bookmarks\ - \ are sent at the server's discretion. Clients should not assume bookmarks\ - \ are returned at any specific interval, nor may they assume the server\ - \ will send any BOOKMARK event during a session. If this is not a watch,\ - \ this field is ignored." - in: query - name: allowWatchBookmarks - schema: - type: boolean - - description: |- - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". - - This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - in: query - name: continue - schema: - type: string - - description: A selector to restrict the list of returned objects by their - fields. Defaults to everything. - in: query - name: fieldSelector - schema: - type: string - - description: A selector to restrict the list of returned objects by their - labels. Defaults to everything. - in: query - name: labelSelector - schema: - type: string - - description: |- - limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. - - The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - in: query - name: limit - schema: - type: integer - - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ - \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ - \ and wget)." - in: query - name: pretty - schema: - type: string - - description: |- - resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. - - Defaults to unset - in: query - name: resourceVersion - schema: - type: string - - description: |- - resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. - - Defaults to unset - in: query - name: resourceVersionMatch - schema: - type: string - - description: |- - `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic "Bookmark" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. - - When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan - is interpreted as "data at least as new as the provided `resourceVersion`" - and the bookmark event is send when the state is synced - to a `resourceVersion` at least as fresh as the one provided by the ListOptions. - If `resourceVersion` is unset, this is interpreted as "consistent read" and the - bookmark event is send when the state is synced at least to the moment - when request started being processed. - - `resourceVersionMatch` set to any other value or unset - Invalid error is returned. - - Defaults to true if `resourceVersion=""` or `resourceVersion="0"` (for backward compatibility reasons) and to false otherwise. - in: query - name: sendInitialEvents - schema: - type: boolean - - description: "Timeout for the list/watch call. This limits the duration of\ - \ the call, regardless of any activity or inactivity." - in: query - name: timeoutSeconds - schema: - type: integer - - description: "Watch for changes to the described resources and return them\ - \ as a stream of add, update, and remove notifications. Specify resourceVersion." - in: query - name: watch - schema: - type: boolean - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/v1.CSIStorageCapacityList' - application/yaml: - schema: - $ref: '#/components/schemas/v1.CSIStorageCapacityList' - application/vnd.kubernetes.protobuf: - schema: - $ref: '#/components/schemas/v1.CSIStorageCapacityList' - application/cbor: - schema: - $ref: '#/components/schemas/v1.CSIStorageCapacityList' - application/json;stream=watch: - schema: - $ref: '#/components/schemas/v1.CSIStorageCapacityList' - application/vnd.kubernetes.protobuf;stream=watch: - schema: - $ref: '#/components/schemas/v1.CSIStorageCapacityList' - application/cbor-seq: - schema: - $ref: '#/components/schemas/v1.CSIStorageCapacityList' - description: OK - "401": - content: {} - description: Unauthorized - tags: - - storage_v1 - x-kubernetes-action: list - x-kubernetes-group-version-kind: - group: storage.k8s.io - kind: CSIStorageCapacity - version: v1 - x-accepts: - - application/cbor - - application/cbor-seq - - application/json - - application/json;stream=watch - - application/vnd.kubernetes.protobuf - - application/vnd.kubernetes.protobuf;stream=watch - - application/yaml - /apis/storage.k8s.io/v1/namespaces/{namespace}/csistoragecapacities: + /apis/storage.k8s.io/v1/csinodes: delete: - description: delete collection of CSIStorageCapacity - operationId: deleteCollectionNamespacedCSIStorageCapacity + description: delete collection of CSINode + operationId: deleteCollectionCSINode parameters: - - description: "object name and auth scope, such as for teams and projects" - in: path - name: namespace - required: true - schema: - type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -82436,7 +82523,7 @@ paths: x-kubernetes-action: deletecollection x-kubernetes-group-version-kind: group: storage.k8s.io - kind: CSIStorageCapacity + kind: CSINode version: v1 x-codegen-request-body-name: body x-content-type: application/json @@ -82446,15 +82533,9 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml get: - description: list or watch objects of kind CSIStorageCapacity - operationId: listNamespacedCSIStorageCapacity + description: list or watch objects of kind CSINode + operationId: listCSINode parameters: - - description: "object name and auth scope, such as for teams and projects" - in: path - name: namespace - required: true - schema: - type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -82551,25 +82632,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.CSIStorageCapacityList' + $ref: '#/components/schemas/v1.CSINodeList' application/yaml: schema: - $ref: '#/components/schemas/v1.CSIStorageCapacityList' + $ref: '#/components/schemas/v1.CSINodeList' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.CSIStorageCapacityList' + $ref: '#/components/schemas/v1.CSINodeList' application/cbor: schema: - $ref: '#/components/schemas/v1.CSIStorageCapacityList' + $ref: '#/components/schemas/v1.CSINodeList' application/json;stream=watch: schema: - $ref: '#/components/schemas/v1.CSIStorageCapacityList' + $ref: '#/components/schemas/v1.CSINodeList' application/vnd.kubernetes.protobuf;stream=watch: schema: - $ref: '#/components/schemas/v1.CSIStorageCapacityList' + $ref: '#/components/schemas/v1.CSINodeList' application/cbor-seq: schema: - $ref: '#/components/schemas/v1.CSIStorageCapacityList' + $ref: '#/components/schemas/v1.CSINodeList' description: OK "401": content: {} @@ -82579,7 +82660,7 @@ paths: x-kubernetes-action: list x-kubernetes-group-version-kind: group: storage.k8s.io - kind: CSIStorageCapacity + kind: CSINode version: v1 x-accepts: - application/cbor @@ -82590,15 +82671,9 @@ paths: - application/vnd.kubernetes.protobuf;stream=watch - application/yaml post: - description: create a CSIStorageCapacity - operationId: createNamespacedCSIStorageCapacity + description: create a CSINode + operationId: createCSINode parameters: - - description: "object name and auth scope, such as for teams and projects" - in: path - name: namespace - required: true - schema: - type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -82642,53 +82717,53 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.CSIStorageCapacity' + $ref: '#/components/schemas/v1.CSINode' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1.CSIStorageCapacity' + $ref: '#/components/schemas/v1.CSINode' application/yaml: schema: - $ref: '#/components/schemas/v1.CSIStorageCapacity' + $ref: '#/components/schemas/v1.CSINode' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.CSIStorageCapacity' + $ref: '#/components/schemas/v1.CSINode' application/cbor: schema: - $ref: '#/components/schemas/v1.CSIStorageCapacity' + $ref: '#/components/schemas/v1.CSINode' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1.CSIStorageCapacity' + $ref: '#/components/schemas/v1.CSINode' application/yaml: schema: - $ref: '#/components/schemas/v1.CSIStorageCapacity' + $ref: '#/components/schemas/v1.CSINode' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.CSIStorageCapacity' + $ref: '#/components/schemas/v1.CSINode' application/cbor: schema: - $ref: '#/components/schemas/v1.CSIStorageCapacity' + $ref: '#/components/schemas/v1.CSINode' description: Created "202": content: application/json: schema: - $ref: '#/components/schemas/v1.CSIStorageCapacity' + $ref: '#/components/schemas/v1.CSINode' application/yaml: schema: - $ref: '#/components/schemas/v1.CSIStorageCapacity' + $ref: '#/components/schemas/v1.CSINode' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.CSIStorageCapacity' + $ref: '#/components/schemas/v1.CSINode' application/cbor: schema: - $ref: '#/components/schemas/v1.CSIStorageCapacity' + $ref: '#/components/schemas/v1.CSINode' description: Accepted "401": content: {} @@ -82698,7 +82773,7 @@ paths: x-kubernetes-action: post x-kubernetes-group-version-kind: group: storage.k8s.io - kind: CSIStorageCapacity + kind: CSINode version: v1 x-codegen-request-body-name: body x-content-type: application/json @@ -82707,23 +82782,17 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/storage.k8s.io/v1/namespaces/{namespace}/csistoragecapacities/{name}: + /apis/storage.k8s.io/v1/csinodes/{name}: delete: - description: delete a CSIStorageCapacity - operationId: deleteNamespacedCSIStorageCapacity + description: delete a CSINode + operationId: deleteCSINode parameters: - - description: name of the CSIStorageCapacity + - description: name of the CSINode in: path name: name required: true schema: type: string - - description: "object name and auth scope, such as for teams and projects" - in: path - name: namespace - required: true - schema: - type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -82793,31 +82862,31 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.Status' + $ref: '#/components/schemas/v1.CSINode' application/yaml: schema: - $ref: '#/components/schemas/v1.Status' + $ref: '#/components/schemas/v1.CSINode' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.Status' + $ref: '#/components/schemas/v1.CSINode' application/cbor: schema: - $ref: '#/components/schemas/v1.Status' + $ref: '#/components/schemas/v1.CSINode' description: OK "202": content: application/json: schema: - $ref: '#/components/schemas/v1.Status' + $ref: '#/components/schemas/v1.CSINode' application/yaml: schema: - $ref: '#/components/schemas/v1.Status' + $ref: '#/components/schemas/v1.CSINode' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.Status' + $ref: '#/components/schemas/v1.CSINode' application/cbor: schema: - $ref: '#/components/schemas/v1.Status' + $ref: '#/components/schemas/v1.CSINode' description: Accepted "401": content: {} @@ -82827,7 +82896,7 @@ paths: x-kubernetes-action: delete x-kubernetes-group-version-kind: group: storage.k8s.io - kind: CSIStorageCapacity + kind: CSINode version: v1 x-codegen-request-body-name: body x-content-type: application/json @@ -82837,21 +82906,15 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml get: - description: read the specified CSIStorageCapacity - operationId: readNamespacedCSIStorageCapacity + description: read the specified CSINode + operationId: readCSINode parameters: - - description: name of the CSIStorageCapacity + - description: name of the CSINode in: path name: name required: true schema: type: string - - description: "object name and auth scope, such as for teams and projects" - in: path - name: namespace - required: true - schema: - type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -82864,16 +82927,16 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.CSIStorageCapacity' + $ref: '#/components/schemas/v1.CSINode' application/yaml: schema: - $ref: '#/components/schemas/v1.CSIStorageCapacity' + $ref: '#/components/schemas/v1.CSINode' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.CSIStorageCapacity' + $ref: '#/components/schemas/v1.CSINode' application/cbor: schema: - $ref: '#/components/schemas/v1.CSIStorageCapacity' + $ref: '#/components/schemas/v1.CSINode' description: OK "401": content: {} @@ -82883,7 +82946,7 @@ paths: x-kubernetes-action: get x-kubernetes-group-version-kind: group: storage.k8s.io - kind: CSIStorageCapacity + kind: CSINode version: v1 x-accepts: - application/cbor @@ -82891,21 +82954,15 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml patch: - description: partially update the specified CSIStorageCapacity - operationId: patchNamespacedCSIStorageCapacity + description: partially update the specified CSINode + operationId: patchCSINode parameters: - - description: name of the CSIStorageCapacity + - description: name of the CSINode in: path name: name required: true schema: type: string - - description: "object name and auth scope, such as for teams and projects" - in: path - name: namespace - required: true - schema: - type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -82965,31 +83022,31 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.CSIStorageCapacity' + $ref: '#/components/schemas/v1.CSINode' application/yaml: schema: - $ref: '#/components/schemas/v1.CSIStorageCapacity' + $ref: '#/components/schemas/v1.CSINode' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.CSIStorageCapacity' + $ref: '#/components/schemas/v1.CSINode' application/cbor: schema: - $ref: '#/components/schemas/v1.CSIStorageCapacity' + $ref: '#/components/schemas/v1.CSINode' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1.CSIStorageCapacity' + $ref: '#/components/schemas/v1.CSINode' application/yaml: schema: - $ref: '#/components/schemas/v1.CSIStorageCapacity' + $ref: '#/components/schemas/v1.CSINode' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.CSIStorageCapacity' + $ref: '#/components/schemas/v1.CSINode' application/cbor: schema: - $ref: '#/components/schemas/v1.CSIStorageCapacity' + $ref: '#/components/schemas/v1.CSINode' description: Created "401": content: {} @@ -82999,7 +83056,7 @@ paths: x-kubernetes-action: patch x-kubernetes-group-version-kind: group: storage.k8s.io - kind: CSIStorageCapacity + kind: CSINode version: v1 x-codegen-request-body-name: body x-content-type: application/json @@ -83009,21 +83066,15 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml put: - description: replace the specified CSIStorageCapacity - operationId: replaceNamespacedCSIStorageCapacity + description: replace the specified CSINode + operationId: replaceCSINode parameters: - - description: name of the CSIStorageCapacity + - description: name of the CSINode in: path name: name required: true schema: type: string - - description: "object name and auth scope, such as for teams and projects" - in: path - name: namespace - required: true - schema: - type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -83067,38 +83118,38 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.CSIStorageCapacity' + $ref: '#/components/schemas/v1.CSINode' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1.CSIStorageCapacity' + $ref: '#/components/schemas/v1.CSINode' application/yaml: schema: - $ref: '#/components/schemas/v1.CSIStorageCapacity' + $ref: '#/components/schemas/v1.CSINode' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.CSIStorageCapacity' + $ref: '#/components/schemas/v1.CSINode' application/cbor: schema: - $ref: '#/components/schemas/v1.CSIStorageCapacity' + $ref: '#/components/schemas/v1.CSINode' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1.CSIStorageCapacity' + $ref: '#/components/schemas/v1.CSINode' application/yaml: schema: - $ref: '#/components/schemas/v1.CSIStorageCapacity' + $ref: '#/components/schemas/v1.CSINode' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.CSIStorageCapacity' + $ref: '#/components/schemas/v1.CSINode' application/cbor: schema: - $ref: '#/components/schemas/v1.CSIStorageCapacity' + $ref: '#/components/schemas/v1.CSINode' description: Created "401": content: {} @@ -83108,7 +83159,7 @@ paths: x-kubernetes-action: put x-kubernetes-group-version-kind: group: storage.k8s.io - kind: CSIStorageCapacity + kind: CSINode version: v1 x-codegen-request-body-name: body x-content-type: application/json @@ -83117,11 +83168,156 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/storage.k8s.io/v1/storageclasses: + /apis/storage.k8s.io/v1/csistoragecapacities: + get: + description: list or watch objects of kind CSIStorageCapacity + operationId: listCSIStorageCapacityForAllNamespaces + parameters: + - description: "allowWatchBookmarks requests watch events with type \"BOOKMARK\"\ + . Servers that do not implement bookmarks may ignore this flag and bookmarks\ + \ are sent at the server's discretion. Clients should not assume bookmarks\ + \ are returned at any specific interval, nor may they assume the server\ + \ will send any BOOKMARK event during a session. If this is not a watch,\ + \ this field is ignored." + in: query + name: allowWatchBookmarks + schema: + type: boolean + - description: |- + The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + + This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + in: query + name: continue + schema: + type: string + - description: A selector to restrict the list of returned objects by their + fields. Defaults to everything. + in: query + name: fieldSelector + schema: + type: string + - description: A selector to restrict the list of returned objects by their + labels. Defaults to everything. + in: query + name: labelSelector + schema: + type: string + - description: |- + limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. + + The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + in: query + name: limit + schema: + type: integer + - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ + \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ + \ and wget)." + in: query + name: pretty + schema: + type: string + - description: |- + resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. + + Defaults to unset + in: query + name: resourceVersion + schema: + type: string + - description: |- + resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. + + Defaults to unset + in: query + name: resourceVersionMatch + schema: + type: string + - description: |- + `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic "Bookmark" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. + + When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan + is interpreted as "data at least as new as the provided `resourceVersion`" + and the bookmark event is send when the state is synced + to a `resourceVersion` at least as fresh as the one provided by the ListOptions. + If `resourceVersion` is unset, this is interpreted as "consistent read" and the + bookmark event is send when the state is synced at least to the moment + when request started being processed. + - `resourceVersionMatch` set to any other value or unset + Invalid error is returned. + + Defaults to true if `resourceVersion=""` or `resourceVersion="0"` (for backward compatibility reasons) and to false otherwise. + in: query + name: sendInitialEvents + schema: + type: boolean + - description: "Timeout for the list/watch call. This limits the duration of\ + \ the call, regardless of any activity or inactivity." + in: query + name: timeoutSeconds + schema: + type: integer + - description: "Watch for changes to the described resources and return them\ + \ as a stream of add, update, and remove notifications. Specify resourceVersion." + in: query + name: watch + schema: + type: boolean + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/v1.CSIStorageCapacityList' + application/yaml: + schema: + $ref: '#/components/schemas/v1.CSIStorageCapacityList' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1.CSIStorageCapacityList' + application/cbor: + schema: + $ref: '#/components/schemas/v1.CSIStorageCapacityList' + application/json;stream=watch: + schema: + $ref: '#/components/schemas/v1.CSIStorageCapacityList' + application/vnd.kubernetes.protobuf;stream=watch: + schema: + $ref: '#/components/schemas/v1.CSIStorageCapacityList' + application/cbor-seq: + schema: + $ref: '#/components/schemas/v1.CSIStorageCapacityList' + description: OK + "401": + content: {} + description: Unauthorized + tags: + - storage_v1 + x-kubernetes-action: list + x-kubernetes-group-version-kind: + group: storage.k8s.io + kind: CSIStorageCapacity + version: v1 + x-accepts: + - application/cbor + - application/cbor-seq + - application/json + - application/json;stream=watch + - application/vnd.kubernetes.protobuf + - application/vnd.kubernetes.protobuf;stream=watch + - application/yaml + /apis/storage.k8s.io/v1/namespaces/{namespace}/csistoragecapacities: delete: - description: delete collection of StorageClass - operationId: deleteCollectionStorageClass + description: delete collection of CSIStorageCapacity + operationId: deleteCollectionNamespacedCSIStorageCapacity parameters: + - description: "object name and auth scope, such as for teams and projects" + in: path + name: namespace + required: true + schema: + type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -83278,7 +83474,7 @@ paths: x-kubernetes-action: deletecollection x-kubernetes-group-version-kind: group: storage.k8s.io - kind: StorageClass + kind: CSIStorageCapacity version: v1 x-codegen-request-body-name: body x-content-type: application/json @@ -83288,9 +83484,15 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml get: - description: list or watch objects of kind StorageClass - operationId: listStorageClass + description: list or watch objects of kind CSIStorageCapacity + operationId: listNamespacedCSIStorageCapacity parameters: + - description: "object name and auth scope, such as for teams and projects" + in: path + name: namespace + required: true + schema: + type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -83387,25 +83589,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.StorageClassList' + $ref: '#/components/schemas/v1.CSIStorageCapacityList' application/yaml: schema: - $ref: '#/components/schemas/v1.StorageClassList' + $ref: '#/components/schemas/v1.CSIStorageCapacityList' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.StorageClassList' + $ref: '#/components/schemas/v1.CSIStorageCapacityList' application/cbor: schema: - $ref: '#/components/schemas/v1.StorageClassList' + $ref: '#/components/schemas/v1.CSIStorageCapacityList' application/json;stream=watch: schema: - $ref: '#/components/schemas/v1.StorageClassList' + $ref: '#/components/schemas/v1.CSIStorageCapacityList' application/vnd.kubernetes.protobuf;stream=watch: schema: - $ref: '#/components/schemas/v1.StorageClassList' + $ref: '#/components/schemas/v1.CSIStorageCapacityList' application/cbor-seq: schema: - $ref: '#/components/schemas/v1.StorageClassList' + $ref: '#/components/schemas/v1.CSIStorageCapacityList' description: OK "401": content: {} @@ -83415,7 +83617,7 @@ paths: x-kubernetes-action: list x-kubernetes-group-version-kind: group: storage.k8s.io - kind: StorageClass + kind: CSIStorageCapacity version: v1 x-accepts: - application/cbor @@ -83426,9 +83628,15 @@ paths: - application/vnd.kubernetes.protobuf;stream=watch - application/yaml post: - description: create a StorageClass - operationId: createStorageClass + description: create a CSIStorageCapacity + operationId: createNamespacedCSIStorageCapacity parameters: + - description: "object name and auth scope, such as for teams and projects" + in: path + name: namespace + required: true + schema: + type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -83472,53 +83680,53 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.StorageClass' + $ref: '#/components/schemas/v1.CSIStorageCapacity' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1.StorageClass' + $ref: '#/components/schemas/v1.CSIStorageCapacity' application/yaml: schema: - $ref: '#/components/schemas/v1.StorageClass' + $ref: '#/components/schemas/v1.CSIStorageCapacity' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.StorageClass' + $ref: '#/components/schemas/v1.CSIStorageCapacity' application/cbor: schema: - $ref: '#/components/schemas/v1.StorageClass' + $ref: '#/components/schemas/v1.CSIStorageCapacity' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1.StorageClass' + $ref: '#/components/schemas/v1.CSIStorageCapacity' application/yaml: schema: - $ref: '#/components/schemas/v1.StorageClass' + $ref: '#/components/schemas/v1.CSIStorageCapacity' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.StorageClass' + $ref: '#/components/schemas/v1.CSIStorageCapacity' application/cbor: schema: - $ref: '#/components/schemas/v1.StorageClass' + $ref: '#/components/schemas/v1.CSIStorageCapacity' description: Created "202": content: application/json: schema: - $ref: '#/components/schemas/v1.StorageClass' + $ref: '#/components/schemas/v1.CSIStorageCapacity' application/yaml: schema: - $ref: '#/components/schemas/v1.StorageClass' + $ref: '#/components/schemas/v1.CSIStorageCapacity' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.StorageClass' + $ref: '#/components/schemas/v1.CSIStorageCapacity' application/cbor: schema: - $ref: '#/components/schemas/v1.StorageClass' + $ref: '#/components/schemas/v1.CSIStorageCapacity' description: Accepted "401": content: {} @@ -83528,7 +83736,7 @@ paths: x-kubernetes-action: post x-kubernetes-group-version-kind: group: storage.k8s.io - kind: StorageClass + kind: CSIStorageCapacity version: v1 x-codegen-request-body-name: body x-content-type: application/json @@ -83537,17 +83745,23 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/storage.k8s.io/v1/storageclasses/{name}: + /apis/storage.k8s.io/v1/namespaces/{namespace}/csistoragecapacities/{name}: delete: - description: delete a StorageClass - operationId: deleteStorageClass + description: delete a CSIStorageCapacity + operationId: deleteNamespacedCSIStorageCapacity parameters: - - description: name of the StorageClass + - description: name of the CSIStorageCapacity in: path name: name required: true schema: type: string + - description: "object name and auth scope, such as for teams and projects" + in: path + name: namespace + required: true + schema: + type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -83617,31 +83831,31 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.StorageClass' + $ref: '#/components/schemas/v1.Status' application/yaml: schema: - $ref: '#/components/schemas/v1.StorageClass' + $ref: '#/components/schemas/v1.Status' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.StorageClass' + $ref: '#/components/schemas/v1.Status' application/cbor: schema: - $ref: '#/components/schemas/v1.StorageClass' + $ref: '#/components/schemas/v1.Status' description: OK "202": content: application/json: schema: - $ref: '#/components/schemas/v1.StorageClass' + $ref: '#/components/schemas/v1.Status' application/yaml: schema: - $ref: '#/components/schemas/v1.StorageClass' + $ref: '#/components/schemas/v1.Status' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.StorageClass' + $ref: '#/components/schemas/v1.Status' application/cbor: schema: - $ref: '#/components/schemas/v1.StorageClass' + $ref: '#/components/schemas/v1.Status' description: Accepted "401": content: {} @@ -83651,7 +83865,7 @@ paths: x-kubernetes-action: delete x-kubernetes-group-version-kind: group: storage.k8s.io - kind: StorageClass + kind: CSIStorageCapacity version: v1 x-codegen-request-body-name: body x-content-type: application/json @@ -83661,15 +83875,21 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml get: - description: read the specified StorageClass - operationId: readStorageClass + description: read the specified CSIStorageCapacity + operationId: readNamespacedCSIStorageCapacity parameters: - - description: name of the StorageClass + - description: name of the CSIStorageCapacity in: path name: name required: true schema: type: string + - description: "object name and auth scope, such as for teams and projects" + in: path + name: namespace + required: true + schema: + type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -83682,16 +83902,16 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.StorageClass' + $ref: '#/components/schemas/v1.CSIStorageCapacity' application/yaml: schema: - $ref: '#/components/schemas/v1.StorageClass' + $ref: '#/components/schemas/v1.CSIStorageCapacity' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.StorageClass' + $ref: '#/components/schemas/v1.CSIStorageCapacity' application/cbor: schema: - $ref: '#/components/schemas/v1.StorageClass' + $ref: '#/components/schemas/v1.CSIStorageCapacity' description: OK "401": content: {} @@ -83701,7 +83921,7 @@ paths: x-kubernetes-action: get x-kubernetes-group-version-kind: group: storage.k8s.io - kind: StorageClass + kind: CSIStorageCapacity version: v1 x-accepts: - application/cbor @@ -83709,15 +83929,21 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml patch: - description: partially update the specified StorageClass - operationId: patchStorageClass + description: partially update the specified CSIStorageCapacity + operationId: patchNamespacedCSIStorageCapacity parameters: - - description: name of the StorageClass + - description: name of the CSIStorageCapacity in: path name: name required: true schema: type: string + - description: "object name and auth scope, such as for teams and projects" + in: path + name: namespace + required: true + schema: + type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -83777,31 +84003,31 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.StorageClass' + $ref: '#/components/schemas/v1.CSIStorageCapacity' application/yaml: schema: - $ref: '#/components/schemas/v1.StorageClass' + $ref: '#/components/schemas/v1.CSIStorageCapacity' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.StorageClass' + $ref: '#/components/schemas/v1.CSIStorageCapacity' application/cbor: schema: - $ref: '#/components/schemas/v1.StorageClass' + $ref: '#/components/schemas/v1.CSIStorageCapacity' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1.StorageClass' + $ref: '#/components/schemas/v1.CSIStorageCapacity' application/yaml: schema: - $ref: '#/components/schemas/v1.StorageClass' + $ref: '#/components/schemas/v1.CSIStorageCapacity' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.StorageClass' + $ref: '#/components/schemas/v1.CSIStorageCapacity' application/cbor: schema: - $ref: '#/components/schemas/v1.StorageClass' + $ref: '#/components/schemas/v1.CSIStorageCapacity' description: Created "401": content: {} @@ -83811,7 +84037,7 @@ paths: x-kubernetes-action: patch x-kubernetes-group-version-kind: group: storage.k8s.io - kind: StorageClass + kind: CSIStorageCapacity version: v1 x-codegen-request-body-name: body x-content-type: application/json @@ -83821,15 +84047,21 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml put: - description: replace the specified StorageClass - operationId: replaceStorageClass + description: replace the specified CSIStorageCapacity + operationId: replaceNamespacedCSIStorageCapacity parameters: - - description: name of the StorageClass + - description: name of the CSIStorageCapacity in: path name: name required: true schema: type: string + - description: "object name and auth scope, such as for teams and projects" + in: path + name: namespace + required: true + schema: + type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -83873,38 +84105,38 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.StorageClass' + $ref: '#/components/schemas/v1.CSIStorageCapacity' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1.StorageClass' + $ref: '#/components/schemas/v1.CSIStorageCapacity' application/yaml: schema: - $ref: '#/components/schemas/v1.StorageClass' + $ref: '#/components/schemas/v1.CSIStorageCapacity' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.StorageClass' + $ref: '#/components/schemas/v1.CSIStorageCapacity' application/cbor: schema: - $ref: '#/components/schemas/v1.StorageClass' + $ref: '#/components/schemas/v1.CSIStorageCapacity' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1.StorageClass' + $ref: '#/components/schemas/v1.CSIStorageCapacity' application/yaml: schema: - $ref: '#/components/schemas/v1.StorageClass' + $ref: '#/components/schemas/v1.CSIStorageCapacity' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.StorageClass' + $ref: '#/components/schemas/v1.CSIStorageCapacity' application/cbor: schema: - $ref: '#/components/schemas/v1.StorageClass' + $ref: '#/components/schemas/v1.CSIStorageCapacity' description: Created "401": content: {} @@ -83914,7 +84146,7 @@ paths: x-kubernetes-action: put x-kubernetes-group-version-kind: group: storage.k8s.io - kind: StorageClass + kind: CSIStorageCapacity version: v1 x-codegen-request-body-name: body x-content-type: application/json @@ -83923,10 +84155,10 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/storage.k8s.io/v1/volumeattachments: + /apis/storage.k8s.io/v1/storageclasses: delete: - description: delete collection of VolumeAttachment - operationId: deleteCollectionVolumeAttachment + description: delete collection of StorageClass + operationId: deleteCollectionStorageClass parameters: - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ @@ -84084,7 +84316,7 @@ paths: x-kubernetes-action: deletecollection x-kubernetes-group-version-kind: group: storage.k8s.io - kind: VolumeAttachment + kind: StorageClass version: v1 x-codegen-request-body-name: body x-content-type: application/json @@ -84094,8 +84326,8 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml get: - description: list or watch objects of kind VolumeAttachment - operationId: listVolumeAttachment + description: list or watch objects of kind StorageClass + operationId: listStorageClass parameters: - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ @@ -84193,25 +84425,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.VolumeAttachmentList' + $ref: '#/components/schemas/v1.StorageClassList' application/yaml: schema: - $ref: '#/components/schemas/v1.VolumeAttachmentList' + $ref: '#/components/schemas/v1.StorageClassList' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.VolumeAttachmentList' + $ref: '#/components/schemas/v1.StorageClassList' application/cbor: schema: - $ref: '#/components/schemas/v1.VolumeAttachmentList' + $ref: '#/components/schemas/v1.StorageClassList' application/json;stream=watch: schema: - $ref: '#/components/schemas/v1.VolumeAttachmentList' + $ref: '#/components/schemas/v1.StorageClassList' application/vnd.kubernetes.protobuf;stream=watch: schema: - $ref: '#/components/schemas/v1.VolumeAttachmentList' + $ref: '#/components/schemas/v1.StorageClassList' application/cbor-seq: schema: - $ref: '#/components/schemas/v1.VolumeAttachmentList' + $ref: '#/components/schemas/v1.StorageClassList' description: OK "401": content: {} @@ -84221,7 +84453,7 @@ paths: x-kubernetes-action: list x-kubernetes-group-version-kind: group: storage.k8s.io - kind: VolumeAttachment + kind: StorageClass version: v1 x-accepts: - application/cbor @@ -84232,8 +84464,8 @@ paths: - application/vnd.kubernetes.protobuf;stream=watch - application/yaml post: - description: create a VolumeAttachment - operationId: createVolumeAttachment + description: create a StorageClass + operationId: createStorageClass parameters: - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ @@ -84278,53 +84510,53 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.VolumeAttachment' + $ref: '#/components/schemas/v1.StorageClass' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1.VolumeAttachment' + $ref: '#/components/schemas/v1.StorageClass' application/yaml: schema: - $ref: '#/components/schemas/v1.VolumeAttachment' + $ref: '#/components/schemas/v1.StorageClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.VolumeAttachment' + $ref: '#/components/schemas/v1.StorageClass' application/cbor: schema: - $ref: '#/components/schemas/v1.VolumeAttachment' + $ref: '#/components/schemas/v1.StorageClass' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1.VolumeAttachment' + $ref: '#/components/schemas/v1.StorageClass' application/yaml: schema: - $ref: '#/components/schemas/v1.VolumeAttachment' + $ref: '#/components/schemas/v1.StorageClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.VolumeAttachment' + $ref: '#/components/schemas/v1.StorageClass' application/cbor: schema: - $ref: '#/components/schemas/v1.VolumeAttachment' + $ref: '#/components/schemas/v1.StorageClass' description: Created "202": content: application/json: schema: - $ref: '#/components/schemas/v1.VolumeAttachment' + $ref: '#/components/schemas/v1.StorageClass' application/yaml: schema: - $ref: '#/components/schemas/v1.VolumeAttachment' + $ref: '#/components/schemas/v1.StorageClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.VolumeAttachment' + $ref: '#/components/schemas/v1.StorageClass' application/cbor: schema: - $ref: '#/components/schemas/v1.VolumeAttachment' + $ref: '#/components/schemas/v1.StorageClass' description: Accepted "401": content: {} @@ -84334,7 +84566,7 @@ paths: x-kubernetes-action: post x-kubernetes-group-version-kind: group: storage.k8s.io - kind: VolumeAttachment + kind: StorageClass version: v1 x-codegen-request-body-name: body x-content-type: application/json @@ -84343,12 +84575,12 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/storage.k8s.io/v1/volumeattachments/{name}: + /apis/storage.k8s.io/v1/storageclasses/{name}: delete: - description: delete a VolumeAttachment - operationId: deleteVolumeAttachment + description: delete a StorageClass + operationId: deleteStorageClass parameters: - - description: name of the VolumeAttachment + - description: name of the StorageClass in: path name: name required: true @@ -84423,31 +84655,31 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.VolumeAttachment' + $ref: '#/components/schemas/v1.StorageClass' application/yaml: schema: - $ref: '#/components/schemas/v1.VolumeAttachment' + $ref: '#/components/schemas/v1.StorageClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.VolumeAttachment' + $ref: '#/components/schemas/v1.StorageClass' application/cbor: schema: - $ref: '#/components/schemas/v1.VolumeAttachment' + $ref: '#/components/schemas/v1.StorageClass' description: OK "202": content: application/json: schema: - $ref: '#/components/schemas/v1.VolumeAttachment' + $ref: '#/components/schemas/v1.StorageClass' application/yaml: schema: - $ref: '#/components/schemas/v1.VolumeAttachment' + $ref: '#/components/schemas/v1.StorageClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.VolumeAttachment' + $ref: '#/components/schemas/v1.StorageClass' application/cbor: schema: - $ref: '#/components/schemas/v1.VolumeAttachment' + $ref: '#/components/schemas/v1.StorageClass' description: Accepted "401": content: {} @@ -84457,7 +84689,7 @@ paths: x-kubernetes-action: delete x-kubernetes-group-version-kind: group: storage.k8s.io - kind: VolumeAttachment + kind: StorageClass version: v1 x-codegen-request-body-name: body x-content-type: application/json @@ -84467,10 +84699,10 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml get: - description: read the specified VolumeAttachment - operationId: readVolumeAttachment + description: read the specified StorageClass + operationId: readStorageClass parameters: - - description: name of the VolumeAttachment + - description: name of the StorageClass in: path name: name required: true @@ -84488,16 +84720,16 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.VolumeAttachment' + $ref: '#/components/schemas/v1.StorageClass' application/yaml: schema: - $ref: '#/components/schemas/v1.VolumeAttachment' + $ref: '#/components/schemas/v1.StorageClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.VolumeAttachment' + $ref: '#/components/schemas/v1.StorageClass' application/cbor: schema: - $ref: '#/components/schemas/v1.VolumeAttachment' + $ref: '#/components/schemas/v1.StorageClass' description: OK "401": content: {} @@ -84507,7 +84739,7 @@ paths: x-kubernetes-action: get x-kubernetes-group-version-kind: group: storage.k8s.io - kind: VolumeAttachment + kind: StorageClass version: v1 x-accepts: - application/cbor @@ -84515,10 +84747,10 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml patch: - description: partially update the specified VolumeAttachment - operationId: patchVolumeAttachment + description: partially update the specified StorageClass + operationId: patchStorageClass parameters: - - description: name of the VolumeAttachment + - description: name of the StorageClass in: path name: name required: true @@ -84583,295 +84815,31 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.VolumeAttachment' - application/yaml: - schema: - $ref: '#/components/schemas/v1.VolumeAttachment' - application/vnd.kubernetes.protobuf: - schema: - $ref: '#/components/schemas/v1.VolumeAttachment' - application/cbor: - schema: - $ref: '#/components/schemas/v1.VolumeAttachment' - description: OK - "201": - content: - application/json: - schema: - $ref: '#/components/schemas/v1.VolumeAttachment' - application/yaml: - schema: - $ref: '#/components/schemas/v1.VolumeAttachment' - application/vnd.kubernetes.protobuf: - schema: - $ref: '#/components/schemas/v1.VolumeAttachment' - application/cbor: - schema: - $ref: '#/components/schemas/v1.VolumeAttachment' - description: Created - "401": - content: {} - description: Unauthorized - tags: - - storage_v1 - x-kubernetes-action: patch - x-kubernetes-group-version-kind: - group: storage.k8s.io - kind: VolumeAttachment - version: v1 - x-codegen-request-body-name: body - x-content-type: application/json - x-accepts: - - application/cbor - - application/json - - application/vnd.kubernetes.protobuf - - application/yaml - put: - description: replace the specified VolumeAttachment - operationId: replaceVolumeAttachment - parameters: - - description: name of the VolumeAttachment - in: path - name: name - required: true - schema: - type: string - - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ - \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ - \ and wget)." - in: query - name: pretty - schema: - type: string - - description: "When present, indicates that modifications should not be persisted.\ - \ An invalid or unrecognized dryRun directive will result in an error response\ - \ and no further processing of the request. Valid values are: - All: all\ - \ dry run stages will be processed" - in: query - name: dryRun - schema: - type: string - - description: "fieldManager is a name associated with the actor or entity that\ - \ is making these changes. The value must be less than or 128 characters\ - \ long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint." - in: query - name: fieldManager - schema: - type: string - - description: "fieldValidation instructs the server on how to handle objects\ - \ in the request (POST/PUT/PATCH) containing unknown or duplicate fields.\ - \ Valid values are: - Ignore: This will ignore any unknown fields that are\ - \ silently dropped from the object, and will ignore all but the last duplicate\ - \ field that the decoder encounters. This is the default behavior prior\ - \ to v1.23. - Warn: This will send a warning via the standard warning response\ - \ header for each unknown field that is dropped from the object, and for\ - \ each duplicate field that is encountered. The request will still succeed\ - \ if there are no other errors, and will only persist the last of any duplicate\ - \ fields. This is the default in v1.23+ - Strict: This will fail the request\ - \ with a BadRequest error if any unknown fields would be dropped from the\ - \ object, or if any duplicate fields are present. The error returned from\ - \ the server will contain all unknown and duplicate fields encountered." - in: query - name: fieldValidation - schema: - type: string - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/v1.VolumeAttachment' - required: true - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/v1.VolumeAttachment' - application/yaml: - schema: - $ref: '#/components/schemas/v1.VolumeAttachment' - application/vnd.kubernetes.protobuf: - schema: - $ref: '#/components/schemas/v1.VolumeAttachment' - application/cbor: - schema: - $ref: '#/components/schemas/v1.VolumeAttachment' - description: OK - "201": - content: - application/json: - schema: - $ref: '#/components/schemas/v1.VolumeAttachment' - application/yaml: - schema: - $ref: '#/components/schemas/v1.VolumeAttachment' - application/vnd.kubernetes.protobuf: - schema: - $ref: '#/components/schemas/v1.VolumeAttachment' - application/cbor: - schema: - $ref: '#/components/schemas/v1.VolumeAttachment' - description: Created - "401": - content: {} - description: Unauthorized - tags: - - storage_v1 - x-kubernetes-action: put - x-kubernetes-group-version-kind: - group: storage.k8s.io - kind: VolumeAttachment - version: v1 - x-codegen-request-body-name: body - x-content-type: application/json - x-accepts: - - application/cbor - - application/json - - application/vnd.kubernetes.protobuf - - application/yaml - /apis/storage.k8s.io/v1/volumeattachments/{name}/status: - get: - description: read status of the specified VolumeAttachment - operationId: readVolumeAttachmentStatus - parameters: - - description: name of the VolumeAttachment - in: path - name: name - required: true - schema: - type: string - - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ - \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ - \ and wget)." - in: query - name: pretty - schema: - type: string - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/v1.VolumeAttachment' - application/yaml: - schema: - $ref: '#/components/schemas/v1.VolumeAttachment' - application/vnd.kubernetes.protobuf: - schema: - $ref: '#/components/schemas/v1.VolumeAttachment' - application/cbor: - schema: - $ref: '#/components/schemas/v1.VolumeAttachment' - description: OK - "401": - content: {} - description: Unauthorized - tags: - - storage_v1 - x-kubernetes-action: get - x-kubernetes-group-version-kind: - group: storage.k8s.io - kind: VolumeAttachment - version: v1 - x-accepts: - - application/cbor - - application/json - - application/vnd.kubernetes.protobuf - - application/yaml - patch: - description: partially update status of the specified VolumeAttachment - operationId: patchVolumeAttachmentStatus - parameters: - - description: name of the VolumeAttachment - in: path - name: name - required: true - schema: - type: string - - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ - \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ - \ and wget)." - in: query - name: pretty - schema: - type: string - - description: "When present, indicates that modifications should not be persisted.\ - \ An invalid or unrecognized dryRun directive will result in an error response\ - \ and no further processing of the request. Valid values are: - All: all\ - \ dry run stages will be processed" - in: query - name: dryRun - schema: - type: string - - description: "fieldManager is a name associated with the actor or entity that\ - \ is making these changes. The value must be less than or 128 characters\ - \ long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.\ - \ This field is required for apply requests (application/apply-patch) but\ - \ optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch)." - in: query - name: fieldManager - schema: - type: string - - description: "fieldValidation instructs the server on how to handle objects\ - \ in the request (POST/PUT/PATCH) containing unknown or duplicate fields.\ - \ Valid values are: - Ignore: This will ignore any unknown fields that are\ - \ silently dropped from the object, and will ignore all but the last duplicate\ - \ field that the decoder encounters. This is the default behavior prior\ - \ to v1.23. - Warn: This will send a warning via the standard warning response\ - \ header for each unknown field that is dropped from the object, and for\ - \ each duplicate field that is encountered. The request will still succeed\ - \ if there are no other errors, and will only persist the last of any duplicate\ - \ fields. This is the default in v1.23+ - Strict: This will fail the request\ - \ with a BadRequest error if any unknown fields would be dropped from the\ - \ object, or if any duplicate fields are present. The error returned from\ - \ the server will contain all unknown and duplicate fields encountered." - in: query - name: fieldValidation - schema: - type: string - - description: Force is going to "force" Apply requests. It means user will - re-acquire conflicting fields owned by other people. Force flag must be - unset for non-apply patch requests. - in: query - name: force - schema: - type: boolean - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/v1.Patch' - required: true - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/v1.VolumeAttachment' + $ref: '#/components/schemas/v1.StorageClass' application/yaml: schema: - $ref: '#/components/schemas/v1.VolumeAttachment' + $ref: '#/components/schemas/v1.StorageClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.VolumeAttachment' + $ref: '#/components/schemas/v1.StorageClass' application/cbor: schema: - $ref: '#/components/schemas/v1.VolumeAttachment' + $ref: '#/components/schemas/v1.StorageClass' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1.VolumeAttachment' + $ref: '#/components/schemas/v1.StorageClass' application/yaml: schema: - $ref: '#/components/schemas/v1.VolumeAttachment' + $ref: '#/components/schemas/v1.StorageClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.VolumeAttachment' + $ref: '#/components/schemas/v1.StorageClass' application/cbor: schema: - $ref: '#/components/schemas/v1.VolumeAttachment' + $ref: '#/components/schemas/v1.StorageClass' description: Created "401": content: {} @@ -84881,7 +84849,7 @@ paths: x-kubernetes-action: patch x-kubernetes-group-version-kind: group: storage.k8s.io - kind: VolumeAttachment + kind: StorageClass version: v1 x-codegen-request-body-name: body x-content-type: application/json @@ -84891,10 +84859,10 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml put: - description: replace status of the specified VolumeAttachment - operationId: replaceVolumeAttachmentStatus + description: replace the specified StorageClass + operationId: replaceStorageClass parameters: - - description: name of the VolumeAttachment + - description: name of the StorageClass in: path name: name required: true @@ -84943,38 +84911,38 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.VolumeAttachment' + $ref: '#/components/schemas/v1.StorageClass' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1.VolumeAttachment' + $ref: '#/components/schemas/v1.StorageClass' application/yaml: schema: - $ref: '#/components/schemas/v1.VolumeAttachment' + $ref: '#/components/schemas/v1.StorageClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.VolumeAttachment' + $ref: '#/components/schemas/v1.StorageClass' application/cbor: schema: - $ref: '#/components/schemas/v1.VolumeAttachment' + $ref: '#/components/schemas/v1.StorageClass' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1.VolumeAttachment' + $ref: '#/components/schemas/v1.StorageClass' application/yaml: schema: - $ref: '#/components/schemas/v1.VolumeAttachment' + $ref: '#/components/schemas/v1.StorageClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.VolumeAttachment' + $ref: '#/components/schemas/v1.StorageClass' application/cbor: schema: - $ref: '#/components/schemas/v1.VolumeAttachment' + $ref: '#/components/schemas/v1.StorageClass' description: Created "401": content: {} @@ -84984,7 +84952,7 @@ paths: x-kubernetes-action: put x-kubernetes-group-version-kind: group: storage.k8s.io - kind: VolumeAttachment + kind: StorageClass version: v1 x-codegen-request-body-name: body x-content-type: application/json @@ -84993,51 +84961,10 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/storage.k8s.io/v1/watch/csidrivers: {} - /apis/storage.k8s.io/v1/watch/csidrivers/{name}: {} - /apis/storage.k8s.io/v1/watch/csinodes: {} - /apis/storage.k8s.io/v1/watch/csinodes/{name}: {} - /apis/storage.k8s.io/v1/watch/csistoragecapacities: {} - /apis/storage.k8s.io/v1/watch/namespaces/{namespace}/csistoragecapacities: {} - /apis/storage.k8s.io/v1/watch/namespaces/{namespace}/csistoragecapacities/{name}: {} - /apis/storage.k8s.io/v1/watch/storageclasses: {} - /apis/storage.k8s.io/v1/watch/storageclasses/{name}: {} - /apis/storage.k8s.io/v1/watch/volumeattachments: {} - /apis/storage.k8s.io/v1/watch/volumeattachments/{name}: {} - /apis/storage.k8s.io/v1alpha1/: - get: - description: get available resources - operationId: getAPIResources - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/v1.APIResourceList' - application/yaml: - schema: - $ref: '#/components/schemas/v1.APIResourceList' - application/vnd.kubernetes.protobuf: - schema: - $ref: '#/components/schemas/v1.APIResourceList' - application/cbor: - schema: - $ref: '#/components/schemas/v1.APIResourceList' - description: OK - "401": - content: {} - description: Unauthorized - tags: - - storage_v1alpha1 - x-accepts: - - application/cbor - - application/json - - application/vnd.kubernetes.protobuf - - application/yaml - /apis/storage.k8s.io/v1alpha1/volumeattributesclasses: + /apis/storage.k8s.io/v1/volumeattachments: delete: - description: delete collection of VolumeAttributesClass - operationId: deleteCollectionVolumeAttributesClass + description: delete collection of VolumeAttachment + operationId: deleteCollectionVolumeAttachment parameters: - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ @@ -85191,12 +85118,12 @@ paths: content: {} description: Unauthorized tags: - - storage_v1alpha1 + - storage_v1 x-kubernetes-action: deletecollection x-kubernetes-group-version-kind: group: storage.k8s.io - kind: VolumeAttributesClass - version: v1alpha1 + kind: VolumeAttachment + version: v1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -85205,8 +85132,8 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml get: - description: list or watch objects of kind VolumeAttributesClass - operationId: listVolumeAttributesClass + description: list or watch objects of kind VolumeAttachment + operationId: listVolumeAttachment parameters: - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ @@ -85304,36 +85231,36 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1alpha1.VolumeAttributesClassList' + $ref: '#/components/schemas/v1.VolumeAttachmentList' application/yaml: schema: - $ref: '#/components/schemas/v1alpha1.VolumeAttributesClassList' + $ref: '#/components/schemas/v1.VolumeAttachmentList' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha1.VolumeAttributesClassList' + $ref: '#/components/schemas/v1.VolumeAttachmentList' application/cbor: schema: - $ref: '#/components/schemas/v1alpha1.VolumeAttributesClassList' + $ref: '#/components/schemas/v1.VolumeAttachmentList' application/json;stream=watch: schema: - $ref: '#/components/schemas/v1alpha1.VolumeAttributesClassList' + $ref: '#/components/schemas/v1.VolumeAttachmentList' application/vnd.kubernetes.protobuf;stream=watch: schema: - $ref: '#/components/schemas/v1alpha1.VolumeAttributesClassList' + $ref: '#/components/schemas/v1.VolumeAttachmentList' application/cbor-seq: schema: - $ref: '#/components/schemas/v1alpha1.VolumeAttributesClassList' + $ref: '#/components/schemas/v1.VolumeAttachmentList' description: OK "401": content: {} description: Unauthorized tags: - - storage_v1alpha1 + - storage_v1 x-kubernetes-action: list x-kubernetes-group-version-kind: group: storage.k8s.io - kind: VolumeAttributesClass - version: v1alpha1 + kind: VolumeAttachment + version: v1 x-accepts: - application/cbor - application/cbor-seq @@ -85343,8 +85270,8 @@ paths: - application/vnd.kubernetes.protobuf;stream=watch - application/yaml post: - description: create a VolumeAttributesClass - operationId: createVolumeAttributesClass + description: create a VolumeAttachment + operationId: createVolumeAttachment parameters: - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ @@ -85389,64 +85316,64 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttachment' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttachment' application/yaml: schema: - $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttachment' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttachment' application/cbor: schema: - $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttachment' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttachment' application/yaml: schema: - $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttachment' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttachment' application/cbor: schema: - $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttachment' description: Created "202": content: application/json: schema: - $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttachment' application/yaml: schema: - $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttachment' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttachment' application/cbor: schema: - $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttachment' description: Accepted "401": content: {} description: Unauthorized tags: - - storage_v1alpha1 + - storage_v1 x-kubernetes-action: post x-kubernetes-group-version-kind: group: storage.k8s.io - kind: VolumeAttributesClass - version: v1alpha1 + kind: VolumeAttachment + version: v1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -85454,12 +85381,12 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/storage.k8s.io/v1alpha1/volumeattributesclasses/{name}: + /apis/storage.k8s.io/v1/volumeattachments/{name}: delete: - description: delete a VolumeAttributesClass - operationId: deleteVolumeAttributesClass + description: delete a VolumeAttachment + operationId: deleteVolumeAttachment parameters: - - description: name of the VolumeAttributesClass + - description: name of the VolumeAttachment in: path name: name required: true @@ -85534,42 +85461,42 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttachment' application/yaml: schema: - $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttachment' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttachment' application/cbor: schema: - $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttachment' description: OK "202": content: application/json: schema: - $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttachment' application/yaml: schema: - $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttachment' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttachment' application/cbor: schema: - $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttachment' description: Accepted "401": content: {} description: Unauthorized tags: - - storage_v1alpha1 + - storage_v1 x-kubernetes-action: delete x-kubernetes-group-version-kind: group: storage.k8s.io - kind: VolumeAttributesClass - version: v1alpha1 + kind: VolumeAttachment + version: v1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -85578,10 +85505,10 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml get: - description: read the specified VolumeAttributesClass - operationId: readVolumeAttributesClass + description: read the specified VolumeAttachment + operationId: readVolumeAttachment parameters: - - description: name of the VolumeAttributesClass + - description: name of the VolumeAttachment in: path name: name required: true @@ -85599,37 +85526,37 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttachment' application/yaml: schema: - $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttachment' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttachment' application/cbor: schema: - $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttachment' description: OK "401": content: {} description: Unauthorized tags: - - storage_v1alpha1 + - storage_v1 x-kubernetes-action: get x-kubernetes-group-version-kind: group: storage.k8s.io - kind: VolumeAttributesClass - version: v1alpha1 + kind: VolumeAttachment + version: v1 x-accepts: - application/cbor - application/json - application/vnd.kubernetes.protobuf - application/yaml patch: - description: partially update the specified VolumeAttributesClass - operationId: patchVolumeAttributesClass + description: partially update the specified VolumeAttachment + operationId: patchVolumeAttachment parameters: - - description: name of the VolumeAttributesClass + - description: name of the VolumeAttachment in: path name: name required: true @@ -85694,42 +85621,42 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttachment' application/yaml: schema: - $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttachment' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttachment' application/cbor: schema: - $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttachment' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttachment' application/yaml: schema: - $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttachment' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttachment' application/cbor: schema: - $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttachment' description: Created "401": content: {} description: Unauthorized tags: - - storage_v1alpha1 + - storage_v1 x-kubernetes-action: patch x-kubernetes-group-version-kind: group: storage.k8s.io - kind: VolumeAttributesClass - version: v1alpha1 + kind: VolumeAttachment + version: v1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -85738,10 +85665,10 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml put: - description: replace the specified VolumeAttributesClass - operationId: replaceVolumeAttributesClass + description: replace the specified VolumeAttachment + operationId: replaceVolumeAttachment parameters: - - description: name of the VolumeAttributesClass + - description: name of the VolumeAttachment in: path name: name required: true @@ -85790,49 +85717,49 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttachment' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttachment' application/yaml: schema: - $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttachment' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttachment' application/cbor: schema: - $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttachment' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttachment' application/yaml: schema: - $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttachment' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttachment' application/cbor: schema: - $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttachment' description: Created "401": content: {} description: Unauthorized tags: - - storage_v1alpha1 + - storage_v1 x-kubernetes-action: put x-kubernetes-group-version-kind: group: storage.k8s.io - kind: VolumeAttributesClass - version: v1alpha1 + kind: VolumeAttachment + version: v1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -85840,39 +85767,271 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/storage.k8s.io/v1alpha1/watch/volumeattributesclasses: {} - /apis/storage.k8s.io/v1alpha1/watch/volumeattributesclasses/{name}: {} - /apis/storage.k8s.io/v1beta1/: + /apis/storage.k8s.io/v1/volumeattachments/{name}/status: get: - description: get available resources - operationId: getAPIResources + description: read status of the specified VolumeAttachment + operationId: readVolumeAttachmentStatus + parameters: + - description: name of the VolumeAttachment + in: path + name: name + required: true + schema: + type: string + - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ + \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ + \ and wget)." + in: query + name: pretty + schema: + type: string responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1.APIResourceList' + $ref: '#/components/schemas/v1.VolumeAttachment' application/yaml: schema: - $ref: '#/components/schemas/v1.APIResourceList' + $ref: '#/components/schemas/v1.VolumeAttachment' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.APIResourceList' + $ref: '#/components/schemas/v1.VolumeAttachment' application/cbor: schema: - $ref: '#/components/schemas/v1.APIResourceList' + $ref: '#/components/schemas/v1.VolumeAttachment' description: OK "401": content: {} description: Unauthorized tags: - - storage_v1beta1 + - storage_v1 + x-kubernetes-action: get + x-kubernetes-group-version-kind: + group: storage.k8s.io + kind: VolumeAttachment + version: v1 x-accepts: - application/cbor - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/storage.k8s.io/v1beta1/volumeattributesclasses: + patch: + description: partially update status of the specified VolumeAttachment + operationId: patchVolumeAttachmentStatus + parameters: + - description: name of the VolumeAttachment + in: path + name: name + required: true + schema: + type: string + - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ + \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ + \ and wget)." + in: query + name: pretty + schema: + type: string + - description: "When present, indicates that modifications should not be persisted.\ + \ An invalid or unrecognized dryRun directive will result in an error response\ + \ and no further processing of the request. Valid values are: - All: all\ + \ dry run stages will be processed" + in: query + name: dryRun + schema: + type: string + - description: "fieldManager is a name associated with the actor or entity that\ + \ is making these changes. The value must be less than or 128 characters\ + \ long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.\ + \ This field is required for apply requests (application/apply-patch) but\ + \ optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch)." + in: query + name: fieldManager + schema: + type: string + - description: "fieldValidation instructs the server on how to handle objects\ + \ in the request (POST/PUT/PATCH) containing unknown or duplicate fields.\ + \ Valid values are: - Ignore: This will ignore any unknown fields that are\ + \ silently dropped from the object, and will ignore all but the last duplicate\ + \ field that the decoder encounters. This is the default behavior prior\ + \ to v1.23. - Warn: This will send a warning via the standard warning response\ + \ header for each unknown field that is dropped from the object, and for\ + \ each duplicate field that is encountered. The request will still succeed\ + \ if there are no other errors, and will only persist the last of any duplicate\ + \ fields. This is the default in v1.23+ - Strict: This will fail the request\ + \ with a BadRequest error if any unknown fields would be dropped from the\ + \ object, or if any duplicate fields are present. The error returned from\ + \ the server will contain all unknown and duplicate fields encountered." + in: query + name: fieldValidation + schema: + type: string + - description: Force is going to "force" Apply requests. It means user will + re-acquire conflicting fields owned by other people. Force flag must be + unset for non-apply patch requests. + in: query + name: force + schema: + type: boolean + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/v1.Patch' + required: true + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/v1.VolumeAttachment' + application/yaml: + schema: + $ref: '#/components/schemas/v1.VolumeAttachment' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1.VolumeAttachment' + application/cbor: + schema: + $ref: '#/components/schemas/v1.VolumeAttachment' + description: OK + "201": + content: + application/json: + schema: + $ref: '#/components/schemas/v1.VolumeAttachment' + application/yaml: + schema: + $ref: '#/components/schemas/v1.VolumeAttachment' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1.VolumeAttachment' + application/cbor: + schema: + $ref: '#/components/schemas/v1.VolumeAttachment' + description: Created + "401": + content: {} + description: Unauthorized + tags: + - storage_v1 + x-kubernetes-action: patch + x-kubernetes-group-version-kind: + group: storage.k8s.io + kind: VolumeAttachment + version: v1 + x-codegen-request-body-name: body + x-content-type: application/json + x-accepts: + - application/cbor + - application/json + - application/vnd.kubernetes.protobuf + - application/yaml + put: + description: replace status of the specified VolumeAttachment + operationId: replaceVolumeAttachmentStatus + parameters: + - description: name of the VolumeAttachment + in: path + name: name + required: true + schema: + type: string + - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ + \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ + \ and wget)." + in: query + name: pretty + schema: + type: string + - description: "When present, indicates that modifications should not be persisted.\ + \ An invalid or unrecognized dryRun directive will result in an error response\ + \ and no further processing of the request. Valid values are: - All: all\ + \ dry run stages will be processed" + in: query + name: dryRun + schema: + type: string + - description: "fieldManager is a name associated with the actor or entity that\ + \ is making these changes. The value must be less than or 128 characters\ + \ long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint." + in: query + name: fieldManager + schema: + type: string + - description: "fieldValidation instructs the server on how to handle objects\ + \ in the request (POST/PUT/PATCH) containing unknown or duplicate fields.\ + \ Valid values are: - Ignore: This will ignore any unknown fields that are\ + \ silently dropped from the object, and will ignore all but the last duplicate\ + \ field that the decoder encounters. This is the default behavior prior\ + \ to v1.23. - Warn: This will send a warning via the standard warning response\ + \ header for each unknown field that is dropped from the object, and for\ + \ each duplicate field that is encountered. The request will still succeed\ + \ if there are no other errors, and will only persist the last of any duplicate\ + \ fields. This is the default in v1.23+ - Strict: This will fail the request\ + \ with a BadRequest error if any unknown fields would be dropped from the\ + \ object, or if any duplicate fields are present. The error returned from\ + \ the server will contain all unknown and duplicate fields encountered." + in: query + name: fieldValidation + schema: + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/v1.VolumeAttachment' + required: true + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/v1.VolumeAttachment' + application/yaml: + schema: + $ref: '#/components/schemas/v1.VolumeAttachment' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1.VolumeAttachment' + application/cbor: + schema: + $ref: '#/components/schemas/v1.VolumeAttachment' + description: OK + "201": + content: + application/json: + schema: + $ref: '#/components/schemas/v1.VolumeAttachment' + application/yaml: + schema: + $ref: '#/components/schemas/v1.VolumeAttachment' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1.VolumeAttachment' + application/cbor: + schema: + $ref: '#/components/schemas/v1.VolumeAttachment' + description: Created + "401": + content: {} + description: Unauthorized + tags: + - storage_v1 + x-kubernetes-action: put + x-kubernetes-group-version-kind: + group: storage.k8s.io + kind: VolumeAttachment + version: v1 + x-codegen-request-body-name: body + x-content-type: application/json + x-accepts: + - application/cbor + - application/json + - application/vnd.kubernetes.protobuf + - application/yaml + /apis/storage.k8s.io/v1/volumeattributesclasses: delete: description: delete collection of VolumeAttributesClass operationId: deleteCollectionVolumeAttributesClass @@ -86029,12 +86188,12 @@ paths: content: {} description: Unauthorized tags: - - storage_v1beta1 + - storage_v1 x-kubernetes-action: deletecollection x-kubernetes-group-version-kind: group: storage.k8s.io kind: VolumeAttributesClass - version: v1beta1 + version: v1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -86142,36 +86301,36 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta1.VolumeAttributesClassList' + $ref: '#/components/schemas/v1.VolumeAttributesClassList' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.VolumeAttributesClassList' + $ref: '#/components/schemas/v1.VolumeAttributesClassList' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.VolumeAttributesClassList' + $ref: '#/components/schemas/v1.VolumeAttributesClassList' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.VolumeAttributesClassList' + $ref: '#/components/schemas/v1.VolumeAttributesClassList' application/json;stream=watch: schema: - $ref: '#/components/schemas/v1beta1.VolumeAttributesClassList' + $ref: '#/components/schemas/v1.VolumeAttributesClassList' application/vnd.kubernetes.protobuf;stream=watch: schema: - $ref: '#/components/schemas/v1beta1.VolumeAttributesClassList' + $ref: '#/components/schemas/v1.VolumeAttributesClassList' application/cbor-seq: schema: - $ref: '#/components/schemas/v1beta1.VolumeAttributesClassList' + $ref: '#/components/schemas/v1.VolumeAttributesClassList' description: OK "401": content: {} description: Unauthorized tags: - - storage_v1beta1 + - storage_v1 x-kubernetes-action: list x-kubernetes-group-version-kind: group: storage.k8s.io kind: VolumeAttributesClass - version: v1beta1 + version: v1 x-accepts: - application/cbor - application/cbor-seq @@ -86227,64 +86386,64 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttributesClass' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttributesClass' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttributesClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttributesClass' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttributesClass' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttributesClass' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttributesClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttributesClass' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttributesClass' description: Created "202": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttributesClass' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttributesClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttributesClass' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttributesClass' description: Accepted "401": content: {} description: Unauthorized tags: - - storage_v1beta1 + - storage_v1 x-kubernetes-action: post x-kubernetes-group-version-kind: group: storage.k8s.io kind: VolumeAttributesClass - version: v1beta1 + version: v1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -86292,7 +86451,7 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/storage.k8s.io/v1beta1/volumeattributesclasses/{name}: + /apis/storage.k8s.io/v1/volumeattributesclasses/{name}: delete: description: delete a VolumeAttributesClass operationId: deleteVolumeAttributesClass @@ -86372,42 +86531,42 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttributesClass' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttributesClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttributesClass' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttributesClass' description: OK "202": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttributesClass' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttributesClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttributesClass' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttributesClass' description: Accepted "401": content: {} description: Unauthorized tags: - - storage_v1beta1 + - storage_v1 x-kubernetes-action: delete x-kubernetes-group-version-kind: group: storage.k8s.io kind: VolumeAttributesClass - version: v1beta1 + version: v1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -86437,27 +86596,27 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttributesClass' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttributesClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttributesClass' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttributesClass' description: OK "401": content: {} description: Unauthorized tags: - - storage_v1beta1 + - storage_v1 x-kubernetes-action: get x-kubernetes-group-version-kind: group: storage.k8s.io kind: VolumeAttributesClass - version: v1beta1 + version: v1 x-accepts: - application/cbor - application/json @@ -86532,42 +86691,42 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttributesClass' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttributesClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttributesClass' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttributesClass' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttributesClass' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttributesClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttributesClass' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttributesClass' description: Created "401": content: {} description: Unauthorized tags: - - storage_v1beta1 + - storage_v1 x-kubernetes-action: patch x-kubernetes-group-version-kind: group: storage.k8s.io kind: VolumeAttributesClass - version: v1beta1 + version: v1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -86628,49 +86787,49 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttributesClass' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttributesClass' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttributesClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttributesClass' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttributesClass' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttributesClass' application/yaml: schema: - $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttributesClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttributesClass' application/cbor: schema: - $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + $ref: '#/components/schemas/v1.VolumeAttributesClass' description: Created "401": content: {} description: Unauthorized tags: - - storage_v1beta1 + - storage_v1 x-kubernetes-action: put x-kubernetes-group-version-kind: group: storage.k8s.io kind: VolumeAttributesClass - version: v1beta1 + version: v1 x-codegen-request-body-name: body x-content-type: application/json x-accepts: @@ -86678,35 +86837,20 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/storage.k8s.io/v1beta1/watch/volumeattributesclasses: {} - /apis/storage.k8s.io/v1beta1/watch/volumeattributesclasses/{name}: {} - /apis/storagemigration.k8s.io/: - get: - description: get information of a group - operationId: getAPIGroup - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/v1.APIGroup' - application/yaml: - schema: - $ref: '#/components/schemas/v1.APIGroup' - application/vnd.kubernetes.protobuf: - schema: - $ref: '#/components/schemas/v1.APIGroup' - description: OK - "401": - content: {} - description: Unauthorized - tags: - - storagemigration - x-accepts: - - application/json - - application/vnd.kubernetes.protobuf - - application/yaml - /apis/storagemigration.k8s.io/v1alpha1/: + /apis/storage.k8s.io/v1/watch/csidrivers: {} + /apis/storage.k8s.io/v1/watch/csidrivers/{name}: {} + /apis/storage.k8s.io/v1/watch/csinodes: {} + /apis/storage.k8s.io/v1/watch/csinodes/{name}: {} + /apis/storage.k8s.io/v1/watch/csistoragecapacities: {} + /apis/storage.k8s.io/v1/watch/namespaces/{namespace}/csistoragecapacities: {} + /apis/storage.k8s.io/v1/watch/namespaces/{namespace}/csistoragecapacities/{name}: {} + /apis/storage.k8s.io/v1/watch/storageclasses: {} + /apis/storage.k8s.io/v1/watch/storageclasses/{name}: {} + /apis/storage.k8s.io/v1/watch/volumeattachments: {} + /apis/storage.k8s.io/v1/watch/volumeattachments/{name}: {} + /apis/storage.k8s.io/v1/watch/volumeattributesclasses: {} + /apis/storage.k8s.io/v1/watch/volumeattributesclasses/{name}: {} + /apis/storage.k8s.io/v1alpha1/: get: description: get available resources operationId: getAPIResources @@ -86730,16 +86874,16 @@ paths: content: {} description: Unauthorized tags: - - storagemigration_v1alpha1 + - storage_v1alpha1 x-accepts: - application/cbor - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/storagemigration.k8s.io/v1alpha1/storageversionmigrations: + /apis/storage.k8s.io/v1alpha1/volumeattributesclasses: delete: - description: delete collection of StorageVersionMigration - operationId: deleteCollectionStorageVersionMigration + description: delete collection of VolumeAttributesClass + operationId: deleteCollectionVolumeAttributesClass parameters: - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ @@ -86893,11 +87037,11 @@ paths: content: {} description: Unauthorized tags: - - storagemigration_v1alpha1 + - storage_v1alpha1 x-kubernetes-action: deletecollection x-kubernetes-group-version-kind: - group: storagemigration.k8s.io - kind: StorageVersionMigration + group: storage.k8s.io + kind: VolumeAttributesClass version: v1alpha1 x-codegen-request-body-name: body x-content-type: application/json @@ -86907,8 +87051,8 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml get: - description: list or watch objects of kind StorageVersionMigration - operationId: listStorageVersionMigration + description: list or watch objects of kind VolumeAttributesClass + operationId: listVolumeAttributesClass parameters: - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ @@ -87006,35 +87150,35 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersionMigrationList' + $ref: '#/components/schemas/v1alpha1.VolumeAttributesClassList' application/yaml: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersionMigrationList' + $ref: '#/components/schemas/v1alpha1.VolumeAttributesClassList' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersionMigrationList' + $ref: '#/components/schemas/v1alpha1.VolumeAttributesClassList' application/cbor: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersionMigrationList' + $ref: '#/components/schemas/v1alpha1.VolumeAttributesClassList' application/json;stream=watch: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersionMigrationList' + $ref: '#/components/schemas/v1alpha1.VolumeAttributesClassList' application/vnd.kubernetes.protobuf;stream=watch: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersionMigrationList' + $ref: '#/components/schemas/v1alpha1.VolumeAttributesClassList' application/cbor-seq: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersionMigrationList' + $ref: '#/components/schemas/v1alpha1.VolumeAttributesClassList' description: OK "401": content: {} description: Unauthorized tags: - - storagemigration_v1alpha1 + - storage_v1alpha1 x-kubernetes-action: list x-kubernetes-group-version-kind: - group: storagemigration.k8s.io - kind: StorageVersionMigration + group: storage.k8s.io + kind: VolumeAttributesClass version: v1alpha1 x-accepts: - application/cbor @@ -87045,8 +87189,8 @@ paths: - application/vnd.kubernetes.protobuf;stream=watch - application/yaml post: - description: create a StorageVersionMigration - operationId: createStorageVersionMigration + description: create a VolumeAttributesClass + operationId: createVolumeAttributesClass parameters: - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ @@ -87091,63 +87235,63 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' application/yaml: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' application/cbor: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' application/yaml: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' application/cbor: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' description: Created "202": content: application/json: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' application/yaml: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' application/cbor: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' description: Accepted "401": content: {} description: Unauthorized tags: - - storagemigration_v1alpha1 + - storage_v1alpha1 x-kubernetes-action: post x-kubernetes-group-version-kind: - group: storagemigration.k8s.io - kind: StorageVersionMigration + group: storage.k8s.io + kind: VolumeAttributesClass version: v1alpha1 x-codegen-request-body-name: body x-content-type: application/json @@ -87156,12 +87300,12 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/storagemigration.k8s.io/v1alpha1/storageversionmigrations/{name}: + /apis/storage.k8s.io/v1alpha1/volumeattributesclasses/{name}: delete: - description: delete a StorageVersionMigration - operationId: deleteStorageVersionMigration + description: delete a VolumeAttributesClass + operationId: deleteVolumeAttributesClass parameters: - - description: name of the StorageVersionMigration + - description: name of the VolumeAttributesClass in: path name: name required: true @@ -87236,41 +87380,41 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1.Status' + $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' application/yaml: schema: - $ref: '#/components/schemas/v1.Status' + $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.Status' + $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' application/cbor: schema: - $ref: '#/components/schemas/v1.Status' + $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' description: OK "202": content: application/json: schema: - $ref: '#/components/schemas/v1.Status' + $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' application/yaml: schema: - $ref: '#/components/schemas/v1.Status' + $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1.Status' + $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' application/cbor: schema: - $ref: '#/components/schemas/v1.Status' + $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' description: Accepted "401": content: {} description: Unauthorized tags: - - storagemigration_v1alpha1 + - storage_v1alpha1 x-kubernetes-action: delete x-kubernetes-group-version-kind: - group: storagemigration.k8s.io - kind: StorageVersionMigration + group: storage.k8s.io + kind: VolumeAttributesClass version: v1alpha1 x-codegen-request-body-name: body x-content-type: application/json @@ -87280,10 +87424,10 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml get: - description: read the specified StorageVersionMigration - operationId: readStorageVersionMigration + description: read the specified VolumeAttributesClass + operationId: readVolumeAttributesClass parameters: - - description: name of the StorageVersionMigration + - description: name of the VolumeAttributesClass in: path name: name required: true @@ -87301,26 +87445,26 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' application/yaml: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' application/cbor: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' description: OK "401": content: {} description: Unauthorized tags: - - storagemigration_v1alpha1 + - storage_v1alpha1 x-kubernetes-action: get x-kubernetes-group-version-kind: - group: storagemigration.k8s.io - kind: StorageVersionMigration + group: storage.k8s.io + kind: VolumeAttributesClass version: v1alpha1 x-accepts: - application/cbor @@ -87328,10 +87472,10 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml patch: - description: partially update the specified StorageVersionMigration - operationId: patchStorageVersionMigration + description: partially update the specified VolumeAttributesClass + operationId: patchVolumeAttributesClass parameters: - - description: name of the StorageVersionMigration + - description: name of the VolumeAttributesClass in: path name: name required: true @@ -87396,41 +87540,41 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' application/yaml: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' application/cbor: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' application/yaml: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' application/cbor: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' description: Created "401": content: {} description: Unauthorized tags: - - storagemigration_v1alpha1 + - storage_v1alpha1 x-kubernetes-action: patch x-kubernetes-group-version-kind: - group: storagemigration.k8s.io - kind: StorageVersionMigration + group: storage.k8s.io + kind: VolumeAttributesClass version: v1alpha1 x-codegen-request-body-name: body x-content-type: application/json @@ -87440,10 +87584,10 @@ paths: - application/vnd.kubernetes.protobuf - application/yaml put: - description: replace the specified StorageVersionMigration - operationId: replaceStorageVersionMigration + description: replace the specified VolumeAttributesClass + operationId: replaceVolumeAttributesClass parameters: - - description: name of the StorageVersionMigration + - description: name of the VolumeAttributesClass in: path name: name required: true @@ -87492,48 +87636,48 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' application/yaml: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' application/cbor: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' description: OK "201": content: application/json: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' application/yaml: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' application/cbor: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + $ref: '#/components/schemas/v1alpha1.VolumeAttributesClass' description: Created "401": content: {} description: Unauthorized tags: - - storagemigration_v1alpha1 + - storage_v1alpha1 x-kubernetes-action: put x-kubernetes-group-version-kind: - group: storagemigration.k8s.io - kind: StorageVersionMigration + group: storage.k8s.io + kind: VolumeAttributesClass version: v1alpha1 x-codegen-request-body-name: body x-content-type: application/json @@ -87542,17 +87686,43 @@ paths: - application/json - application/vnd.kubernetes.protobuf - application/yaml - /apis/storagemigration.k8s.io/v1alpha1/storageversionmigrations/{name}/status: + /apis/storage.k8s.io/v1alpha1/watch/volumeattributesclasses: {} + /apis/storage.k8s.io/v1alpha1/watch/volumeattributesclasses/{name}: {} + /apis/storage.k8s.io/v1beta1/: get: - description: read status of the specified StorageVersionMigration - operationId: readStorageVersionMigrationStatus + description: get available resources + operationId: getAPIResources + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/v1.APIResourceList' + application/yaml: + schema: + $ref: '#/components/schemas/v1.APIResourceList' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1.APIResourceList' + application/cbor: + schema: + $ref: '#/components/schemas/v1.APIResourceList' + description: OK + "401": + content: {} + description: Unauthorized + tags: + - storage_v1beta1 + x-accepts: + - application/cbor + - application/json + - application/vnd.kubernetes.protobuf + - application/yaml + /apis/storage.k8s.io/v1beta1/volumeattributesclasses: + delete: + description: delete collection of VolumeAttributesClass + operationId: deleteCollectionVolumeAttributesClass parameters: - - description: name of the StorageVersionMigration - in: path - name: name - required: true - schema: - type: string - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -87560,47 +87730,306 @@ paths: name: pretty schema: type: string + - description: |- + The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + + This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + in: query + name: continue + schema: + type: string + - description: "When present, indicates that modifications should not be persisted.\ + \ An invalid or unrecognized dryRun directive will result in an error response\ + \ and no further processing of the request. Valid values are: - All: all\ + \ dry run stages will be processed" + in: query + name: dryRun + schema: + type: string + - description: A selector to restrict the list of returned objects by their + fields. Defaults to everything. + in: query + name: fieldSelector + schema: + type: string + - description: "The duration in seconds before the object should be deleted.\ + \ Value must be non-negative integer. The value zero indicates delete immediately.\ + \ If this value is nil, the default grace period for the specified type\ + \ will be used. Defaults to a per object value if not specified. zero means\ + \ delete immediately." + in: query + name: gracePeriodSeconds + schema: + type: integer + - description: "if set to true, it will trigger an unsafe deletion of the resource\ + \ in case the normal deletion flow fails with a corrupt object error. A\ + \ resource is considered corrupt if it can not be retrieved from the underlying\ + \ storage successfully because of a) its data can not be transformed e.g.\ + \ decryption failure, or b) it fails to decode into an object. NOTE: unsafe\ + \ deletion ignores finalizer constraints, skips precondition checks, and\ + \ removes the object from the storage. WARNING: This may potentially break\ + \ the cluster if the workload associated with the resource being unsafe-deleted\ + \ relies on normal deletion flow. Use only if you REALLY know what you are\ + \ doing. The default value is false, and the user must opt in to enable\ + \ it" + in: query + name: ignoreStoreReadErrorWithClusterBreakingPotential + schema: + type: boolean + - description: A selector to restrict the list of returned objects by their + labels. Defaults to everything. + in: query + name: labelSelector + schema: + type: string + - description: |- + limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. + + The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + in: query + name: limit + schema: + type: integer + - description: "Deprecated: please use the PropagationPolicy, this field will\ + \ be deprecated in 1.7. Should the dependent objects be orphaned. If true/false,\ + \ the \"orphan\" finalizer will be added to/removed from the object's finalizers\ + \ list. Either this field or PropagationPolicy may be set, but not both." + in: query + name: orphanDependents + schema: + type: boolean + - description: "Whether and how garbage collection will be performed. Either\ + \ this field or OrphanDependents may be set, but not both. The default policy\ + \ is decided by the existing finalizer set in the metadata.finalizers and\ + \ the resource-specific default policy. Acceptable values are: 'Orphan'\ + \ - orphan the dependents; 'Background' - allow the garbage collector to\ + \ delete the dependents in the background; 'Foreground' - a cascading policy\ + \ that deletes all dependents in the foreground." + in: query + name: propagationPolicy + schema: + type: string + - description: |- + resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. + + Defaults to unset + in: query + name: resourceVersion + schema: + type: string + - description: |- + resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. + + Defaults to unset + in: query + name: resourceVersionMatch + schema: + type: string + - description: |- + `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic "Bookmark" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. + + When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan + is interpreted as "data at least as new as the provided `resourceVersion`" + and the bookmark event is send when the state is synced + to a `resourceVersion` at least as fresh as the one provided by the ListOptions. + If `resourceVersion` is unset, this is interpreted as "consistent read" and the + bookmark event is send when the state is synced at least to the moment + when request started being processed. + - `resourceVersionMatch` set to any other value or unset + Invalid error is returned. + + Defaults to true if `resourceVersion=""` or `resourceVersion="0"` (for backward compatibility reasons) and to false otherwise. + in: query + name: sendInitialEvents + schema: + type: boolean + - description: "Timeout for the list/watch call. This limits the duration of\ + \ the call, regardless of any activity or inactivity." + in: query + name: timeoutSeconds + schema: + type: integer + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/v1.DeleteOptions' + required: false responses: "200": content: application/json: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + $ref: '#/components/schemas/v1.Status' application/yaml: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + $ref: '#/components/schemas/v1.Status' application/vnd.kubernetes.protobuf: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + $ref: '#/components/schemas/v1.Status' application/cbor: schema: - $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + $ref: '#/components/schemas/v1.Status' description: OK "401": content: {} description: Unauthorized tags: - - storagemigration_v1alpha1 - x-kubernetes-action: get + - storage_v1beta1 + x-kubernetes-action: deletecollection x-kubernetes-group-version-kind: - group: storagemigration.k8s.io - kind: StorageVersionMigration - version: v1alpha1 + group: storage.k8s.io + kind: VolumeAttributesClass + version: v1beta1 + x-codegen-request-body-name: body + x-content-type: application/json x-accepts: - application/cbor - application/json - application/vnd.kubernetes.protobuf - application/yaml - patch: - description: partially update status of the specified StorageVersionMigration - operationId: patchStorageVersionMigrationStatus + get: + description: list or watch objects of kind VolumeAttributesClass + operationId: listVolumeAttributesClass parameters: - - description: name of the StorageVersionMigration - in: path - name: name - required: true + - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ + \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ + \ and wget)." + in: query + name: pretty + schema: + type: string + - description: "allowWatchBookmarks requests watch events with type \"BOOKMARK\"\ + . Servers that do not implement bookmarks may ignore this flag and bookmarks\ + \ are sent at the server's discretion. Clients should not assume bookmarks\ + \ are returned at any specific interval, nor may they assume the server\ + \ will send any BOOKMARK event during a session. If this is not a watch,\ + \ this field is ignored." + in: query + name: allowWatchBookmarks + schema: + type: boolean + - description: |- + The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + + This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + in: query + name: continue + schema: + type: string + - description: A selector to restrict the list of returned objects by their + fields. Defaults to everything. + in: query + name: fieldSelector + schema: + type: string + - description: A selector to restrict the list of returned objects by their + labels. Defaults to everything. + in: query + name: labelSelector + schema: + type: string + - description: |- + limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. + + The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + in: query + name: limit + schema: + type: integer + - description: |- + resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. + + Defaults to unset + in: query + name: resourceVersion schema: type: string + - description: |- + resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. + + Defaults to unset + in: query + name: resourceVersionMatch + schema: + type: string + - description: |- + `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic "Bookmark" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. + + When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan + is interpreted as "data at least as new as the provided `resourceVersion`" + and the bookmark event is send when the state is synced + to a `resourceVersion` at least as fresh as the one provided by the ListOptions. + If `resourceVersion` is unset, this is interpreted as "consistent read" and the + bookmark event is send when the state is synced at least to the moment + when request started being processed. + - `resourceVersionMatch` set to any other value or unset + Invalid error is returned. + + Defaults to true if `resourceVersion=""` or `resourceVersion="0"` (for backward compatibility reasons) and to false otherwise. + in: query + name: sendInitialEvents + schema: + type: boolean + - description: "Timeout for the list/watch call. This limits the duration of\ + \ the call, regardless of any activity or inactivity." + in: query + name: timeoutSeconds + schema: + type: integer + - description: "Watch for changes to the described resources and return them\ + \ as a stream of add, update, and remove notifications. Specify resourceVersion." + in: query + name: watch + schema: + type: boolean + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/v1beta1.VolumeAttributesClassList' + application/yaml: + schema: + $ref: '#/components/schemas/v1beta1.VolumeAttributesClassList' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1beta1.VolumeAttributesClassList' + application/cbor: + schema: + $ref: '#/components/schemas/v1beta1.VolumeAttributesClassList' + application/json;stream=watch: + schema: + $ref: '#/components/schemas/v1beta1.VolumeAttributesClassList' + application/vnd.kubernetes.protobuf;stream=watch: + schema: + $ref: '#/components/schemas/v1beta1.VolumeAttributesClassList' + application/cbor-seq: + schema: + $ref: '#/components/schemas/v1beta1.VolumeAttributesClassList' + description: OK + "401": + content: {} + description: Unauthorized + tags: + - storage_v1beta1 + x-kubernetes-action: list + x-kubernetes-group-version-kind: + group: storage.k8s.io + kind: VolumeAttributesClass + version: v1beta1 + x-accepts: + - application/cbor + - application/cbor-seq + - application/json + - application/json;stream=watch + - application/vnd.kubernetes.protobuf + - application/vnd.kubernetes.protobuf;stream=watch + - application/yaml + post: + description: create a VolumeAttributesClass + operationId: createVolumeAttributesClass + parameters: - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ \ and wget)." @@ -87618,9 +88047,1426 @@ paths: type: string - description: "fieldManager is a name associated with the actor or entity that\ \ is making these changes. The value must be less than or 128 characters\ - \ long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.\ - \ This field is required for apply requests (application/apply-patch) but\ - \ optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch)." + \ long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint." + in: query + name: fieldManager + schema: + type: string + - description: "fieldValidation instructs the server on how to handle objects\ + \ in the request (POST/PUT/PATCH) containing unknown or duplicate fields.\ + \ Valid values are: - Ignore: This will ignore any unknown fields that are\ + \ silently dropped from the object, and will ignore all but the last duplicate\ + \ field that the decoder encounters. This is the default behavior prior\ + \ to v1.23. - Warn: This will send a warning via the standard warning response\ + \ header for each unknown field that is dropped from the object, and for\ + \ each duplicate field that is encountered. The request will still succeed\ + \ if there are no other errors, and will only persist the last of any duplicate\ + \ fields. This is the default in v1.23+ - Strict: This will fail the request\ + \ with a BadRequest error if any unknown fields would be dropped from the\ + \ object, or if any duplicate fields are present. The error returned from\ + \ the server will contain all unknown and duplicate fields encountered." + in: query + name: fieldValidation + schema: + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + required: true + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + application/yaml: + schema: + $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + application/cbor: + schema: + $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + description: OK + "201": + content: + application/json: + schema: + $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + application/yaml: + schema: + $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + application/cbor: + schema: + $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + description: Created + "202": + content: + application/json: + schema: + $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + application/yaml: + schema: + $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + application/cbor: + schema: + $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + description: Accepted + "401": + content: {} + description: Unauthorized + tags: + - storage_v1beta1 + x-kubernetes-action: post + x-kubernetes-group-version-kind: + group: storage.k8s.io + kind: VolumeAttributesClass + version: v1beta1 + x-codegen-request-body-name: body + x-content-type: application/json + x-accepts: + - application/cbor + - application/json + - application/vnd.kubernetes.protobuf + - application/yaml + /apis/storage.k8s.io/v1beta1/volumeattributesclasses/{name}: + delete: + description: delete a VolumeAttributesClass + operationId: deleteVolumeAttributesClass + parameters: + - description: name of the VolumeAttributesClass + in: path + name: name + required: true + schema: + type: string + - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ + \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ + \ and wget)." + in: query + name: pretty + schema: + type: string + - description: "When present, indicates that modifications should not be persisted.\ + \ An invalid or unrecognized dryRun directive will result in an error response\ + \ and no further processing of the request. Valid values are: - All: all\ + \ dry run stages will be processed" + in: query + name: dryRun + schema: + type: string + - description: "The duration in seconds before the object should be deleted.\ + \ Value must be non-negative integer. The value zero indicates delete immediately.\ + \ If this value is nil, the default grace period for the specified type\ + \ will be used. Defaults to a per object value if not specified. zero means\ + \ delete immediately." + in: query + name: gracePeriodSeconds + schema: + type: integer + - description: "if set to true, it will trigger an unsafe deletion of the resource\ + \ in case the normal deletion flow fails with a corrupt object error. A\ + \ resource is considered corrupt if it can not be retrieved from the underlying\ + \ storage successfully because of a) its data can not be transformed e.g.\ + \ decryption failure, or b) it fails to decode into an object. NOTE: unsafe\ + \ deletion ignores finalizer constraints, skips precondition checks, and\ + \ removes the object from the storage. WARNING: This may potentially break\ + \ the cluster if the workload associated with the resource being unsafe-deleted\ + \ relies on normal deletion flow. Use only if you REALLY know what you are\ + \ doing. The default value is false, and the user must opt in to enable\ + \ it" + in: query + name: ignoreStoreReadErrorWithClusterBreakingPotential + schema: + type: boolean + - description: "Deprecated: please use the PropagationPolicy, this field will\ + \ be deprecated in 1.7. Should the dependent objects be orphaned. If true/false,\ + \ the \"orphan\" finalizer will be added to/removed from the object's finalizers\ + \ list. Either this field or PropagationPolicy may be set, but not both." + in: query + name: orphanDependents + schema: + type: boolean + - description: "Whether and how garbage collection will be performed. Either\ + \ this field or OrphanDependents may be set, but not both. The default policy\ + \ is decided by the existing finalizer set in the metadata.finalizers and\ + \ the resource-specific default policy. Acceptable values are: 'Orphan'\ + \ - orphan the dependents; 'Background' - allow the garbage collector to\ + \ delete the dependents in the background; 'Foreground' - a cascading policy\ + \ that deletes all dependents in the foreground." + in: query + name: propagationPolicy + schema: + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/v1.DeleteOptions' + required: false + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + application/yaml: + schema: + $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + application/cbor: + schema: + $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + description: OK + "202": + content: + application/json: + schema: + $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + application/yaml: + schema: + $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + application/cbor: + schema: + $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + description: Accepted + "401": + content: {} + description: Unauthorized + tags: + - storage_v1beta1 + x-kubernetes-action: delete + x-kubernetes-group-version-kind: + group: storage.k8s.io + kind: VolumeAttributesClass + version: v1beta1 + x-codegen-request-body-name: body + x-content-type: application/json + x-accepts: + - application/cbor + - application/json + - application/vnd.kubernetes.protobuf + - application/yaml + get: + description: read the specified VolumeAttributesClass + operationId: readVolumeAttributesClass + parameters: + - description: name of the VolumeAttributesClass + in: path + name: name + required: true + schema: + type: string + - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ + \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ + \ and wget)." + in: query + name: pretty + schema: + type: string + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + application/yaml: + schema: + $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + application/cbor: + schema: + $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + description: OK + "401": + content: {} + description: Unauthorized + tags: + - storage_v1beta1 + x-kubernetes-action: get + x-kubernetes-group-version-kind: + group: storage.k8s.io + kind: VolumeAttributesClass + version: v1beta1 + x-accepts: + - application/cbor + - application/json + - application/vnd.kubernetes.protobuf + - application/yaml + patch: + description: partially update the specified VolumeAttributesClass + operationId: patchVolumeAttributesClass + parameters: + - description: name of the VolumeAttributesClass + in: path + name: name + required: true + schema: + type: string + - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ + \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ + \ and wget)." + in: query + name: pretty + schema: + type: string + - description: "When present, indicates that modifications should not be persisted.\ + \ An invalid or unrecognized dryRun directive will result in an error response\ + \ and no further processing of the request. Valid values are: - All: all\ + \ dry run stages will be processed" + in: query + name: dryRun + schema: + type: string + - description: "fieldManager is a name associated with the actor or entity that\ + \ is making these changes. The value must be less than or 128 characters\ + \ long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.\ + \ This field is required for apply requests (application/apply-patch) but\ + \ optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch)." + in: query + name: fieldManager + schema: + type: string + - description: "fieldValidation instructs the server on how to handle objects\ + \ in the request (POST/PUT/PATCH) containing unknown or duplicate fields.\ + \ Valid values are: - Ignore: This will ignore any unknown fields that are\ + \ silently dropped from the object, and will ignore all but the last duplicate\ + \ field that the decoder encounters. This is the default behavior prior\ + \ to v1.23. - Warn: This will send a warning via the standard warning response\ + \ header for each unknown field that is dropped from the object, and for\ + \ each duplicate field that is encountered. The request will still succeed\ + \ if there are no other errors, and will only persist the last of any duplicate\ + \ fields. This is the default in v1.23+ - Strict: This will fail the request\ + \ with a BadRequest error if any unknown fields would be dropped from the\ + \ object, or if any duplicate fields are present. The error returned from\ + \ the server will contain all unknown and duplicate fields encountered." + in: query + name: fieldValidation + schema: + type: string + - description: Force is going to "force" Apply requests. It means user will + re-acquire conflicting fields owned by other people. Force flag must be + unset for non-apply patch requests. + in: query + name: force + schema: + type: boolean + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/v1.Patch' + required: true + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + application/yaml: + schema: + $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + application/cbor: + schema: + $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + description: OK + "201": + content: + application/json: + schema: + $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + application/yaml: + schema: + $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + application/cbor: + schema: + $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + description: Created + "401": + content: {} + description: Unauthorized + tags: + - storage_v1beta1 + x-kubernetes-action: patch + x-kubernetes-group-version-kind: + group: storage.k8s.io + kind: VolumeAttributesClass + version: v1beta1 + x-codegen-request-body-name: body + x-content-type: application/json + x-accepts: + - application/cbor + - application/json + - application/vnd.kubernetes.protobuf + - application/yaml + put: + description: replace the specified VolumeAttributesClass + operationId: replaceVolumeAttributesClass + parameters: + - description: name of the VolumeAttributesClass + in: path + name: name + required: true + schema: + type: string + - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ + \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ + \ and wget)." + in: query + name: pretty + schema: + type: string + - description: "When present, indicates that modifications should not be persisted.\ + \ An invalid or unrecognized dryRun directive will result in an error response\ + \ and no further processing of the request. Valid values are: - All: all\ + \ dry run stages will be processed" + in: query + name: dryRun + schema: + type: string + - description: "fieldManager is a name associated with the actor or entity that\ + \ is making these changes. The value must be less than or 128 characters\ + \ long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint." + in: query + name: fieldManager + schema: + type: string + - description: "fieldValidation instructs the server on how to handle objects\ + \ in the request (POST/PUT/PATCH) containing unknown or duplicate fields.\ + \ Valid values are: - Ignore: This will ignore any unknown fields that are\ + \ silently dropped from the object, and will ignore all but the last duplicate\ + \ field that the decoder encounters. This is the default behavior prior\ + \ to v1.23. - Warn: This will send a warning via the standard warning response\ + \ header for each unknown field that is dropped from the object, and for\ + \ each duplicate field that is encountered. The request will still succeed\ + \ if there are no other errors, and will only persist the last of any duplicate\ + \ fields. This is the default in v1.23+ - Strict: This will fail the request\ + \ with a BadRequest error if any unknown fields would be dropped from the\ + \ object, or if any duplicate fields are present. The error returned from\ + \ the server will contain all unknown and duplicate fields encountered." + in: query + name: fieldValidation + schema: + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + required: true + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + application/yaml: + schema: + $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + application/cbor: + schema: + $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + description: OK + "201": + content: + application/json: + schema: + $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + application/yaml: + schema: + $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + application/cbor: + schema: + $ref: '#/components/schemas/v1beta1.VolumeAttributesClass' + description: Created + "401": + content: {} + description: Unauthorized + tags: + - storage_v1beta1 + x-kubernetes-action: put + x-kubernetes-group-version-kind: + group: storage.k8s.io + kind: VolumeAttributesClass + version: v1beta1 + x-codegen-request-body-name: body + x-content-type: application/json + x-accepts: + - application/cbor + - application/json + - application/vnd.kubernetes.protobuf + - application/yaml + /apis/storage.k8s.io/v1beta1/watch/volumeattributesclasses: {} + /apis/storage.k8s.io/v1beta1/watch/volumeattributesclasses/{name}: {} + /apis/storagemigration.k8s.io/: + get: + description: get information of a group + operationId: getAPIGroup + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/v1.APIGroup' + application/yaml: + schema: + $ref: '#/components/schemas/v1.APIGroup' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1.APIGroup' + description: OK + "401": + content: {} + description: Unauthorized + tags: + - storagemigration + x-accepts: + - application/json + - application/vnd.kubernetes.protobuf + - application/yaml + /apis/storagemigration.k8s.io/v1alpha1/: + get: + description: get available resources + operationId: getAPIResources + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/v1.APIResourceList' + application/yaml: + schema: + $ref: '#/components/schemas/v1.APIResourceList' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1.APIResourceList' + application/cbor: + schema: + $ref: '#/components/schemas/v1.APIResourceList' + description: OK + "401": + content: {} + description: Unauthorized + tags: + - storagemigration_v1alpha1 + x-accepts: + - application/cbor + - application/json + - application/vnd.kubernetes.protobuf + - application/yaml + /apis/storagemigration.k8s.io/v1alpha1/storageversionmigrations: + delete: + description: delete collection of StorageVersionMigration + operationId: deleteCollectionStorageVersionMigration + parameters: + - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ + \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ + \ and wget)." + in: query + name: pretty + schema: + type: string + - description: |- + The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + + This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + in: query + name: continue + schema: + type: string + - description: "When present, indicates that modifications should not be persisted.\ + \ An invalid or unrecognized dryRun directive will result in an error response\ + \ and no further processing of the request. Valid values are: - All: all\ + \ dry run stages will be processed" + in: query + name: dryRun + schema: + type: string + - description: A selector to restrict the list of returned objects by their + fields. Defaults to everything. + in: query + name: fieldSelector + schema: + type: string + - description: "The duration in seconds before the object should be deleted.\ + \ Value must be non-negative integer. The value zero indicates delete immediately.\ + \ If this value is nil, the default grace period for the specified type\ + \ will be used. Defaults to a per object value if not specified. zero means\ + \ delete immediately." + in: query + name: gracePeriodSeconds + schema: + type: integer + - description: "if set to true, it will trigger an unsafe deletion of the resource\ + \ in case the normal deletion flow fails with a corrupt object error. A\ + \ resource is considered corrupt if it can not be retrieved from the underlying\ + \ storage successfully because of a) its data can not be transformed e.g.\ + \ decryption failure, or b) it fails to decode into an object. NOTE: unsafe\ + \ deletion ignores finalizer constraints, skips precondition checks, and\ + \ removes the object from the storage. WARNING: This may potentially break\ + \ the cluster if the workload associated with the resource being unsafe-deleted\ + \ relies on normal deletion flow. Use only if you REALLY know what you are\ + \ doing. The default value is false, and the user must opt in to enable\ + \ it" + in: query + name: ignoreStoreReadErrorWithClusterBreakingPotential + schema: + type: boolean + - description: A selector to restrict the list of returned objects by their + labels. Defaults to everything. + in: query + name: labelSelector + schema: + type: string + - description: |- + limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. + + The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + in: query + name: limit + schema: + type: integer + - description: "Deprecated: please use the PropagationPolicy, this field will\ + \ be deprecated in 1.7. Should the dependent objects be orphaned. If true/false,\ + \ the \"orphan\" finalizer will be added to/removed from the object's finalizers\ + \ list. Either this field or PropagationPolicy may be set, but not both." + in: query + name: orphanDependents + schema: + type: boolean + - description: "Whether and how garbage collection will be performed. Either\ + \ this field or OrphanDependents may be set, but not both. The default policy\ + \ is decided by the existing finalizer set in the metadata.finalizers and\ + \ the resource-specific default policy. Acceptable values are: 'Orphan'\ + \ - orphan the dependents; 'Background' - allow the garbage collector to\ + \ delete the dependents in the background; 'Foreground' - a cascading policy\ + \ that deletes all dependents in the foreground." + in: query + name: propagationPolicy + schema: + type: string + - description: |- + resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. + + Defaults to unset + in: query + name: resourceVersion + schema: + type: string + - description: |- + resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. + + Defaults to unset + in: query + name: resourceVersionMatch + schema: + type: string + - description: |- + `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic "Bookmark" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. + + When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan + is interpreted as "data at least as new as the provided `resourceVersion`" + and the bookmark event is send when the state is synced + to a `resourceVersion` at least as fresh as the one provided by the ListOptions. + If `resourceVersion` is unset, this is interpreted as "consistent read" and the + bookmark event is send when the state is synced at least to the moment + when request started being processed. + - `resourceVersionMatch` set to any other value or unset + Invalid error is returned. + + Defaults to true if `resourceVersion=""` or `resourceVersion="0"` (for backward compatibility reasons) and to false otherwise. + in: query + name: sendInitialEvents + schema: + type: boolean + - description: "Timeout for the list/watch call. This limits the duration of\ + \ the call, regardless of any activity or inactivity." + in: query + name: timeoutSeconds + schema: + type: integer + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/v1.DeleteOptions' + required: false + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/v1.Status' + application/yaml: + schema: + $ref: '#/components/schemas/v1.Status' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1.Status' + application/cbor: + schema: + $ref: '#/components/schemas/v1.Status' + description: OK + "401": + content: {} + description: Unauthorized + tags: + - storagemigration_v1alpha1 + x-kubernetes-action: deletecollection + x-kubernetes-group-version-kind: + group: storagemigration.k8s.io + kind: StorageVersionMigration + version: v1alpha1 + x-codegen-request-body-name: body + x-content-type: application/json + x-accepts: + - application/cbor + - application/json + - application/vnd.kubernetes.protobuf + - application/yaml + get: + description: list or watch objects of kind StorageVersionMigration + operationId: listStorageVersionMigration + parameters: + - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ + \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ + \ and wget)." + in: query + name: pretty + schema: + type: string + - description: "allowWatchBookmarks requests watch events with type \"BOOKMARK\"\ + . Servers that do not implement bookmarks may ignore this flag and bookmarks\ + \ are sent at the server's discretion. Clients should not assume bookmarks\ + \ are returned at any specific interval, nor may they assume the server\ + \ will send any BOOKMARK event during a session. If this is not a watch,\ + \ this field is ignored." + in: query + name: allowWatchBookmarks + schema: + type: boolean + - description: |- + The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". + + This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + in: query + name: continue + schema: + type: string + - description: A selector to restrict the list of returned objects by their + fields. Defaults to everything. + in: query + name: fieldSelector + schema: + type: string + - description: A selector to restrict the list of returned objects by their + labels. Defaults to everything. + in: query + name: labelSelector + schema: + type: string + - description: |- + limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. + + The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + in: query + name: limit + schema: + type: integer + - description: |- + resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. + + Defaults to unset + in: query + name: resourceVersion + schema: + type: string + - description: |- + resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. + + Defaults to unset + in: query + name: resourceVersionMatch + schema: + type: string + - description: |- + `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic "Bookmark" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. + + When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan + is interpreted as "data at least as new as the provided `resourceVersion`" + and the bookmark event is send when the state is synced + to a `resourceVersion` at least as fresh as the one provided by the ListOptions. + If `resourceVersion` is unset, this is interpreted as "consistent read" and the + bookmark event is send when the state is synced at least to the moment + when request started being processed. + - `resourceVersionMatch` set to any other value or unset + Invalid error is returned. + + Defaults to true if `resourceVersion=""` or `resourceVersion="0"` (for backward compatibility reasons) and to false otherwise. + in: query + name: sendInitialEvents + schema: + type: boolean + - description: "Timeout for the list/watch call. This limits the duration of\ + \ the call, regardless of any activity or inactivity." + in: query + name: timeoutSeconds + schema: + type: integer + - description: "Watch for changes to the described resources and return them\ + \ as a stream of add, update, and remove notifications. Specify resourceVersion." + in: query + name: watch + schema: + type: boolean + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/v1alpha1.StorageVersionMigrationList' + application/yaml: + schema: + $ref: '#/components/schemas/v1alpha1.StorageVersionMigrationList' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1alpha1.StorageVersionMigrationList' + application/cbor: + schema: + $ref: '#/components/schemas/v1alpha1.StorageVersionMigrationList' + application/json;stream=watch: + schema: + $ref: '#/components/schemas/v1alpha1.StorageVersionMigrationList' + application/vnd.kubernetes.protobuf;stream=watch: + schema: + $ref: '#/components/schemas/v1alpha1.StorageVersionMigrationList' + application/cbor-seq: + schema: + $ref: '#/components/schemas/v1alpha1.StorageVersionMigrationList' + description: OK + "401": + content: {} + description: Unauthorized + tags: + - storagemigration_v1alpha1 + x-kubernetes-action: list + x-kubernetes-group-version-kind: + group: storagemigration.k8s.io + kind: StorageVersionMigration + version: v1alpha1 + x-accepts: + - application/cbor + - application/cbor-seq + - application/json + - application/json;stream=watch + - application/vnd.kubernetes.protobuf + - application/vnd.kubernetes.protobuf;stream=watch + - application/yaml + post: + description: create a StorageVersionMigration + operationId: createStorageVersionMigration + parameters: + - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ + \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ + \ and wget)." + in: query + name: pretty + schema: + type: string + - description: "When present, indicates that modifications should not be persisted.\ + \ An invalid or unrecognized dryRun directive will result in an error response\ + \ and no further processing of the request. Valid values are: - All: all\ + \ dry run stages will be processed" + in: query + name: dryRun + schema: + type: string + - description: "fieldManager is a name associated with the actor or entity that\ + \ is making these changes. The value must be less than or 128 characters\ + \ long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint." + in: query + name: fieldManager + schema: + type: string + - description: "fieldValidation instructs the server on how to handle objects\ + \ in the request (POST/PUT/PATCH) containing unknown or duplicate fields.\ + \ Valid values are: - Ignore: This will ignore any unknown fields that are\ + \ silently dropped from the object, and will ignore all but the last duplicate\ + \ field that the decoder encounters. This is the default behavior prior\ + \ to v1.23. - Warn: This will send a warning via the standard warning response\ + \ header for each unknown field that is dropped from the object, and for\ + \ each duplicate field that is encountered. The request will still succeed\ + \ if there are no other errors, and will only persist the last of any duplicate\ + \ fields. This is the default in v1.23+ - Strict: This will fail the request\ + \ with a BadRequest error if any unknown fields would be dropped from the\ + \ object, or if any duplicate fields are present. The error returned from\ + \ the server will contain all unknown and duplicate fields encountered." + in: query + name: fieldValidation + schema: + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + required: true + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + application/yaml: + schema: + $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + application/cbor: + schema: + $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + description: OK + "201": + content: + application/json: + schema: + $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + application/yaml: + schema: + $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + application/cbor: + schema: + $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + description: Created + "202": + content: + application/json: + schema: + $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + application/yaml: + schema: + $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + application/cbor: + schema: + $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + description: Accepted + "401": + content: {} + description: Unauthorized + tags: + - storagemigration_v1alpha1 + x-kubernetes-action: post + x-kubernetes-group-version-kind: + group: storagemigration.k8s.io + kind: StorageVersionMigration + version: v1alpha1 + x-codegen-request-body-name: body + x-content-type: application/json + x-accepts: + - application/cbor + - application/json + - application/vnd.kubernetes.protobuf + - application/yaml + /apis/storagemigration.k8s.io/v1alpha1/storageversionmigrations/{name}: + delete: + description: delete a StorageVersionMigration + operationId: deleteStorageVersionMigration + parameters: + - description: name of the StorageVersionMigration + in: path + name: name + required: true + schema: + type: string + - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ + \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ + \ and wget)." + in: query + name: pretty + schema: + type: string + - description: "When present, indicates that modifications should not be persisted.\ + \ An invalid or unrecognized dryRun directive will result in an error response\ + \ and no further processing of the request. Valid values are: - All: all\ + \ dry run stages will be processed" + in: query + name: dryRun + schema: + type: string + - description: "The duration in seconds before the object should be deleted.\ + \ Value must be non-negative integer. The value zero indicates delete immediately.\ + \ If this value is nil, the default grace period for the specified type\ + \ will be used. Defaults to a per object value if not specified. zero means\ + \ delete immediately." + in: query + name: gracePeriodSeconds + schema: + type: integer + - description: "if set to true, it will trigger an unsafe deletion of the resource\ + \ in case the normal deletion flow fails with a corrupt object error. A\ + \ resource is considered corrupt if it can not be retrieved from the underlying\ + \ storage successfully because of a) its data can not be transformed e.g.\ + \ decryption failure, or b) it fails to decode into an object. NOTE: unsafe\ + \ deletion ignores finalizer constraints, skips precondition checks, and\ + \ removes the object from the storage. WARNING: This may potentially break\ + \ the cluster if the workload associated with the resource being unsafe-deleted\ + \ relies on normal deletion flow. Use only if you REALLY know what you are\ + \ doing. The default value is false, and the user must opt in to enable\ + \ it" + in: query + name: ignoreStoreReadErrorWithClusterBreakingPotential + schema: + type: boolean + - description: "Deprecated: please use the PropagationPolicy, this field will\ + \ be deprecated in 1.7. Should the dependent objects be orphaned. If true/false,\ + \ the \"orphan\" finalizer will be added to/removed from the object's finalizers\ + \ list. Either this field or PropagationPolicy may be set, but not both." + in: query + name: orphanDependents + schema: + type: boolean + - description: "Whether and how garbage collection will be performed. Either\ + \ this field or OrphanDependents may be set, but not both. The default policy\ + \ is decided by the existing finalizer set in the metadata.finalizers and\ + \ the resource-specific default policy. Acceptable values are: 'Orphan'\ + \ - orphan the dependents; 'Background' - allow the garbage collector to\ + \ delete the dependents in the background; 'Foreground' - a cascading policy\ + \ that deletes all dependents in the foreground." + in: query + name: propagationPolicy + schema: + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/v1.DeleteOptions' + required: false + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/v1.Status' + application/yaml: + schema: + $ref: '#/components/schemas/v1.Status' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1.Status' + application/cbor: + schema: + $ref: '#/components/schemas/v1.Status' + description: OK + "202": + content: + application/json: + schema: + $ref: '#/components/schemas/v1.Status' + application/yaml: + schema: + $ref: '#/components/schemas/v1.Status' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1.Status' + application/cbor: + schema: + $ref: '#/components/schemas/v1.Status' + description: Accepted + "401": + content: {} + description: Unauthorized + tags: + - storagemigration_v1alpha1 + x-kubernetes-action: delete + x-kubernetes-group-version-kind: + group: storagemigration.k8s.io + kind: StorageVersionMigration + version: v1alpha1 + x-codegen-request-body-name: body + x-content-type: application/json + x-accepts: + - application/cbor + - application/json + - application/vnd.kubernetes.protobuf + - application/yaml + get: + description: read the specified StorageVersionMigration + operationId: readStorageVersionMigration + parameters: + - description: name of the StorageVersionMigration + in: path + name: name + required: true + schema: + type: string + - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ + \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ + \ and wget)." + in: query + name: pretty + schema: + type: string + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + application/yaml: + schema: + $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + application/cbor: + schema: + $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + description: OK + "401": + content: {} + description: Unauthorized + tags: + - storagemigration_v1alpha1 + x-kubernetes-action: get + x-kubernetes-group-version-kind: + group: storagemigration.k8s.io + kind: StorageVersionMigration + version: v1alpha1 + x-accepts: + - application/cbor + - application/json + - application/vnd.kubernetes.protobuf + - application/yaml + patch: + description: partially update the specified StorageVersionMigration + operationId: patchStorageVersionMigration + parameters: + - description: name of the StorageVersionMigration + in: path + name: name + required: true + schema: + type: string + - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ + \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ + \ and wget)." + in: query + name: pretty + schema: + type: string + - description: "When present, indicates that modifications should not be persisted.\ + \ An invalid or unrecognized dryRun directive will result in an error response\ + \ and no further processing of the request. Valid values are: - All: all\ + \ dry run stages will be processed" + in: query + name: dryRun + schema: + type: string + - description: "fieldManager is a name associated with the actor or entity that\ + \ is making these changes. The value must be less than or 128 characters\ + \ long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.\ + \ This field is required for apply requests (application/apply-patch) but\ + \ optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch)." + in: query + name: fieldManager + schema: + type: string + - description: "fieldValidation instructs the server on how to handle objects\ + \ in the request (POST/PUT/PATCH) containing unknown or duplicate fields.\ + \ Valid values are: - Ignore: This will ignore any unknown fields that are\ + \ silently dropped from the object, and will ignore all but the last duplicate\ + \ field that the decoder encounters. This is the default behavior prior\ + \ to v1.23. - Warn: This will send a warning via the standard warning response\ + \ header for each unknown field that is dropped from the object, and for\ + \ each duplicate field that is encountered. The request will still succeed\ + \ if there are no other errors, and will only persist the last of any duplicate\ + \ fields. This is the default in v1.23+ - Strict: This will fail the request\ + \ with a BadRequest error if any unknown fields would be dropped from the\ + \ object, or if any duplicate fields are present. The error returned from\ + \ the server will contain all unknown and duplicate fields encountered." + in: query + name: fieldValidation + schema: + type: string + - description: Force is going to "force" Apply requests. It means user will + re-acquire conflicting fields owned by other people. Force flag must be + unset for non-apply patch requests. + in: query + name: force + schema: + type: boolean + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/v1.Patch' + required: true + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + application/yaml: + schema: + $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + application/cbor: + schema: + $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + description: OK + "201": + content: + application/json: + schema: + $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + application/yaml: + schema: + $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + application/cbor: + schema: + $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + description: Created + "401": + content: {} + description: Unauthorized + tags: + - storagemigration_v1alpha1 + x-kubernetes-action: patch + x-kubernetes-group-version-kind: + group: storagemigration.k8s.io + kind: StorageVersionMigration + version: v1alpha1 + x-codegen-request-body-name: body + x-content-type: application/json + x-accepts: + - application/cbor + - application/json + - application/vnd.kubernetes.protobuf + - application/yaml + put: + description: replace the specified StorageVersionMigration + operationId: replaceStorageVersionMigration + parameters: + - description: name of the StorageVersionMigration + in: path + name: name + required: true + schema: + type: string + - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ + \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ + \ and wget)." + in: query + name: pretty + schema: + type: string + - description: "When present, indicates that modifications should not be persisted.\ + \ An invalid or unrecognized dryRun directive will result in an error response\ + \ and no further processing of the request. Valid values are: - All: all\ + \ dry run stages will be processed" + in: query + name: dryRun + schema: + type: string + - description: "fieldManager is a name associated with the actor or entity that\ + \ is making these changes. The value must be less than or 128 characters\ + \ long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint." + in: query + name: fieldManager + schema: + type: string + - description: "fieldValidation instructs the server on how to handle objects\ + \ in the request (POST/PUT/PATCH) containing unknown or duplicate fields.\ + \ Valid values are: - Ignore: This will ignore any unknown fields that are\ + \ silently dropped from the object, and will ignore all but the last duplicate\ + \ field that the decoder encounters. This is the default behavior prior\ + \ to v1.23. - Warn: This will send a warning via the standard warning response\ + \ header for each unknown field that is dropped from the object, and for\ + \ each duplicate field that is encountered. The request will still succeed\ + \ if there are no other errors, and will only persist the last of any duplicate\ + \ fields. This is the default in v1.23+ - Strict: This will fail the request\ + \ with a BadRequest error if any unknown fields would be dropped from the\ + \ object, or if any duplicate fields are present. The error returned from\ + \ the server will contain all unknown and duplicate fields encountered." + in: query + name: fieldValidation + schema: + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + required: true + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + application/yaml: + schema: + $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + application/cbor: + schema: + $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + description: OK + "201": + content: + application/json: + schema: + $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + application/yaml: + schema: + $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + application/cbor: + schema: + $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + description: Created + "401": + content: {} + description: Unauthorized + tags: + - storagemigration_v1alpha1 + x-kubernetes-action: put + x-kubernetes-group-version-kind: + group: storagemigration.k8s.io + kind: StorageVersionMigration + version: v1alpha1 + x-codegen-request-body-name: body + x-content-type: application/json + x-accepts: + - application/cbor + - application/json + - application/vnd.kubernetes.protobuf + - application/yaml + /apis/storagemigration.k8s.io/v1alpha1/storageversionmigrations/{name}/status: + get: + description: read status of the specified StorageVersionMigration + operationId: readStorageVersionMigrationStatus + parameters: + - description: name of the StorageVersionMigration + in: path + name: name + required: true + schema: + type: string + - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ + \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ + \ and wget)." + in: query + name: pretty + schema: + type: string + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + application/yaml: + schema: + $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + application/vnd.kubernetes.protobuf: + schema: + $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + application/cbor: + schema: + $ref: '#/components/schemas/v1alpha1.StorageVersionMigration' + description: OK + "401": + content: {} + description: Unauthorized + tags: + - storagemigration_v1alpha1 + x-kubernetes-action: get + x-kubernetes-group-version-kind: + group: storagemigration.k8s.io + kind: StorageVersionMigration + version: v1alpha1 + x-accepts: + - application/cbor + - application/json + - application/vnd.kubernetes.protobuf + - application/yaml + patch: + description: partially update status of the specified StorageVersionMigration + operationId: patchStorageVersionMigrationStatus + parameters: + - description: name of the StorageVersionMigration + in: path + name: name + required: true + schema: + type: string + - description: "If 'true', then the output is pretty printed. Defaults to 'false'\ + \ unless the user-agent indicates a browser or command-line HTTP tool (curl\ + \ and wget)." + in: query + name: pretty + schema: + type: string + - description: "When present, indicates that modifications should not be persisted.\ + \ An invalid or unrecognized dryRun directive will result in an error response\ + \ and no further processing of the request. Valid values are: - All: all\ + \ dry run stages will be processed" + in: query + name: dryRun + schema: + type: string + - description: "fieldManager is a name associated with the actor or entity that\ + \ is making these changes. The value must be less than or 128 characters\ + \ long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.\ + \ This field is required for apply requests (application/apply-patch) but\ + \ optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch)." in: query name: fieldManager schema: @@ -96102,380 +97948,7 @@ components: type: string type: object x-kubernetes-map-type: atomic - v1alpha1.ParamKind: - description: ParamKind is a tuple of Group Kind and Version. - example: - apiVersion: apiVersion - kind: kind - properties: - apiVersion: - description: APIVersion is the API group version the resources belong to. - In format of "group/version". Required. - type: string - kind: - description: Kind is the API kind the resources belong to. Required. - type: string - type: object - x-kubernetes-map-type: atomic - v1alpha1.ParamRef: - description: ParamRef describes how to locate the params to be used as input - to expressions of rules applied by a policy binding. - example: - name: name - namespace: namespace - selector: - matchExpressions: - - values: - - values - - values - key: key - operator: operator - - values: - - values - - values - key: key - operator: operator - matchLabels: - key: matchLabels - parameterNotFoundAction: parameterNotFoundAction - properties: - name: - description: |- - `name` is the name of the resource being referenced. - - `name` and `selector` are mutually exclusive properties. If one is set, the other must be unset. - type: string - namespace: - description: |- - namespace is the namespace of the referenced resource. Allows limiting the search for params to a specific namespace. Applies to both `name` and `selector` fields. - - A per-namespace parameter may be used by specifying a namespace-scoped `paramKind` in the policy and leaving this field empty. - - - If `paramKind` is cluster-scoped, this field MUST be unset. Setting this field results in a configuration error. - - - If `paramKind` is namespace-scoped, the namespace of the object being 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. - type: string - parameterNotFoundAction: - description: |- - `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. If set to `Deny`, then no matched parameters will be subject to the `failurePolicy` of the policy. - - Allowed values are `Allow` or `Deny` Default to `Deny` - type: string - selector: - $ref: '#/components/schemas/v1.LabelSelector' - type: object - x-kubernetes-map-type: atomic - v1alpha1.Variable: - description: Variable is the definition of a variable that is used for composition. - example: - expression: expression - name: name - properties: - expression: - description: 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. - type: string - name: - description: "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`" - type: string - required: - - expression - - name - type: object - v1beta1.AuditAnnotation: - description: AuditAnnotation describes how to produce an audit annotation for - an API request. - example: - valueExpression: valueExpression - key: key - properties: - key: - description: |- - key specifies the audit annotation key. The audit annotation keys of a ValidatingAdmissionPolicy must be unique. The key must be a qualified name ([A-Za-z0-9][-A-Za-z0-9_.]*) no more than 63 bytes in length. - - The key is combined with the resource name of the ValidatingAdmissionPolicy to construct an audit annotation key: "{ValidatingAdmissionPolicy name}/{key}". - - If an admission webhook uses the same resource name as this ValidatingAdmissionPolicy and the same audit annotation key, the annotation key will be identical. In this case, the first annotation written with the key will be included in the audit event and all subsequent annotations with the same key will be discarded. - - Required. - type: string - valueExpression: - description: |- - valueExpression represents the expression which is evaluated by CEL to produce an audit annotation value. The expression must evaluate to either a string or null value. If the expression evaluates to a string, the audit annotation is included with the string value. If the expression evaluates to null or empty string the audit annotation will be omitted. The valueExpression may be no longer than 5kb in length. If the result of the valueExpression is more than 10kb in length, it will be truncated to 10kb. - - If multiple ValidatingAdmissionPolicyBinding resources match an API request, then the valueExpression will be evaluated for each binding. All unique values produced by the valueExpressions will be joined together in a comma-separated list. - - Required. - type: string - required: - - key - - valueExpression - type: object - v1beta1.ExpressionWarning: - description: ExpressionWarning is a warning information that targets a specific - expression. - example: - fieldRef: fieldRef - warning: warning - properties: - fieldRef: - description: "The path to the field that refers the expression. For example,\ - \ the reference to the expression of the first item of validations is\ - \ \"spec.validations[0].expression\"" - type: string - warning: - description: "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." - type: string - required: - - fieldRef - - warning - type: object - v1beta1.MatchCondition: - description: MatchCondition represents a condition which must be fulfilled for - a request to be sent to a webhook. - example: - expression: expression - name: name - properties: - expression: - description: |- - 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. 'oldObject' - The existing object. The value is null for CREATE requests. 'request' - Attributes of the admission request(/pkg/apis/admission/types.go#AdmissionRequest). '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. - Documentation on CEL: https://kubernetes.io/docs/reference/using-api/cel/ - - Required. - type: string - name: - description: |- - 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 must start and end with an alphanumeric character (e.g. 'MyName', or 'my.name', or '123-abc', regex used for validation is '([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]') with an optional DNS subdomain prefix and '/' (e.g. 'example.com/MyName') - - Required. - type: string - required: - - expression - - name - type: object - v1beta1.MatchResources: - description: "MatchResources decides whether to run the admission control policy\ - \ on an object based on whether it meets the match criteria. The exclude rules\ - \ take precedence over include rules (if a resource matches both, it is excluded)" - example: - matchPolicy: matchPolicy - resourceRules: - - resourceNames: - - resourceNames - - resourceNames - operations: - - operations - - operations - apiVersions: - - apiVersions - - apiVersions - scope: scope - resources: - - resources - - resources - apiGroups: - - apiGroups - - apiGroups - - resourceNames: - - resourceNames - - resourceNames - operations: - - operations - - operations - apiVersions: - - apiVersions - - apiVersions - scope: scope - resources: - - resources - - resources - apiGroups: - - apiGroups - - apiGroups - excludeResourceRules: - - resourceNames: - - resourceNames - - resourceNames - operations: - - operations - - operations - apiVersions: - - apiVersions - - apiVersions - scope: scope - resources: - - resources - - resources - apiGroups: - - apiGroups - - apiGroups - - resourceNames: - - resourceNames - - resourceNames - operations: - - operations - - operations - apiVersions: - - apiVersions - - apiVersions - scope: scope - resources: - - resources - - resources - apiGroups: - - apiGroups - - apiGroups - namespaceSelector: - matchExpressions: - - values: - - values - - values - key: key - operator: operator - - values: - - values - - values - key: key - operator: operator - matchLabels: - key: matchLabels - objectSelector: - matchExpressions: - - values: - - values - - values - key: key - operator: operator - - values: - - values - - values - key: key - operator: operator - matchLabels: - key: matchLabels - properties: - excludeResourceRules: - description: "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)" - items: - $ref: '#/components/schemas/v1beta1.NamedRuleWithOperations' - type: array - x-kubernetes-list-type: atomic - matchPolicy: - description: |- - matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent". - - - Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the ValidatingAdmissionPolicy. - - - Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the ValidatingAdmissionPolicy. - - Defaults to "Equivalent" - type: string - namespaceSelector: - $ref: '#/components/schemas/v1.LabelSelector' - objectSelector: - $ref: '#/components/schemas/v1.LabelSelector' - resourceRules: - description: ResourceRules describes what operations on what resources/subresources - the ValidatingAdmissionPolicy matches. The policy cares about an operation - if it matches _any_ Rule. - items: - $ref: '#/components/schemas/v1beta1.NamedRuleWithOperations' - type: array - x-kubernetes-list-type: atomic - type: object - x-kubernetes-map-type: atomic - v1beta1.NamedRuleWithOperations: - description: NamedRuleWithOperations is a tuple of Operations and Resources - with ResourceNames. - example: - resourceNames: - - resourceNames - - resourceNames - operations: - - operations - - operations - apiVersions: - - apiVersions - - apiVersions - scope: scope - resources: - - resources - - resources - apiGroups: - - apiGroups - - apiGroups - properties: - apiGroups: - description: "APIGroups is the API groups the resources belong to. '*' is\ - \ all groups. If '*' is present, the length of the slice must be one.\ - \ Required." - items: - type: string - type: array - x-kubernetes-list-type: atomic - apiVersions: - description: "APIVersions is the API versions the resources belong to. '*'\ - \ is all versions. If '*' is present, the length of the slice must be\ - \ one. Required." - items: - type: string - type: array - x-kubernetes-list-type: atomic - operations: - description: "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." - items: - type: string - type: array - x-kubernetes-list-type: atomic - resourceNames: - description: ResourceNames is an optional white list of names that the rule - applies to. An empty set means that everything is allowed. - items: - type: string - type: array - x-kubernetes-list-type: atomic - resources: - description: |- - Resources is a list of resources this rule applies to. - - For example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources. - - If wildcard is present, the validation rule will ensure resources do not overlap with each other. - - Depending on the enclosing object, subresources might not be allowed. Required. - items: - type: string - type: array - x-kubernetes-list-type: atomic - scope: - description: "scope specifies the scope of this rule. Valid values are \"\ - Cluster\", \"Namespaced\", and \"*\" \"Cluster\" means that only cluster-scoped\ - \ resources will match this rule. Namespace API objects are cluster-scoped.\ - \ \"Namespaced\" means that only namespaced resources will match this\ - \ rule. \"*\" means that there are no scope restrictions. Subresources\ - \ match the scope of their parent resource. Default is \"*\"." - type: string - type: object - x-kubernetes-map-type: atomic - v1beta1.ParamKind: + v1alpha1.ParamKind: description: ParamKind is a tuple of Group Kind and Version. example: apiVersion: apiVersion @@ -96490,7 +97963,7 @@ components: type: string type: object x-kubernetes-map-type: atomic - v1beta1.ParamRef: + v1alpha1.ParamRef: description: ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding. example: @@ -96514,11 +97987,9 @@ components: properties: name: description: |- - name is the name of the resource being referenced. - - 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. + `name` is the name of the resource being referenced. - A single parameter used for all admission requests can be configured by setting the `name` field, leaving `selector` blank, and setting namespace if `paramKind` is namespace-scoped. + `name` and `selector` are mutually exclusive properties. If one is set, the other must be unset. type: string namespace: description: |- @@ -96534,34 +98005,291 @@ components: description: |- `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. If set to `Deny`, then no matched parameters will be subject to the `failurePolicy` of the policy. - Allowed values are `Allow` or `Deny` - - Required + Allowed values are `Allow` or `Deny` Default to `Deny` type: string selector: $ref: '#/components/schemas/v1.LabelSelector' type: object x-kubernetes-map-type: atomic - v1beta1.TypeChecking: - description: TypeChecking contains results of type checking the expressions - in the ValidatingAdmissionPolicy + v1alpha1.Variable: + description: Variable is the definition of a variable that is used for composition. example: - expressionWarnings: - - fieldRef: fieldRef - warning: warning - - fieldRef: fieldRef - warning: warning + expression: expression + name: name properties: - expressionWarnings: - description: The type checking warnings for each expression. + expression: + description: 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. + type: string + name: + description: "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`" + type: string + required: + - expression + - name + type: object + v1beta1.ApplyConfiguration: + description: ApplyConfiguration defines the desired configuration values of + an object. + example: + expression: expression + properties: + expression: + description: "expression will be evaluated by CEL to create an apply configuration.\ + \ ref: https://github.com/google/cel-spec\n\nApply configurations are\ + \ declared in CEL using object initialization. For example, this CEL expression\ + \ returns an apply configuration to set a single field:\n\n\tObject{\n\ + \t spec: Object.spec{\n\t serviceAccountName: \"example\"\n\t }\n\ + \t}\n\nApply configurations may not modify atomic structs, maps or arrays\ + \ due to the risk of accidental deletion of values not included in the\ + \ apply configuration.\n\nCEL expressions have access to the object types\ + \ needed to create apply configurations:\n\n- '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')\n\nCEL\ + \ expressions have access to the contents of the API request, organized\ + \ into CEL variables as well as some other useful variables:\n\n- '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.\n For example,\ + \ a variable named 'foo' can be accessed as 'variables.foo'.\n- 'authorizer'\ + \ - A CEL Authorizer. May be used to perform authorization checks for\ + \ the principal (user or service account) of the request.\n See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz\n\ + - 'authorizer.requestResource' - A CEL ResourceCheck constructed from\ + \ the 'authorizer' and configured with the\n request resource.\n\nThe\ + \ `apiVersion`, `kind`, `metadata.name` and `metadata.generateName` are\ + \ always accessible from the root of the object. No other metadata properties\ + \ are accessible.\n\nOnly property names of the form `[a-zA-Z_.-/][a-zA-Z0-9_.-/]*`\ + \ are accessible. Required." + type: string + type: object + v1beta1.JSONPatch: + description: JSONPatch defines a JSON Patch. + example: + expression: expression + properties: + expression: + description: "expression will be evaluated by CEL to create a [JSON patch](https://jsonpatch.com/).\ + \ ref: https://github.com/google/cel-spec\n\nexpression must return an\ + \ array of JSONPatch values.\n\nFor example, this CEL expression returns\ + \ a JSON patch to conditionally modify a value:\n\n\t [\n\t JSONPatch{op:\ + \ \"test\", path: \"/spec/example\", value: \"Red\"},\n\t JSONPatch{op:\ + \ \"replace\", path: \"/spec/example\", value: \"Green\"}\n\t ]\n\nTo\ + \ define an object for the patch value, use Object types. For example:\n\ + \n\t [\n\t JSONPatch{\n\t op: \"add\",\n\t path: \"/spec/selector\"\ + ,\n\t value: Object.spec.selector{matchLabels: {\"environment\":\ + \ \"test\"}}\n\t }\n\t ]\n\nTo use strings containing '/' and '~'\ + \ as JSONPatch path keys, use \"jsonpatch.escapeKey\". For example:\n\n\ + \t [\n\t JSONPatch{\n\t op: \"add\",\n\t path: \"/metadata/labels/\"\ + \ + jsonpatch.escapeKey(\"example.com/environment\"),\n\t value:\ + \ \"test\"\n\t },\n\t ]\n\nCEL expressions have access to the types\ + \ needed to create JSON patches and objects:\n\n- 'JSONPatch' - CEL type\ + \ of JSON Patch operations. JSONPatch has the fields 'op', 'from', 'path'\ + \ and 'value'.\n See [JSON patch](https://jsonpatch.com/) for more details.\ + \ The 'value' field may be set to any of: string,\n integer, array, map\ + \ or object. If set, the 'path' and 'from' fields must be set to a\n\ + \ [JSON pointer](https://datatracker.ietf.org/doc/html/rfc6901/) string,\ + \ where the 'jsonpatch.escapeKey()' CEL\n function may be used to escape\ + \ path keys containing '/' and '~'.\n- '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')\n\nCEL expressions have access\ + \ to the contents of the API request, organized into CEL variables as\ + \ well as some other useful variables:\n\n- '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.\n For example,\ + \ a variable named 'foo' can be accessed as 'variables.foo'.\n- 'authorizer'\ + \ - A CEL Authorizer. May be used to perform authorization checks for\ + \ the principal (user or service account) of the request.\n See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz\n\ + - 'authorizer.requestResource' - A CEL ResourceCheck constructed from\ + \ the 'authorizer' and configured with the\n request resource.\n\nCEL\ + \ 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:\n\n- 'jsonpatch.escapeKey' - Performs JSONPatch key escaping.\ + \ '~' and '/' are escaped as '~0' and `~1' respectively).\n\nOnly property\ + \ names of the form `[a-zA-Z_.-/][a-zA-Z0-9_.-/]*` are accessible. Required." + type: string + type: object + v1beta1.MatchCondition: + description: MatchCondition represents a condition which must be fulfilled for + a request to be sent to a webhook. + example: + expression: expression + name: name + properties: + expression: + description: |- + 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. 'oldObject' - The existing object. The value is null for CREATE requests. 'request' - Attributes of the admission request(/pkg/apis/admission/types.go#AdmissionRequest). '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. + Documentation on CEL: https://kubernetes.io/docs/reference/using-api/cel/ + + Required. + type: string + name: + description: |- + 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 must start and end with an alphanumeric character (e.g. 'MyName', or 'my.name', or '123-abc', regex used for validation is '([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]') with an optional DNS subdomain prefix and '/' (e.g. 'example.com/MyName') + + Required. + type: string + required: + - expression + - name + type: object + v1beta1.MatchResources: + description: "MatchResources decides whether to run the admission control policy\ + \ on an object based on whether it meets the match criteria. The exclude rules\ + \ take precedence over include rules (if a resource matches both, it is excluded)" + example: + matchPolicy: matchPolicy + resourceRules: + - resourceNames: + - resourceNames + - resourceNames + operations: + - operations + - operations + apiVersions: + - apiVersions + - apiVersions + scope: scope + resources: + - resources + - resources + apiGroups: + - apiGroups + - apiGroups + - resourceNames: + - resourceNames + - resourceNames + operations: + - operations + - operations + apiVersions: + - apiVersions + - apiVersions + scope: scope + resources: + - resources + - resources + apiGroups: + - apiGroups + - apiGroups + excludeResourceRules: + - resourceNames: + - resourceNames + - resourceNames + operations: + - operations + - operations + apiVersions: + - apiVersions + - apiVersions + scope: scope + resources: + - resources + - resources + apiGroups: + - apiGroups + - apiGroups + - resourceNames: + - resourceNames + - resourceNames + operations: + - operations + - operations + apiVersions: + - apiVersions + - apiVersions + scope: scope + resources: + - resources + - resources + apiGroups: + - apiGroups + - apiGroups + namespaceSelector: + matchExpressions: + - values: + - values + - values + key: key + operator: operator + - values: + - values + - values + key: key + operator: operator + matchLabels: + key: matchLabels + objectSelector: + matchExpressions: + - values: + - values + - values + key: key + operator: operator + - values: + - values + - values + key: key + operator: operator + matchLabels: + key: matchLabels + properties: + excludeResourceRules: + description: "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)" + items: + $ref: '#/components/schemas/v1beta1.NamedRuleWithOperations' + type: array + x-kubernetes-list-type: atomic + matchPolicy: + description: |- + matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent". + + - Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the ValidatingAdmissionPolicy. + + - Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the ValidatingAdmissionPolicy. + + Defaults to "Equivalent" + type: string + namespaceSelector: + $ref: '#/components/schemas/v1.LabelSelector' + objectSelector: + $ref: '#/components/schemas/v1.LabelSelector' + resourceRules: + description: ResourceRules describes what operations on what resources/subresources + the ValidatingAdmissionPolicy matches. The policy cares about an operation + if it matches _any_ Rule. items: - $ref: '#/components/schemas/v1beta1.ExpressionWarning' + $ref: '#/components/schemas/v1beta1.NamedRuleWithOperations' type: array x-kubernetes-list-type: atomic type: object - v1beta1.ValidatingAdmissionPolicy: - description: ValidatingAdmissionPolicy describes the definition of an admission - validation policy that accepts or rejects an object without changing it. + x-kubernetes-map-type: atomic + v1beta1.MutatingAdmissionPolicy: + description: MutatingAdmissionPolicy describes the definition of an admission + mutation policy that mutates the object coming into admission chain. example: metadata: generation: 6 @@ -96612,19 +98340,26 @@ components: apiVersion: apiVersion kind: kind spec: + reinvocationPolicy: reinvocationPolicy variables: - expression: expression name: name - expression: expression name: name + mutations: + - patchType: patchType + applyConfiguration: + expression: expression + jsonPatch: + expression: expression + - patchType: patchType + applyConfiguration: + expression: expression + jsonPatch: + expression: expression paramKind: apiVersion: apiVersion kind: kind - auditAnnotations: - - valueExpression: valueExpression - key: key - - valueExpression: valueExpression - key: key matchConditions: - expression: expression name: name @@ -96726,37 +98461,7 @@ components: operator: operator matchLabels: key: matchLabels - validations: - - reason: reason - expression: expression - messageExpression: messageExpression - message: message - - reason: reason - expression: expression - messageExpression: messageExpression - message: message failurePolicy: failurePolicy - status: - typeChecking: - expressionWarnings: - - fieldRef: fieldRef - warning: warning - - fieldRef: fieldRef - warning: warning - conditions: - - reason: reason - lastTransitionTime: 2000-01-23T04:56:07.000+00:00 - message: message - type: type - observedGeneration: 5 - status: status - - reason: reason - lastTransitionTime: 2000-01-23T04:56:07.000+00:00 - message: message - type: type - observedGeneration: 5 - status: status - observedGeneration: 0 properties: apiVersion: description: "APIVersion defines the versioned schema of this representation\ @@ -96771,23 +98476,21 @@ components: metadata: $ref: '#/components/schemas/v1.ObjectMeta' spec: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicySpec' - status: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicyStatus' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicySpec' type: object x-kubernetes-group-version-kind: - group: admissionregistration.k8s.io - kind: ValidatingAdmissionPolicy + kind: MutatingAdmissionPolicy version: v1beta1 x-implements: - io.kubernetes.client.common.KubernetesObject - v1beta1.ValidatingAdmissionPolicyBinding: + v1beta1.MutatingAdmissionPolicyBinding: description: |- - ValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources. ValidatingAdmissionPolicyBinding and parameter CRDs together define how cluster administrators configure policies for clusters. + 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. + 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). - The CEL expressions of a policy must have a computed CEL cost below the maximum CEL budget. Each evaluation of the policy is given an independent CEL cost budget. Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget. + Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget. example: metadata: generation: 6 @@ -96953,9 +98656,6 @@ components: operator: operator matchLabels: key: matchLabels - validationActions: - - validationActions - - validationActions properties: apiVersion: description: "APIVersion defines the versioned schema of this representation\ @@ -96970,16 +98670,16 @@ components: metadata: $ref: '#/components/schemas/v1.ObjectMeta' spec: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicyBindingSpec' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicyBindingSpec' type: object x-kubernetes-group-version-kind: - group: admissionregistration.k8s.io - kind: ValidatingAdmissionPolicyBinding + kind: MutatingAdmissionPolicyBinding version: v1beta1 x-implements: - io.kubernetes.client.common.KubernetesObject - v1beta1.ValidatingAdmissionPolicyBindingList: - description: ValidatingAdmissionPolicyBindingList is a list of ValidatingAdmissionPolicyBinding. + v1beta1.MutatingAdmissionPolicyBindingList: + description: MutatingAdmissionPolicyBindingList is a list of MutatingAdmissionPolicyBinding. example: metadata: remainingItemCount: 1 @@ -97153,9 +98853,6 @@ components: operator: operator matchLabels: key: matchLabels - validationActions: - - validationActions - - validationActions - metadata: generation: 6 finalizers: @@ -97320,9 +99017,6 @@ components: operator: operator matchLabels: key: matchLabels - validationActions: - - validationActions - - validationActions properties: apiVersion: description: "APIVersion defines the versioned schema of this representation\ @@ -97332,7 +99026,7 @@ components: items: description: List of PolicyBinding. items: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicyBinding' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicyBinding' type: array kind: description: "Kind is a string value representing the REST resource this\ @@ -97346,13 +99040,13 @@ components: type: object x-kubernetes-group-version-kind: - group: admissionregistration.k8s.io - kind: ValidatingAdmissionPolicyBindingList + kind: MutatingAdmissionPolicyBindingList version: v1beta1 x-implements: - io.kubernetes.client.common.KubernetesListObject - v1beta1.ValidatingAdmissionPolicyBindingSpec: - description: ValidatingAdmissionPolicyBindingSpec is the specification of the - ValidatingAdmissionPolicyBinding. + v1beta1.MutatingAdmissionPolicyBindingSpec: + description: MutatingAdmissionPolicyBindingSpec is the specification of the + MutatingAdmissionPolicyBinding. example: paramRef: name: name @@ -97469,48 +99163,20 @@ components: operator: operator matchLabels: key: matchLabels - validationActions: - - validationActions - - validationActions properties: matchResources: $ref: '#/components/schemas/v1beta1.MatchResources' paramRef: $ref: '#/components/schemas/v1beta1.ParamRef' policyName: - description: "PolicyName references a ValidatingAdmissionPolicy name which\ - \ the ValidatingAdmissionPolicyBinding binds to. If the referenced resource\ + description: "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." type: string - validationActions: - description: |- - validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions. - - Failures defined by the ValidatingAdmissionPolicy's FailurePolicy are enforced according to these actions only if the FailurePolicy is set to Fail, otherwise the failures are ignored. This includes compilation errors, runtime errors and misconfigurations of the policy. - - validationActions is declared as a set of action values. Order does not matter. validationActions may not contain duplicates of the same action. - - The supported actions values are: - - "Deny" specifies that a validation failure results in a denied request. - - "Warn" specifies that a validation failure is reported to the request client in HTTP Warning headers, with a warning code of 299. Warnings can be sent both for allowed or denied admission responses. - - "Audit" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `"validation.policy.admission.k8s.io/validation_failure": "[{\"message\": \"Invalid value\", {\"policy\": \"policy.example.com\", {\"binding\": \"policybinding.example.com\", {\"expressionIndex\": \"1\", {\"validationActions\": [\"Audit\"]}]"` - - Clients should expect to handle additional values by ignoring any values not recognized. - - "Deny" and "Warn" may not be used together since this combination needlessly duplicates the validation failure both in the API response body and the HTTP warning headers. - - Required. - items: - type: string - type: array - x-kubernetes-list-type: set type: object - v1beta1.ValidatingAdmissionPolicyList: - description: ValidatingAdmissionPolicyList is a list of ValidatingAdmissionPolicy. + v1beta1.MutatingAdmissionPolicyList: + description: MutatingAdmissionPolicyList is a list of MutatingAdmissionPolicy. example: metadata: remainingItemCount: 1 @@ -97569,19 +99235,26 @@ components: apiVersion: apiVersion kind: kind spec: + reinvocationPolicy: reinvocationPolicy variables: - expression: expression name: name - expression: expression name: name + mutations: + - patchType: patchType + applyConfiguration: + expression: expression + jsonPatch: + expression: expression + - patchType: patchType + applyConfiguration: + expression: expression + jsonPatch: + expression: expression paramKind: apiVersion: apiVersion kind: kind - auditAnnotations: - - valueExpression: valueExpression - key: key - - valueExpression: valueExpression - key: key matchConditions: - expression: expression name: name @@ -97683,37 +99356,7 @@ components: operator: operator matchLabels: key: matchLabels - validations: - - reason: reason - expression: expression - messageExpression: messageExpression - message: message - - reason: reason - expression: expression - messageExpression: messageExpression - message: message failurePolicy: failurePolicy - status: - typeChecking: - expressionWarnings: - - fieldRef: fieldRef - warning: warning - - fieldRef: fieldRef - warning: warning - conditions: - - reason: reason - lastTransitionTime: 2000-01-23T04:56:07.000+00:00 - message: message - type: type - observedGeneration: 5 - status: status - - reason: reason - lastTransitionTime: 2000-01-23T04:56:07.000+00:00 - message: message - type: type - observedGeneration: 5 - status: status - observedGeneration: 0 - metadata: generation: 6 finalizers: @@ -97763,19 +99406,26 @@ components: apiVersion: apiVersion kind: kind spec: + reinvocationPolicy: reinvocationPolicy variables: - expression: expression name: name - expression: expression name: name + mutations: + - patchType: patchType + applyConfiguration: + expression: expression + jsonPatch: + expression: expression + - patchType: patchType + applyConfiguration: + expression: expression + jsonPatch: + expression: expression paramKind: apiVersion: apiVersion kind: kind - auditAnnotations: - - valueExpression: valueExpression - key: key - - valueExpression: valueExpression - key: key matchConditions: - expression: expression name: name @@ -97877,37 +99527,7 @@ components: operator: operator matchLabels: key: matchLabels - validations: - - reason: reason - expression: expression - messageExpression: messageExpression - message: message - - reason: reason - expression: expression - messageExpression: messageExpression - message: message failurePolicy: failurePolicy - status: - typeChecking: - expressionWarnings: - - fieldRef: fieldRef - warning: warning - - fieldRef: fieldRef - warning: warning - conditions: - - reason: reason - lastTransitionTime: 2000-01-23T04:56:07.000+00:00 - message: message - type: type - observedGeneration: 5 - status: status - - reason: reason - lastTransitionTime: 2000-01-23T04:56:07.000+00:00 - message: message - type: type - observedGeneration: 5 - status: status - observedGeneration: 0 properties: apiVersion: description: "APIVersion defines the versioned schema of this representation\ @@ -97917,7 +99537,7 @@ components: items: description: List of ValidatingAdmissionPolicy. items: - $ref: '#/components/schemas/v1beta1.ValidatingAdmissionPolicy' + $ref: '#/components/schemas/v1beta1.MutatingAdmissionPolicy' type: array kind: description: "Kind is a string value representing the REST resource this\ @@ -97931,27 +99551,34 @@ components: type: object x-kubernetes-group-version-kind: - group: admissionregistration.k8s.io - kind: ValidatingAdmissionPolicyList + kind: MutatingAdmissionPolicyList version: v1beta1 x-implements: - io.kubernetes.client.common.KubernetesListObject - v1beta1.ValidatingAdmissionPolicySpec: - description: ValidatingAdmissionPolicySpec is the specification of the desired - behavior of the AdmissionPolicy. + v1beta1.MutatingAdmissionPolicySpec: + description: MutatingAdmissionPolicySpec is the specification of the desired + behavior of the admission policy. example: + reinvocationPolicy: reinvocationPolicy variables: - expression: expression name: name - expression: expression name: name + mutations: + - patchType: patchType + applyConfiguration: + expression: expression + jsonPatch: + expression: expression + - patchType: patchType + applyConfiguration: + expression: expression + jsonPatch: + expression: expression paramKind: apiVersion: apiVersion kind: kind - auditAnnotations: - - valueExpression: valueExpression - key: key - - valueExpression: valueExpression - key: key matchConditions: - expression: expression name: name @@ -98053,41 +99680,21 @@ components: operator: operator matchLabels: key: matchLabels - validations: - - reason: reason - expression: expression - messageExpression: messageExpression - message: message - - reason: reason - expression: expression - messageExpression: messageExpression - message: message failurePolicy: failurePolicy properties: - auditAnnotations: - description: auditAnnotations contains CEL expressions which are used to - produce audit annotations for the audit event of the API request. validations - and auditAnnotations may not both be empty; a least one of validations - or auditAnnotations is required. - items: - $ref: '#/components/schemas/v1beta1.AuditAnnotation' - type: array - x-kubernetes-list-type: atomic failurePolicy: description: |- 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 spec.paramKind refers to a non-existent Kind. A binding is invalid if spec.paramRef.name refers to a non-existent resource. + 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. - When failurePolicy is set to Fail, ValidatingAdmissionPolicyBinding validationActions define how failures are enforced. - Allowed values are Ignore or Fail. Defaults to Fail. type: string matchConditions: description: |- - 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. + 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. @@ -98107,161 +99714,200 @@ components: x-kubernetes-patch-merge-key: name matchConstraints: $ref: '#/components/schemas/v1beta1.MatchResources' - paramKind: - $ref: '#/components/schemas/v1beta1.ParamKind' - validations: - description: 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. + mutations: + description: "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." items: - $ref: '#/components/schemas/v1beta1.Validation' + $ref: '#/components/schemas/v1beta1.Mutation' type: array x-kubernetes-list-type: atomic + paramKind: + $ref: '#/components/schemas/v1beta1.ParamKind' + reinvocationPolicy: + description: |- + 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. + type: string variables: description: |- - 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. + 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. + 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. items: $ref: '#/components/schemas/v1beta1.Variable' type: array - x-kubernetes-patch-strategy: merge - x-kubernetes-list-type: map - x-kubernetes-list-map-keys: - - name - x-kubernetes-patch-merge-key: name + x-kubernetes-list-type: atomic type: object - v1beta1.ValidatingAdmissionPolicyStatus: - description: ValidatingAdmissionPolicyStatus represents the status of an admission - validation policy. + v1beta1.Mutation: + description: Mutation specifies the CEL expression which is used to apply the + Mutation. example: - typeChecking: - expressionWarnings: - - fieldRef: fieldRef - warning: warning - - fieldRef: fieldRef - warning: warning - conditions: - - reason: reason - lastTransitionTime: 2000-01-23T04:56:07.000+00:00 - message: message - type: type - observedGeneration: 5 - status: status - - reason: reason - lastTransitionTime: 2000-01-23T04:56:07.000+00:00 - message: message - type: type - observedGeneration: 5 - status: status - observedGeneration: 0 + patchType: patchType + applyConfiguration: + expression: expression + jsonPatch: + expression: expression properties: - conditions: - description: The conditions represent the latest available observations - of a policy's current state. + applyConfiguration: + $ref: '#/components/schemas/v1beta1.ApplyConfiguration' + jsonPatch: + $ref: '#/components/schemas/v1beta1.JSONPatch' + patchType: + description: patchType indicates the patch strategy used. Allowed values + are "ApplyConfiguration" and "JSONPatch". Required. + type: string + required: + - patchType + type: object + v1beta1.NamedRuleWithOperations: + description: NamedRuleWithOperations is a tuple of Operations and Resources + with ResourceNames. + example: + resourceNames: + - resourceNames + - resourceNames + operations: + - operations + - operations + apiVersions: + - apiVersions + - apiVersions + scope: scope + resources: + - resources + - resources + apiGroups: + - apiGroups + - apiGroups + properties: + apiGroups: + description: "APIGroups is the API groups the resources belong to. '*' is\ + \ all groups. If '*' is present, the length of the slice must be one.\ + \ Required." items: - $ref: '#/components/schemas/v1.Condition' + type: string type: array - x-kubernetes-list-type: map - x-kubernetes-list-map-keys: - - type - observedGeneration: - description: The generation observed by the controller. - format: int64 - type: integer - typeChecking: - $ref: '#/components/schemas/v1beta1.TypeChecking' + x-kubernetes-list-type: atomic + apiVersions: + description: "APIVersions is the API versions the resources belong to. '*'\ + \ is all versions. If '*' is present, the length of the slice must be\ + \ one. Required." + items: + type: string + type: array + x-kubernetes-list-type: atomic + operations: + description: "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." + items: + type: string + type: array + x-kubernetes-list-type: atomic + resourceNames: + description: ResourceNames is an optional white list of names that the rule + applies to. An empty set means that everything is allowed. + items: + type: string + type: array + x-kubernetes-list-type: atomic + resources: + description: |- + Resources is a list of resources this rule applies to. + + For example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources. + + If wildcard is present, the validation rule will ensure resources do not overlap with each other. + + Depending on the enclosing object, subresources might not be allowed. Required. + items: + type: string + type: array + x-kubernetes-list-type: atomic + scope: + description: "scope specifies the scope of this rule. Valid values are \"\ + Cluster\", \"Namespaced\", and \"*\" \"Cluster\" means that only cluster-scoped\ + \ resources will match this rule. Namespace API objects are cluster-scoped.\ + \ \"Namespaced\" means that only namespaced resources will match this\ + \ rule. \"*\" means that there are no scope restrictions. Subresources\ + \ match the scope of their parent resource. Default is \"*\"." + type: string type: object - v1beta1.Validation: - description: Validation specifies the CEL expression which is used to apply - the validation. + x-kubernetes-map-type: atomic + v1beta1.ParamKind: + description: ParamKind is a tuple of Group Kind and Version. example: - reason: reason - expression: expression - messageExpression: messageExpression - message: message + apiVersion: apiVersion + kind: kind properties: - expression: - description: "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:\n\n- '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.\n For example,\ - \ a variable named 'foo' can be accessed as 'variables.foo'.\n- 'authorizer'\ - \ - A CEL Authorizer. May be used to perform authorization checks for\ - \ the principal (user or service account) of the request.\n See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz\n\ - - 'authorizer.requestResource' - A CEL ResourceCheck constructed from\ - \ the 'authorizer' and configured with the\n request resource.\n\nThe\ - \ `apiVersion`, `kind`, `metadata.name` and `metadata.generateName` are\ - \ always accessible from the root of the object. No other metadata properties\ - \ are accessible.\n\nOnly property names of the form `[a-zA-Z_.-/][a-zA-Z0-9_.-/]*`\ - \ are accessible. Accessible property names are escaped according to the\ - \ following rules when accessed in the expression: - '__' escapes to '__underscores__'\ - \ - '.' escapes to '__dot__' - '-' escapes to '__dash__' - '/' escapes\ - \ to '__slash__' - Property names that exactly match a CEL RESERVED keyword\ - \ escape to '__{keyword}__'. The keywords are:\n\t \"true\", \"false\"\ - , \"null\", \"in\", \"as\", \"break\", \"const\", \"continue\", \"else\"\ - , \"for\", \"function\", \"if\",\n\t \"import\", \"let\", \"loop\", \"\ - package\", \"namespace\", \"return\".\nExamples:\n - Expression accessing\ - \ a property named \"namespace\": {\"Expression\": \"object.__namespace__\ - \ > 0\"}\n - Expression accessing a property named \"x-prop\": {\"Expression\"\ - : \"object.x__dash__prop > 0\"}\n - Expression accessing a property named\ - \ \"redact__d\": {\"Expression\": \"object.redact__underscores__d > 0\"\ - }\n\nEquality on arrays with list type of 'set' or 'map' ignores element\ - \ order, i.e. [1, 2] == [2, 1]. Concatenation on arrays with x-kubernetes-list-type\ - \ use the semantics of the list type:\n - 'set': `X + Y` performs a union\ - \ where the array positions of all elements in `X` are preserved and\n\ - \ non-intersecting elements in `Y` are appended, retaining their partial\ - \ order.\n - 'map': `X + Y` performs a merge where the array positions\ - \ of all keys in `X` are preserved but the values\n are overwritten\ - \ by values in `Y` when the key sets of `X` and `Y` intersect. Elements\ - \ in `Y` with\n non-intersecting keys are appended, retaining their\ - \ partial order.\nRequired." + apiVersion: + description: APIVersion is the API group version the resources belong to. + In format of "group/version". Required. type: string - message: - description: "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\"\ - \ If the Expression contains line breaks. Message is required. The message\ - \ must not contain line breaks. If unset, the message is \"failed Expression:\ - \ {Expression}\"." + kind: + description: Kind is the API kind the resources belong to. Required. type: string - messageExpression: - description: "messageExpression declares a CEL expression that evaluates\ - \ to the validation failure message that is returned when this rule fails.\ - \ Since messageExpression is used as a failure message, it must evaluate\ - \ to a string. If both message and messageExpression are present on a\ - \ validation, then messageExpression will be used if validation fails.\ - \ If messageExpression results in a runtime error, the runtime error is\ - \ logged, and the validation failure message is produced as if the messageExpression\ - \ field were unset. If messageExpression evaluates to an empty string,\ - \ a string with only spaces, or a string that contains line breaks, then\ - \ the validation failure message will also be produced as if the messageExpression\ - \ field were unset, and the fact that messageExpression produced an empty\ - \ string/string with only spaces/string with line breaks will be logged.\ - \ messageExpression has access to all the same variables as the `expression`\ - \ except for 'authorizer' and 'authorizer.requestResource'. Example: \"\ - object.x must be less than max (\"+string(params.max)+\")\"" + type: object + x-kubernetes-map-type: atomic + v1beta1.ParamRef: + description: ParamRef describes how to locate the params to be used as input + to expressions of rules applied by a policy binding. + example: + name: name + namespace: namespace + selector: + matchExpressions: + - values: + - values + - values + key: key + operator: operator + - values: + - values + - values + key: key + operator: operator + matchLabels: + key: matchLabels + parameterNotFoundAction: parameterNotFoundAction + properties: + name: + description: |- + name is the name of the resource being referenced. + + 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. + + A single parameter used for all admission requests can be configured by setting the `name` field, leaving `selector` blank, and setting namespace if `paramKind` is namespace-scoped. type: string - reason: - description: "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. The currently supported reasons\ - \ are: \"Unauthorized\", \"Forbidden\", \"Invalid\", \"RequestEntityTooLarge\"\ - . If not set, StatusReasonInvalid is used in the response to the client." + namespace: + description: |- + namespace is the namespace of the referenced resource. Allows limiting the search for params to a specific namespace. Applies to both `name` and `selector` fields. + + A per-namespace parameter may be used by specifying a namespace-scoped `paramKind` in the policy and leaving this field empty. + + - If `paramKind` is cluster-scoped, this field MUST be unset. Setting this field results in a configuration error. + + - If `paramKind` is namespace-scoped, the namespace of the object being 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. type: string - required: - - expression + parameterNotFoundAction: + description: |- + `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. If set to `Deny`, then no matched parameters will be subject to the `failurePolicy` of the policy. + + Allowed values are `Allow` or `Deny` + + Required + type: string + selector: + $ref: '#/components/schemas/v1.LabelSelector' type: object + x-kubernetes-map-type: atomic v1beta1.Variable: description: Variable is the definition of a variable that is used for composition. A variable is defined as a named expression. @@ -99083,6 +100729,7 @@ components: - conditionType: conditionType - conditionType: conditionType serviceAccountName: serviceAccountName + hostnameOverride: hostnameOverride imagePullSecrets: - name: name - name: name @@ -99105,17 +100752,17 @@ components: appArmorProfile: localhostProfile: localhostProfile type: type - fsGroup: 7 + fsGroup: 1 fsGroupChangePolicy: fsGroupChangePolicy seLinuxChangePolicy: seLinuxChangePolicy - runAsGroup: 1 + runAsGroup: 4 runAsNonRoot: true sysctls: - name: name value: value - name: name value: value - runAsUser: 4 + runAsUser: 5 seccompProfile: localhostProfile: localhostProfile type: type @@ -99125,8 +100772,8 @@ components: hostProcess: true gmsaCredentialSpecName: gmsaCredentialSpecName supplementalGroups: - - 5 - - 5 + - 9 + - 9 supplementalGroupsPolicy: supplementalGroupsPolicy preemptionPolicy: preemptionPolicy nodeSelector: @@ -99135,12 +100782,12 @@ components: runtimeClassName: runtimeClassName tolerations: - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator @@ -99160,7 +100807,7 @@ components: topologySpreadConstraints: - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -99176,14 +100823,14 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys - matchLabelKeys - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -99199,7 +100846,7 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys @@ -99310,20 +100957,90 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 + path: path + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + - mode: 2 + path: path + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + configMap: + name: name + optional: true + items: + - mode: 6 + path: path + key: key + - mode: 6 + path: path + key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName + secret: + name: name + optional: true + items: + - mode: 6 + path: path + key: key + - mode: 6 + path: path + key: key + serviceAccountToken: + path: path + audience: audience + expirationSeconds: 3 + clusterTrustBundle: + path: path + labelSelector: + matchExpressions: + - values: + - values + - values + key: key + operator: operator + - values: + - values + - values + key: key + operator: operator + matchLabels: + key: matchLabels + name: name + optional: true + signerName: signerName + - downwardAPI: + items: + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -99332,7 +101049,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -99345,26 +101062,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -99384,9 +101108,295 @@ components: name: name optional: true signerName: signerName + defaultMode: 6 + cephfs: + path: path + secretRef: + name: name + secretFile: secretFile + readOnly: true + user: user + monitors: + - monitors + - monitors + scaleIO: + system: system + protectionDomain: protectionDomain + sslEnabled: true + storageMode: storageMode + volumeName: volumeName + secretRef: + name: name + readOnly: true + fsType: fsType + storagePool: storagePool + gateway: gateway + emptyDir: + sizeLimit: sizeLimit + medium: medium + glusterfs: + path: path + endpoints: endpoints + readOnly: true + gcePersistentDisk: + partition: 6 + readOnly: true + pdName: pdName + fsType: fsType + image: + reference: reference + pullPolicy: pullPolicy + photonPersistentDisk: + pdID: pdID + fsType: fsType + azureDisk: + diskName: diskName + kind: kind + readOnly: true + cachingMode: cachingMode + diskURI: diskURI + fsType: fsType + cinder: + secretRef: + name: name + volumeID: volumeID + readOnly: true + fsType: fsType + downwardAPI: + defaultMode: 1 + items: + - mode: 2 + path: path + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + - mode: 2 + path: path + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + awsElasticBlockStore: + partition: 6 + volumeID: volumeID + readOnly: true + fsType: fsType + flocker: + datasetName: datasetName + datasetUUID: datasetUUID + iscsi: + chapAuthSession: true + iscsiInterface: iscsiInterface + lun: 5 + chapAuthDiscovery: true + iqn: iqn + portals: + - portals + - portals + secretRef: + name: name + initiatorName: initiatorName + readOnly: true + fsType: fsType + targetPortal: targetPortal + rbd: + image: image + pool: pool + secretRef: + name: name + readOnly: true + fsType: fsType + keyring: keyring + user: user + monitors: + - monitors + - monitors + configMap: + defaultMode: 3 + name: name + optional: true + items: + - mode: 6 + path: path + key: key + - mode: 6 + path: path + key: key + storageos: + volumeNamespace: volumeNamespace + volumeName: volumeName + secretRef: + name: name + readOnly: true + fsType: fsType + csi: + driver: driver + nodePublishSecretRef: + name: name + readOnly: true + fsType: fsType + volumeAttributes: + key: volumeAttributes + name: name + nfs: + path: path + server: server + readOnly: true + persistentVolumeClaim: + claimName: claimName + readOnly: true + gitRepo: + repository: repository + directory: directory + revision: revision + portworxVolume: + volumeID: volumeID + readOnly: true + fsType: fsType + vsphereVolume: + storagePolicyName: storagePolicyName + storagePolicyID: storagePolicyID + volumePath: volumePath + fsType: fsType + fc: + lun: 6 + targetWWNs: + - targetWWNs + - targetWWNs + readOnly: true + wwids: + - wwids + - wwids + fsType: fsType + hostPath: + path: path + type: type + - quobyte: + volume: volume + registry: registry + readOnly: true + user: user + tenant: tenant + group: group + azureFile: + secretName: secretName + readOnly: true + shareName: shareName + flexVolume: + driver: driver + options: + key: options + secretRef: + name: name + readOnly: true + fsType: fsType + ephemeral: + volumeClaimTemplate: + metadata: + generation: 6 + finalizers: + - finalizers + - finalizers + resourceVersion: resourceVersion + annotations: + key: annotations + generateName: generateName + deletionTimestamp: 2000-01-23T04:56:07.000+00:00 + labels: + key: labels + ownerReferences: + - uid: uid + controller: true + apiVersion: apiVersion + kind: kind + name: name + blockOwnerDeletion: true + - uid: uid + controller: true + apiVersion: apiVersion + kind: kind + name: name + blockOwnerDeletion: true + selfLink: selfLink + deletionGracePeriodSeconds: 0 + uid: uid + managedFields: + - apiVersion: apiVersion + fieldsV1: "{}" + manager: manager + subresource: subresource + time: 2000-01-23T04:56:07.000+00:00 + operation: operation + fieldsType: fieldsType + - apiVersion: apiVersion + fieldsV1: "{}" + manager: manager + subresource: subresource + time: 2000-01-23T04:56:07.000+00:00 + operation: operation + fieldsType: fieldsType + creationTimestamp: 2000-01-23T04:56:07.000+00:00 + name: name + namespace: namespace + spec: + storageClassName: storageClassName + dataSourceRef: + apiGroup: apiGroup + kind: kind + name: name + namespace: namespace + volumeName: volumeName + volumeAttributesClassName: volumeAttributesClassName + resources: + requests: + key: null + limits: + key: null + selector: + matchExpressions: + - values: + - values + - values + key: key + operator: operator + - values: + - values + - values + key: key + operator: operator + matchLabels: + key: matchLabels + accessModes: + - accessModes + - accessModes + dataSource: + apiGroup: apiGroup + kind: kind + name: name + volumeMode: volumeMode + secret: + secretName: secretName + defaultMode: 7 + optional: true + items: + - mode: 6 + path: path + key: key + - mode: 6 + path: path + key: key + projected: + sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -99395,7 +101405,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -99408,26 +101418,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -99447,295 +101464,9 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 - cephfs: - path: path - secretRef: - name: name - secretFile: secretFile - readOnly: true - user: user - monitors: - - monitors - - monitors - scaleIO: - system: system - protectionDomain: protectionDomain - sslEnabled: true - storageMode: storageMode - volumeName: volumeName - secretRef: - name: name - readOnly: true - fsType: fsType - storagePool: storagePool - gateway: gateway - emptyDir: - sizeLimit: sizeLimit - medium: medium - glusterfs: - path: path - endpoints: endpoints - readOnly: true - gcePersistentDisk: - partition: 6 - readOnly: true - pdName: pdName - fsType: fsType - image: - reference: reference - pullPolicy: pullPolicy - photonPersistentDisk: - pdID: pdID - fsType: fsType - azureDisk: - diskName: diskName - kind: kind - readOnly: true - cachingMode: cachingMode - diskURI: diskURI - fsType: fsType - cinder: - secretRef: - name: name - volumeID: volumeID - readOnly: true - fsType: fsType - downwardAPI: - defaultMode: 6 - items: - - mode: 1 - path: path - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - mode: 1 - path: path - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - awsElasticBlockStore: - partition: 9 - volumeID: volumeID - readOnly: true - fsType: fsType - flocker: - datasetName: datasetName - datasetUUID: datasetUUID - iscsi: - chapAuthSession: true - iscsiInterface: iscsiInterface - lun: 6 - chapAuthDiscovery: true - iqn: iqn - portals: - - portals - - portals - secretRef: - name: name - initiatorName: initiatorName - readOnly: true - fsType: fsType - targetPortal: targetPortal - rbd: - image: image - pool: pool - secretRef: - name: name - readOnly: true - fsType: fsType - keyring: keyring - user: user - monitors: - - monitors - - monitors - configMap: - defaultMode: 6 - name: name - optional: true - items: - - mode: 3 - path: path - key: key - - mode: 3 - path: path - key: key - storageos: - volumeNamespace: volumeNamespace - volumeName: volumeName - secretRef: - name: name - readOnly: true - fsType: fsType - csi: - driver: driver - nodePublishSecretRef: - name: name - readOnly: true - fsType: fsType - volumeAttributes: - key: volumeAttributes - name: name - nfs: - path: path - server: server - readOnly: true - persistentVolumeClaim: - claimName: claimName - readOnly: true - gitRepo: - repository: repository - directory: directory - revision: revision - portworxVolume: - volumeID: volumeID - readOnly: true - fsType: fsType - vsphereVolume: - storagePolicyName: storagePolicyName - storagePolicyID: storagePolicyID - volumePath: volumePath - fsType: fsType - fc: - lun: 2 - targetWWNs: - - targetWWNs - - targetWWNs - readOnly: true - wwids: - - wwids - - wwids - fsType: fsType - hostPath: - path: path - type: type - - quobyte: - volume: volume - registry: registry - readOnly: true - user: user - tenant: tenant - group: group - azureFile: - secretName: secretName - readOnly: true - shareName: shareName - flexVolume: - driver: driver - options: - key: options - secretRef: - name: name - readOnly: true - fsType: fsType - ephemeral: - volumeClaimTemplate: - metadata: - generation: 6 - finalizers: - - finalizers - - finalizers - resourceVersion: resourceVersion - annotations: - key: annotations - generateName: generateName - deletionTimestamp: 2000-01-23T04:56:07.000+00:00 - labels: - key: labels - ownerReferences: - - uid: uid - controller: true - apiVersion: apiVersion - kind: kind - name: name - blockOwnerDeletion: true - - uid: uid - controller: true - apiVersion: apiVersion - kind: kind - name: name - blockOwnerDeletion: true - selfLink: selfLink - deletionGracePeriodSeconds: 0 - uid: uid - managedFields: - - apiVersion: apiVersion - fieldsV1: "{}" - manager: manager - subresource: subresource - time: 2000-01-23T04:56:07.000+00:00 - operation: operation - fieldsType: fieldsType - - apiVersion: apiVersion - fieldsV1: "{}" - manager: manager - subresource: subresource - time: 2000-01-23T04:56:07.000+00:00 - operation: operation - fieldsType: fieldsType - creationTimestamp: 2000-01-23T04:56:07.000+00:00 - name: name - namespace: namespace - spec: - storageClassName: storageClassName - dataSourceRef: - apiGroup: apiGroup - kind: kind - name: name - namespace: namespace - volumeName: volumeName - volumeAttributesClassName: volumeAttributesClassName - resources: - requests: - key: null - limits: - key: null - selector: - matchExpressions: - - values: - - values - - values - key: key - operator: operator - - values: - - values - - values - key: key - operator: operator - matchLabels: - key: matchLabels - accessModes: - - accessModes - - accessModes - dataSource: - apiGroup: apiGroup - kind: kind - name: name - volumeMode: volumeMode - secret: - secretName: secretName - defaultMode: 3 - optional: true - items: - - mode: 3 - path: path - key: key - - mode: 3 - path: path - key: key - projected: - sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -99744,7 +101475,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -99757,89 +101488,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key - secret: - name: name - optional: true - items: - - mode: 3 - path: path - key: key - - mode: 3 - path: path - key: key - serviceAccountToken: - path: path - audience: audience - expirationSeconds: 6 - clusterTrustBundle: - path: path - labelSelector: - matchExpressions: - - values: - - values - - values - key: key - operator: operator - - values: - - values - - values - key: key - operator: operator - matchLabels: - key: matchLabels - name: name - optional: true + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath signerName: signerName - - downwardAPI: - items: - - mode: 1 - path: path - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - mode: 1 - path: path - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - configMap: - name: name - optional: true - items: - - mode: 3 - path: path - key: key - - mode: 3 - path: path - key: key secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -99859,7 +101534,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -99914,9 +101589,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -99925,7 +101600,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -99935,7 +101610,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -99945,7 +101620,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -99970,14 +101645,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -100017,7 +101692,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -100045,11 +101720,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -100281,6 +101969,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -100299,6 +101992,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -100314,11 +102012,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -100550,6 +102261,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -100568,6 +102284,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -100579,7 +102300,7 @@ components: tty: true stdinOnce: true serviceAccount: serviceAccount - priority: 6 + priority: 7 restartPolicy: restartPolicy shareProcessNamespace: true hostUsers: true @@ -100597,52 +102318,24 @@ components: name: name - devicePath: devicePath name: name - image: image - imagePullPolicy: imagePullPolicy - livenessProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy - terminationMessagePath: terminationMessagePath - workingDir: workingDir - resources: - claims: - - request: request - name: name - - request: request - name: name - requests: - key: null - limits: - key: null securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -100698,43 +102391,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -100746,10 +102402,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -100765,9 +102417,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -100810,8 +102459,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -100844,7 +102491,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -100860,11 +102506,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -100894,8 +102535,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -100908,9 +102547,86 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -100966,43 +102682,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -101014,10 +102693,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -101033,9 +102708,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -101078,8 +102750,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -101112,7 +102782,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -101128,12 +102797,6 @@ components: secretRef: name: name optional: true - initContainers: - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -101163,8 +102826,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -101177,9 +102838,87 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + initContainers: + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -101235,43 +102974,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -101283,10 +102985,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -101302,9 +103000,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -101347,8 +103042,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -101381,7 +103074,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -101397,11 +103089,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -101431,8 +103118,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -101445,9 +103130,86 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -101503,43 +103265,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -101551,10 +103276,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -101570,9 +103291,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -101615,8 +103333,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -101649,7 +103365,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -101665,6 +103380,104 @@ components: secretRef: name: name optional: true + image: image + imagePullPolicy: imagePullPolicy + livenessProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + terminationMessagePath: terminationMessagePath + workingDir: workingDir + resources: + claims: + - request: request + name: name + - request: request + name: name + requests: + key: null + limits: + key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: @@ -102305,6 +104118,7 @@ components: - conditionType: conditionType - conditionType: conditionType serviceAccountName: serviceAccountName + hostnameOverride: hostnameOverride imagePullSecrets: - name: name - name: name @@ -102327,17 +104141,17 @@ components: appArmorProfile: localhostProfile: localhostProfile type: type - fsGroup: 7 + fsGroup: 1 fsGroupChangePolicy: fsGroupChangePolicy seLinuxChangePolicy: seLinuxChangePolicy - runAsGroup: 1 + runAsGroup: 4 runAsNonRoot: true sysctls: - name: name value: value - name: name value: value - runAsUser: 4 + runAsUser: 5 seccompProfile: localhostProfile: localhostProfile type: type @@ -102347,8 +104161,8 @@ components: hostProcess: true gmsaCredentialSpecName: gmsaCredentialSpecName supplementalGroups: - - 5 - - 5 + - 9 + - 9 supplementalGroupsPolicy: supplementalGroupsPolicy preemptionPolicy: preemptionPolicy nodeSelector: @@ -102357,12 +104171,12 @@ components: runtimeClassName: runtimeClassName tolerations: - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator @@ -102382,7 +104196,7 @@ components: topologySpreadConstraints: - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -102398,14 +104212,14 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys - matchLabelKeys - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -102421,7 +104235,7 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys @@ -102532,20 +104346,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -102554,7 +104368,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -102567,26 +104381,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -102608,7 +104429,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -102617,7 +104438,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -102630,26 +104451,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -102669,7 +104497,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -102724,9 +104552,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -102735,7 +104563,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -102745,7 +104573,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -102755,7 +104583,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -102780,14 +104608,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -102827,7 +104655,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -102944,20 +104772,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -102966,7 +104794,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -102979,26 +104807,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -103020,7 +104855,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -103029,7 +104864,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -103042,26 +104877,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -103081,7 +104923,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -103136,9 +104978,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -103147,7 +104989,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -103157,7 +104999,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -103167,7 +105009,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -103192,14 +105034,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -103239,7 +105081,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -103267,11 +105109,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -103503,6 +105358,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -103521,6 +105381,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -103536,11 +105401,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -103772,6 +105650,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -103790,6 +105673,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -103801,7 +105689,7 @@ components: tty: true stdinOnce: true serviceAccount: serviceAccount - priority: 6 + priority: 7 restartPolicy: restartPolicy shareProcessNamespace: true hostUsers: true @@ -103819,52 +105707,24 @@ components: name: name - devicePath: devicePath name: name - image: image - imagePullPolicy: imagePullPolicy - livenessProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy - terminationMessagePath: terminationMessagePath - workingDir: workingDir - resources: - claims: - - request: request - name: name - - request: request - name: name - requests: - key: null - limits: - key: null securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -103920,43 +105780,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -103968,10 +105791,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -103987,9 +105806,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -104032,8 +105848,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -104066,7 +105880,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -104082,11 +105895,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -104116,8 +105924,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -104130,9 +105936,86 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -104188,43 +106071,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -104236,10 +106082,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -104255,9 +106097,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -104300,8 +106139,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -104334,7 +106171,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -104350,12 +106186,6 @@ components: secretRef: name: name optional: true - initContainers: - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -104385,8 +106215,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -104399,9 +106227,87 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + initContainers: + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -104457,43 +106363,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -104505,10 +106374,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -104524,9 +106389,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -104569,8 +106431,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -104603,7 +106463,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -104619,11 +106478,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -104653,8 +106507,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -104667,9 +106519,86 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -104725,43 +106654,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -104773,10 +106665,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -104792,9 +106680,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -104837,8 +106722,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -104871,7 +106754,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -104887,6 +106769,104 @@ components: secretRef: name: name optional: true + image: image + imagePullPolicy: imagePullPolicy + livenessProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + terminationMessagePath: terminationMessagePath + workingDir: workingDir + resources: + claims: + - request: request + name: name + - request: request + name: name + requests: + key: null + limits: + key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: @@ -105462,6 +107442,7 @@ components: - conditionType: conditionType - conditionType: conditionType serviceAccountName: serviceAccountName + hostnameOverride: hostnameOverride imagePullSecrets: - name: name - name: name @@ -105484,17 +107465,17 @@ components: appArmorProfile: localhostProfile: localhostProfile type: type - fsGroup: 7 + fsGroup: 1 fsGroupChangePolicy: fsGroupChangePolicy seLinuxChangePolicy: seLinuxChangePolicy - runAsGroup: 1 + runAsGroup: 4 runAsNonRoot: true sysctls: - name: name value: value - name: name value: value - runAsUser: 4 + runAsUser: 5 seccompProfile: localhostProfile: localhostProfile type: type @@ -105504,8 +107485,8 @@ components: hostProcess: true gmsaCredentialSpecName: gmsaCredentialSpecName supplementalGroups: - - 5 - - 5 + - 9 + - 9 supplementalGroupsPolicy: supplementalGroupsPolicy preemptionPolicy: preemptionPolicy nodeSelector: @@ -105514,12 +107495,12 @@ components: runtimeClassName: runtimeClassName tolerations: - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator @@ -105539,7 +107520,7 @@ components: topologySpreadConstraints: - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -105555,14 +107536,14 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys - matchLabelKeys - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -105578,7 +107559,7 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys @@ -105689,20 +107670,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -105711,7 +107692,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -105724,26 +107705,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -105765,7 +107753,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -105774,7 +107762,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -105787,26 +107775,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -105826,7 +107821,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -105881,9 +107876,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -105892,7 +107887,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -105902,7 +107897,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -105912,7 +107907,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -105937,14 +107932,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -105984,7 +107979,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -106101,20 +108096,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -106123,7 +108118,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -106136,26 +108131,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -106177,7 +108179,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -106186,7 +108188,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -106199,26 +108201,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -106238,7 +108247,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -106293,9 +108302,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -106304,7 +108313,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -106314,7 +108323,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -106324,7 +108333,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -106349,14 +108358,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -106396,7 +108405,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -106424,11 +108433,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -106660,6 +108682,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -106678,6 +108705,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -106693,11 +108725,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -106929,6 +108974,316 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + serviceAccount: serviceAccount + priority: 7 + restartPolicy: restartPolicy + shareProcessNamespace: true + hostUsers: true + resourceClaims: + - resourceClaimName: resourceClaimName + name: name + resourceClaimTemplateName: resourceClaimTemplateName + - resourceClaimName: resourceClaimName + name: name + resourceClaimTemplateName: resourceClaimTemplateName + subdomain: subdomain + containers: + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy + securityContext: + privileged: true + runAsUser: 6 + capabilities: + add: + - add + - add + drop: + - drop + - drop + seLinuxOptions: + role: role + level: level + type: type + user: user + appArmorProfile: + localhostProfile: localhostProfile + type: type + seccompProfile: + localhostProfile: localhostProfile + type: type + windowsOptions: + gmsaCredentialSpec: gmsaCredentialSpec + runAsUserName: runAsUserName + hostProcess: true + gmsaCredentialSpecName: gmsaCredentialSpecName + procMount: procMount + allowPrivilegeEscalation: true + runAsGroup: 1 + runAsNonRoot: true + readOnlyRootFilesystem: true + startupProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + ports: + - protocol: protocol + hostIP: hostIP + name: name + containerPort: 7 + hostPort: 1 + - protocol: protocol + hostIP: hostIP + name: name + containerPort: 7 + hostPort: 1 + volumeMounts: + - mountPath: mountPath + mountPropagation: mountPropagation + name: name + readOnly: true + subPath: subPath + recursiveReadOnly: recursiveReadOnly + subPathExpr: subPathExpr + - mountPath: mountPath + mountPropagation: mountPropagation + name: name + readOnly: true + subPath: subPath + recursiveReadOnly: recursiveReadOnly + subPathExpr: subPathExpr + lifecycle: + postStart: + sleep: + seconds: 5 + tcpSocket: + port: port + host: host + exec: + command: + - command + - command + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + preStop: + sleep: + seconds: 5 + tcpSocket: + port: port + host: host + exec: + command: + - command + - command + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + stopSignal: stopSignal + readinessProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + resizePolicy: + - resourceName: resourceName + restartPolicy: restartPolicy + - resourceName: resourceName + restartPolicy: restartPolicy + envFrom: + - configMapRef: + name: name + optional: true + prefix: prefix + secretRef: + name: name + optional: true + - configMapRef: + name: name + optional: true + prefix: prefix + secretRef: + name: name + optional: true + image: image + imagePullPolicy: imagePullPolicy + livenessProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + terminationMessagePath: terminationMessagePath + workingDir: workingDir + resources: + claims: + - request: request + name: name + - request: request + name: name + requests: + key: null + limits: + key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -106947,6 +109302,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -106957,71 +109317,29 @@ components: name: name tty: true stdinOnce: true - serviceAccount: serviceAccount - priority: 6 - restartPolicy: restartPolicy - shareProcessNamespace: true - hostUsers: true - resourceClaims: - - resourceClaimName: resourceClaimName - name: name - resourceClaimTemplateName: resourceClaimTemplateName - - resourceClaimName: resourceClaimName - name: name - resourceClaimTemplateName: resourceClaimTemplateName - subdomain: subdomain - containers: - volumeDevices: - devicePath: devicePath name: name - devicePath: devicePath name: name - image: image - imagePullPolicy: imagePullPolicy - livenessProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy - terminationMessagePath: terminationMessagePath - workingDir: workingDir - resources: - claims: - - request: request - name: name - - request: request - name: name - requests: - key: null - limits: - key: null securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -107077,43 +109395,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -107125,10 +109406,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -107144,9 +109421,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -107189,8 +109463,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -107223,7 +109495,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -107239,11 +109510,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -107273,8 +109539,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -107287,9 +109551,87 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + initContainers: + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -107345,43 +109687,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -107393,10 +109698,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -107412,9 +109713,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -107457,8 +109755,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -107491,7 +109787,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -107507,12 +109802,6 @@ components: secretRef: name: name optional: true - initContainers: - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -107542,8 +109831,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -107556,9 +109843,86 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -107614,43 +109978,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -107662,10 +109989,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -107681,9 +110004,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -107726,8 +110046,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -107760,7 +110078,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -107776,11 +110093,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -107810,8 +110122,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -107824,64 +110134,6 @@ components: key: null limits: key: null - securityContext: - privileged: true - runAsUser: 1 - capabilities: - add: - - add - - add - drop: - - drop - - drop - seLinuxOptions: - role: role - level: level - type: type - user: user - appArmorProfile: - localhostProfile: localhostProfile - type: type - seccompProfile: - localhostProfile: localhostProfile - type: type - windowsOptions: - gmsaCredentialSpec: gmsaCredentialSpec - runAsUserName: runAsUserName - hostProcess: true - gmsaCredentialSpecName: gmsaCredentialSpecName - procMount: procMount - allowPrivilegeEscalation: true - runAsGroup: 1 - runAsNonRoot: true - readOnlyRootFilesystem: true - startupProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value env: - name: name value: value @@ -107901,6 +110153,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -107919,131 +110176,21 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - ports: - - protocol: protocol - hostIP: hostIP - name: name - containerPort: 7 - hostPort: 1 - - protocol: protocol - hostIP: hostIP - name: name - containerPort: 7 - hostPort: 1 + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command - command - volumeMounts: - - mountPath: mountPath - mountPropagation: mountPropagation - name: name - readOnly: true - subPath: subPath - recursiveReadOnly: recursiveReadOnly - subPathExpr: subPathExpr - - mountPath: mountPath - mountPropagation: mountPropagation - name: name - readOnly: true - subPath: subPath - recursiveReadOnly: recursiveReadOnly - subPathExpr: subPathExpr args: - args - args - lifecycle: - postStart: - sleep: - seconds: 5 - tcpSocket: - port: port - host: host - exec: - command: - - command - - command - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value - preStop: - sleep: - seconds: 5 - tcpSocket: - port: port - host: host - exec: - command: - - command - - command - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value - stopSignal: stopSignal name: name tty: true - readinessProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value - resizePolicy: - - resourceName: resourceName - restartPolicy: restartPolicy - - resourceName: resourceName - restartPolicy: restartPolicy stdinOnce: true - envFrom: - - configMapRef: - name: name - optional: true - prefix: prefix - secretRef: - name: name - optional: true - - configMapRef: - name: name - optional: true - prefix: prefix - secretRef: - name: name - optional: true affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: @@ -108600,6 +110747,7 @@ components: - conditionType: conditionType - conditionType: conditionType serviceAccountName: serviceAccountName + hostnameOverride: hostnameOverride imagePullSecrets: - name: name - name: name @@ -108622,17 +110770,17 @@ components: appArmorProfile: localhostProfile: localhostProfile type: type - fsGroup: 7 + fsGroup: 1 fsGroupChangePolicy: fsGroupChangePolicy seLinuxChangePolicy: seLinuxChangePolicy - runAsGroup: 1 + runAsGroup: 4 runAsNonRoot: true sysctls: - name: name value: value - name: name value: value - runAsUser: 4 + runAsUser: 5 seccompProfile: localhostProfile: localhostProfile type: type @@ -108642,8 +110790,8 @@ components: hostProcess: true gmsaCredentialSpecName: gmsaCredentialSpecName supplementalGroups: - - 5 - - 5 + - 9 + - 9 supplementalGroupsPolicy: supplementalGroupsPolicy preemptionPolicy: preemptionPolicy nodeSelector: @@ -108652,12 +110800,12 @@ components: runtimeClassName: runtimeClassName tolerations: - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator @@ -108677,7 +110825,7 @@ components: topologySpreadConstraints: - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -108693,14 +110841,14 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys - matchLabelKeys - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -108716,7 +110864,7 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys @@ -108827,20 +110975,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -108849,7 +110997,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -108862,26 +111010,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -108903,7 +111058,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -108912,7 +111067,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -108925,26 +111080,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -108964,7 +111126,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -109019,9 +111181,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -109030,7 +111192,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -109040,7 +111202,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -109050,7 +111212,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -109075,14 +111237,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -109122,7 +111284,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -109239,20 +111401,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -109261,7 +111423,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -109274,26 +111436,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -109315,7 +111484,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -109324,7 +111493,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -109337,26 +111506,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -109376,7 +111552,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -109431,9 +111607,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -109442,7 +111618,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -109452,7 +111628,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -109462,7 +111638,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -109487,14 +111663,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -109534,7 +111710,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -109562,11 +111738,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -109798,6 +111987,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -109816,6 +112010,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -109831,11 +112030,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -110067,6 +112279,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -110085,6 +112302,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -110096,7 +112318,7 @@ components: tty: true stdinOnce: true serviceAccount: serviceAccount - priority: 6 + priority: 7 restartPolicy: restartPolicy shareProcessNamespace: true hostUsers: true @@ -110114,6 +112336,194 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy + securityContext: + privileged: true + runAsUser: 6 + capabilities: + add: + - add + - add + drop: + - drop + - drop + seLinuxOptions: + role: role + level: level + type: type + user: user + appArmorProfile: + localhostProfile: localhostProfile + type: type + seccompProfile: + localhostProfile: localhostProfile + type: type + windowsOptions: + gmsaCredentialSpec: gmsaCredentialSpec + runAsUserName: runAsUserName + hostProcess: true + gmsaCredentialSpecName: gmsaCredentialSpecName + procMount: procMount + allowPrivilegeEscalation: true + runAsGroup: 1 + runAsNonRoot: true + readOnlyRootFilesystem: true + startupProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + ports: + - protocol: protocol + hostIP: hostIP + name: name + containerPort: 7 + hostPort: 1 + - protocol: protocol + hostIP: hostIP + name: name + containerPort: 7 + hostPort: 1 + volumeMounts: + - mountPath: mountPath + mountPropagation: mountPropagation + name: name + readOnly: true + subPath: subPath + recursiveReadOnly: recursiveReadOnly + subPathExpr: subPathExpr + - mountPath: mountPath + mountPropagation: mountPropagation + name: name + readOnly: true + subPath: subPath + recursiveReadOnly: recursiveReadOnly + subPathExpr: subPathExpr + lifecycle: + postStart: + sleep: + seconds: 5 + tcpSocket: + port: port + host: host + exec: + command: + - command + - command + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + preStop: + sleep: + seconds: 5 + tcpSocket: + port: port + host: host + exec: + command: + - command + - command + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + stopSignal: stopSignal + readinessProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + resizePolicy: + - resourceName: resourceName + restartPolicy: restartPolicy + - resourceName: resourceName + restartPolicy: restartPolicy + envFrom: + - configMapRef: + name: name + optional: true + prefix: prefix + secretRef: + name: name + optional: true + - configMapRef: + name: name + optional: true + prefix: prefix + secretRef: + name: name + optional: true image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -110143,8 +112553,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -110157,9 +112565,86 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -110215,43 +112700,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -110263,10 +112711,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -110282,9 +112726,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -110327,8 +112768,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -110361,7 +112800,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -110377,11 +112815,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -110411,8 +112844,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -110425,9 +112856,87 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + initContainers: + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -110483,43 +112992,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -110531,10 +113003,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -110550,9 +113018,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -110595,8 +113060,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -110629,7 +113092,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -110645,12 +113107,6 @@ components: secretRef: name: name optional: true - initContainers: - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -110680,8 +113136,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -110694,9 +113148,86 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -110752,43 +113283,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -110800,10 +113294,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -110819,9 +113309,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -110864,8 +113351,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -110898,7 +113383,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -110914,11 +113398,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -110948,8 +113427,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -110962,64 +113439,6 @@ components: key: null limits: key: null - securityContext: - privileged: true - runAsUser: 1 - capabilities: - add: - - add - - add - drop: - - drop - - drop - seLinuxOptions: - role: role - level: level - type: type - user: user - appArmorProfile: - localhostProfile: localhostProfile - type: type - seccompProfile: - localhostProfile: localhostProfile - type: type - windowsOptions: - gmsaCredentialSpec: gmsaCredentialSpec - runAsUserName: runAsUserName - hostProcess: true - gmsaCredentialSpecName: gmsaCredentialSpecName - procMount: procMount - allowPrivilegeEscalation: true - runAsGroup: 1 - runAsNonRoot: true - readOnlyRootFilesystem: true - startupProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value env: - name: name value: value @@ -111039,6 +113458,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -111057,131 +113481,21 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - ports: - - protocol: protocol - hostIP: hostIP - name: name - containerPort: 7 - hostPort: 1 - - protocol: protocol - hostIP: hostIP - name: name - containerPort: 7 - hostPort: 1 + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command - command - volumeMounts: - - mountPath: mountPath - mountPropagation: mountPropagation - name: name - readOnly: true - subPath: subPath - recursiveReadOnly: recursiveReadOnly - subPathExpr: subPathExpr - - mountPath: mountPath - mountPropagation: mountPropagation - name: name - readOnly: true - subPath: subPath - recursiveReadOnly: recursiveReadOnly - subPathExpr: subPathExpr args: - args - args - lifecycle: - postStart: - sleep: - seconds: 5 - tcpSocket: - port: port - host: host - exec: - command: - - command - - command - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value - preStop: - sleep: - seconds: 5 - tcpSocket: - port: port - host: host - exec: - command: - - command - - command - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value - stopSignal: stopSignal name: name tty: true - readinessProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value - resizePolicy: - - resourceName: resourceName - restartPolicy: restartPolicy - - resourceName: resourceName - restartPolicy: restartPolicy stdinOnce: true - envFrom: - - configMapRef: - name: name - optional: true - prefix: prefix - secretRef: - name: name - optional: true - - configMapRef: - name: name - optional: true - prefix: prefix - secretRef: - name: name - optional: true affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: @@ -111867,6 +114181,7 @@ components: - conditionType: conditionType - conditionType: conditionType serviceAccountName: serviceAccountName + hostnameOverride: hostnameOverride imagePullSecrets: - name: name - name: name @@ -111889,17 +114204,17 @@ components: appArmorProfile: localhostProfile: localhostProfile type: type - fsGroup: 7 + fsGroup: 1 fsGroupChangePolicy: fsGroupChangePolicy seLinuxChangePolicy: seLinuxChangePolicy - runAsGroup: 1 + runAsGroup: 4 runAsNonRoot: true sysctls: - name: name value: value - name: name value: value - runAsUser: 4 + runAsUser: 5 seccompProfile: localhostProfile: localhostProfile type: type @@ -111909,8 +114224,8 @@ components: hostProcess: true gmsaCredentialSpecName: gmsaCredentialSpecName supplementalGroups: - - 5 - - 5 + - 9 + - 9 supplementalGroupsPolicy: supplementalGroupsPolicy preemptionPolicy: preemptionPolicy nodeSelector: @@ -111919,12 +114234,12 @@ components: runtimeClassName: runtimeClassName tolerations: - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator @@ -111944,7 +114259,7 @@ components: topologySpreadConstraints: - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -111960,14 +114275,14 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys - matchLabelKeys - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -111983,7 +114298,7 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys @@ -112094,20 +114409,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -112116,7 +114431,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -112129,26 +114444,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -112170,7 +114492,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -112179,7 +114501,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -112192,26 +114514,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -112231,7 +114560,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -112286,9 +114615,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -112297,7 +114626,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -112307,7 +114636,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -112317,7 +114646,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -112342,14 +114671,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -112389,7 +114718,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -112506,20 +114835,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -112528,7 +114857,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -112541,26 +114870,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -112582,7 +114918,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -112591,7 +114927,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -112604,26 +114940,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -112643,7 +114986,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -112698,9 +115041,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -112709,7 +115052,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -112719,7 +115062,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -112729,7 +115072,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -112754,14 +115097,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -112801,7 +115144,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -112829,11 +115172,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -113065,6 +115421,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -113083,6 +115444,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -113098,11 +115464,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -113334,6 +115713,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -113352,6 +115736,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -113363,7 +115752,7 @@ components: tty: true stdinOnce: true serviceAccount: serviceAccount - priority: 6 + priority: 7 restartPolicy: restartPolicy shareProcessNamespace: true hostUsers: true @@ -113381,52 +115770,24 @@ components: name: name - devicePath: devicePath name: name - image: image - imagePullPolicy: imagePullPolicy - livenessProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy - terminationMessagePath: terminationMessagePath - workingDir: workingDir - resources: - claims: - - request: request - name: name - - request: request - name: name - requests: - key: null - limits: - key: null securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -113482,43 +115843,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -113530,10 +115854,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -113549,9 +115869,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -113594,8 +115911,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -113628,7 +115943,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -113644,11 +115958,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -113678,8 +115987,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -113692,9 +115999,86 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -113750,43 +116134,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -113798,10 +116145,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -113817,9 +116160,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -113862,8 +116202,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -113896,7 +116234,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -113912,12 +116249,6 @@ components: secretRef: name: name optional: true - initContainers: - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -113947,8 +116278,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -113961,9 +116290,87 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + initContainers: + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -114019,43 +116426,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -114067,10 +116437,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -114086,9 +116452,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -114131,8 +116494,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -114165,7 +116526,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -114181,11 +116541,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -114215,8 +116570,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -114229,9 +116582,86 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -114287,43 +116717,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -114335,10 +116728,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -114354,9 +116743,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -114399,8 +116785,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -114433,7 +116817,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -114449,6 +116832,104 @@ components: secretRef: name: name optional: true + image: image + imagePullPolicy: imagePullPolicy + livenessProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + terminationMessagePath: terminationMessagePath + workingDir: workingDir + resources: + claims: + - request: request + name: name + - request: request + name: name + requests: + key: null + limits: + key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: @@ -115098,6 +117579,7 @@ components: - conditionType: conditionType - conditionType: conditionType serviceAccountName: serviceAccountName + hostnameOverride: hostnameOverride imagePullSecrets: - name: name - name: name @@ -115120,17 +117602,17 @@ components: appArmorProfile: localhostProfile: localhostProfile type: type - fsGroup: 7 + fsGroup: 1 fsGroupChangePolicy: fsGroupChangePolicy seLinuxChangePolicy: seLinuxChangePolicy - runAsGroup: 1 + runAsGroup: 4 runAsNonRoot: true sysctls: - name: name value: value - name: name value: value - runAsUser: 4 + runAsUser: 5 seccompProfile: localhostProfile: localhostProfile type: type @@ -115140,8 +117622,8 @@ components: hostProcess: true gmsaCredentialSpecName: gmsaCredentialSpecName supplementalGroups: - - 5 - - 5 + - 9 + - 9 supplementalGroupsPolicy: supplementalGroupsPolicy preemptionPolicy: preemptionPolicy nodeSelector: @@ -115150,12 +117632,12 @@ components: runtimeClassName: runtimeClassName tolerations: - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator @@ -115175,7 +117657,7 @@ components: topologySpreadConstraints: - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -115191,14 +117673,14 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys - matchLabelKeys - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -115214,7 +117696,7 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys @@ -115325,20 +117807,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -115347,7 +117829,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -115360,26 +117842,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -115401,7 +117890,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -115410,7 +117899,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -115423,26 +117912,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -115462,7 +117958,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -115517,9 +118013,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -115528,7 +118024,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -115538,7 +118034,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -115548,7 +118044,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -115573,14 +118069,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -115620,7 +118116,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -115737,20 +118233,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -115759,7 +118255,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -115772,26 +118268,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -115813,7 +118316,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -115822,7 +118325,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -115835,26 +118338,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -115874,7 +118384,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -115929,9 +118439,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -115940,7 +118450,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -115950,7 +118460,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -115960,7 +118470,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -115985,14 +118495,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -116032,7 +118542,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -116060,11 +118570,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -116296,6 +118819,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -116314,6 +118842,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -116329,11 +118862,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -116565,6 +119111,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -116583,6 +119134,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -116594,7 +119150,7 @@ components: tty: true stdinOnce: true serviceAccount: serviceAccount - priority: 6 + priority: 7 restartPolicy: restartPolicy shareProcessNamespace: true hostUsers: true @@ -116612,52 +119168,24 @@ components: name: name - devicePath: devicePath name: name - image: image - imagePullPolicy: imagePullPolicy - livenessProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy - terminationMessagePath: terminationMessagePath - workingDir: workingDir - resources: - claims: - - request: request - name: name - - request: request - name: name - requests: - key: null - limits: - key: null securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -116713,43 +119241,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -116761,10 +119252,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -116780,9 +119267,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -116825,8 +119309,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -116859,7 +119341,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -116875,11 +119356,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -116909,8 +119385,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -116923,9 +119397,86 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -116981,43 +119532,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -117029,10 +119543,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -117048,9 +119558,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -117093,8 +119600,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -117127,7 +119632,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -117143,12 +119647,6 @@ components: secretRef: name: name optional: true - initContainers: - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -117178,8 +119676,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -117192,9 +119688,87 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + initContainers: + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -117250,43 +119824,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -117298,10 +119835,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -117317,9 +119850,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -117362,8 +119892,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -117396,7 +119924,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -117412,11 +119939,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -117446,8 +119968,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -117460,9 +119980,86 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -117518,43 +120115,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -117566,10 +120126,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -117585,9 +120141,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -117630,8 +120183,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -117664,7 +120215,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -117680,6 +120230,104 @@ components: secretRef: name: name optional: true + image: image + imagePullPolicy: imagePullPolicy + livenessProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + terminationMessagePath: terminationMessagePath + workingDir: workingDir + resources: + claims: + - request: request + name: name + - request: request + name: name + requests: + key: null + limits: + key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: @@ -118259,6 +120907,7 @@ components: - conditionType: conditionType - conditionType: conditionType serviceAccountName: serviceAccountName + hostnameOverride: hostnameOverride imagePullSecrets: - name: name - name: name @@ -118281,17 +120930,17 @@ components: appArmorProfile: localhostProfile: localhostProfile type: type - fsGroup: 7 + fsGroup: 1 fsGroupChangePolicy: fsGroupChangePolicy seLinuxChangePolicy: seLinuxChangePolicy - runAsGroup: 1 + runAsGroup: 4 runAsNonRoot: true sysctls: - name: name value: value - name: name value: value - runAsUser: 4 + runAsUser: 5 seccompProfile: localhostProfile: localhostProfile type: type @@ -118301,8 +120950,8 @@ components: hostProcess: true gmsaCredentialSpecName: gmsaCredentialSpecName supplementalGroups: - - 5 - - 5 + - 9 + - 9 supplementalGroupsPolicy: supplementalGroupsPolicy preemptionPolicy: preemptionPolicy nodeSelector: @@ -118311,12 +120960,12 @@ components: runtimeClassName: runtimeClassName tolerations: - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator @@ -118336,7 +120985,7 @@ components: topologySpreadConstraints: - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -118352,14 +121001,14 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys - matchLabelKeys - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -118375,7 +121024,7 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys @@ -118486,20 +121135,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -118508,7 +121157,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -118521,26 +121170,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -118562,7 +121218,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -118571,7 +121227,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -118584,26 +121240,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -118623,7 +121286,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -118678,9 +121341,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -118689,7 +121352,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -118699,7 +121362,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -118709,7 +121372,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -118734,14 +121397,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -118781,7 +121444,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -118898,20 +121561,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -118920,7 +121583,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -118933,26 +121596,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -118974,7 +121644,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -118983,7 +121653,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -118996,26 +121666,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -119035,7 +121712,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -119090,9 +121767,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -119101,7 +121778,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -119111,7 +121788,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -119121,7 +121798,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -119146,14 +121823,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -119193,7 +121870,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -119221,11 +121898,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -119457,6 +122147,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -119475,6 +122170,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -119490,11 +122190,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -119726,6 +122439,316 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + serviceAccount: serviceAccount + priority: 7 + restartPolicy: restartPolicy + shareProcessNamespace: true + hostUsers: true + resourceClaims: + - resourceClaimName: resourceClaimName + name: name + resourceClaimTemplateName: resourceClaimTemplateName + - resourceClaimName: resourceClaimName + name: name + resourceClaimTemplateName: resourceClaimTemplateName + subdomain: subdomain + containers: + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy + securityContext: + privileged: true + runAsUser: 6 + capabilities: + add: + - add + - add + drop: + - drop + - drop + seLinuxOptions: + role: role + level: level + type: type + user: user + appArmorProfile: + localhostProfile: localhostProfile + type: type + seccompProfile: + localhostProfile: localhostProfile + type: type + windowsOptions: + gmsaCredentialSpec: gmsaCredentialSpec + runAsUserName: runAsUserName + hostProcess: true + gmsaCredentialSpecName: gmsaCredentialSpecName + procMount: procMount + allowPrivilegeEscalation: true + runAsGroup: 1 + runAsNonRoot: true + readOnlyRootFilesystem: true + startupProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + ports: + - protocol: protocol + hostIP: hostIP + name: name + containerPort: 7 + hostPort: 1 + - protocol: protocol + hostIP: hostIP + name: name + containerPort: 7 + hostPort: 1 + volumeMounts: + - mountPath: mountPath + mountPropagation: mountPropagation + name: name + readOnly: true + subPath: subPath + recursiveReadOnly: recursiveReadOnly + subPathExpr: subPathExpr + - mountPath: mountPath + mountPropagation: mountPropagation + name: name + readOnly: true + subPath: subPath + recursiveReadOnly: recursiveReadOnly + subPathExpr: subPathExpr + lifecycle: + postStart: + sleep: + seconds: 5 + tcpSocket: + port: port + host: host + exec: + command: + - command + - command + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + preStop: + sleep: + seconds: 5 + tcpSocket: + port: port + host: host + exec: + command: + - command + - command + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + stopSignal: stopSignal + readinessProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + resizePolicy: + - resourceName: resourceName + restartPolicy: restartPolicy + - resourceName: resourceName + restartPolicy: restartPolicy + envFrom: + - configMapRef: + name: name + optional: true + prefix: prefix + secretRef: + name: name + optional: true + - configMapRef: + name: name + optional: true + prefix: prefix + secretRef: + name: name + optional: true + image: image + imagePullPolicy: imagePullPolicy + livenessProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + terminationMessagePath: terminationMessagePath + workingDir: workingDir + resources: + claims: + - request: request + name: name + - request: request + name: name + requests: + key: null + limits: + key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -119744,6 +122767,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -119754,71 +122782,29 @@ components: name: name tty: true stdinOnce: true - serviceAccount: serviceAccount - priority: 6 - restartPolicy: restartPolicy - shareProcessNamespace: true - hostUsers: true - resourceClaims: - - resourceClaimName: resourceClaimName - name: name - resourceClaimTemplateName: resourceClaimTemplateName - - resourceClaimName: resourceClaimName - name: name - resourceClaimTemplateName: resourceClaimTemplateName - subdomain: subdomain - containers: - volumeDevices: - devicePath: devicePath name: name - devicePath: devicePath name: name - image: image - imagePullPolicy: imagePullPolicy - livenessProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy - terminationMessagePath: terminationMessagePath - workingDir: workingDir - resources: - claims: - - request: request - name: name - - request: request - name: name - requests: - key: null - limits: - key: null securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -119874,43 +122860,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -119922,10 +122871,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -119941,9 +122886,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -119986,8 +122928,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -120020,7 +122960,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -120036,11 +122975,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -120070,8 +123004,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -120084,9 +123016,87 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + initContainers: + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -120142,43 +123152,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -120190,10 +123163,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -120209,9 +123178,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -120254,8 +123220,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -120288,7 +123252,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -120304,12 +123267,6 @@ components: secretRef: name: name optional: true - initContainers: - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -120339,8 +123296,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -120353,9 +123308,86 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -120411,43 +123443,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -120459,10 +123454,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -120478,9 +123469,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -120523,8 +123511,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -120557,7 +123543,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -120573,11 +123558,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -120607,8 +123587,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -120621,64 +123599,6 @@ components: key: null limits: key: null - securityContext: - privileged: true - runAsUser: 1 - capabilities: - add: - - add - - add - drop: - - drop - - drop - seLinuxOptions: - role: role - level: level - type: type - user: user - appArmorProfile: - localhostProfile: localhostProfile - type: type - seccompProfile: - localhostProfile: localhostProfile - type: type - windowsOptions: - gmsaCredentialSpec: gmsaCredentialSpec - runAsUserName: runAsUserName - hostProcess: true - gmsaCredentialSpecName: gmsaCredentialSpecName - procMount: procMount - allowPrivilegeEscalation: true - runAsGroup: 1 - runAsNonRoot: true - readOnlyRootFilesystem: true - startupProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value env: - name: name value: value @@ -120698,6 +123618,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -120716,131 +123641,21 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - ports: - - protocol: protocol - hostIP: hostIP - name: name - containerPort: 7 - hostPort: 1 - - protocol: protocol - hostIP: hostIP - name: name - containerPort: 7 - hostPort: 1 + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command - command - volumeMounts: - - mountPath: mountPath - mountPropagation: mountPropagation - name: name - readOnly: true - subPath: subPath - recursiveReadOnly: recursiveReadOnly - subPathExpr: subPathExpr - - mountPath: mountPath - mountPropagation: mountPropagation - name: name - readOnly: true - subPath: subPath - recursiveReadOnly: recursiveReadOnly - subPathExpr: subPathExpr args: - args - args - lifecycle: - postStart: - sleep: - seconds: 5 - tcpSocket: - port: port - host: host - exec: - command: - - command - - command - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value - preStop: - sleep: - seconds: 5 - tcpSocket: - port: port - host: host - exec: - command: - - command - - command - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value - stopSignal: stopSignal name: name tty: true - readinessProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value - resizePolicy: - - resourceName: resourceName - restartPolicy: restartPolicy - - resourceName: resourceName - restartPolicy: restartPolicy stdinOnce: true - envFrom: - - configMapRef: - name: name - optional: true - prefix: prefix - secretRef: - name: name - optional: true - - configMapRef: - name: name - optional: true - prefix: prefix - secretRef: - name: name - optional: true affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: @@ -121402,6 +124217,7 @@ components: - conditionType: conditionType - conditionType: conditionType serviceAccountName: serviceAccountName + hostnameOverride: hostnameOverride imagePullSecrets: - name: name - name: name @@ -121424,17 +124240,17 @@ components: appArmorProfile: localhostProfile: localhostProfile type: type - fsGroup: 7 + fsGroup: 1 fsGroupChangePolicy: fsGroupChangePolicy seLinuxChangePolicy: seLinuxChangePolicy - runAsGroup: 1 + runAsGroup: 4 runAsNonRoot: true sysctls: - name: name value: value - name: name value: value - runAsUser: 4 + runAsUser: 5 seccompProfile: localhostProfile: localhostProfile type: type @@ -121444,8 +124260,8 @@ components: hostProcess: true gmsaCredentialSpecName: gmsaCredentialSpecName supplementalGroups: - - 5 - - 5 + - 9 + - 9 supplementalGroupsPolicy: supplementalGroupsPolicy preemptionPolicy: preemptionPolicy nodeSelector: @@ -121454,12 +124270,12 @@ components: runtimeClassName: runtimeClassName tolerations: - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator @@ -121479,7 +124295,7 @@ components: topologySpreadConstraints: - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -121495,14 +124311,14 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys - matchLabelKeys - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -121518,7 +124334,7 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys @@ -121629,20 +124445,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -121651,7 +124467,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -121664,26 +124480,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -121705,7 +124528,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -121714,7 +124537,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -121727,26 +124550,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -121766,7 +124596,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -121821,9 +124651,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -121832,7 +124662,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -121842,7 +124672,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -121852,7 +124682,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -121877,14 +124707,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -121924,7 +124754,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -122041,20 +124871,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -122063,7 +124893,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -122076,26 +124906,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -122117,7 +124954,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -122126,7 +124963,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -122139,26 +124976,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -122178,7 +125022,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -122233,9 +125077,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -122244,7 +125088,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -122254,7 +125098,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -122264,7 +125108,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -122289,14 +125133,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -122336,7 +125180,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -122364,11 +125208,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -122600,6 +125457,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -122618,6 +125480,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -122633,11 +125500,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -122869,6 +125749,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -122887,6 +125772,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -122898,7 +125788,7 @@ components: tty: true stdinOnce: true serviceAccount: serviceAccount - priority: 6 + priority: 7 restartPolicy: restartPolicy shareProcessNamespace: true hostUsers: true @@ -122916,6 +125806,194 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy + securityContext: + privileged: true + runAsUser: 6 + capabilities: + add: + - add + - add + drop: + - drop + - drop + seLinuxOptions: + role: role + level: level + type: type + user: user + appArmorProfile: + localhostProfile: localhostProfile + type: type + seccompProfile: + localhostProfile: localhostProfile + type: type + windowsOptions: + gmsaCredentialSpec: gmsaCredentialSpec + runAsUserName: runAsUserName + hostProcess: true + gmsaCredentialSpecName: gmsaCredentialSpecName + procMount: procMount + allowPrivilegeEscalation: true + runAsGroup: 1 + runAsNonRoot: true + readOnlyRootFilesystem: true + startupProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + ports: + - protocol: protocol + hostIP: hostIP + name: name + containerPort: 7 + hostPort: 1 + - protocol: protocol + hostIP: hostIP + name: name + containerPort: 7 + hostPort: 1 + volumeMounts: + - mountPath: mountPath + mountPropagation: mountPropagation + name: name + readOnly: true + subPath: subPath + recursiveReadOnly: recursiveReadOnly + subPathExpr: subPathExpr + - mountPath: mountPath + mountPropagation: mountPropagation + name: name + readOnly: true + subPath: subPath + recursiveReadOnly: recursiveReadOnly + subPathExpr: subPathExpr + lifecycle: + postStart: + sleep: + seconds: 5 + tcpSocket: + port: port + host: host + exec: + command: + - command + - command + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + preStop: + sleep: + seconds: 5 + tcpSocket: + port: port + host: host + exec: + command: + - command + - command + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + stopSignal: stopSignal + readinessProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + resizePolicy: + - resourceName: resourceName + restartPolicy: restartPolicy + - resourceName: resourceName + restartPolicy: restartPolicy + envFrom: + - configMapRef: + name: name + optional: true + prefix: prefix + secretRef: + name: name + optional: true + - configMapRef: + name: name + optional: true + prefix: prefix + secretRef: + name: name + optional: true image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -122945,8 +126023,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -122959,9 +126035,86 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -123017,43 +126170,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -123065,10 +126181,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -123084,9 +126196,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -123129,8 +126238,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -123163,7 +126270,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -123179,11 +126285,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -123213,8 +126314,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -123227,9 +126326,87 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + initContainers: + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -123285,43 +126462,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -123333,10 +126473,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -123352,9 +126488,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -123397,8 +126530,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -123431,7 +126562,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -123447,12 +126577,6 @@ components: secretRef: name: name optional: true - initContainers: - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -123482,8 +126606,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -123496,9 +126618,86 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -123554,43 +126753,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -123602,10 +126764,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -123621,9 +126779,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -123666,8 +126821,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -123700,7 +126853,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -123716,11 +126868,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -123750,8 +126897,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -123764,64 +126909,6 @@ components: key: null limits: key: null - securityContext: - privileged: true - runAsUser: 1 - capabilities: - add: - - add - - add - drop: - - drop - - drop - seLinuxOptions: - role: role - level: level - type: type - user: user - appArmorProfile: - localhostProfile: localhostProfile - type: type - seccompProfile: - localhostProfile: localhostProfile - type: type - windowsOptions: - gmsaCredentialSpec: gmsaCredentialSpec - runAsUserName: runAsUserName - hostProcess: true - gmsaCredentialSpecName: gmsaCredentialSpecName - procMount: procMount - allowPrivilegeEscalation: true - runAsGroup: 1 - runAsNonRoot: true - readOnlyRootFilesystem: true - startupProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value env: - name: name value: value @@ -123841,6 +126928,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -123859,131 +126951,21 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - ports: - - protocol: protocol - hostIP: hostIP - name: name - containerPort: 7 - hostPort: 1 - - protocol: protocol - hostIP: hostIP - name: name - containerPort: 7 - hostPort: 1 + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command - command - volumeMounts: - - mountPath: mountPath - mountPropagation: mountPropagation - name: name - readOnly: true - subPath: subPath - recursiveReadOnly: recursiveReadOnly - subPathExpr: subPathExpr - - mountPath: mountPath - mountPropagation: mountPropagation - name: name - readOnly: true - subPath: subPath - recursiveReadOnly: recursiveReadOnly - subPathExpr: subPathExpr args: - args - args - lifecycle: - postStart: - sleep: - seconds: 5 - tcpSocket: - port: port - host: host - exec: - command: - - command - - command - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value - preStop: - sleep: - seconds: 5 - tcpSocket: - port: port - host: host - exec: - command: - - command - - command - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value - stopSignal: stopSignal name: name tty: true - readinessProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value - resizePolicy: - - resourceName: resourceName - restartPolicy: restartPolicy - - resourceName: resourceName - restartPolicy: restartPolicy stdinOnce: true - envFrom: - - configMapRef: - name: name - optional: true - prefix: prefix - secretRef: - name: name - optional: true - - configMapRef: - name: name - optional: true - prefix: prefix - secretRef: - name: name - optional: true affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: @@ -124682,6 +127664,7 @@ components: - conditionType: conditionType - conditionType: conditionType serviceAccountName: serviceAccountName + hostnameOverride: hostnameOverride imagePullSecrets: - name: name - name: name @@ -124704,17 +127687,17 @@ components: appArmorProfile: localhostProfile: localhostProfile type: type - fsGroup: 7 + fsGroup: 1 fsGroupChangePolicy: fsGroupChangePolicy seLinuxChangePolicy: seLinuxChangePolicy - runAsGroup: 1 + runAsGroup: 4 runAsNonRoot: true sysctls: - name: name value: value - name: name value: value - runAsUser: 4 + runAsUser: 5 seccompProfile: localhostProfile: localhostProfile type: type @@ -124724,8 +127707,8 @@ components: hostProcess: true gmsaCredentialSpecName: gmsaCredentialSpecName supplementalGroups: - - 5 - - 5 + - 9 + - 9 supplementalGroupsPolicy: supplementalGroupsPolicy preemptionPolicy: preemptionPolicy nodeSelector: @@ -124734,12 +127717,12 @@ components: runtimeClassName: runtimeClassName tolerations: - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator @@ -124759,7 +127742,7 @@ components: topologySpreadConstraints: - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -124775,14 +127758,14 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys - matchLabelKeys - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -124798,7 +127781,7 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys @@ -124909,20 +127892,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -124931,7 +127914,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -124944,26 +127927,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -124985,7 +127975,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -124994,7 +127984,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -125007,26 +127997,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -125046,7 +128043,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -125101,9 +128098,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -125112,7 +128109,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -125122,7 +128119,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -125132,7 +128129,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -125157,14 +128154,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -125204,7 +128201,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -125321,20 +128318,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -125343,7 +128340,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -125356,26 +128353,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -125397,7 +128401,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -125406,7 +128410,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -125419,26 +128423,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -125458,7 +128469,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -125513,9 +128524,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -125524,7 +128535,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -125534,7 +128545,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -125544,7 +128555,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -125569,14 +128580,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -125616,7 +128627,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -125644,11 +128655,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -125880,6 +128904,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -125898,6 +128927,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -125913,11 +128947,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -126149,6 +129196,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -126167,6 +129219,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -126178,7 +129235,7 @@ components: tty: true stdinOnce: true serviceAccount: serviceAccount - priority: 6 + priority: 7 restartPolicy: restartPolicy shareProcessNamespace: true hostUsers: true @@ -126196,52 +129253,24 @@ components: name: name - devicePath: devicePath name: name - image: image - imagePullPolicy: imagePullPolicy - livenessProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy - terminationMessagePath: terminationMessagePath - workingDir: workingDir - resources: - claims: - - request: request - name: name - - request: request - name: name - requests: - key: null - limits: - key: null securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -126297,43 +129326,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -126345,10 +129337,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -126364,9 +129352,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -126409,8 +129394,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -126443,7 +129426,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -126459,11 +129441,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -126493,8 +129470,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -126507,9 +129482,86 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -126565,43 +129617,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -126613,10 +129628,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -126632,9 +129643,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -126677,8 +129685,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -126711,7 +129717,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -126727,12 +129732,6 @@ components: secretRef: name: name optional: true - initContainers: - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -126762,8 +129761,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -126776,9 +129773,87 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + initContainers: + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -126834,43 +129909,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -126882,10 +129920,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -126901,9 +129935,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -126946,8 +129977,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -126980,7 +130009,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -126996,11 +130024,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -127030,8 +130053,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -127044,9 +130065,86 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -127102,43 +130200,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -127150,10 +130211,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -127169,9 +130226,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -127214,8 +130268,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -127248,7 +130300,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -127264,6 +130315,104 @@ components: secretRef: name: name optional: true + image: image + imagePullPolicy: imagePullPolicy + livenessProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + terminationMessagePath: terminationMessagePath + workingDir: workingDir + resources: + claims: + - request: request + name: name + - request: request + name: name + requests: + key: null + limits: + key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: @@ -127897,6 +131046,7 @@ components: - conditionType: conditionType - conditionType: conditionType serviceAccountName: serviceAccountName + hostnameOverride: hostnameOverride imagePullSecrets: - name: name - name: name @@ -127919,17 +131069,17 @@ components: appArmorProfile: localhostProfile: localhostProfile type: type - fsGroup: 7 + fsGroup: 1 fsGroupChangePolicy: fsGroupChangePolicy seLinuxChangePolicy: seLinuxChangePolicy - runAsGroup: 1 + runAsGroup: 4 runAsNonRoot: true sysctls: - name: name value: value - name: name value: value - runAsUser: 4 + runAsUser: 5 seccompProfile: localhostProfile: localhostProfile type: type @@ -127939,8 +131089,8 @@ components: hostProcess: true gmsaCredentialSpecName: gmsaCredentialSpecName supplementalGroups: - - 5 - - 5 + - 9 + - 9 supplementalGroupsPolicy: supplementalGroupsPolicy preemptionPolicy: preemptionPolicy nodeSelector: @@ -127949,12 +131099,12 @@ components: runtimeClassName: runtimeClassName tolerations: - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator @@ -127974,7 +131124,7 @@ components: topologySpreadConstraints: - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -127990,14 +131140,14 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys - matchLabelKeys - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -128013,7 +131163,7 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys @@ -128124,20 +131274,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -128146,7 +131296,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -128159,26 +131309,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -128200,7 +131357,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -128209,7 +131366,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -128222,26 +131379,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -128261,7 +131425,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -128316,9 +131480,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -128327,7 +131491,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -128337,7 +131501,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -128347,7 +131511,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -128372,14 +131536,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -128419,7 +131583,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -128536,20 +131700,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -128558,7 +131722,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -128571,26 +131735,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -128612,7 +131783,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -128621,7 +131792,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -128634,26 +131805,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -128673,7 +131851,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -128728,9 +131906,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -128739,7 +131917,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -128749,7 +131927,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -128759,7 +131937,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -128784,14 +131962,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -128831,7 +132009,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -128859,11 +132037,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -129095,6 +132286,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -129113,6 +132309,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -129128,11 +132329,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -129364,6 +132578,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -129382,6 +132601,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -129393,7 +132617,7 @@ components: tty: true stdinOnce: true serviceAccount: serviceAccount - priority: 6 + priority: 7 restartPolicy: restartPolicy shareProcessNamespace: true hostUsers: true @@ -129411,52 +132635,24 @@ components: name: name - devicePath: devicePath name: name - image: image - imagePullPolicy: imagePullPolicy - livenessProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy - terminationMessagePath: terminationMessagePath - workingDir: workingDir - resources: - claims: - - request: request - name: name - - request: request - name: name - requests: - key: null - limits: - key: null securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -129512,43 +132708,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -129560,10 +132719,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -129579,9 +132734,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -129624,8 +132776,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -129658,7 +132808,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -129674,11 +132823,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -129708,8 +132852,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -129722,9 +132864,86 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -129780,43 +132999,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -129828,10 +133010,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -129847,9 +133025,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -129892,8 +133067,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -129926,7 +133099,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -129942,12 +133114,6 @@ components: secretRef: name: name optional: true - initContainers: - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -129977,8 +133143,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -129991,9 +133155,87 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + initContainers: + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -130049,43 +133291,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -130097,10 +133302,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -130116,9 +133317,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -130161,8 +133359,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -130195,7 +133391,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -130211,11 +133406,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -130245,8 +133435,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -130259,9 +133447,86 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -130317,43 +133582,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -130365,10 +133593,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -130384,9 +133608,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -130429,8 +133650,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -130463,7 +133682,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -130479,6 +133697,104 @@ components: secretRef: name: name optional: true + image: image + imagePullPolicy: imagePullPolicy + livenessProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + terminationMessagePath: terminationMessagePath + workingDir: workingDir + resources: + claims: + - request: request + name: name + - request: request + name: name + requests: + key: null + limits: + key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: @@ -131046,6 +134362,7 @@ components: - conditionType: conditionType - conditionType: conditionType serviceAccountName: serviceAccountName + hostnameOverride: hostnameOverride imagePullSecrets: - name: name - name: name @@ -131068,17 +134385,17 @@ components: appArmorProfile: localhostProfile: localhostProfile type: type - fsGroup: 7 + fsGroup: 1 fsGroupChangePolicy: fsGroupChangePolicy seLinuxChangePolicy: seLinuxChangePolicy - runAsGroup: 1 + runAsGroup: 4 runAsNonRoot: true sysctls: - name: name value: value - name: name value: value - runAsUser: 4 + runAsUser: 5 seccompProfile: localhostProfile: localhostProfile type: type @@ -131088,8 +134405,8 @@ components: hostProcess: true gmsaCredentialSpecName: gmsaCredentialSpecName supplementalGroups: - - 5 - - 5 + - 9 + - 9 supplementalGroupsPolicy: supplementalGroupsPolicy preemptionPolicy: preemptionPolicy nodeSelector: @@ -131098,12 +134415,12 @@ components: runtimeClassName: runtimeClassName tolerations: - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator @@ -131123,7 +134440,7 @@ components: topologySpreadConstraints: - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -131139,14 +134456,14 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys - matchLabelKeys - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -131162,7 +134479,7 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys @@ -131273,20 +134590,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -131295,7 +134612,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -131308,26 +134625,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -131349,7 +134673,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -131358,7 +134682,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -131371,26 +134695,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -131410,7 +134741,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -131465,9 +134796,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -131476,7 +134807,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -131486,7 +134817,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -131496,7 +134827,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -131521,14 +134852,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -131568,7 +134899,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -131685,20 +135016,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -131707,7 +135038,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -131720,26 +135051,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -131761,7 +135099,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -131770,7 +135108,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -131783,26 +135121,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -131822,7 +135167,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -131877,9 +135222,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -131888,7 +135233,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -131898,7 +135243,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -131908,7 +135253,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -131933,14 +135278,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -131980,7 +135325,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -132008,11 +135353,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -132244,6 +135602,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -132262,6 +135625,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -132277,11 +135645,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -132513,6 +135894,316 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + serviceAccount: serviceAccount + priority: 7 + restartPolicy: restartPolicy + shareProcessNamespace: true + hostUsers: true + resourceClaims: + - resourceClaimName: resourceClaimName + name: name + resourceClaimTemplateName: resourceClaimTemplateName + - resourceClaimName: resourceClaimName + name: name + resourceClaimTemplateName: resourceClaimTemplateName + subdomain: subdomain + containers: + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy + securityContext: + privileged: true + runAsUser: 6 + capabilities: + add: + - add + - add + drop: + - drop + - drop + seLinuxOptions: + role: role + level: level + type: type + user: user + appArmorProfile: + localhostProfile: localhostProfile + type: type + seccompProfile: + localhostProfile: localhostProfile + type: type + windowsOptions: + gmsaCredentialSpec: gmsaCredentialSpec + runAsUserName: runAsUserName + hostProcess: true + gmsaCredentialSpecName: gmsaCredentialSpecName + procMount: procMount + allowPrivilegeEscalation: true + runAsGroup: 1 + runAsNonRoot: true + readOnlyRootFilesystem: true + startupProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + ports: + - protocol: protocol + hostIP: hostIP + name: name + containerPort: 7 + hostPort: 1 + - protocol: protocol + hostIP: hostIP + name: name + containerPort: 7 + hostPort: 1 + volumeMounts: + - mountPath: mountPath + mountPropagation: mountPropagation + name: name + readOnly: true + subPath: subPath + recursiveReadOnly: recursiveReadOnly + subPathExpr: subPathExpr + - mountPath: mountPath + mountPropagation: mountPropagation + name: name + readOnly: true + subPath: subPath + recursiveReadOnly: recursiveReadOnly + subPathExpr: subPathExpr + lifecycle: + postStart: + sleep: + seconds: 5 + tcpSocket: + port: port + host: host + exec: + command: + - command + - command + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + preStop: + sleep: + seconds: 5 + tcpSocket: + port: port + host: host + exec: + command: + - command + - command + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + stopSignal: stopSignal + readinessProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + resizePolicy: + - resourceName: resourceName + restartPolicy: restartPolicy + - resourceName: resourceName + restartPolicy: restartPolicy + envFrom: + - configMapRef: + name: name + optional: true + prefix: prefix + secretRef: + name: name + optional: true + - configMapRef: + name: name + optional: true + prefix: prefix + secretRef: + name: name + optional: true + image: image + imagePullPolicy: imagePullPolicy + livenessProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + terminationMessagePath: terminationMessagePath + workingDir: workingDir + resources: + claims: + - request: request + name: name + - request: request + name: name + requests: + key: null + limits: + key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -132531,6 +136222,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -132541,71 +136237,29 @@ components: name: name tty: true stdinOnce: true - serviceAccount: serviceAccount - priority: 6 - restartPolicy: restartPolicy - shareProcessNamespace: true - hostUsers: true - resourceClaims: - - resourceClaimName: resourceClaimName - name: name - resourceClaimTemplateName: resourceClaimTemplateName - - resourceClaimName: resourceClaimName - name: name - resourceClaimTemplateName: resourceClaimTemplateName - subdomain: subdomain - containers: - volumeDevices: - devicePath: devicePath name: name - devicePath: devicePath name: name - image: image - imagePullPolicy: imagePullPolicy - livenessProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy - terminationMessagePath: terminationMessagePath - workingDir: workingDir - resources: - claims: - - request: request - name: name - - request: request - name: name - requests: - key: null - limits: - key: null securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -132661,43 +136315,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -132709,10 +136326,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -132728,9 +136341,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -132773,8 +136383,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -132807,7 +136415,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -132823,11 +136430,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -132857,8 +136459,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -132871,9 +136471,87 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + initContainers: + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -132929,43 +136607,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -132977,10 +136618,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -132996,9 +136633,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -133041,8 +136675,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -133075,7 +136707,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -133091,12 +136722,6 @@ components: secretRef: name: name optional: true - initContainers: - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -133126,8 +136751,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -133140,9 +136763,86 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -133198,43 +136898,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -133246,10 +136909,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -133265,9 +136924,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -133310,8 +136966,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -133344,7 +136998,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -133360,11 +137013,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -133394,8 +137042,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -133408,64 +137054,6 @@ components: key: null limits: key: null - securityContext: - privileged: true - runAsUser: 1 - capabilities: - add: - - add - - add - drop: - - drop - - drop - seLinuxOptions: - role: role - level: level - type: type - user: user - appArmorProfile: - localhostProfile: localhostProfile - type: type - seccompProfile: - localhostProfile: localhostProfile - type: type - windowsOptions: - gmsaCredentialSpec: gmsaCredentialSpec - runAsUserName: runAsUserName - hostProcess: true - gmsaCredentialSpecName: gmsaCredentialSpecName - procMount: procMount - allowPrivilegeEscalation: true - runAsGroup: 1 - runAsNonRoot: true - readOnlyRootFilesystem: true - startupProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value env: - name: name value: value @@ -133485,6 +137073,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -133503,131 +137096,21 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - ports: - - protocol: protocol - hostIP: hostIP - name: name - containerPort: 7 - hostPort: 1 - - protocol: protocol - hostIP: hostIP - name: name - containerPort: 7 - hostPort: 1 + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command - command - volumeMounts: - - mountPath: mountPath - mountPropagation: mountPropagation - name: name - readOnly: true - subPath: subPath - recursiveReadOnly: recursiveReadOnly - subPathExpr: subPathExpr - - mountPath: mountPath - mountPropagation: mountPropagation - name: name - readOnly: true - subPath: subPath - recursiveReadOnly: recursiveReadOnly - subPathExpr: subPathExpr args: - args - args - lifecycle: - postStart: - sleep: - seconds: 5 - tcpSocket: - port: port - host: host - exec: - command: - - command - - command - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value - preStop: - sleep: - seconds: 5 - tcpSocket: - port: port - host: host - exec: - command: - - command - - command - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value - stopSignal: stopSignal name: name tty: true - readinessProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value - resizePolicy: - - resourceName: resourceName - restartPolicy: restartPolicy - - resourceName: resourceName - restartPolicy: restartPolicy stdinOnce: true - envFrom: - - configMapRef: - name: name - optional: true - prefix: prefix - secretRef: - name: name - optional: true - - configMapRef: - name: name - optional: true - prefix: prefix - secretRef: - name: name - optional: true affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: @@ -134176,6 +137659,7 @@ components: - conditionType: conditionType - conditionType: conditionType serviceAccountName: serviceAccountName + hostnameOverride: hostnameOverride imagePullSecrets: - name: name - name: name @@ -134198,17 +137682,17 @@ components: appArmorProfile: localhostProfile: localhostProfile type: type - fsGroup: 7 + fsGroup: 1 fsGroupChangePolicy: fsGroupChangePolicy seLinuxChangePolicy: seLinuxChangePolicy - runAsGroup: 1 + runAsGroup: 4 runAsNonRoot: true sysctls: - name: name value: value - name: name value: value - runAsUser: 4 + runAsUser: 5 seccompProfile: localhostProfile: localhostProfile type: type @@ -134218,8 +137702,8 @@ components: hostProcess: true gmsaCredentialSpecName: gmsaCredentialSpecName supplementalGroups: - - 5 - - 5 + - 9 + - 9 supplementalGroupsPolicy: supplementalGroupsPolicy preemptionPolicy: preemptionPolicy nodeSelector: @@ -134228,12 +137712,12 @@ components: runtimeClassName: runtimeClassName tolerations: - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator @@ -134253,7 +137737,7 @@ components: topologySpreadConstraints: - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -134269,14 +137753,14 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys - matchLabelKeys - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -134292,7 +137776,7 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys @@ -134403,20 +137887,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -134425,7 +137909,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -134438,26 +137922,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -134479,7 +137970,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -134488,7 +137979,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -134501,26 +137992,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -134540,7 +138038,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -134595,9 +138093,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -134606,7 +138104,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -134616,7 +138114,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -134626,7 +138124,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -134651,14 +138149,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -134698,7 +138196,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -134815,20 +138313,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -134837,7 +138335,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -134850,26 +138348,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -134891,7 +138396,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -134900,7 +138405,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -134913,26 +138418,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -134952,7 +138464,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -135007,9 +138519,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -135018,7 +138530,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -135028,7 +138540,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -135038,7 +138550,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -135063,14 +138575,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -135110,7 +138622,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -135138,11 +138650,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -135374,6 +138899,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -135392,6 +138922,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -135407,11 +138942,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -135643,6 +139191,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -135661,6 +139214,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -135672,7 +139230,7 @@ components: tty: true stdinOnce: true serviceAccount: serviceAccount - priority: 6 + priority: 7 restartPolicy: restartPolicy shareProcessNamespace: true hostUsers: true @@ -135690,6 +139248,194 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy + securityContext: + privileged: true + runAsUser: 6 + capabilities: + add: + - add + - add + drop: + - drop + - drop + seLinuxOptions: + role: role + level: level + type: type + user: user + appArmorProfile: + localhostProfile: localhostProfile + type: type + seccompProfile: + localhostProfile: localhostProfile + type: type + windowsOptions: + gmsaCredentialSpec: gmsaCredentialSpec + runAsUserName: runAsUserName + hostProcess: true + gmsaCredentialSpecName: gmsaCredentialSpecName + procMount: procMount + allowPrivilegeEscalation: true + runAsGroup: 1 + runAsNonRoot: true + readOnlyRootFilesystem: true + startupProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + ports: + - protocol: protocol + hostIP: hostIP + name: name + containerPort: 7 + hostPort: 1 + - protocol: protocol + hostIP: hostIP + name: name + containerPort: 7 + hostPort: 1 + volumeMounts: + - mountPath: mountPath + mountPropagation: mountPropagation + name: name + readOnly: true + subPath: subPath + recursiveReadOnly: recursiveReadOnly + subPathExpr: subPathExpr + - mountPath: mountPath + mountPropagation: mountPropagation + name: name + readOnly: true + subPath: subPath + recursiveReadOnly: recursiveReadOnly + subPathExpr: subPathExpr + lifecycle: + postStart: + sleep: + seconds: 5 + tcpSocket: + port: port + host: host + exec: + command: + - command + - command + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + preStop: + sleep: + seconds: 5 + tcpSocket: + port: port + host: host + exec: + command: + - command + - command + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + stopSignal: stopSignal + readinessProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + resizePolicy: + - resourceName: resourceName + restartPolicy: restartPolicy + - resourceName: resourceName + restartPolicy: restartPolicy + envFrom: + - configMapRef: + name: name + optional: true + prefix: prefix + secretRef: + name: name + optional: true + - configMapRef: + name: name + optional: true + prefix: prefix + secretRef: + name: name + optional: true image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -135719,8 +139465,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -135733,9 +139477,86 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -135791,43 +139612,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -135839,10 +139623,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -135858,9 +139638,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -135903,8 +139680,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -135937,7 +139712,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -135953,11 +139727,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -135987,8 +139756,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -136001,9 +139768,87 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + initContainers: + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -136059,43 +139904,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -136107,10 +139915,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -136126,9 +139930,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -136171,8 +139972,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -136205,7 +140004,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -136221,12 +140019,6 @@ components: secretRef: name: name optional: true - initContainers: - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -136256,8 +140048,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -136270,9 +140060,86 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -136328,43 +140195,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -136376,10 +140206,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -136395,9 +140221,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -136440,8 +140263,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -136474,7 +140295,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -136490,11 +140310,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -136524,8 +140339,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -136538,64 +140351,6 @@ components: key: null limits: key: null - securityContext: - privileged: true - runAsUser: 1 - capabilities: - add: - - add - - add - drop: - - drop - - drop - seLinuxOptions: - role: role - level: level - type: type - user: user - appArmorProfile: - localhostProfile: localhostProfile - type: type - seccompProfile: - localhostProfile: localhostProfile - type: type - windowsOptions: - gmsaCredentialSpec: gmsaCredentialSpec - runAsUserName: runAsUserName - hostProcess: true - gmsaCredentialSpecName: gmsaCredentialSpecName - procMount: procMount - allowPrivilegeEscalation: true - runAsGroup: 1 - runAsNonRoot: true - readOnlyRootFilesystem: true - startupProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value env: - name: name value: value @@ -136615,6 +140370,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -136633,131 +140393,21 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - ports: - - protocol: protocol - hostIP: hostIP - name: name - containerPort: 7 - hostPort: 1 - - protocol: protocol - hostIP: hostIP - name: name - containerPort: 7 - hostPort: 1 + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command - command - volumeMounts: - - mountPath: mountPath - mountPropagation: mountPropagation - name: name - readOnly: true - subPath: subPath - recursiveReadOnly: recursiveReadOnly - subPathExpr: subPathExpr - - mountPath: mountPath - mountPropagation: mountPropagation - name: name - readOnly: true - subPath: subPath - recursiveReadOnly: recursiveReadOnly - subPathExpr: subPathExpr args: - args - args - lifecycle: - postStart: - sleep: - seconds: 5 - tcpSocket: - port: port - host: host - exec: - command: - - command - - command - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value - preStop: - sleep: - seconds: 5 - tcpSocket: - port: port - host: host - exec: - command: - - command - - command - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value - stopSignal: stopSignal name: name tty: true - readinessProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value - resizePolicy: - - resourceName: resourceName - restartPolicy: restartPolicy - - resourceName: resourceName - restartPolicy: restartPolicy stdinOnce: true - envFrom: - - configMapRef: - name: name - optional: true - prefix: prefix - secretRef: - name: name - optional: true - - configMapRef: - name: name - optional: true - prefix: prefix - secretRef: - name: name - optional: true affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: @@ -137468,6 +141118,7 @@ components: - conditionType: conditionType - conditionType: conditionType serviceAccountName: serviceAccountName + hostnameOverride: hostnameOverride imagePullSecrets: - name: name - name: name @@ -137490,17 +141141,17 @@ components: appArmorProfile: localhostProfile: localhostProfile type: type - fsGroup: 7 + fsGroup: 1 fsGroupChangePolicy: fsGroupChangePolicy seLinuxChangePolicy: seLinuxChangePolicy - runAsGroup: 1 + runAsGroup: 4 runAsNonRoot: true sysctls: - name: name value: value - name: name value: value - runAsUser: 4 + runAsUser: 5 seccompProfile: localhostProfile: localhostProfile type: type @@ -137510,8 +141161,8 @@ components: hostProcess: true gmsaCredentialSpecName: gmsaCredentialSpecName supplementalGroups: - - 5 - - 5 + - 9 + - 9 supplementalGroupsPolicy: supplementalGroupsPolicy preemptionPolicy: preemptionPolicy nodeSelector: @@ -137520,12 +141171,12 @@ components: runtimeClassName: runtimeClassName tolerations: - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator @@ -137545,7 +141196,7 @@ components: topologySpreadConstraints: - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -137561,14 +141212,14 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys - matchLabelKeys - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -137584,7 +141235,7 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys @@ -137695,20 +141346,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -137717,7 +141368,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -137730,26 +141381,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -137771,7 +141429,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -137780,7 +141438,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -137793,26 +141451,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -137832,7 +141497,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -137887,9 +141552,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -137898,7 +141563,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -137908,7 +141573,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -137918,7 +141583,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -137943,14 +141608,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -137990,7 +141655,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -138107,20 +141772,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -138129,7 +141794,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -138142,26 +141807,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -138183,7 +141855,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -138192,7 +141864,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -138205,26 +141877,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -138244,7 +141923,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -138299,9 +141978,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -138310,7 +141989,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -138320,7 +141999,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -138330,7 +142009,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -138355,14 +142034,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -138402,7 +142081,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -138430,11 +142109,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -138666,6 +142358,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -138684,6 +142381,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -138699,11 +142401,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -138935,6 +142650,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -138953,6 +142673,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -138964,7 +142689,7 @@ components: tty: true stdinOnce: true serviceAccount: serviceAccount - priority: 6 + priority: 7 restartPolicy: restartPolicy shareProcessNamespace: true hostUsers: true @@ -138982,52 +142707,24 @@ components: name: name - devicePath: devicePath name: name - image: image - imagePullPolicy: imagePullPolicy - livenessProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy - terminationMessagePath: terminationMessagePath - workingDir: workingDir - resources: - claims: - - request: request - name: name - - request: request - name: name - requests: - key: null - limits: - key: null securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -139083,43 +142780,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -139131,10 +142791,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -139150,9 +142806,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -139195,8 +142848,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -139229,7 +142880,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -139245,11 +142895,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -139279,8 +142924,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -139293,9 +142936,86 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -139351,43 +143071,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -139399,10 +143082,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -139418,9 +143097,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -139463,8 +143139,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -139497,7 +143171,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -139513,12 +143186,6 @@ components: secretRef: name: name optional: true - initContainers: - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -139548,8 +143215,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -139562,9 +143227,87 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + initContainers: + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -139620,43 +143363,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -139668,10 +143374,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -139687,9 +143389,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -139732,8 +143431,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -139766,7 +143463,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -139782,11 +143478,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -139816,8 +143507,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -139830,9 +143519,86 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -139888,43 +143654,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -139936,10 +143665,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -139955,9 +143680,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -140000,8 +143722,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -140034,7 +143754,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -140050,6 +143769,104 @@ components: secretRef: name: name optional: true + image: image + imagePullPolicy: imagePullPolicy + livenessProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + terminationMessagePath: terminationMessagePath + workingDir: workingDir + resources: + claims: + - request: request + name: name + - request: request + name: name + requests: + key: null + limits: + key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: @@ -140923,6 +144740,7 @@ components: - conditionType: conditionType - conditionType: conditionType serviceAccountName: serviceAccountName + hostnameOverride: hostnameOverride imagePullSecrets: - name: name - name: name @@ -140945,17 +144763,17 @@ components: appArmorProfile: localhostProfile: localhostProfile type: type - fsGroup: 7 + fsGroup: 1 fsGroupChangePolicy: fsGroupChangePolicy seLinuxChangePolicy: seLinuxChangePolicy - runAsGroup: 1 + runAsGroup: 4 runAsNonRoot: true sysctls: - name: name value: value - name: name value: value - runAsUser: 4 + runAsUser: 5 seccompProfile: localhostProfile: localhostProfile type: type @@ -140965,8 +144783,8 @@ components: hostProcess: true gmsaCredentialSpecName: gmsaCredentialSpecName supplementalGroups: - - 5 - - 5 + - 9 + - 9 supplementalGroupsPolicy: supplementalGroupsPolicy preemptionPolicy: preemptionPolicy nodeSelector: @@ -140975,12 +144793,12 @@ components: runtimeClassName: runtimeClassName tolerations: - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator @@ -141000,7 +144818,7 @@ components: topologySpreadConstraints: - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -141016,14 +144834,14 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys - matchLabelKeys - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -141039,7 +144857,7 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys @@ -141150,20 +144968,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -141172,7 +144990,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -141185,26 +145003,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -141226,7 +145051,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -141235,7 +145060,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -141248,26 +145073,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -141287,7 +145119,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -141342,9 +145174,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -141353,7 +145185,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -141363,7 +145195,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -141373,7 +145205,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -141398,14 +145230,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -141445,7 +145277,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -141562,20 +145394,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -141584,7 +145416,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -141597,26 +145429,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -141638,7 +145477,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -141647,7 +145486,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -141660,26 +145499,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -141699,7 +145545,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -141754,9 +145600,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -141765,7 +145611,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -141775,7 +145621,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -141785,7 +145631,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -141810,14 +145656,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -141857,7 +145703,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -141885,11 +145731,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -142121,6 +145980,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -142139,6 +146003,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -142154,11 +146023,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -142390,6 +146272,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -142408,6 +146295,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -142419,7 +146311,7 @@ components: tty: true stdinOnce: true serviceAccount: serviceAccount - priority: 6 + priority: 7 restartPolicy: restartPolicy shareProcessNamespace: true hostUsers: true @@ -142437,52 +146329,24 @@ components: name: name - devicePath: devicePath name: name - image: image - imagePullPolicy: imagePullPolicy - livenessProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy - terminationMessagePath: terminationMessagePath - workingDir: workingDir - resources: - claims: - - request: request - name: name - - request: request - name: name - requests: - key: null - limits: - key: null securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -142538,43 +146402,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -142586,10 +146413,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -142605,9 +146428,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -142650,8 +146470,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -142684,7 +146502,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -142700,11 +146517,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -142734,8 +146546,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -142748,9 +146558,86 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -142806,43 +146693,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -142854,10 +146704,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -142873,9 +146719,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -142918,8 +146761,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -142952,7 +146793,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -142968,12 +146808,6 @@ components: secretRef: name: name optional: true - initContainers: - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -143003,8 +146837,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -143017,9 +146849,87 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + initContainers: + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -143075,43 +146985,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -143123,10 +146996,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -143142,9 +147011,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -143187,8 +147053,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -143221,7 +147085,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -143237,11 +147100,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -143271,8 +147129,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -143285,9 +147141,86 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -143343,43 +147276,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -143391,10 +147287,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -143410,9 +147302,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -143455,8 +147344,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -143489,7 +147376,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -143505,6 +147391,104 @@ components: secretRef: name: name optional: true + image: image + imagePullPolicy: imagePullPolicy + livenessProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + terminationMessagePath: terminationMessagePath + workingDir: workingDir + resources: + claims: + - request: request + name: name + - request: request + name: name + requests: + key: null + limits: + key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: @@ -144313,6 +148297,7 @@ components: - conditionType: conditionType - conditionType: conditionType serviceAccountName: serviceAccountName + hostnameOverride: hostnameOverride imagePullSecrets: - name: name - name: name @@ -144335,17 +148320,17 @@ components: appArmorProfile: localhostProfile: localhostProfile type: type - fsGroup: 7 + fsGroup: 1 fsGroupChangePolicy: fsGroupChangePolicy seLinuxChangePolicy: seLinuxChangePolicy - runAsGroup: 1 + runAsGroup: 4 runAsNonRoot: true sysctls: - name: name value: value - name: name value: value - runAsUser: 4 + runAsUser: 5 seccompProfile: localhostProfile: localhostProfile type: type @@ -144355,8 +148340,8 @@ components: hostProcess: true gmsaCredentialSpecName: gmsaCredentialSpecName supplementalGroups: - - 5 - - 5 + - 9 + - 9 supplementalGroupsPolicy: supplementalGroupsPolicy preemptionPolicy: preemptionPolicy nodeSelector: @@ -144365,12 +148350,12 @@ components: runtimeClassName: runtimeClassName tolerations: - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator @@ -144390,7 +148375,7 @@ components: topologySpreadConstraints: - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -144406,14 +148391,14 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys - matchLabelKeys - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -144429,7 +148414,7 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys @@ -144540,20 +148525,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -144562,7 +148547,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -144575,26 +148560,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -144616,7 +148608,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -144625,7 +148617,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -144638,26 +148630,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -144677,7 +148676,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -144732,9 +148731,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -144743,7 +148742,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -144753,7 +148752,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -144763,7 +148762,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -144788,14 +148787,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -144835,7 +148834,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -144952,20 +148951,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -144974,7 +148973,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -144987,26 +148986,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -145028,7 +149034,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -145037,7 +149043,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -145050,26 +149056,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -145089,7 +149102,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -145144,9 +149157,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -145155,7 +149168,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -145165,7 +149178,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -145175,7 +149188,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -145200,14 +149213,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -145247,7 +149260,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -145275,11 +149288,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -145511,6 +149537,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -145529,6 +149560,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -145544,11 +149580,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -145780,6 +149829,316 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + serviceAccount: serviceAccount + priority: 7 + restartPolicy: restartPolicy + shareProcessNamespace: true + hostUsers: true + resourceClaims: + - resourceClaimName: resourceClaimName + name: name + resourceClaimTemplateName: resourceClaimTemplateName + - resourceClaimName: resourceClaimName + name: name + resourceClaimTemplateName: resourceClaimTemplateName + subdomain: subdomain + containers: + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy + securityContext: + privileged: true + runAsUser: 6 + capabilities: + add: + - add + - add + drop: + - drop + - drop + seLinuxOptions: + role: role + level: level + type: type + user: user + appArmorProfile: + localhostProfile: localhostProfile + type: type + seccompProfile: + localhostProfile: localhostProfile + type: type + windowsOptions: + gmsaCredentialSpec: gmsaCredentialSpec + runAsUserName: runAsUserName + hostProcess: true + gmsaCredentialSpecName: gmsaCredentialSpecName + procMount: procMount + allowPrivilegeEscalation: true + runAsGroup: 1 + runAsNonRoot: true + readOnlyRootFilesystem: true + startupProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + ports: + - protocol: protocol + hostIP: hostIP + name: name + containerPort: 7 + hostPort: 1 + - protocol: protocol + hostIP: hostIP + name: name + containerPort: 7 + hostPort: 1 + volumeMounts: + - mountPath: mountPath + mountPropagation: mountPropagation + name: name + readOnly: true + subPath: subPath + recursiveReadOnly: recursiveReadOnly + subPathExpr: subPathExpr + - mountPath: mountPath + mountPropagation: mountPropagation + name: name + readOnly: true + subPath: subPath + recursiveReadOnly: recursiveReadOnly + subPathExpr: subPathExpr + lifecycle: + postStart: + sleep: + seconds: 5 + tcpSocket: + port: port + host: host + exec: + command: + - command + - command + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + preStop: + sleep: + seconds: 5 + tcpSocket: + port: port + host: host + exec: + command: + - command + - command + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + stopSignal: stopSignal + readinessProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + resizePolicy: + - resourceName: resourceName + restartPolicy: restartPolicy + - resourceName: resourceName + restartPolicy: restartPolicy + envFrom: + - configMapRef: + name: name + optional: true + prefix: prefix + secretRef: + name: name + optional: true + - configMapRef: + name: name + optional: true + prefix: prefix + secretRef: + name: name + optional: true + image: image + imagePullPolicy: imagePullPolicy + livenessProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + terminationMessagePath: terminationMessagePath + workingDir: workingDir + resources: + claims: + - request: request + name: name + - request: request + name: name + requests: + key: null + limits: + key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -145798,6 +150157,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -145808,71 +150172,29 @@ components: name: name tty: true stdinOnce: true - serviceAccount: serviceAccount - priority: 6 - restartPolicy: restartPolicy - shareProcessNamespace: true - hostUsers: true - resourceClaims: - - resourceClaimName: resourceClaimName - name: name - resourceClaimTemplateName: resourceClaimTemplateName - - resourceClaimName: resourceClaimName - name: name - resourceClaimTemplateName: resourceClaimTemplateName - subdomain: subdomain - containers: - volumeDevices: - devicePath: devicePath name: name - devicePath: devicePath name: name - image: image - imagePullPolicy: imagePullPolicy - livenessProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy - terminationMessagePath: terminationMessagePath - workingDir: workingDir - resources: - claims: - - request: request - name: name - - request: request - name: name - requests: - key: null - limits: - key: null securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -145928,43 +150250,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -145976,10 +150261,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -145995,9 +150276,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -146040,8 +150318,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -146074,7 +150350,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -146090,11 +150365,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -146124,8 +150394,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -146138,9 +150406,87 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + initContainers: + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -146196,43 +150542,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -146244,10 +150553,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -146263,9 +150568,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -146308,8 +150610,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -146342,7 +150642,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -146358,12 +150657,6 @@ components: secretRef: name: name optional: true - initContainers: - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -146393,8 +150686,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -146407,9 +150698,86 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -146465,43 +150833,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -146513,10 +150844,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -146532,9 +150859,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -146577,8 +150901,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -146611,7 +150933,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -146627,11 +150948,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -146661,8 +150977,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -146675,64 +150989,6 @@ components: key: null limits: key: null - securityContext: - privileged: true - runAsUser: 1 - capabilities: - add: - - add - - add - drop: - - drop - - drop - seLinuxOptions: - role: role - level: level - type: type - user: user - appArmorProfile: - localhostProfile: localhostProfile - type: type - seccompProfile: - localhostProfile: localhostProfile - type: type - windowsOptions: - gmsaCredentialSpec: gmsaCredentialSpec - runAsUserName: runAsUserName - hostProcess: true - gmsaCredentialSpecName: gmsaCredentialSpecName - procMount: procMount - allowPrivilegeEscalation: true - runAsGroup: 1 - runAsNonRoot: true - readOnlyRootFilesystem: true - startupProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value env: - name: name value: value @@ -146752,6 +151008,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -146770,131 +151031,21 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - ports: - - protocol: protocol - hostIP: hostIP - name: name - containerPort: 7 - hostPort: 1 - - protocol: protocol - hostIP: hostIP - name: name - containerPort: 7 - hostPort: 1 + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command - command - volumeMounts: - - mountPath: mountPath - mountPropagation: mountPropagation - name: name - readOnly: true - subPath: subPath - recursiveReadOnly: recursiveReadOnly - subPathExpr: subPathExpr - - mountPath: mountPath - mountPropagation: mountPropagation - name: name - readOnly: true - subPath: subPath - recursiveReadOnly: recursiveReadOnly - subPathExpr: subPathExpr args: - args - args - lifecycle: - postStart: - sleep: - seconds: 5 - tcpSocket: - port: port - host: host - exec: - command: - - command - - command - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value - preStop: - sleep: - seconds: 5 - tcpSocket: - port: port - host: host - exec: - command: - - command - - command - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value - stopSignal: stopSignal name: name tty: true - readinessProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value - resizePolicy: - - resourceName: resourceName - restartPolicy: restartPolicy - - resourceName: resourceName - restartPolicy: restartPolicy stdinOnce: true - envFrom: - - configMapRef: - name: name - optional: true - prefix: prefix - secretRef: - name: name - optional: true - - configMapRef: - name: name - optional: true - prefix: prefix - secretRef: - name: name - optional: true affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: @@ -147720,6 +151871,7 @@ components: - conditionType: conditionType - conditionType: conditionType serviceAccountName: serviceAccountName + hostnameOverride: hostnameOverride imagePullSecrets: - name: name - name: name @@ -147742,17 +151894,17 @@ components: appArmorProfile: localhostProfile: localhostProfile type: type - fsGroup: 7 + fsGroup: 1 fsGroupChangePolicy: fsGroupChangePolicy seLinuxChangePolicy: seLinuxChangePolicy - runAsGroup: 1 + runAsGroup: 4 runAsNonRoot: true sysctls: - name: name value: value - name: name value: value - runAsUser: 4 + runAsUser: 5 seccompProfile: localhostProfile: localhostProfile type: type @@ -147762,8 +151914,8 @@ components: hostProcess: true gmsaCredentialSpecName: gmsaCredentialSpecName supplementalGroups: - - 5 - - 5 + - 9 + - 9 supplementalGroupsPolicy: supplementalGroupsPolicy preemptionPolicy: preemptionPolicy nodeSelector: @@ -147772,12 +151924,12 @@ components: runtimeClassName: runtimeClassName tolerations: - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator @@ -147797,7 +151949,7 @@ components: topologySpreadConstraints: - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -147813,14 +151965,14 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys - matchLabelKeys - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -147836,7 +151988,7 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys @@ -147947,20 +152099,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -147969,7 +152121,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -147982,26 +152134,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -148023,7 +152182,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -148032,7 +152191,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -148045,26 +152204,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -148084,7 +152250,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -148139,9 +152305,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -148150,7 +152316,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -148160,7 +152326,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -148170,7 +152336,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -148195,14 +152361,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -148242,7 +152408,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -148359,20 +152525,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -148381,7 +152547,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -148394,26 +152560,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -148435,7 +152608,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -148444,7 +152617,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -148457,26 +152630,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -148496,7 +152676,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -148551,9 +152731,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -148562,7 +152742,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -148572,7 +152752,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -148582,7 +152762,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -148607,14 +152787,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -148654,7 +152834,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -148682,11 +152862,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -148918,6 +153111,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -148936,6 +153134,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -148951,11 +153154,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -149187,6 +153403,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -149205,6 +153426,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -149216,7 +153442,7 @@ components: tty: true stdinOnce: true serviceAccount: serviceAccount - priority: 6 + priority: 7 restartPolicy: restartPolicy shareProcessNamespace: true hostUsers: true @@ -149234,6 +153460,194 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy + securityContext: + privileged: true + runAsUser: 6 + capabilities: + add: + - add + - add + drop: + - drop + - drop + seLinuxOptions: + role: role + level: level + type: type + user: user + appArmorProfile: + localhostProfile: localhostProfile + type: type + seccompProfile: + localhostProfile: localhostProfile + type: type + windowsOptions: + gmsaCredentialSpec: gmsaCredentialSpec + runAsUserName: runAsUserName + hostProcess: true + gmsaCredentialSpecName: gmsaCredentialSpecName + procMount: procMount + allowPrivilegeEscalation: true + runAsGroup: 1 + runAsNonRoot: true + readOnlyRootFilesystem: true + startupProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + ports: + - protocol: protocol + hostIP: hostIP + name: name + containerPort: 7 + hostPort: 1 + - protocol: protocol + hostIP: hostIP + name: name + containerPort: 7 + hostPort: 1 + volumeMounts: + - mountPath: mountPath + mountPropagation: mountPropagation + name: name + readOnly: true + subPath: subPath + recursiveReadOnly: recursiveReadOnly + subPathExpr: subPathExpr + - mountPath: mountPath + mountPropagation: mountPropagation + name: name + readOnly: true + subPath: subPath + recursiveReadOnly: recursiveReadOnly + subPathExpr: subPathExpr + lifecycle: + postStart: + sleep: + seconds: 5 + tcpSocket: + port: port + host: host + exec: + command: + - command + - command + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + preStop: + sleep: + seconds: 5 + tcpSocket: + port: port + host: host + exec: + command: + - command + - command + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + stopSignal: stopSignal + readinessProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + resizePolicy: + - resourceName: resourceName + restartPolicy: restartPolicy + - resourceName: resourceName + restartPolicy: restartPolicy + envFrom: + - configMapRef: + name: name + optional: true + prefix: prefix + secretRef: + name: name + optional: true + - configMapRef: + name: name + optional: true + prefix: prefix + secretRef: + name: name + optional: true image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -149263,8 +153677,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -149277,9 +153689,86 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -149335,43 +153824,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -149383,10 +153835,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -149402,9 +153850,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -149447,8 +153892,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -149481,7 +153924,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -149497,11 +153939,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -149531,8 +153968,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -149545,9 +153980,87 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + initContainers: + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -149603,43 +154116,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -149651,10 +154127,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -149670,9 +154142,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -149715,8 +154184,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -149749,7 +154216,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -149765,12 +154231,6 @@ components: secretRef: name: name optional: true - initContainers: - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -149800,8 +154260,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -149814,9 +154272,86 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -149872,43 +154407,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -149920,10 +154418,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -149939,9 +154433,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -149984,8 +154475,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -150018,7 +154507,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -150034,11 +154522,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -150068,8 +154551,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -150082,64 +154563,6 @@ components: key: null limits: key: null - securityContext: - privileged: true - runAsUser: 1 - capabilities: - add: - - add - - add - drop: - - drop - - drop - seLinuxOptions: - role: role - level: level - type: type - user: user - appArmorProfile: - localhostProfile: localhostProfile - type: type - seccompProfile: - localhostProfile: localhostProfile - type: type - windowsOptions: - gmsaCredentialSpec: gmsaCredentialSpec - runAsUserName: runAsUserName - hostProcess: true - gmsaCredentialSpecName: gmsaCredentialSpecName - procMount: procMount - allowPrivilegeEscalation: true - runAsGroup: 1 - runAsNonRoot: true - readOnlyRootFilesystem: true - startupProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value env: - name: name value: value @@ -150159,6 +154582,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -150177,131 +154605,21 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - ports: - - protocol: protocol - hostIP: hostIP - name: name - containerPort: 7 - hostPort: 1 - - protocol: protocol - hostIP: hostIP - name: name - containerPort: 7 - hostPort: 1 + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command - command - volumeMounts: - - mountPath: mountPath - mountPropagation: mountPropagation - name: name - readOnly: true - subPath: subPath - recursiveReadOnly: recursiveReadOnly - subPathExpr: subPathExpr - - mountPath: mountPath - mountPropagation: mountPropagation - name: name - readOnly: true - subPath: subPath - recursiveReadOnly: recursiveReadOnly - subPathExpr: subPathExpr args: - args - args - lifecycle: - postStart: - sleep: - seconds: 5 - tcpSocket: - port: port - host: host - exec: - command: - - command - - command - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value - preStop: - sleep: - seconds: 5 - tcpSocket: - port: port - host: host - exec: - command: - - command - - command - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value - stopSignal: stopSignal name: name tty: true - readinessProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value - resizePolicy: - - resourceName: resourceName - restartPolicy: restartPolicy - - resourceName: resourceName - restartPolicy: restartPolicy stdinOnce: true - envFrom: - - configMapRef: - name: name - optional: true - prefix: prefix - secretRef: - name: name - optional: true - - configMapRef: - name: name - optional: true - prefix: prefix - secretRef: - name: name - optional: true affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: @@ -156036,6 +160354,7 @@ components: - conditionType: conditionType - conditionType: conditionType serviceAccountName: serviceAccountName + hostnameOverride: hostnameOverride imagePullSecrets: - name: name - name: name @@ -156058,17 +160377,17 @@ components: appArmorProfile: localhostProfile: localhostProfile type: type - fsGroup: 7 + fsGroup: 1 fsGroupChangePolicy: fsGroupChangePolicy seLinuxChangePolicy: seLinuxChangePolicy - runAsGroup: 1 + runAsGroup: 4 runAsNonRoot: true sysctls: - name: name value: value - name: name value: value - runAsUser: 4 + runAsUser: 5 seccompProfile: localhostProfile: localhostProfile type: type @@ -156078,8 +160397,8 @@ components: hostProcess: true gmsaCredentialSpecName: gmsaCredentialSpecName supplementalGroups: - - 5 - - 5 + - 9 + - 9 supplementalGroupsPolicy: supplementalGroupsPolicy preemptionPolicy: preemptionPolicy nodeSelector: @@ -156088,12 +160407,12 @@ components: runtimeClassName: runtimeClassName tolerations: - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator @@ -156113,7 +160432,7 @@ components: topologySpreadConstraints: - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -156129,14 +160448,14 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys - matchLabelKeys - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -156152,7 +160471,7 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys @@ -156263,20 +160582,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -156285,7 +160604,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -156298,26 +160617,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -156339,7 +160665,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -156348,7 +160674,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -156361,26 +160687,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -156400,7 +160733,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -156455,9 +160788,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -156466,7 +160799,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -156476,7 +160809,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -156486,7 +160819,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -156511,14 +160844,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -156558,7 +160891,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -156675,20 +161008,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -156697,7 +161030,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -156710,26 +161043,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -156751,7 +161091,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -156760,7 +161100,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -156773,26 +161113,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -156812,7 +161159,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -156867,9 +161214,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -156878,7 +161225,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -156888,7 +161235,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -156898,7 +161245,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -156923,14 +161270,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -156970,7 +161317,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -156998,11 +161345,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -157234,6 +161594,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -157252,6 +161617,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -157267,11 +161637,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -157503,6 +161886,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -157521,6 +161909,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -157532,7 +161925,7 @@ components: tty: true stdinOnce: true serviceAccount: serviceAccount - priority: 6 + priority: 7 restartPolicy: restartPolicy shareProcessNamespace: true hostUsers: true @@ -157550,52 +161943,24 @@ components: name: name - devicePath: devicePath name: name - image: image - imagePullPolicy: imagePullPolicy - livenessProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy - terminationMessagePath: terminationMessagePath - workingDir: workingDir - resources: - claims: - - request: request - name: name - - request: request - name: name - requests: - key: null - limits: - key: null securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -157651,43 +162016,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -157699,10 +162027,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -157718,9 +162042,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -157763,8 +162084,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -157797,7 +162116,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -157813,11 +162131,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -157847,8 +162160,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -157861,9 +162172,86 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -157919,43 +162307,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -157967,10 +162318,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -157986,9 +162333,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -158031,8 +162375,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -158065,7 +162407,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -158081,12 +162422,6 @@ components: secretRef: name: name optional: true - initContainers: - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -158116,8 +162451,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -158130,9 +162463,87 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + initContainers: + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -158188,43 +162599,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -158236,10 +162610,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -158255,9 +162625,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -158300,8 +162667,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -158334,7 +162699,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -158350,11 +162714,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -158384,8 +162743,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -158398,9 +162755,86 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -158456,43 +162890,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -158504,10 +162901,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -158523,9 +162916,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -158568,8 +162958,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -158602,7 +162990,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -158618,6 +163005,104 @@ components: secretRef: name: name optional: true + image: image + imagePullPolicy: imagePullPolicy + livenessProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + terminationMessagePath: terminationMessagePath + workingDir: workingDir + resources: + claims: + - request: request + name: name + - request: request + name: name + requests: + key: null + limits: + key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: @@ -159317,6 +163802,7 @@ components: - conditionType: conditionType - conditionType: conditionType serviceAccountName: serviceAccountName + hostnameOverride: hostnameOverride imagePullSecrets: - name: name - name: name @@ -159339,17 +163825,17 @@ components: appArmorProfile: localhostProfile: localhostProfile type: type - fsGroup: 7 + fsGroup: 1 fsGroupChangePolicy: fsGroupChangePolicy seLinuxChangePolicy: seLinuxChangePolicy - runAsGroup: 1 + runAsGroup: 4 runAsNonRoot: true sysctls: - name: name value: value - name: name value: value - runAsUser: 4 + runAsUser: 5 seccompProfile: localhostProfile: localhostProfile type: type @@ -159359,8 +163845,8 @@ components: hostProcess: true gmsaCredentialSpecName: gmsaCredentialSpecName supplementalGroups: - - 5 - - 5 + - 9 + - 9 supplementalGroupsPolicy: supplementalGroupsPolicy preemptionPolicy: preemptionPolicy nodeSelector: @@ -159369,12 +163855,12 @@ components: runtimeClassName: runtimeClassName tolerations: - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator @@ -159394,7 +163880,7 @@ components: topologySpreadConstraints: - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -159410,14 +163896,14 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys - matchLabelKeys - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -159433,7 +163919,7 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys @@ -159544,20 +164030,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -159566,7 +164052,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -159579,26 +164065,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -159620,7 +164113,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -159629,7 +164122,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -159642,26 +164135,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -159681,7 +164181,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -159736,9 +164236,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -159747,7 +164247,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -159757,7 +164257,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -159767,7 +164267,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -159792,14 +164292,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -159839,7 +164339,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -159956,20 +164456,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -159978,7 +164478,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -159991,26 +164491,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -160032,7 +164539,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -160041,7 +164548,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -160054,26 +164561,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -160093,7 +164607,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -160148,9 +164662,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -160159,7 +164673,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -160169,7 +164683,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -160179,7 +164693,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -160204,14 +164718,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -160251,7 +164765,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -160279,11 +164793,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -160515,6 +165042,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -160533,6 +165065,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -160548,11 +165085,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -160784,6 +165334,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -160802,6 +165357,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -160813,7 +165373,7 @@ components: tty: true stdinOnce: true serviceAccount: serviceAccount - priority: 6 + priority: 7 restartPolicy: restartPolicy shareProcessNamespace: true hostUsers: true @@ -160831,52 +165391,24 @@ components: name: name - devicePath: devicePath name: name - image: image - imagePullPolicy: imagePullPolicy - livenessProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy - terminationMessagePath: terminationMessagePath - workingDir: workingDir - resources: - claims: - - request: request - name: name - - request: request - name: name - requests: - key: null - limits: - key: null securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -160932,43 +165464,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -160980,10 +165475,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -160999,9 +165490,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -161044,8 +165532,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -161078,7 +165564,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -161094,11 +165579,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -161128,8 +165608,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -161142,9 +165620,86 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -161200,43 +165755,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -161248,10 +165766,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -161267,9 +165781,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -161312,8 +165823,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -161346,7 +165855,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -161362,12 +165870,6 @@ components: secretRef: name: name optional: true - initContainers: - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -161397,8 +165899,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -161411,9 +165911,87 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + initContainers: + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -161469,43 +166047,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -161517,10 +166058,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -161536,9 +166073,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -161581,8 +166115,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -161615,7 +166147,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -161631,11 +166162,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -161665,8 +166191,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -161679,9 +166203,86 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -161737,43 +166338,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -161785,10 +166349,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -161804,9 +166364,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -161849,8 +166406,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -161883,7 +166438,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -161899,6 +166453,104 @@ components: secretRef: name: name optional: true + image: image + imagePullPolicy: imagePullPolicy + livenessProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + terminationMessagePath: terminationMessagePath + workingDir: workingDir + resources: + claims: + - request: request + name: name + - request: request + name: name + requests: + key: null + limits: + key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: @@ -162563,6 +167215,7 @@ components: - conditionType: conditionType - conditionType: conditionType serviceAccountName: serviceAccountName + hostnameOverride: hostnameOverride imagePullSecrets: - name: name - name: name @@ -162585,17 +167238,17 @@ components: appArmorProfile: localhostProfile: localhostProfile type: type - fsGroup: 7 + fsGroup: 1 fsGroupChangePolicy: fsGroupChangePolicy seLinuxChangePolicy: seLinuxChangePolicy - runAsGroup: 1 + runAsGroup: 4 runAsNonRoot: true sysctls: - name: name value: value - name: name value: value - runAsUser: 4 + runAsUser: 5 seccompProfile: localhostProfile: localhostProfile type: type @@ -162605,8 +167258,8 @@ components: hostProcess: true gmsaCredentialSpecName: gmsaCredentialSpecName supplementalGroups: - - 5 - - 5 + - 9 + - 9 supplementalGroupsPolicy: supplementalGroupsPolicy preemptionPolicy: preemptionPolicy nodeSelector: @@ -162615,12 +167268,12 @@ components: runtimeClassName: runtimeClassName tolerations: - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator @@ -162640,7 +167293,7 @@ components: topologySpreadConstraints: - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -162656,14 +167309,14 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys - matchLabelKeys - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -162679,7 +167332,7 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys @@ -162790,20 +167443,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -162812,7 +167465,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -162825,26 +167478,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -162866,7 +167526,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -162875,7 +167535,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -162888,26 +167548,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -162927,7 +167594,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -162982,9 +167649,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -162993,7 +167660,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -163003,7 +167670,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -163013,7 +167680,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -163038,14 +167705,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -163085,7 +167752,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -163202,20 +167869,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -163224,7 +167891,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -163237,26 +167904,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -163278,7 +167952,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -163287,7 +167961,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -163300,26 +167974,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -163339,7 +168020,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -163394,9 +168075,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -163405,7 +168086,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -163415,7 +168096,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -163425,7 +168106,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -163450,14 +168131,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -163497,7 +168178,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -163525,11 +168206,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -163761,6 +168455,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -163779,6 +168478,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -163794,11 +168498,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -164030,6 +168747,316 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + serviceAccount: serviceAccount + priority: 7 + restartPolicy: restartPolicy + shareProcessNamespace: true + hostUsers: true + resourceClaims: + - resourceClaimName: resourceClaimName + name: name + resourceClaimTemplateName: resourceClaimTemplateName + - resourceClaimName: resourceClaimName + name: name + resourceClaimTemplateName: resourceClaimTemplateName + subdomain: subdomain + containers: + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy + securityContext: + privileged: true + runAsUser: 6 + capabilities: + add: + - add + - add + drop: + - drop + - drop + seLinuxOptions: + role: role + level: level + type: type + user: user + appArmorProfile: + localhostProfile: localhostProfile + type: type + seccompProfile: + localhostProfile: localhostProfile + type: type + windowsOptions: + gmsaCredentialSpec: gmsaCredentialSpec + runAsUserName: runAsUserName + hostProcess: true + gmsaCredentialSpecName: gmsaCredentialSpecName + procMount: procMount + allowPrivilegeEscalation: true + runAsGroup: 1 + runAsNonRoot: true + readOnlyRootFilesystem: true + startupProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + ports: + - protocol: protocol + hostIP: hostIP + name: name + containerPort: 7 + hostPort: 1 + - protocol: protocol + hostIP: hostIP + name: name + containerPort: 7 + hostPort: 1 + volumeMounts: + - mountPath: mountPath + mountPropagation: mountPropagation + name: name + readOnly: true + subPath: subPath + recursiveReadOnly: recursiveReadOnly + subPathExpr: subPathExpr + - mountPath: mountPath + mountPropagation: mountPropagation + name: name + readOnly: true + subPath: subPath + recursiveReadOnly: recursiveReadOnly + subPathExpr: subPathExpr + lifecycle: + postStart: + sleep: + seconds: 5 + tcpSocket: + port: port + host: host + exec: + command: + - command + - command + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + preStop: + sleep: + seconds: 5 + tcpSocket: + port: port + host: host + exec: + command: + - command + - command + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + stopSignal: stopSignal + readinessProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + resizePolicy: + - resourceName: resourceName + restartPolicy: restartPolicy + - resourceName: resourceName + restartPolicy: restartPolicy + envFrom: + - configMapRef: + name: name + optional: true + prefix: prefix + secretRef: + name: name + optional: true + - configMapRef: + name: name + optional: true + prefix: prefix + secretRef: + name: name + optional: true + image: image + imagePullPolicy: imagePullPolicy + livenessProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + terminationMessagePath: terminationMessagePath + workingDir: workingDir + resources: + claims: + - request: request + name: name + - request: request + name: name + requests: + key: null + limits: + key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -164048,6 +169075,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -164058,71 +169090,29 @@ components: name: name tty: true stdinOnce: true - serviceAccount: serviceAccount - priority: 6 - restartPolicy: restartPolicy - shareProcessNamespace: true - hostUsers: true - resourceClaims: - - resourceClaimName: resourceClaimName - name: name - resourceClaimTemplateName: resourceClaimTemplateName - - resourceClaimName: resourceClaimName - name: name - resourceClaimTemplateName: resourceClaimTemplateName - subdomain: subdomain - containers: - volumeDevices: - devicePath: devicePath name: name - devicePath: devicePath name: name - image: image - imagePullPolicy: imagePullPolicy - livenessProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy - terminationMessagePath: terminationMessagePath - workingDir: workingDir - resources: - claims: - - request: request - name: name - - request: request - name: name - requests: - key: null - limits: - key: null securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -164178,43 +169168,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -164226,10 +169179,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -164245,9 +169194,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -164290,8 +169236,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -164324,7 +169268,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -164340,11 +169283,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -164374,8 +169312,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -164388,9 +169324,87 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + initContainers: + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -164446,43 +169460,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -164494,10 +169471,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -164513,9 +169486,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -164558,8 +169528,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -164592,7 +169560,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -164608,12 +169575,6 @@ components: secretRef: name: name optional: true - initContainers: - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -164643,8 +169604,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -164657,9 +169616,86 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -164715,43 +169751,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -164763,10 +169762,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -164782,9 +169777,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -164827,8 +169819,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -164861,7 +169851,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -164877,11 +169866,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -164911,8 +169895,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -164925,64 +169907,6 @@ components: key: null limits: key: null - securityContext: - privileged: true - runAsUser: 1 - capabilities: - add: - - add - - add - drop: - - drop - - drop - seLinuxOptions: - role: role - level: level - type: type - user: user - appArmorProfile: - localhostProfile: localhostProfile - type: type - seccompProfile: - localhostProfile: localhostProfile - type: type - windowsOptions: - gmsaCredentialSpec: gmsaCredentialSpec - runAsUserName: runAsUserName - hostProcess: true - gmsaCredentialSpecName: gmsaCredentialSpecName - procMount: procMount - allowPrivilegeEscalation: true - runAsGroup: 1 - runAsNonRoot: true - readOnlyRootFilesystem: true - startupProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value env: - name: name value: value @@ -165002,6 +169926,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -165020,131 +169949,21 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - ports: - - protocol: protocol - hostIP: hostIP - name: name - containerPort: 7 - hostPort: 1 - - protocol: protocol - hostIP: hostIP - name: name - containerPort: 7 - hostPort: 1 + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command - command - volumeMounts: - - mountPath: mountPath - mountPropagation: mountPropagation - name: name - readOnly: true - subPath: subPath - recursiveReadOnly: recursiveReadOnly - subPathExpr: subPathExpr - - mountPath: mountPath - mountPropagation: mountPropagation - name: name - readOnly: true - subPath: subPath - recursiveReadOnly: recursiveReadOnly - subPathExpr: subPathExpr args: - args - args - lifecycle: - postStart: - sleep: - seconds: 5 - tcpSocket: - port: port - host: host - exec: - command: - - command - - command - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value - preStop: - sleep: - seconds: 5 - tcpSocket: - port: port - host: host - exec: - command: - - command - - command - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value - stopSignal: stopSignal name: name tty: true - readinessProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value - resizePolicy: - - resourceName: resourceName - restartPolicy: restartPolicy - - resourceName: resourceName - restartPolicy: restartPolicy stdinOnce: true - envFrom: - - configMapRef: - name: name - optional: true - prefix: prefix - secretRef: - name: name - optional: true - - configMapRef: - name: name - optional: true - prefix: prefix - secretRef: - name: name - optional: true affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: @@ -165791,6 +170610,7 @@ components: - conditionType: conditionType - conditionType: conditionType serviceAccountName: serviceAccountName + hostnameOverride: hostnameOverride imagePullSecrets: - name: name - name: name @@ -165813,17 +170633,17 @@ components: appArmorProfile: localhostProfile: localhostProfile type: type - fsGroup: 7 + fsGroup: 1 fsGroupChangePolicy: fsGroupChangePolicy seLinuxChangePolicy: seLinuxChangePolicy - runAsGroup: 1 + runAsGroup: 4 runAsNonRoot: true sysctls: - name: name value: value - name: name value: value - runAsUser: 4 + runAsUser: 5 seccompProfile: localhostProfile: localhostProfile type: type @@ -165833,8 +170653,8 @@ components: hostProcess: true gmsaCredentialSpecName: gmsaCredentialSpecName supplementalGroups: - - 5 - - 5 + - 9 + - 9 supplementalGroupsPolicy: supplementalGroupsPolicy preemptionPolicy: preemptionPolicy nodeSelector: @@ -165843,12 +170663,12 @@ components: runtimeClassName: runtimeClassName tolerations: - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator @@ -165868,7 +170688,7 @@ components: topologySpreadConstraints: - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -165884,14 +170704,14 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys - matchLabelKeys - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -165907,7 +170727,7 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys @@ -166018,20 +170838,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -166040,7 +170860,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -166053,26 +170873,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -166094,7 +170921,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -166103,7 +170930,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -166116,26 +170943,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -166155,7 +170989,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -166210,9 +171044,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -166221,7 +171055,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -166231,7 +171065,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -166241,7 +171075,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -166266,14 +171100,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -166313,7 +171147,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -166430,20 +171264,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -166452,7 +171286,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -166465,26 +171299,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -166506,7 +171347,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -166515,7 +171356,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -166528,26 +171369,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -166567,7 +171415,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -166622,9 +171470,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -166633,7 +171481,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -166643,7 +171491,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -166653,7 +171501,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -166678,14 +171526,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -166725,7 +171573,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -166753,11 +171601,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -166989,6 +171850,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -167007,6 +171873,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -167022,11 +171893,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -167258,6 +172142,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -167276,6 +172165,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -167287,7 +172181,7 @@ components: tty: true stdinOnce: true serviceAccount: serviceAccount - priority: 6 + priority: 7 restartPolicy: restartPolicy shareProcessNamespace: true hostUsers: true @@ -167305,6 +172199,194 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy + securityContext: + privileged: true + runAsUser: 6 + capabilities: + add: + - add + - add + drop: + - drop + - drop + seLinuxOptions: + role: role + level: level + type: type + user: user + appArmorProfile: + localhostProfile: localhostProfile + type: type + seccompProfile: + localhostProfile: localhostProfile + type: type + windowsOptions: + gmsaCredentialSpec: gmsaCredentialSpec + runAsUserName: runAsUserName + hostProcess: true + gmsaCredentialSpecName: gmsaCredentialSpecName + procMount: procMount + allowPrivilegeEscalation: true + runAsGroup: 1 + runAsNonRoot: true + readOnlyRootFilesystem: true + startupProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + ports: + - protocol: protocol + hostIP: hostIP + name: name + containerPort: 7 + hostPort: 1 + - protocol: protocol + hostIP: hostIP + name: name + containerPort: 7 + hostPort: 1 + volumeMounts: + - mountPath: mountPath + mountPropagation: mountPropagation + name: name + readOnly: true + subPath: subPath + recursiveReadOnly: recursiveReadOnly + subPathExpr: subPathExpr + - mountPath: mountPath + mountPropagation: mountPropagation + name: name + readOnly: true + subPath: subPath + recursiveReadOnly: recursiveReadOnly + subPathExpr: subPathExpr + lifecycle: + postStart: + sleep: + seconds: 5 + tcpSocket: + port: port + host: host + exec: + command: + - command + - command + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + preStop: + sleep: + seconds: 5 + tcpSocket: + port: port + host: host + exec: + command: + - command + - command + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + stopSignal: stopSignal + readinessProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + resizePolicy: + - resourceName: resourceName + restartPolicy: restartPolicy + - resourceName: resourceName + restartPolicy: restartPolicy + envFrom: + - configMapRef: + name: name + optional: true + prefix: prefix + secretRef: + name: name + optional: true + - configMapRef: + name: name + optional: true + prefix: prefix + secretRef: + name: name + optional: true image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -167334,8 +172416,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -167348,9 +172428,86 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -167406,43 +172563,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -167454,10 +172574,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -167473,9 +172589,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -167518,8 +172631,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -167552,7 +172663,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -167568,11 +172678,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -167602,8 +172707,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -167616,9 +172719,87 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + initContainers: + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -167674,43 +172855,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -167722,10 +172866,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -167741,9 +172881,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -167786,8 +172923,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -167820,7 +172955,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -167836,12 +172970,6 @@ components: secretRef: name: name optional: true - initContainers: - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -167871,8 +172999,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -167885,9 +173011,86 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -167943,43 +173146,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -167991,10 +173157,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -168010,9 +173172,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -168055,8 +173214,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -168089,7 +173246,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -168105,11 +173261,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -168139,8 +173290,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -168153,64 +173302,6 @@ components: key: null limits: key: null - securityContext: - privileged: true - runAsUser: 1 - capabilities: - add: - - add - - add - drop: - - drop - - drop - seLinuxOptions: - role: role - level: level - type: type - user: user - appArmorProfile: - localhostProfile: localhostProfile - type: type - seccompProfile: - localhostProfile: localhostProfile - type: type - windowsOptions: - gmsaCredentialSpec: gmsaCredentialSpec - runAsUserName: runAsUserName - hostProcess: true - gmsaCredentialSpecName: gmsaCredentialSpecName - procMount: procMount - allowPrivilegeEscalation: true - runAsGroup: 1 - runAsNonRoot: true - readOnlyRootFilesystem: true - startupProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value env: - name: name value: value @@ -168230,6 +173321,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -168248,131 +173344,21 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - ports: - - protocol: protocol - hostIP: hostIP - name: name - containerPort: 7 - hostPort: 1 - - protocol: protocol - hostIP: hostIP - name: name - containerPort: 7 - hostPort: 1 + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command - command - volumeMounts: - - mountPath: mountPath - mountPropagation: mountPropagation - name: name - readOnly: true - subPath: subPath - recursiveReadOnly: recursiveReadOnly - subPathExpr: subPathExpr - - mountPath: mountPath - mountPropagation: mountPropagation - name: name - readOnly: true - subPath: subPath - recursiveReadOnly: recursiveReadOnly - subPathExpr: subPathExpr args: - args - args - lifecycle: - postStart: - sleep: - seconds: 5 - tcpSocket: - port: port - host: host - exec: - command: - - command - - command - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value - preStop: - sleep: - seconds: 5 - tcpSocket: - port: port - host: host - exec: - command: - - command - - command - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value - stopSignal: stopSignal name: name tty: true - readinessProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value - resizePolicy: - - resourceName: resourceName - restartPolicy: restartPolicy - - resourceName: resourceName - restartPolicy: restartPolicy stdinOnce: true - envFrom: - - configMapRef: - name: name - optional: true - prefix: prefix - secretRef: - name: name - optional: true - - configMapRef: - name: name - optional: true - prefix: prefix - secretRef: - name: name - optional: true affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: @@ -169058,6 +174044,7 @@ components: - conditionType: conditionType - conditionType: conditionType serviceAccountName: serviceAccountName + hostnameOverride: hostnameOverride imagePullSecrets: - name: name - name: name @@ -169080,17 +174067,17 @@ components: appArmorProfile: localhostProfile: localhostProfile type: type - fsGroup: 7 + fsGroup: 1 fsGroupChangePolicy: fsGroupChangePolicy seLinuxChangePolicy: seLinuxChangePolicy - runAsGroup: 1 + runAsGroup: 4 runAsNonRoot: true sysctls: - name: name value: value - name: name value: value - runAsUser: 4 + runAsUser: 5 seccompProfile: localhostProfile: localhostProfile type: type @@ -169100,8 +174087,8 @@ components: hostProcess: true gmsaCredentialSpecName: gmsaCredentialSpecName supplementalGroups: - - 5 - - 5 + - 9 + - 9 supplementalGroupsPolicy: supplementalGroupsPolicy preemptionPolicy: preemptionPolicy nodeSelector: @@ -169110,12 +174097,12 @@ components: runtimeClassName: runtimeClassName tolerations: - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator @@ -169135,7 +174122,7 @@ components: topologySpreadConstraints: - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -169151,14 +174138,14 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys - matchLabelKeys - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -169174,7 +174161,7 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys @@ -169285,20 +174272,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -169307,7 +174294,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -169320,26 +174307,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -169361,7 +174355,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -169370,7 +174364,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -169383,26 +174377,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -169422,7 +174423,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -169477,9 +174478,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -169488,7 +174489,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -169498,7 +174499,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -169508,7 +174509,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -169533,14 +174534,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -169580,7 +174581,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -169697,20 +174698,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -169719,7 +174720,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -169732,26 +174733,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -169773,7 +174781,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -169782,7 +174790,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -169795,26 +174803,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -169834,7 +174849,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -169889,9 +174904,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -169900,7 +174915,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -169910,7 +174925,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -169920,7 +174935,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -169945,14 +174960,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -169992,7 +175007,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -170020,11 +175035,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -170256,6 +175284,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -170274,6 +175307,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -170289,11 +175327,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -170525,6 +175576,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -170543,6 +175599,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -170554,7 +175615,7 @@ components: tty: true stdinOnce: true serviceAccount: serviceAccount - priority: 6 + priority: 7 restartPolicy: restartPolicy shareProcessNamespace: true hostUsers: true @@ -170572,52 +175633,24 @@ components: name: name - devicePath: devicePath name: name - image: image - imagePullPolicy: imagePullPolicy - livenessProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy - terminationMessagePath: terminationMessagePath - workingDir: workingDir - resources: - claims: - - request: request - name: name - - request: request - name: name - requests: - key: null - limits: - key: null securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -170673,43 +175706,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -170721,10 +175717,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -170740,9 +175732,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -170785,8 +175774,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -170819,7 +175806,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -170835,11 +175821,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -170869,8 +175850,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -170883,9 +175862,86 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -170941,43 +175997,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -170989,10 +176008,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -171008,9 +176023,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -171053,8 +176065,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -171087,7 +176097,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -171103,12 +176112,6 @@ components: secretRef: name: name optional: true - initContainers: - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -171138,8 +176141,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -171152,9 +176153,87 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + initContainers: + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -171210,43 +176289,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -171258,10 +176300,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -171277,9 +176315,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -171322,8 +176357,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -171356,7 +176389,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -171372,11 +176404,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -171406,8 +176433,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -171420,9 +176445,86 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -171478,43 +176580,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -171526,10 +176591,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -171545,9 +176606,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -171590,8 +176648,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -171624,7 +176680,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -171640,6 +176695,104 @@ components: secretRef: name: name optional: true + image: image + imagePullPolicy: imagePullPolicy + livenessProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + terminationMessagePath: terminationMessagePath + workingDir: workingDir + resources: + claims: + - request: request + name: name + - request: request + name: name + requests: + key: null + limits: + key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: @@ -172330,6 +177483,7 @@ components: - conditionType: conditionType - conditionType: conditionType serviceAccountName: serviceAccountName + hostnameOverride: hostnameOverride imagePullSecrets: - name: name - name: name @@ -172352,17 +177506,17 @@ components: appArmorProfile: localhostProfile: localhostProfile type: type - fsGroup: 7 + fsGroup: 1 fsGroupChangePolicy: fsGroupChangePolicy seLinuxChangePolicy: seLinuxChangePolicy - runAsGroup: 1 + runAsGroup: 4 runAsNonRoot: true sysctls: - name: name value: value - name: name value: value - runAsUser: 4 + runAsUser: 5 seccompProfile: localhostProfile: localhostProfile type: type @@ -172372,8 +177526,8 @@ components: hostProcess: true gmsaCredentialSpecName: gmsaCredentialSpecName supplementalGroups: - - 5 - - 5 + - 9 + - 9 supplementalGroupsPolicy: supplementalGroupsPolicy preemptionPolicy: preemptionPolicy nodeSelector: @@ -172382,12 +177536,12 @@ components: runtimeClassName: runtimeClassName tolerations: - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator @@ -172407,7 +177561,7 @@ components: topologySpreadConstraints: - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -172423,14 +177577,14 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys - matchLabelKeys - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -172446,7 +177600,7 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys @@ -172557,20 +177711,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -172579,7 +177733,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -172592,26 +177746,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -172633,7 +177794,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -172642,7 +177803,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -172655,26 +177816,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -172694,7 +177862,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -172749,9 +177917,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -172760,7 +177928,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -172770,7 +177938,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -172780,7 +177948,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -172805,14 +177973,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -172852,7 +178020,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -172969,20 +178137,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -172991,7 +178159,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -173004,26 +178172,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -173045,7 +178220,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -173054,7 +178229,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -173067,26 +178242,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -173106,7 +178288,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -173161,9 +178343,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -173172,7 +178354,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -173182,7 +178364,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -173192,7 +178374,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -173217,14 +178399,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -173264,7 +178446,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -173292,11 +178474,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -173528,6 +178723,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -173546,6 +178746,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -173561,11 +178766,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -173797,6 +179015,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -173815,6 +179038,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -173826,7 +179054,7 @@ components: tty: true stdinOnce: true serviceAccount: serviceAccount - priority: 6 + priority: 7 restartPolicy: restartPolicy shareProcessNamespace: true hostUsers: true @@ -173844,52 +179072,24 @@ components: name: name - devicePath: devicePath name: name - image: image - imagePullPolicy: imagePullPolicy - livenessProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy - terminationMessagePath: terminationMessagePath - workingDir: workingDir - resources: - claims: - - request: request - name: name - - request: request - name: name - requests: - key: null - limits: - key: null securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -173945,43 +179145,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -173993,10 +179156,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -174012,9 +179171,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -174057,8 +179213,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -174091,7 +179245,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -174107,11 +179260,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -174141,8 +179289,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -174155,9 +179301,86 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -174213,43 +179436,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -174261,10 +179447,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -174280,9 +179462,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -174325,8 +179504,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -174359,7 +179536,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -174375,12 +179551,6 @@ components: secretRef: name: name optional: true - initContainers: - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -174410,8 +179580,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -174424,9 +179592,87 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + initContainers: + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -174482,43 +179728,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -174530,10 +179739,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -174549,9 +179754,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -174594,8 +179796,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -174628,7 +179828,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -174644,11 +179843,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -174678,8 +179872,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -174692,9 +179884,86 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -174750,43 +180019,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -174798,10 +180030,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -174817,9 +180045,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -174862,8 +180087,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -174896,7 +180119,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -174912,6 +180134,104 @@ components: secretRef: name: name optional: true + image: image + imagePullPolicy: imagePullPolicy + livenessProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + terminationMessagePath: terminationMessagePath + workingDir: workingDir + resources: + claims: + - request: request + name: name + - request: request + name: name + requests: + key: null + limits: + key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: @@ -175533,6 +180853,7 @@ components: - conditionType: conditionType - conditionType: conditionType serviceAccountName: serviceAccountName + hostnameOverride: hostnameOverride imagePullSecrets: - name: name - name: name @@ -175555,17 +180876,17 @@ components: appArmorProfile: localhostProfile: localhostProfile type: type - fsGroup: 7 + fsGroup: 1 fsGroupChangePolicy: fsGroupChangePolicy seLinuxChangePolicy: seLinuxChangePolicy - runAsGroup: 1 + runAsGroup: 4 runAsNonRoot: true sysctls: - name: name value: value - name: name value: value - runAsUser: 4 + runAsUser: 5 seccompProfile: localhostProfile: localhostProfile type: type @@ -175575,8 +180896,8 @@ components: hostProcess: true gmsaCredentialSpecName: gmsaCredentialSpecName supplementalGroups: - - 5 - - 5 + - 9 + - 9 supplementalGroupsPolicy: supplementalGroupsPolicy preemptionPolicy: preemptionPolicy nodeSelector: @@ -175585,12 +180906,12 @@ components: runtimeClassName: runtimeClassName tolerations: - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator @@ -175610,7 +180931,7 @@ components: topologySpreadConstraints: - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -175626,14 +180947,14 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys - matchLabelKeys - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -175649,7 +180970,7 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys @@ -175760,20 +181081,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -175782,7 +181103,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -175795,26 +181116,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -175836,7 +181164,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -175845,7 +181173,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -175858,26 +181186,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -175897,7 +181232,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -175952,9 +181287,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -175963,7 +181298,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -175973,7 +181308,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -175983,7 +181318,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -176008,14 +181343,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -176055,7 +181390,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -176172,20 +181507,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -176194,7 +181529,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -176207,26 +181542,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -176248,7 +181590,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -176257,7 +181599,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -176270,26 +181612,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -176309,7 +181658,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -176364,9 +181713,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -176375,7 +181724,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -176385,7 +181734,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -176395,7 +181744,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -176420,14 +181769,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -176467,7 +181816,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -176495,11 +181844,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -176731,6 +182093,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -176749,6 +182116,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -176764,11 +182136,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -177000,6 +182385,316 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + serviceAccount: serviceAccount + priority: 7 + restartPolicy: restartPolicy + shareProcessNamespace: true + hostUsers: true + resourceClaims: + - resourceClaimName: resourceClaimName + name: name + resourceClaimTemplateName: resourceClaimTemplateName + - resourceClaimName: resourceClaimName + name: name + resourceClaimTemplateName: resourceClaimTemplateName + subdomain: subdomain + containers: + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy + securityContext: + privileged: true + runAsUser: 6 + capabilities: + add: + - add + - add + drop: + - drop + - drop + seLinuxOptions: + role: role + level: level + type: type + user: user + appArmorProfile: + localhostProfile: localhostProfile + type: type + seccompProfile: + localhostProfile: localhostProfile + type: type + windowsOptions: + gmsaCredentialSpec: gmsaCredentialSpec + runAsUserName: runAsUserName + hostProcess: true + gmsaCredentialSpecName: gmsaCredentialSpecName + procMount: procMount + allowPrivilegeEscalation: true + runAsGroup: 1 + runAsNonRoot: true + readOnlyRootFilesystem: true + startupProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + ports: + - protocol: protocol + hostIP: hostIP + name: name + containerPort: 7 + hostPort: 1 + - protocol: protocol + hostIP: hostIP + name: name + containerPort: 7 + hostPort: 1 + volumeMounts: + - mountPath: mountPath + mountPropagation: mountPropagation + name: name + readOnly: true + subPath: subPath + recursiveReadOnly: recursiveReadOnly + subPathExpr: subPathExpr + - mountPath: mountPath + mountPropagation: mountPropagation + name: name + readOnly: true + subPath: subPath + recursiveReadOnly: recursiveReadOnly + subPathExpr: subPathExpr + lifecycle: + postStart: + sleep: + seconds: 5 + tcpSocket: + port: port + host: host + exec: + command: + - command + - command + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + preStop: + sleep: + seconds: 5 + tcpSocket: + port: port + host: host + exec: + command: + - command + - command + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + stopSignal: stopSignal + readinessProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + resizePolicy: + - resourceName: resourceName + restartPolicy: restartPolicy + - resourceName: resourceName + restartPolicy: restartPolicy + envFrom: + - configMapRef: + name: name + optional: true + prefix: prefix + secretRef: + name: name + optional: true + - configMapRef: + name: name + optional: true + prefix: prefix + secretRef: + name: name + optional: true + image: image + imagePullPolicy: imagePullPolicy + livenessProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + terminationMessagePath: terminationMessagePath + workingDir: workingDir + resources: + claims: + - request: request + name: name + - request: request + name: name + requests: + key: null + limits: + key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -177018,6 +182713,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -177028,71 +182728,29 @@ components: name: name tty: true stdinOnce: true - serviceAccount: serviceAccount - priority: 6 - restartPolicy: restartPolicy - shareProcessNamespace: true - hostUsers: true - resourceClaims: - - resourceClaimName: resourceClaimName - name: name - resourceClaimTemplateName: resourceClaimTemplateName - - resourceClaimName: resourceClaimName - name: name - resourceClaimTemplateName: resourceClaimTemplateName - subdomain: subdomain - containers: - volumeDevices: - devicePath: devicePath name: name - devicePath: devicePath name: name - image: image - imagePullPolicy: imagePullPolicy - livenessProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy - terminationMessagePath: terminationMessagePath - workingDir: workingDir - resources: - claims: - - request: request - name: name - - request: request - name: name - requests: - key: null - limits: - key: null securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -177148,43 +182806,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -177196,10 +182817,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -177215,9 +182832,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -177260,8 +182874,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -177294,7 +182906,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -177310,11 +182921,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -177344,8 +182950,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -177358,9 +182962,87 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + initContainers: + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -177416,43 +183098,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -177464,10 +183109,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -177483,9 +183124,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -177528,8 +183166,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -177562,7 +183198,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -177578,12 +183213,6 @@ components: secretRef: name: name optional: true - initContainers: - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -177613,8 +183242,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -177627,9 +183254,86 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -177685,43 +183389,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -177733,10 +183400,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -177752,9 +183415,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -177797,8 +183457,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -177831,7 +183489,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -177847,11 +183504,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -177881,8 +183533,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -177895,64 +183545,6 @@ components: key: null limits: key: null - securityContext: - privileged: true - runAsUser: 1 - capabilities: - add: - - add - - add - drop: - - drop - - drop - seLinuxOptions: - role: role - level: level - type: type - user: user - appArmorProfile: - localhostProfile: localhostProfile - type: type - seccompProfile: - localhostProfile: localhostProfile - type: type - windowsOptions: - gmsaCredentialSpec: gmsaCredentialSpec - runAsUserName: runAsUserName - hostProcess: true - gmsaCredentialSpecName: gmsaCredentialSpecName - procMount: procMount - allowPrivilegeEscalation: true - runAsGroup: 1 - runAsNonRoot: true - readOnlyRootFilesystem: true - startupProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value env: - name: name value: value @@ -177972,6 +183564,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -177990,131 +183587,21 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - ports: - - protocol: protocol - hostIP: hostIP - name: name - containerPort: 7 - hostPort: 1 - - protocol: protocol - hostIP: hostIP - name: name - containerPort: 7 - hostPort: 1 + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command - command - volumeMounts: - - mountPath: mountPath - mountPropagation: mountPropagation - name: name - readOnly: true - subPath: subPath - recursiveReadOnly: recursiveReadOnly - subPathExpr: subPathExpr - - mountPath: mountPath - mountPropagation: mountPropagation - name: name - readOnly: true - subPath: subPath - recursiveReadOnly: recursiveReadOnly - subPathExpr: subPathExpr args: - args - args - lifecycle: - postStart: - sleep: - seconds: 5 - tcpSocket: - port: port - host: host - exec: - command: - - command - - command - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value - preStop: - sleep: - seconds: 5 - tcpSocket: - port: port - host: host - exec: - command: - - command - - command - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value - stopSignal: stopSignal name: name tty: true - readinessProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value - resizePolicy: - - resourceName: resourceName - restartPolicy: restartPolicy - - resourceName: resourceName - restartPolicy: restartPolicy stdinOnce: true - envFrom: - - configMapRef: - name: name - optional: true - prefix: prefix - secretRef: - name: name - optional: true - - configMapRef: - name: name - optional: true - prefix: prefix - secretRef: - name: name - optional: true affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: @@ -178717,6 +184204,7 @@ components: - conditionType: conditionType - conditionType: conditionType serviceAccountName: serviceAccountName + hostnameOverride: hostnameOverride imagePullSecrets: - name: name - name: name @@ -178739,17 +184227,17 @@ components: appArmorProfile: localhostProfile: localhostProfile type: type - fsGroup: 7 + fsGroup: 1 fsGroupChangePolicy: fsGroupChangePolicy seLinuxChangePolicy: seLinuxChangePolicy - runAsGroup: 1 + runAsGroup: 4 runAsNonRoot: true sysctls: - name: name value: value - name: name value: value - runAsUser: 4 + runAsUser: 5 seccompProfile: localhostProfile: localhostProfile type: type @@ -178759,8 +184247,8 @@ components: hostProcess: true gmsaCredentialSpecName: gmsaCredentialSpecName supplementalGroups: - - 5 - - 5 + - 9 + - 9 supplementalGroupsPolicy: supplementalGroupsPolicy preemptionPolicy: preemptionPolicy nodeSelector: @@ -178769,12 +184257,12 @@ components: runtimeClassName: runtimeClassName tolerations: - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator @@ -178794,7 +184282,7 @@ components: topologySpreadConstraints: - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -178810,14 +184298,14 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys - matchLabelKeys - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -178833,7 +184321,7 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys @@ -178944,20 +184432,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -178966,7 +184454,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -178979,26 +184467,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -179020,7 +184515,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -179029,7 +184524,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -179042,26 +184537,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -179081,7 +184583,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -179136,9 +184638,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -179147,7 +184649,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -179157,7 +184659,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -179167,7 +184669,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -179192,14 +184694,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -179239,7 +184741,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -179356,20 +184858,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -179378,7 +184880,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -179391,26 +184893,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -179432,7 +184941,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -179441,7 +184950,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -179454,26 +184963,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -179493,7 +185009,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -179548,9 +185064,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -179559,7 +185075,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -179569,7 +185085,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -179579,7 +185095,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -179604,14 +185120,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -179651,7 +185167,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -179679,11 +185195,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -179915,6 +185444,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -179933,6 +185467,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -179948,11 +185487,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -180184,6 +185736,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -180202,6 +185759,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -180213,7 +185775,7 @@ components: tty: true stdinOnce: true serviceAccount: serviceAccount - priority: 6 + priority: 7 restartPolicy: restartPolicy shareProcessNamespace: true hostUsers: true @@ -180231,6 +185793,194 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy + securityContext: + privileged: true + runAsUser: 6 + capabilities: + add: + - add + - add + drop: + - drop + - drop + seLinuxOptions: + role: role + level: level + type: type + user: user + appArmorProfile: + localhostProfile: localhostProfile + type: type + seccompProfile: + localhostProfile: localhostProfile + type: type + windowsOptions: + gmsaCredentialSpec: gmsaCredentialSpec + runAsUserName: runAsUserName + hostProcess: true + gmsaCredentialSpecName: gmsaCredentialSpecName + procMount: procMount + allowPrivilegeEscalation: true + runAsGroup: 1 + runAsNonRoot: true + readOnlyRootFilesystem: true + startupProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + ports: + - protocol: protocol + hostIP: hostIP + name: name + containerPort: 7 + hostPort: 1 + - protocol: protocol + hostIP: hostIP + name: name + containerPort: 7 + hostPort: 1 + volumeMounts: + - mountPath: mountPath + mountPropagation: mountPropagation + name: name + readOnly: true + subPath: subPath + recursiveReadOnly: recursiveReadOnly + subPathExpr: subPathExpr + - mountPath: mountPath + mountPropagation: mountPropagation + name: name + readOnly: true + subPath: subPath + recursiveReadOnly: recursiveReadOnly + subPathExpr: subPathExpr + lifecycle: + postStart: + sleep: + seconds: 5 + tcpSocket: + port: port + host: host + exec: + command: + - command + - command + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + preStop: + sleep: + seconds: 5 + tcpSocket: + port: port + host: host + exec: + command: + - command + - command + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + stopSignal: stopSignal + readinessProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + resizePolicy: + - resourceName: resourceName + restartPolicy: restartPolicy + - resourceName: resourceName + restartPolicy: restartPolicy + envFrom: + - configMapRef: + name: name + optional: true + prefix: prefix + secretRef: + name: name + optional: true + - configMapRef: + name: name + optional: true + prefix: prefix + secretRef: + name: name + optional: true image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -180260,8 +186010,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -180274,9 +186022,86 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -180332,43 +186157,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -180380,10 +186168,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -180399,9 +186183,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -180444,8 +186225,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -180478,7 +186257,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -180494,11 +186272,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -180528,8 +186301,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -180542,9 +186313,87 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + initContainers: + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -180600,43 +186449,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -180648,10 +186460,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -180667,9 +186475,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -180712,8 +186517,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -180746,7 +186549,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -180762,12 +186564,6 @@ components: secretRef: name: name optional: true - initContainers: - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -180797,8 +186593,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -180811,9 +186605,86 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -180869,43 +186740,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -180917,10 +186751,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -180936,9 +186766,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -180981,8 +186808,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -181015,7 +186840,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -181031,11 +186855,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -181065,8 +186884,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -181079,64 +186896,6 @@ components: key: null limits: key: null - securityContext: - privileged: true - runAsUser: 1 - capabilities: - add: - - add - - add - drop: - - drop - - drop - seLinuxOptions: - role: role - level: level - type: type - user: user - appArmorProfile: - localhostProfile: localhostProfile - type: type - seccompProfile: - localhostProfile: localhostProfile - type: type - windowsOptions: - gmsaCredentialSpec: gmsaCredentialSpec - runAsUserName: runAsUserName - hostProcess: true - gmsaCredentialSpecName: gmsaCredentialSpecName - procMount: procMount - allowPrivilegeEscalation: true - runAsGroup: 1 - runAsNonRoot: true - readOnlyRootFilesystem: true - startupProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value env: - name: name value: value @@ -181156,6 +186915,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -181174,131 +186938,21 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - ports: - - protocol: protocol - hostIP: hostIP - name: name - containerPort: 7 - hostPort: 1 - - protocol: protocol - hostIP: hostIP - name: name - containerPort: 7 - hostPort: 1 + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command - command - volumeMounts: - - mountPath: mountPath - mountPropagation: mountPropagation - name: name - readOnly: true - subPath: subPath - recursiveReadOnly: recursiveReadOnly - subPathExpr: subPathExpr - - mountPath: mountPath - mountPropagation: mountPropagation - name: name - readOnly: true - subPath: subPath - recursiveReadOnly: recursiveReadOnly - subPathExpr: subPathExpr args: - args - args - lifecycle: - postStart: - sleep: - seconds: 5 - tcpSocket: - port: port - host: host - exec: - command: - - command - - command - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value - preStop: - sleep: - seconds: 5 - tcpSocket: - port: port - host: host - exec: - command: - - command - - command - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value - stopSignal: stopSignal name: name tty: true - readinessProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value - resizePolicy: - - resourceName: resourceName - restartPolicy: restartPolicy - - resourceName: resourceName - restartPolicy: restartPolicy stdinOnce: true - envFrom: - - configMapRef: - name: name - optional: true - prefix: prefix - secretRef: - name: name - optional: true - - configMapRef: - name: name - optional: true - prefix: prefix - secretRef: - name: name - optional: true affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: @@ -181782,8 +187436,9 @@ components: format: int64 type: integer backoffLimit: - description: Specifies the number of retries before marking this job failed. - Defaults to 6 + description: "Specifies the number of retries before marking this job failed.\ + \ Defaults to 6, unless backoffLimitPerIndex (only Indexed Job) is specified.\ + \ When backoffLimitPerIndex is specified, backoffLimit defaults to 2147483647." format: int32 type: integer backoffLimitPerIndex: @@ -181857,7 +187512,7 @@ components: - Failed means to wait until a previously created Pod is fully terminated (has phase Failed or Succeeded) before creating a replacement Pod. - When using podFailurePolicy, Failed is the the only allowed value. TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use. This is an beta field. To use this, enable the JobPodReplacementPolicy feature toggle. This is on by default. + When using podFailurePolicy, Failed is the the only allowed value. TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use. type: string selector: $ref: '#/components/schemas/v1.LabelSelector' @@ -182121,6 +187776,7 @@ components: - conditionType: conditionType - conditionType: conditionType serviceAccountName: serviceAccountName + hostnameOverride: hostnameOverride imagePullSecrets: - name: name - name: name @@ -182143,17 +187799,17 @@ components: appArmorProfile: localhostProfile: localhostProfile type: type - fsGroup: 7 + fsGroup: 1 fsGroupChangePolicy: fsGroupChangePolicy seLinuxChangePolicy: seLinuxChangePolicy - runAsGroup: 1 + runAsGroup: 4 runAsNonRoot: true sysctls: - name: name value: value - name: name value: value - runAsUser: 4 + runAsUser: 5 seccompProfile: localhostProfile: localhostProfile type: type @@ -182163,8 +187819,8 @@ components: hostProcess: true gmsaCredentialSpecName: gmsaCredentialSpecName supplementalGroups: - - 5 - - 5 + - 9 + - 9 supplementalGroupsPolicy: supplementalGroupsPolicy preemptionPolicy: preemptionPolicy nodeSelector: @@ -182173,12 +187829,12 @@ components: runtimeClassName: runtimeClassName tolerations: - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator @@ -182198,7 +187854,7 @@ components: topologySpreadConstraints: - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -182214,14 +187870,14 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys - matchLabelKeys - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -182237,7 +187893,7 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys @@ -182348,20 +188004,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -182370,7 +188026,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -182383,26 +188039,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -182424,7 +188087,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -182433,7 +188096,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -182446,26 +188109,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -182485,7 +188155,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -182540,9 +188210,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -182551,7 +188221,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -182561,7 +188231,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -182571,7 +188241,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -182596,14 +188266,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -182643,7 +188313,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -182760,20 +188430,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -182782,7 +188452,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -182795,26 +188465,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -182836,7 +188513,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -182845,7 +188522,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -182858,26 +188535,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -182897,7 +188581,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -182952,9 +188636,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -182963,7 +188647,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -182973,7 +188657,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -182983,7 +188667,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -183008,14 +188692,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -183055,7 +188739,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -183083,11 +188767,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -183319,6 +189016,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -183337,6 +189039,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -183352,11 +189059,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -183588,6 +189308,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -183606,6 +189331,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -183617,7 +189347,7 @@ components: tty: true stdinOnce: true serviceAccount: serviceAccount - priority: 6 + priority: 7 restartPolicy: restartPolicy shareProcessNamespace: true hostUsers: true @@ -183635,52 +189365,24 @@ components: name: name - devicePath: devicePath name: name - image: image - imagePullPolicy: imagePullPolicy - livenessProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy - terminationMessagePath: terminationMessagePath - workingDir: workingDir - resources: - claims: - - request: request - name: name - - request: request - name: name - requests: - key: null - limits: - key: null securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -183736,43 +189438,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -183784,10 +189449,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -183803,9 +189464,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -183848,8 +189506,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -183882,7 +189538,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -183898,11 +189553,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -183932,8 +189582,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -183946,9 +189594,86 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -184004,43 +189729,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -184052,10 +189740,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -184071,9 +189755,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -184116,8 +189797,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -184150,7 +189829,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -184166,12 +189844,6 @@ components: secretRef: name: name optional: true - initContainers: - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -184201,8 +189873,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -184215,9 +189885,87 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + initContainers: + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -184273,43 +190021,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -184321,10 +190032,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -184340,9 +190047,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -184385,8 +190089,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -184419,7 +190121,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -184435,11 +190136,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -184469,8 +190165,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -184483,9 +190177,86 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -184541,43 +190312,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -184589,10 +190323,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -184608,9 +190338,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -184653,8 +190380,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -184687,7 +190412,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -184703,6 +190427,104 @@ components: secretRef: name: name optional: true + image: image + imagePullPolicy: imagePullPolicy + livenessProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + terminationMessagePath: terminationMessagePath + workingDir: workingDir + resources: + claims: + - request: request + name: name + - request: request + name: name + requests: + key: null + limits: + key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: @@ -185351,7 +191173,7 @@ components: rules: description: "rules represents the list of alternative rules for the declaring\ \ the Jobs as successful before `.status.succeeded >= .spec.completions`.\ - \ Once any of the rules are met, the \"SucceededCriteriaMet\" condition\ + \ Once any of the rules are met, the \"SuccessCriteriaMet\" condition\ \ is added, and the lingering pods are removed. The terminal state for\ \ such a Job has the \"Complete\" condition. Additionally, these rules\ \ are evaluated in order; Once the Job meets one of the rules, other rules\ @@ -186151,8 +191973,339 @@ components: apiVersion: apiVersion kind: kind spec: - trustBundle: trustBundle + trustBundle: trustBundle + signerName: signerName + properties: + apiVersion: + description: "APIVersion defines the versioned schema of this representation\ + \ of an object. Servers should convert recognized schemas to the latest\ + \ internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources" + type: string + items: + description: items is a collection of ClusterTrustBundle objects + items: + $ref: '#/components/schemas/v1alpha1.ClusterTrustBundle' + type: array + kind: + description: "Kind is a string value representing the REST resource this\ + \ object represents. Servers may infer this from the endpoint the client\ + \ submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + type: string + metadata: + $ref: '#/components/schemas/v1.ListMeta' + required: + - items + type: object + x-kubernetes-group-version-kind: + - group: certificates.k8s.io + kind: ClusterTrustBundleList + version: v1alpha1 + x-implements: + - io.kubernetes.client.common.KubernetesListObject + v1alpha1.ClusterTrustBundleSpec: + description: ClusterTrustBundleSpec contains the signer and trust anchors. + example: + trustBundle: trustBundle + signerName: signerName + properties: + signerName: + description: |- + signerName indicates the associated signer, if any. + + In order to create or update a ClusterTrustBundle that sets signerName, you must have the following cluster-scoped permission: group=certificates.k8s.io resource=signers resourceName= verb=attest. + + If signerName is not empty, then the ClusterTrustBundle object must be named with the signer name as a prefix (translating slashes to colons). For example, for the signer name `example.com/foo`, valid ClusterTrustBundle object names include `example.com:foo:abc` and `example.com:foo:v1`. + + If signerName is empty, then the ClusterTrustBundle object's name must not have such a prefix. + + List/watch requests for ClusterTrustBundles can filter on this field using a `spec.signerName=NAME` field selector. + type: string + trustBundle: + description: |- + trustBundle contains the individual X.509 trust anchors for this bundle, as PEM bundle of PEM-wrapped, DER-formatted X.509 certificates. + + The data must consist only of PEM certificate blocks that parse as valid X.509 certificates. Each certificate must include a basic constraints extension with the CA bit set. The API server will reject objects that contain duplicate certificates, or that use PEM block headers. + + Users of ClusterTrustBundles, including Kubelet, are free to reorder and deduplicate certificate blocks in this file according to their own logic, as well as to drop PEM block headers and inter-block data. + type: string + required: + - trustBundle + type: object + v1alpha1.PodCertificateRequest: + description: |- + PodCertificateRequest encodes a pod requesting a certificate from a given signer. + + Kubelets use this API to implement podCertificate projected volumes + example: + metadata: + generation: 6 + finalizers: + - finalizers + - finalizers + resourceVersion: resourceVersion + annotations: + key: annotations + generateName: generateName + deletionTimestamp: 2000-01-23T04:56:07.000+00:00 + labels: + key: labels + ownerReferences: + - uid: uid + controller: true + apiVersion: apiVersion + kind: kind + name: name + blockOwnerDeletion: true + - uid: uid + controller: true + apiVersion: apiVersion + kind: kind + name: name + blockOwnerDeletion: true + selfLink: selfLink + deletionGracePeriodSeconds: 0 + uid: uid + managedFields: + - apiVersion: apiVersion + fieldsV1: "{}" + manager: manager + subresource: subresource + time: 2000-01-23T04:56:07.000+00:00 + operation: operation + fieldsType: fieldsType + - apiVersion: apiVersion + fieldsV1: "{}" + manager: manager + subresource: subresource + time: 2000-01-23T04:56:07.000+00:00 + operation: operation + fieldsType: fieldsType + creationTimestamp: 2000-01-23T04:56:07.000+00:00 + name: name + namespace: namespace + apiVersion: apiVersion + kind: kind + spec: + nodeName: nodeName + pkixPublicKey: pkixPublicKey + podUID: podUID + serviceAccountName: serviceAccountName + maxExpirationSeconds: 0 + nodeUID: nodeUID + podName: podName + proofOfPossession: proofOfPossession + serviceAccountUID: serviceAccountUID + signerName: signerName + status: + notAfter: 2000-01-23T04:56:07.000+00:00 + certificateChain: certificateChain + beginRefreshAt: 2000-01-23T04:56:07.000+00:00 + conditions: + - reason: reason + lastTransitionTime: 2000-01-23T04:56:07.000+00:00 + message: message + type: type + observedGeneration: 5 + status: status + - reason: reason + lastTransitionTime: 2000-01-23T04:56:07.000+00:00 + message: message + type: type + observedGeneration: 5 + status: status + notBefore: 2000-01-23T04:56:07.000+00:00 + properties: + apiVersion: + description: "APIVersion defines the versioned schema of this representation\ + \ of an object. Servers should convert recognized schemas to the latest\ + \ internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources" + type: string + kind: + description: "Kind is a string value representing the REST resource this\ + \ object represents. Servers may infer this from the endpoint the client\ + \ submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + type: string + metadata: + $ref: '#/components/schemas/v1.ObjectMeta' + spec: + $ref: '#/components/schemas/v1alpha1.PodCertificateRequestSpec' + status: + $ref: '#/components/schemas/v1alpha1.PodCertificateRequestStatus' + required: + - spec + type: object + x-kubernetes-group-version-kind: + - group: certificates.k8s.io + kind: PodCertificateRequest + version: v1alpha1 + x-implements: + - io.kubernetes.client.common.KubernetesObject + v1alpha1.PodCertificateRequestList: + description: PodCertificateRequestList is a collection of PodCertificateRequest + objects + example: + metadata: + remainingItemCount: 1 + continue: continue + resourceVersion: resourceVersion + selfLink: selfLink + apiVersion: apiVersion + kind: kind + items: + - metadata: + generation: 6 + finalizers: + - finalizers + - finalizers + resourceVersion: resourceVersion + annotations: + key: annotations + generateName: generateName + deletionTimestamp: 2000-01-23T04:56:07.000+00:00 + labels: + key: labels + ownerReferences: + - uid: uid + controller: true + apiVersion: apiVersion + kind: kind + name: name + blockOwnerDeletion: true + - uid: uid + controller: true + apiVersion: apiVersion + kind: kind + name: name + blockOwnerDeletion: true + selfLink: selfLink + deletionGracePeriodSeconds: 0 + uid: uid + managedFields: + - apiVersion: apiVersion + fieldsV1: "{}" + manager: manager + subresource: subresource + time: 2000-01-23T04:56:07.000+00:00 + operation: operation + fieldsType: fieldsType + - apiVersion: apiVersion + fieldsV1: "{}" + manager: manager + subresource: subresource + time: 2000-01-23T04:56:07.000+00:00 + operation: operation + fieldsType: fieldsType + creationTimestamp: 2000-01-23T04:56:07.000+00:00 + name: name + namespace: namespace + apiVersion: apiVersion + kind: kind + spec: + nodeName: nodeName + pkixPublicKey: pkixPublicKey + podUID: podUID + serviceAccountName: serviceAccountName + maxExpirationSeconds: 0 + nodeUID: nodeUID + podName: podName + proofOfPossession: proofOfPossession + serviceAccountUID: serviceAccountUID + signerName: signerName + status: + notAfter: 2000-01-23T04:56:07.000+00:00 + certificateChain: certificateChain + beginRefreshAt: 2000-01-23T04:56:07.000+00:00 + conditions: + - reason: reason + lastTransitionTime: 2000-01-23T04:56:07.000+00:00 + message: message + type: type + observedGeneration: 5 + status: status + - reason: reason + lastTransitionTime: 2000-01-23T04:56:07.000+00:00 + message: message + type: type + observedGeneration: 5 + status: status + notBefore: 2000-01-23T04:56:07.000+00:00 + - metadata: + generation: 6 + finalizers: + - finalizers + - finalizers + resourceVersion: resourceVersion + annotations: + key: annotations + generateName: generateName + deletionTimestamp: 2000-01-23T04:56:07.000+00:00 + labels: + key: labels + ownerReferences: + - uid: uid + controller: true + apiVersion: apiVersion + kind: kind + name: name + blockOwnerDeletion: true + - uid: uid + controller: true + apiVersion: apiVersion + kind: kind + name: name + blockOwnerDeletion: true + selfLink: selfLink + deletionGracePeriodSeconds: 0 + uid: uid + managedFields: + - apiVersion: apiVersion + fieldsV1: "{}" + manager: manager + subresource: subresource + time: 2000-01-23T04:56:07.000+00:00 + operation: operation + fieldsType: fieldsType + - apiVersion: apiVersion + fieldsV1: "{}" + manager: manager + subresource: subresource + time: 2000-01-23T04:56:07.000+00:00 + operation: operation + fieldsType: fieldsType + creationTimestamp: 2000-01-23T04:56:07.000+00:00 + name: name + namespace: namespace + apiVersion: apiVersion + kind: kind + spec: + nodeName: nodeName + pkixPublicKey: pkixPublicKey + podUID: podUID + serviceAccountName: serviceAccountName + maxExpirationSeconds: 0 + nodeUID: nodeUID + podName: podName + proofOfPossession: proofOfPossession + serviceAccountUID: serviceAccountUID signerName: signerName + status: + notAfter: 2000-01-23T04:56:07.000+00:00 + certificateChain: certificateChain + beginRefreshAt: 2000-01-23T04:56:07.000+00:00 + conditions: + - reason: reason + lastTransitionTime: 2000-01-23T04:56:07.000+00:00 + message: message + type: type + observedGeneration: 5 + status: status + - reason: reason + lastTransitionTime: 2000-01-23T04:56:07.000+00:00 + message: message + type: type + observedGeneration: 5 + status: status + notBefore: 2000-01-23T04:56:07.000+00:00 properties: apiVersion: description: "APIVersion defines the versioned schema of this representation\ @@ -186160,9 +192313,9 @@ components: \ internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources" type: string items: - description: items is a collection of ClusterTrustBundle objects + description: items is a collection of PodCertificateRequest objects items: - $ref: '#/components/schemas/v1alpha1.ClusterTrustBundle' + $ref: '#/components/schemas/v1alpha1.PodCertificateRequest' type: array kind: description: "Kind is a string value representing the REST resource this\ @@ -186176,38 +192329,172 @@ components: type: object x-kubernetes-group-version-kind: - group: certificates.k8s.io - kind: ClusterTrustBundleList + kind: PodCertificateRequestList version: v1alpha1 x-implements: - io.kubernetes.client.common.KubernetesListObject - v1alpha1.ClusterTrustBundleSpec: - description: ClusterTrustBundleSpec contains the signer and trust anchors. + v1alpha1.PodCertificateRequestSpec: + description: PodCertificateRequestSpec describes the certificate request. All + fields are immutable after creation. example: - trustBundle: trustBundle + nodeName: nodeName + pkixPublicKey: pkixPublicKey + podUID: podUID + serviceAccountName: serviceAccountName + maxExpirationSeconds: 0 + nodeUID: nodeUID + podName: podName + proofOfPossession: proofOfPossession + serviceAccountUID: serviceAccountUID signerName: signerName properties: - signerName: + maxExpirationSeconds: description: |- - signerName indicates the associated signer, if any. + maxExpirationSeconds is the maximum lifetime permitted for the certificate. - In order to create or update a ClusterTrustBundle that sets signerName, you must have the following cluster-scoped permission: group=certificates.k8s.io resource=signers resourceName= verb=attest. + If omitted, kube-apiserver will set it to 86400(24 hours). kube-apiserver will reject values shorter than 3600 (1 hour). The maximum allowable value is 7862400 (91 days). - If signerName is not empty, then the ClusterTrustBundle object must be named with the signer name as a prefix (translating slashes to colons). For example, for the signer name `example.com/foo`, valid ClusterTrustBundle object names include `example.com:foo:abc` and `example.com:foo:v1`. + The signer implementation is then free to issue a certificate with any lifetime *shorter* than MaxExpirationSeconds, but no shorter than 3600 seconds (1 hour). This constraint is enforced by kube-apiserver. `kubernetes.io` signers will never issue certificates with a lifetime longer than 24 hours. + format: int32 + type: integer + nodeName: + description: nodeName is the name of the node the pod is assigned to. + type: string + nodeUID: + description: nodeUID is the UID of the node the pod is assigned to. + type: string + pkixPublicKey: + description: |- + pkixPublicKey is the PKIX-serialized public key the signer will issue the certificate to. - If signerName is empty, then the ClusterTrustBundle object's name must not have such a prefix. + The key must be one of RSA3072, RSA4096, ECDSAP256, ECDSAP384, ECDSAP521, or ED25519. Note that this list may be expanded in the future. - List/watch requests for ClusterTrustBundles can filter on this field using a `spec.signerName=NAME` field selector. + Signer implementations do not need to support all key types supported by kube-apiserver and kubelet. If a signer does not support the key type used for a given PodCertificateRequest, it must deny the request by setting a status.conditions entry with a type of "Denied" and a reason of "UnsupportedKeyType". It may also suggest a key type that it does support in the message field. + format: byte + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$" type: string - trustBundle: + podName: + description: podName is the name of the pod into which the certificate will + be mounted. + type: string + podUID: + description: podUID is the UID of the pod into which the certificate will + be mounted. + type: string + proofOfPossession: description: |- - trustBundle contains the individual X.509 trust anchors for this bundle, as PEM bundle of PEM-wrapped, DER-formatted X.509 certificates. + proofOfPossession proves that the requesting kubelet holds the private key corresponding to pkixPublicKey. - The data must consist only of PEM certificate blocks that parse as valid X.509 certificates. Each certificate must include a basic constraints extension with the CA bit set. The API server will reject objects that contain duplicate certificates, or that use PEM block headers. + It is contructed by signing the ASCII bytes of the pod's UID using `pkixPublicKey`. - Users of ClusterTrustBundles, including Kubelet, are free to reorder and deduplicate certificate blocks in this file according to their own logic, as well as to drop PEM block headers and inter-block data. + kube-apiserver validates the proof of possession during creation of the PodCertificateRequest. + + If the key is an RSA key, then the signature is over the ASCII bytes of the pod UID, using RSASSA-PSS from RFC 8017 (as implemented by the golang function crypto/rsa.SignPSS with nil options). + + If the key is an ECDSA key, then the signature is as described by [SEC 1, Version 2.0](https://www.secg.org/sec1-v2.pdf) (as implemented by the golang library function crypto/ecdsa.SignASN1) + + If the key is an ED25519 key, the the signature is as described by the [ED25519 Specification](https://ed25519.cr.yp.to/) (as implemented by the golang library crypto/ed25519.Sign). + format: byte + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$" + type: string + serviceAccountName: + description: serviceAccountName is the name of the service account the pod + is running as. + type: string + serviceAccountUID: + description: serviceAccountUID is the UID of the service account the pod + is running as. + type: string + signerName: + description: |- + signerName indicates the requested signer. + + All signer names beginning with `kubernetes.io` are reserved for use by the Kubernetes project. There is currently one well-known signer documented by the Kubernetes project, `kubernetes.io/kube-apiserver-client-pod`, which will issue client certificates understood by kube-apiserver. It is currently unimplemented. type: string required: - - trustBundle + - nodeName + - nodeUID + - pkixPublicKey + - podName + - podUID + - proofOfPossession + - serviceAccountName + - serviceAccountUID + - signerName + type: object + v1alpha1.PodCertificateRequestStatus: + description: "PodCertificateRequestStatus describes the status of the request,\ + \ and holds the certificate data if the request is issued." + example: + notAfter: 2000-01-23T04:56:07.000+00:00 + certificateChain: certificateChain + beginRefreshAt: 2000-01-23T04:56:07.000+00:00 + conditions: + - reason: reason + lastTransitionTime: 2000-01-23T04:56:07.000+00:00 + message: message + type: type + observedGeneration: 5 + status: status + - reason: reason + lastTransitionTime: 2000-01-23T04:56:07.000+00:00 + message: message + type: type + observedGeneration: 5 + status: status + notBefore: 2000-01-23T04:56:07.000+00:00 + properties: + beginRefreshAt: + description: |- + beginRefreshAt is the time at which the kubelet should begin trying to refresh the certificate. This field is set via the /status subresource, and must be set at the same time as certificateChain. Once populated, this field is immutable. + + This field is only a hint. Kubelet may start refreshing before or after this time if necessary. + format: date-time + type: string + certificateChain: + description: |- + certificateChain is populated with an issued certificate by the signer. This field is set via the /status subresource. Once populated, this field is immutable. + + If the certificate signing request is denied, a condition of type "Denied" is added and this field remains empty. If the signer cannot issue the certificate, a condition of type "Failed" is added and this field remains empty. + + Validation requirements: + 1. certificateChain must consist of one or more PEM-formatted certificates. + 2. Each entry must be a valid PEM-wrapped, DER-encoded ASN.1 Certificate as + described in section 4 of RFC5280. + + If more than one block is present, and the definition of the requested spec.signerName does not indicate otherwise, the first block is the issued certificate, and subsequent blocks should be treated as intermediate certificates and presented in TLS handshakes. When projecting the chain into a pod volume, kubelet will drop any data in-between the PEM blocks, as well as any PEM block headers. + type: string + conditions: + description: |- + conditions applied to the request. + + The types "Issued", "Denied", and "Failed" have special handling. At most one of these conditions may be present, and they must have status "True". + + If the request is denied with `Reason=UnsupportedKeyType`, the signer may suggest a key type that will work in the message field. + items: + $ref: '#/components/schemas/v1.Condition' + type: array + x-kubernetes-patch-strategy: merge + x-kubernetes-list-type: map + x-kubernetes-list-map-keys: + - type + x-kubernetes-patch-merge-key: type + notAfter: + description: "notAfter is the time at which the certificate expires. The\ + \ value must be the same as the notAfter value in the leaf certificate\ + \ in certificateChain. This field is set via the /status subresource.\ + \ Once populated, it is immutable. The signer must set this field at\ + \ the same time it sets certificateChain." + format: date-time + type: string + notBefore: + description: "notBefore is the time at which the certificate becomes valid.\ + \ The value must be the same as the notBefore value in the leaf certificate\ + \ in certificateChain. This field is set via the /status subresource.\ + \ Once populated, it is immutable. The signer must set this field at\ + \ the same time it sets certificateChain." + format: date-time + type: string type: object v1beta1.ClusterTrustBundle: description: |- @@ -187312,7 +193599,7 @@ components: An AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling. example: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -188917,10 +195204,10 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key properties: @@ -188953,14 +195240,14 @@ components: The contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling. example: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key properties: @@ -189005,52 +195292,24 @@ components: name: name - devicePath: devicePath name: name - image: image - imagePullPolicy: imagePullPolicy - livenessProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy - terminationMessagePath: terminationMessagePath - workingDir: workingDir - resources: - claims: - - request: request - name: name - - request: request - name: name - requests: - key: null - limits: - key: null securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -189106,6 +195365,162 @@ components: value: value - name: name value: value + ports: + - protocol: protocol + hostIP: hostIP + name: name + containerPort: 7 + hostPort: 1 + - protocol: protocol + hostIP: hostIP + name: name + containerPort: 7 + hostPort: 1 + volumeMounts: + - mountPath: mountPath + mountPropagation: mountPropagation + name: name + readOnly: true + subPath: subPath + recursiveReadOnly: recursiveReadOnly + subPathExpr: subPathExpr + - mountPath: mountPath + mountPropagation: mountPropagation + name: name + readOnly: true + subPath: subPath + recursiveReadOnly: recursiveReadOnly + subPathExpr: subPathExpr + lifecycle: + postStart: + sleep: + seconds: 5 + tcpSocket: + port: port + host: host + exec: + command: + - command + - command + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + preStop: + sleep: + seconds: 5 + tcpSocket: + port: port + host: host + exec: + command: + - command + - command + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + stopSignal: stopSignal + readinessProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + resizePolicy: + - resourceName: resourceName + restartPolicy: restartPolicy + - resourceName: resourceName + restartPolicy: restartPolicy + envFrom: + - configMapRef: + name: name + optional: true + prefix: prefix + secretRef: + name: name + optional: true + - configMapRef: + name: name + optional: true + prefix: prefix + secretRef: + name: name + optional: true + image: image + imagePullPolicy: imagePullPolicy + livenessProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + terminationMessagePath: terminationMessagePath + workingDir: workingDir + resources: + claims: + - request: request + name: name + - request: request + name: name + requests: + key: null + limits: + key: null env: - name: name value: value @@ -189125,6 +195540,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -189143,131 +195563,21 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - ports: - - protocol: protocol - hostIP: hostIP - name: name - containerPort: 7 - hostPort: 1 - - protocol: protocol - hostIP: hostIP - name: name - containerPort: 7 - hostPort: 1 + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command - command - volumeMounts: - - mountPath: mountPath - mountPropagation: mountPropagation - name: name - readOnly: true - subPath: subPath - recursiveReadOnly: recursiveReadOnly - subPathExpr: subPathExpr - - mountPath: mountPath - mountPropagation: mountPropagation - name: name - readOnly: true - subPath: subPath - recursiveReadOnly: recursiveReadOnly - subPathExpr: subPathExpr args: - args - args - lifecycle: - postStart: - sleep: - seconds: 5 - tcpSocket: - port: port - host: host - exec: - command: - - command - - command - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value - preStop: - sleep: - seconds: 5 - tcpSocket: - port: port - host: host - exec: - command: - - command - - command - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value - stopSignal: stopSignal name: name tty: true - readinessProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value - resizePolicy: - - resourceName: resourceName - restartPolicy: restartPolicy - - resourceName: resourceName - restartPolicy: restartPolicy stdinOnce: true - envFrom: - - configMapRef: - name: name - optional: true - prefix: prefix - secretRef: - name: name - optional: true - - configMapRef: - name: name - optional: true - prefix: prefix - secretRef: - name: name - optional: true properties: args: description: "Arguments to the entrypoint. The container image's CMD is\ @@ -189308,11 +195618,10 @@ components: x-kubernetes-patch-merge-key: name envFrom: description: "List of sources to populate environment variables in the container.\ - \ The keys defined within a source must be a C_IDENTIFIER. All invalid\ - \ keys will be reported as an event when the container is starting. When\ - \ a key exists in multiple sources, the value associated with the last\ - \ source will take precedence. Values defined by an Env with a duplicate\ - \ key will take precedence. Cannot be updated." + \ The keys defined within a source may consist of any printable ASCII\ + \ characters except '='. When a key exists in multiple sources, the value\ + \ associated with the last source will take precedence. Values defined\ + \ by an Env with a duplicate key will take precedence. Cannot be updated." items: $ref: '#/components/schemas/v1.EnvFromSource' type: array @@ -189364,21 +195673,34 @@ components: $ref: '#/components/schemas/v1.ResourceRequirements' restartPolicy: description: "RestartPolicy defines the restart behavior of individual containers\ - \ in a pod. This field may only be set for init containers, and the only\ - \ allowed value is \"Always\". For non-init containers or when this field\ + \ in a pod. This overrides the pod-level restart policy. When this field\ \ is not specified, the restart behavior is defined by the Pod's restart\ - \ policy and the container type. Setting the RestartPolicy as \"Always\"\ - \ for the init container will have the following effect: this init container\ - \ will be continually restarted on exit until all regular containers have\ - \ terminated. Once all regular containers have completed, all init containers\ - \ with restartPolicy \"Always\" will be shut down. This lifecycle differs\ - \ from normal init containers and is often referred to as a \"sidecar\"\ - \ container. Although this init container still starts in the init container\ - \ sequence, it does not wait for the container to complete before proceeding\ - \ to the next init container. Instead, the next init container starts\ - \ immediately after this init container is started, or after any startupProbe\ - \ has successfully completed." - type: string + \ policy and the container type. Additionally, setting the RestartPolicy\ + \ as \"Always\" for the init container will have the following effect:\ + \ this init container will be continually restarted on exit until all\ + \ regular containers have terminated. Once all regular containers have\ + \ completed, all init containers with restartPolicy \"Always\" will be\ + \ shut down. This lifecycle differs from normal init containers and is\ + \ often referred to as a \"sidecar\" container. Although this init container\ + \ still starts in the init container sequence, it does not wait for the\ + \ container to complete before proceeding to the next init container.\ + \ Instead, the next init container starts immediately after this init\ + \ container is started, or after any startupProbe has successfully completed." + type: string + restartPolicyRules: + description: "Represents a list of rules to be checked to determine if the\ + \ container should be restarted on exit. The rules are evaluated in order.\ + \ Once a rule matches a container exit condition, the remaining rules\ + \ are ignored. If no rule matches the container exit condition, the Container-level\ + \ restart policy determines the whether the container is restarted or\ + \ not. Constraints on the rules: - At most 20 rules are allowed. - Rules\ + \ can have the same action. - Identical rules are not forbidden in validations.\ + \ When rules are specified, container MUST set RestartPolicy explicitly\ + \ even it if matches the Pod's RestartPolicy." + items: + $ref: '#/components/schemas/v1.ContainerRestartRule' + type: array + x-kubernetes-list-type: atomic securityContext: $ref: '#/components/schemas/v1.SecurityContext' startupProbe: @@ -189450,6 +195772,30 @@ components: required: - name type: object + v1.ContainerExtendedResourceRequest: + description: "ContainerExtendedResourceRequest has the mapping of container\ + \ name, extended resource name to the device request name." + example: + requestName: requestName + containerName: containerName + resourceName: resourceName + properties: + containerName: + description: The name of the container requesting resources. + type: string + requestName: + description: The name of the request in the special ResourceClaim which + corresponds to the extended resource. + type: string + resourceName: + description: The name of the extended resource in that container which gets + backed by DRA. + type: string + required: + - containerName + - requestName + - resourceName + type: object v1.ContainerImage: description: Describe a container image example: @@ -189524,6 +195870,52 @@ components: - resourceName - restartPolicy type: object + v1.ContainerRestartRule: + description: ContainerRestartRule describes how a container exit is handled. + example: + action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + properties: + action: + description: Specifies the action taken on a container exit if the requirements + are satisfied. The only possible value is "Restart" to restart the container. + type: string + exitCodes: + $ref: '#/components/schemas/v1.ContainerRestartRuleOnExitCodes' + required: + - action + type: object + v1.ContainerRestartRuleOnExitCodes: + description: ContainerRestartRuleOnExitCodes describes the condition for handling + an exited container based on its exit codes. + example: + values: + - 1 + - 1 + operator: operator + properties: + operator: + description: |- + Represents the relationship between the container exit code(s) and the specified values. Possible values are: - In: the requirement is satisfied if the container exit code is in the + set of specified values. + - NotIn: the requirement is satisfied if the container exit code is + not in the set of specified values. + type: string + values: + description: Specifies the set of values to check for container exit codes. + At most 255 elements are allowed. + items: + format: int32 + type: integer + type: array + x-kubernetes-list-type: set + required: + - operator + type: object v1.ContainerState: description: "ContainerState holds a possible state of container. Only one of\ \ its members may be specified. If none of them is specified, the default\ @@ -189540,7 +195932,7 @@ components: startedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID message: message - signal: 0 + signal: 6 finishedAt: 2000-01-23T04:56:07.000+00:00 properties: running: @@ -189568,7 +195960,7 @@ components: startedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID message: message - signal: 0 + signal: 6 finishedAt: 2000-01-23T04:56:07.000+00:00 properties: containerID: @@ -189631,7 +196023,7 @@ components: health: health image: image imageID: imageID - restartCount: 7 + restartCount: 0 resources: claims: - request: request @@ -189655,7 +196047,7 @@ components: startedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID message: message - signal: 0 + signal: 6 finishedAt: 2000-01-23T04:56:07.000+00:00 volumeMounts: - mountPath: mountPath @@ -189682,17 +196074,17 @@ components: startedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID message: message - signal: 0 + signal: 6 finishedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID stopSignal: stopSignal user: linux: - uid: 4 - gid: 6 + uid: 7 + gid: 4 supplementalGroups: - - 0 - - 0 + - 8 + - 8 properties: allocatedResources: additionalProperties: @@ -189787,11 +196179,11 @@ components: description: ContainerUser represents user identity information example: linux: - uid: 4 - gid: 6 + uid: 7 + gid: 4 supplementalGroups: - - 0 - - 0 + - 8 + - 8 properties: linux: $ref: '#/components/schemas/v1.LinuxContainerUser' @@ -189814,7 +196206,7 @@ components: mode. example: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -189823,7 +196215,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -189844,7 +196236,7 @@ components: description: DownwardAPIVolumeFile represents information to create the file containing the pod field example: - mode: 1 + mode: 2 path: path resourceFieldRef: divisor: divisor @@ -189879,9 +196271,9 @@ components: description: DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling. example: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -189890,7 +196282,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -190705,7 +197097,7 @@ components: $ref: '#/components/schemas/v1.ConfigMapEnvSource' prefix: description: Optional text to prepend to the name of each environment variable. - Must be a C_IDENTIFIER. + May consist of any printable ASCII characters except '='. type: string secretRef: $ref: '#/components/schemas/v1.SecretEnvSource' @@ -190731,9 +197123,15 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key properties: name: - description: Name of the environment variable. Must be a C_IDENTIFIER. + description: Name of the environment variable. May consist of any printable + ASCII characters except '='. type: string value: description: "Variable references $(VAR_NAME) are expanded using the previously\ @@ -190768,11 +197166,18 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key properties: configMapKeyRef: $ref: '#/components/schemas/v1.ConfigMapKeySelector' fieldRef: $ref: '#/components/schemas/v1.ObjectFieldSelector' + fileKeyRef: + $ref: '#/components/schemas/v1.FileKeySelector' resourceFieldRef: $ref: '#/components/schemas/v1.ResourceFieldSelector' secretKeyRef: @@ -190789,11 +197194,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -191025,6 +197443,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -191043,6 +197466,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -191093,11 +197521,10 @@ components: x-kubernetes-patch-merge-key: name envFrom: description: "List of sources to populate environment variables in the container.\ - \ The keys defined within a source must be a C_IDENTIFIER. All invalid\ - \ keys will be reported as an event when the container is starting. When\ - \ a key exists in multiple sources, the value associated with the last\ - \ source will take precedence. Values defined by an Env with a duplicate\ - \ key will take precedence. Cannot be updated." + \ The keys defined within a source may consist of any printable ASCII\ + \ characters except '='. When a key exists in multiple sources, the value\ + \ associated with the last source will take precedence. Values defined\ + \ by an Env with a duplicate key will take precedence. Cannot be updated." items: $ref: '#/components/schemas/v1.EnvFromSource' type: array @@ -191142,9 +197569,17 @@ components: $ref: '#/components/schemas/v1.ResourceRequirements' restartPolicy: description: Restart policy for the container to manage the restart behavior - of each container within a pod. This may only be set for init containers. - You cannot set this field on ephemeral containers. + of each container within a pod. You cannot set this field on ephemeral + containers. type: string + restartPolicyRules: + description: Represents a list of rules to be checked to determine if the + container should be restarted on exit. You cannot set this field on ephemeral + containers. + items: + $ref: '#/components/schemas/v1.ContainerRestartRule' + type: array + x-kubernetes-list-type: atomic securityContext: $ref: '#/components/schemas/v1.SecurityContext' startupProbe: @@ -191722,7 +198157,7 @@ components: be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling. example: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -191760,6 +198195,39 @@ components: type: array x-kubernetes-list-type: atomic type: object + v1.FileKeySelector: + description: FileKeySelector selects a key of the env file. + example: + path: path + volumeName: volumeName + optional: true + key: key + properties: + key: + description: "The key within the env file. An invalid key will prevent the\ + \ pod from starting. The keys defined within a source may consist of any\ + \ printable ASCII characters except '='. During Alpha stage of the EnvFiles\ + \ feature gate, the key size is limited to 128 characters." + type: string + optional: + description: |- + Specify whether the file or its key must be defined. If the file or key does not exist, then the env var is not published. If optional is set to true and the specified key does not exist, the environment variable will not be set in the Pod's containers. + + If optional is set to false and the specified key does not exist, an error will be returned during Pod creation. + type: boolean + path: + description: The path within the volume from which to select the file. Must + be relative and may not contain the '..' path or start with '..'. + type: string + volumeName: + description: The name of the volume mount containing the env file. + type: string + required: + - key + - path + - volumeName + type: object + x-kubernetes-map-type: atomic v1.FlexPersistentVolumeSource: description: FlexPersistentVolumeSource represents a generic persistent volume resource that is provisioned/attached using an exec based plugin. @@ -191967,8 +198435,7 @@ components: readOnly: true properties: endpoints: - description: "endpoints is the endpoint name that details Glusterfs topology.\ - \ More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod" + description: endpoints is the endpoint name that details Glusterfs topology. type: string path: description: "path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod" @@ -192168,7 +198635,7 @@ components: example: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -192265,7 +198732,7 @@ components: v1.KeyToPath: description: Maps a string key to a path within a volume. example: - mode: 3 + mode: 6 path: path key: key properties: @@ -192758,11 +199225,11 @@ components: description: LinuxContainerUser represents user identity information in Linux containers example: - uid: 4 - gid: 6 + uid: 7 + gid: 4 supplementalGroups: - - 0 - - 0 + - 8 + - 8 properties: gid: description: GID is the primary gid initially attached to the first process @@ -194769,7 +201236,7 @@ components: readOnly: true fsType: fsType awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -194904,7 +201371,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -195452,16 +201919,13 @@ components: \ used by this claim. If specified, the CSI driver will create or update\ \ the volume with the attributes defined in the corresponding VolumeAttributesClass.\ \ This has a different purpose than storageClassName, it can be changed\ - \ after the claim is created. An empty string value means that no VolumeAttributesClass\ - \ will be applied to the claim but it's not allowed to reset this field\ - \ to empty string once it is set. If unspecified and the PersistentVolumeClaim\ - \ is unbound, the default VolumeAttributesClass will be set by the persistentvolume\ - \ controller if it exists. If the resource referred to by volumeAttributesClass\ - \ does not exist, this PersistentVolumeClaim will be set to a Pending\ - \ state, as reflected by the modifyVolumeStatus field, until such as a\ - \ resource exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/\ - \ (Beta) Using this field requires the VolumeAttributesClass feature gate\ - \ to be enabled (off by default)." + \ after the claim is created. An empty string or nil value indicates that\ + \ no VolumeAttributesClass will be applied to the claim. If the claim\ + \ enters an Infeasible error state, this field can be reset to its previous\ + \ value (including nil) to cancel the modification. If the resource referred\ + \ to by volumeAttributesClass does not exist, this PersistentVolumeClaim\ + \ will be set to a Pending state, as reflected by the modifyVolumeStatus\ + \ field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/" type: string volumeMode: description: volumeMode defines what type of volume is required by the claim. @@ -195591,8 +202055,7 @@ components: currentVolumeAttributesClassName: description: "currentVolumeAttributesClassName is the current name of the\ \ VolumeAttributesClass the PVC is using. When unset, there is no VolumeAttributeClass\ - \ applied to this PersistentVolumeClaim This is a beta field and requires\ - \ enabling VolumeAttributesClass feature (off by default)." + \ applied to this PersistentVolumeClaim" type: string modifyVolumeStatus: $ref: '#/components/schemas/v1.ModifyVolumeStatus' @@ -195867,7 +202330,7 @@ components: readOnly: true fsType: fsType awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -196002,7 +202465,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -196161,7 +202624,7 @@ components: readOnly: true fsType: fsType awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -196296,7 +202759,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -196436,7 +202899,7 @@ components: readOnly: true fsType: fsType awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -196571,7 +203034,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -196671,8 +203134,7 @@ components: \ This field is mutable and can be changed by the CSI driver after a volume\ \ has been updated successfully to a new class. For an unbound PersistentVolume,\ \ the volumeAttributesClassName will be matched with unbound PersistentVolumeClaims\ - \ during the binding process. This is a beta field and requires enabling\ - \ VolumeAttributesClass feature (off by default)." + \ during the binding process." type: string volumeMode: description: volumeMode defines if a volume is intended to be used with @@ -196800,6 +203262,7 @@ components: - conditionType: conditionType - conditionType: conditionType serviceAccountName: serviceAccountName + hostnameOverride: hostnameOverride imagePullSecrets: - name: name - name: name @@ -196822,17 +203285,17 @@ components: appArmorProfile: localhostProfile: localhostProfile type: type - fsGroup: 7 + fsGroup: 1 fsGroupChangePolicy: fsGroupChangePolicy seLinuxChangePolicy: seLinuxChangePolicy - runAsGroup: 1 + runAsGroup: 4 runAsNonRoot: true sysctls: - name: name value: value - name: name value: value - runAsUser: 4 + runAsUser: 5 seccompProfile: localhostProfile: localhostProfile type: type @@ -196842,8 +203305,8 @@ components: hostProcess: true gmsaCredentialSpecName: gmsaCredentialSpecName supplementalGroups: - - 5 - - 5 + - 9 + - 9 supplementalGroupsPolicy: supplementalGroupsPolicy preemptionPolicy: preemptionPolicy nodeSelector: @@ -196852,12 +203315,12 @@ components: runtimeClassName: runtimeClassName tolerations: - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator @@ -196877,7 +203340,7 @@ components: topologySpreadConstraints: - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -196893,14 +203356,14 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys - matchLabelKeys - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -196916,7 +203379,7 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys @@ -197027,20 +203490,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -197049,7 +203512,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -197062,26 +203525,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -197103,7 +203573,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -197112,7 +203582,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -197125,26 +203595,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -197164,7 +203641,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -197219,9 +203696,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -197230,7 +203707,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -197240,7 +203717,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -197250,7 +203727,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -197275,14 +203752,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -197322,7 +203799,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -197439,20 +203916,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -197461,7 +203938,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -197474,26 +203951,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -197515,7 +203999,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -197524,7 +204008,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -197537,26 +204021,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -197576,7 +204067,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -197631,9 +204122,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -197642,7 +204133,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -197652,7 +204143,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -197662,7 +204153,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -197687,14 +204178,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -197734,7 +204225,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -197762,11 +204253,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -197998,6 +204502,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -198016,6 +204525,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -198031,11 +204545,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -198267,6 +204794,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -198285,6 +204817,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -198296,7 +204833,7 @@ components: tty: true stdinOnce: true serviceAccount: serviceAccount - priority: 6 + priority: 7 restartPolicy: restartPolicy shareProcessNamespace: true hostUsers: true @@ -198314,6 +204851,194 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy + securityContext: + privileged: true + runAsUser: 6 + capabilities: + add: + - add + - add + drop: + - drop + - drop + seLinuxOptions: + role: role + level: level + type: type + user: user + appArmorProfile: + localhostProfile: localhostProfile + type: type + seccompProfile: + localhostProfile: localhostProfile + type: type + windowsOptions: + gmsaCredentialSpec: gmsaCredentialSpec + runAsUserName: runAsUserName + hostProcess: true + gmsaCredentialSpecName: gmsaCredentialSpecName + procMount: procMount + allowPrivilegeEscalation: true + runAsGroup: 1 + runAsNonRoot: true + readOnlyRootFilesystem: true + startupProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + ports: + - protocol: protocol + hostIP: hostIP + name: name + containerPort: 7 + hostPort: 1 + - protocol: protocol + hostIP: hostIP + name: name + containerPort: 7 + hostPort: 1 + volumeMounts: + - mountPath: mountPath + mountPropagation: mountPropagation + name: name + readOnly: true + subPath: subPath + recursiveReadOnly: recursiveReadOnly + subPathExpr: subPathExpr + - mountPath: mountPath + mountPropagation: mountPropagation + name: name + readOnly: true + subPath: subPath + recursiveReadOnly: recursiveReadOnly + subPathExpr: subPathExpr + lifecycle: + postStart: + sleep: + seconds: 5 + tcpSocket: + port: port + host: host + exec: + command: + - command + - command + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + preStop: + sleep: + seconds: 5 + tcpSocket: + port: port + host: host + exec: + command: + - command + - command + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + stopSignal: stopSignal + readinessProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + resizePolicy: + - resourceName: resourceName + restartPolicy: restartPolicy + - resourceName: resourceName + restartPolicy: restartPolicy + envFrom: + - configMapRef: + name: name + optional: true + prefix: prefix + secretRef: + name: name + optional: true + - configMapRef: + name: name + optional: true + prefix: prefix + secretRef: + name: name + optional: true image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -198343,8 +205068,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -198357,9 +205080,86 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -198415,43 +205215,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -198463,10 +205226,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -198482,9 +205241,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -198527,8 +205283,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -198561,7 +205315,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -198577,11 +205330,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -198611,8 +205359,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -198625,9 +205371,87 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + initContainers: + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -198683,43 +205507,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -198731,10 +205518,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -198750,9 +205533,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -198795,8 +205575,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -198829,7 +205607,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -198845,12 +205622,6 @@ components: secretRef: name: name optional: true - initContainers: - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -198880,8 +205651,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -198894,9 +205663,86 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -198952,43 +205798,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -199000,10 +205809,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -199019,9 +205824,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -199064,8 +205866,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -199098,7 +205898,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -199114,11 +205913,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -199148,8 +205942,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -199162,64 +205954,6 @@ components: key: null limits: key: null - securityContext: - privileged: true - runAsUser: 1 - capabilities: - add: - - add - - add - drop: - - drop - - drop - seLinuxOptions: - role: role - level: level - type: type - user: user - appArmorProfile: - localhostProfile: localhostProfile - type: type - seccompProfile: - localhostProfile: localhostProfile - type: type - windowsOptions: - gmsaCredentialSpec: gmsaCredentialSpec - runAsUserName: runAsUserName - hostProcess: true - gmsaCredentialSpecName: gmsaCredentialSpecName - procMount: procMount - allowPrivilegeEscalation: true - runAsGroup: 1 - runAsNonRoot: true - readOnlyRootFilesystem: true - startupProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value env: - name: name value: value @@ -199239,6 +205973,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -199257,131 +205996,21 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - ports: - - protocol: protocol - hostIP: hostIP - name: name - containerPort: 7 - hostPort: 1 - - protocol: protocol - hostIP: hostIP - name: name - containerPort: 7 - hostPort: 1 + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command - command - volumeMounts: - - mountPath: mountPath - mountPropagation: mountPropagation - name: name - readOnly: true - subPath: subPath - recursiveReadOnly: recursiveReadOnly - subPathExpr: subPathExpr - - mountPath: mountPath - mountPropagation: mountPropagation - name: name - readOnly: true - subPath: subPath - recursiveReadOnly: recursiveReadOnly - subPathExpr: subPathExpr args: - args - args - lifecycle: - postStart: - sleep: - seconds: 5 - tcpSocket: - port: port - host: host - exec: - command: - - command - - command - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value - preStop: - sleep: - seconds: 5 - tcpSocket: - port: port - host: host - exec: - command: - - command - - command - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value - stopSignal: stopSignal name: name tty: true - readinessProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value - resizePolicy: - - resourceName: resourceName - restartPolicy: restartPolicy - - resourceName: resourceName - restartPolicy: restartPolicy stdinOnce: true - envFrom: - - configMapRef: - name: name - optional: true - prefix: prefix - secretRef: - name: name - optional: true - - configMapRef: - name: name - optional: true - prefix: prefix - secretRef: - name: name - optional: true affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: @@ -199822,7 +206451,7 @@ components: health: health image: image imageID: imageID - restartCount: 7 + restartCount: 0 resources: claims: - request: request @@ -199846,7 +206475,7 @@ components: startedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID message: message - signal: 0 + signal: 6 finishedAt: 2000-01-23T04:56:07.000+00:00 volumeMounts: - mountPath: mountPath @@ -199873,17 +206502,17 @@ components: startedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID message: message - signal: 0 + signal: 6 finishedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID stopSignal: stopSignal user: linux: - uid: 4 - gid: 6 + uid: 7 + gid: 4 supplementalGroups: - - 0 - - 0 + - 8 + - 8 - allocatedResourcesStatus: - name: name resources: @@ -199899,7 +206528,7 @@ components: health: health image: image imageID: imageID - restartCount: 7 + restartCount: 0 resources: claims: - request: request @@ -199923,7 +206552,7 @@ components: startedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID message: message - signal: 0 + signal: 6 finishedAt: 2000-01-23T04:56:07.000+00:00 volumeMounts: - mountPath: mountPath @@ -199950,18 +206579,27 @@ components: startedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID message: message - signal: 0 + signal: 6 finishedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID stopSignal: stopSignal user: linux: - uid: 4 - gid: 6 + uid: 7 + gid: 4 supplementalGroups: - - 0 - - 0 + - 8 + - 8 hostIP: hostIP + extendedResourceClaimStatus: + resourceClaimName: resourceClaimName + requestMappings: + - requestName: requestName + containerName: containerName + resourceName: resourceName + - requestName: requestName + containerName: containerName + resourceName: resourceName nominatedNodeName: nominatedNodeName message: message podIPs: @@ -199984,7 +206622,7 @@ components: health: health image: image imageID: imageID - restartCount: 7 + restartCount: 0 resources: claims: - request: request @@ -200008,7 +206646,7 @@ components: startedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID message: message - signal: 0 + signal: 6 finishedAt: 2000-01-23T04:56:07.000+00:00 volumeMounts: - mountPath: mountPath @@ -200035,17 +206673,17 @@ components: startedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID message: message - signal: 0 + signal: 6 finishedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID stopSignal: stopSignal user: linux: - uid: 4 - gid: 6 + uid: 7 + gid: 4 supplementalGroups: - - 0 - - 0 + - 8 + - 8 - allocatedResourcesStatus: - name: name resources: @@ -200061,7 +206699,7 @@ components: health: health image: image imageID: imageID - restartCount: 7 + restartCount: 0 resources: claims: - request: request @@ -200085,7 +206723,7 @@ components: startedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID message: message - signal: 0 + signal: 6 finishedAt: 2000-01-23T04:56:07.000+00:00 volumeMounts: - mountPath: mountPath @@ -200112,17 +206750,17 @@ components: startedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID message: message - signal: 0 + signal: 6 finishedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID stopSignal: stopSignal user: linux: - uid: 4 - gid: 6 + uid: 7 + gid: 4 supplementalGroups: - - 0 - - 0 + - 8 + - 8 hostIPs: - ip: ip - ip: ip @@ -200134,14 +206772,14 @@ components: lastTransitionTime: 2000-01-23T04:56:07.000+00:00 message: message type: type - observedGeneration: 3 + observedGeneration: 0 lastProbeTime: 2000-01-23T04:56:07.000+00:00 status: status - reason: reason lastTransitionTime: 2000-01-23T04:56:07.000+00:00 message: message type: type - observedGeneration: 3 + observedGeneration: 0 lastProbeTime: 2000-01-23T04:56:07.000+00:00 status: status initContainerStatuses: @@ -200160,7 +206798,7 @@ components: health: health image: image imageID: imageID - restartCount: 7 + restartCount: 0 resources: claims: - request: request @@ -200184,7 +206822,7 @@ components: startedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID message: message - signal: 0 + signal: 6 finishedAt: 2000-01-23T04:56:07.000+00:00 volumeMounts: - mountPath: mountPath @@ -200211,17 +206849,17 @@ components: startedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID message: message - signal: 0 + signal: 6 finishedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID stopSignal: stopSignal user: linux: - uid: 4 - gid: 6 + uid: 7 + gid: 4 supplementalGroups: - - 0 - - 0 + - 8 + - 8 - allocatedResourcesStatus: - name: name resources: @@ -200237,7 +206875,7 @@ components: health: health image: image imageID: imageID - restartCount: 7 + restartCount: 0 resources: claims: - request: request @@ -200261,7 +206899,7 @@ components: startedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID message: message - signal: 0 + signal: 6 finishedAt: 2000-01-23T04:56:07.000+00:00 volumeMounts: - mountPath: mountPath @@ -200288,18 +206926,18 @@ components: startedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID message: message - signal: 0 + signal: 6 finishedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID stopSignal: stopSignal user: linux: - uid: 4 - gid: 6 + uid: 7 + gid: 4 supplementalGroups: - - 0 - - 0 - observedGeneration: 8 + - 8 + - 8 + observedGeneration: 3 properties: apiVersion: description: "APIVersion defines the versioned schema of this representation\ @@ -200781,9 +207419,9 @@ components: \ most preferred is the one with the greatest sum of weights, i.e. for\ \ each node that meets all of the scheduling requirements (resource request,\ \ requiredDuringScheduling anti-affinity expressions, etc.), compute a\ - \ sum by iterating through the elements of this field and adding \"weight\"\ - \ to the sum if the node has pods which matches the corresponding podAffinityTerm;\ - \ the node(s) with the highest sum are the most preferred." + \ sum by iterating through the elements of this field and subtracting\ + \ \"weight\" from the sum if the node has pods which matches the corresponding\ + \ podAffinityTerm; the node(s) with the highest sum are the most preferred." items: $ref: '#/components/schemas/v1.WeightedPodAffinityTerm' type: array @@ -200801,6 +207439,63 @@ components: type: array x-kubernetes-list-type: atomic type: object + v1.PodCertificateProjection: + description: PodCertificateProjection provides a private key and X.509 certificate + in the pod filesystem. + example: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName + properties: + certificateChainPath: + description: |- + Write the certificate chain at this path in the projected volume. + + Most applications should use credentialBundlePath. When using keyPath 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. + type: string + credentialBundlePath: + description: |- + Write the credential bundle at this path in the projected volume. + + The credential bundle is a single file that contains multiple PEM blocks. The first PEM block is a PRIVATE KEY block, containing a PKCS#8 private key. + + The remaining blocks are CERTIFICATE blocks, containing the issued certificate chain from the signer (leaf and any intermediates). + + Using credentialBundlePath lets your Pod's application code make a single 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. + type: string + keyPath: + description: |- + Write the key at this path in the projected volume. + + Most applications should use credentialBundlePath. When using keyPath 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. + type: string + keyType: + description: |- + The type of keypair Kubelet will generate for the pod. + + Valid values are "RSA3072", "RSA4096", "ECDSAP256", "ECDSAP384", "ECDSAP521", and "ED25519". + type: string + maxExpirationSeconds: + description: |- + maxExpirationSeconds is the maximum lifetime permitted for the certificate. + + Kubelet copies this value verbatim into the PodCertificateRequests it generates for this projection. + + If omitted, kube-apiserver will set it to 86400(24 hours). kube-apiserver will reject values shorter than 3600 (1 hour). The maximum allowable value is 7862400 (91 days). + + The signer implementation is then free to issue a certificate with any lifetime *shorter* than MaxExpirationSeconds, but no shorter than 3600 seconds (1 hour). This constraint is enforced by kube-apiserver. `kubernetes.io` signers will never issue certificates with a lifetime longer than 24 hours. + format: int32 + type: integer + signerName: + description: Kubelet's generated CSRs will be addressed to this signer. + type: string + required: + - keyType + - signerName + type: object v1.PodCondition: description: PodCondition contains details for the current condition of this pod. @@ -200809,7 +207504,7 @@ components: lastTransitionTime: 2000-01-23T04:56:07.000+00:00 message: message type: type - observedGeneration: 3 + observedGeneration: 0 lastProbeTime: 2000-01-23T04:56:07.000+00:00 status: status properties: @@ -200900,6 +207595,35 @@ components: description: Value is this DNS resolver option's value. type: string type: object + v1.PodExtendedResourceClaimStatus: + description: PodExtendedResourceClaimStatus is stored in the PodStatus for the + extended resource requests backed by DRA. It stores the generated name for + the corresponding special ResourceClaim created by the scheduler. + example: + resourceClaimName: resourceClaimName + requestMappings: + - requestName: requestName + containerName: containerName + resourceName: resourceName + - requestName: requestName + containerName: containerName + resourceName: resourceName + properties: + requestMappings: + description: "RequestMappings identifies the mapping of to device request in the generated ResourceClaim." + items: + $ref: '#/components/schemas/v1.ContainerExtendedResourceRequest' + type: array + x-kubernetes-list-type: atomic + resourceClaimName: + description: ResourceClaimName is the name of the ResourceClaim that was + generated for the Pod in the namespace of the Pod. + type: string + required: + - requestMappings + - resourceClaimName + type: object v1.PodIP: description: PodIP represents a single IP address allocated to the pod. example: @@ -200991,6 +207715,7 @@ components: - conditionType: conditionType - conditionType: conditionType serviceAccountName: serviceAccountName + hostnameOverride: hostnameOverride imagePullSecrets: - name: name - name: name @@ -201013,17 +207738,17 @@ components: appArmorProfile: localhostProfile: localhostProfile type: type - fsGroup: 7 + fsGroup: 1 fsGroupChangePolicy: fsGroupChangePolicy seLinuxChangePolicy: seLinuxChangePolicy - runAsGroup: 1 + runAsGroup: 4 runAsNonRoot: true sysctls: - name: name value: value - name: name value: value - runAsUser: 4 + runAsUser: 5 seccompProfile: localhostProfile: localhostProfile type: type @@ -201033,8 +207758,8 @@ components: hostProcess: true gmsaCredentialSpecName: gmsaCredentialSpecName supplementalGroups: - - 5 - - 5 + - 9 + - 9 supplementalGroupsPolicy: supplementalGroupsPolicy preemptionPolicy: preemptionPolicy nodeSelector: @@ -201043,12 +207768,12 @@ components: runtimeClassName: runtimeClassName tolerations: - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator @@ -201068,7 +207793,7 @@ components: topologySpreadConstraints: - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -201084,14 +207809,14 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys - matchLabelKeys - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -201107,7 +207832,7 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys @@ -201218,20 +207943,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -201240,7 +207965,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -201253,26 +207978,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -201294,7 +208026,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -201303,7 +208035,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -201316,26 +208048,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -201355,7 +208094,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -201410,9 +208149,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -201421,7 +208160,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -201431,7 +208170,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -201441,7 +208180,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -201466,14 +208205,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -201513,7 +208252,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -201630,20 +208369,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -201652,7 +208391,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -201665,26 +208404,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -201706,7 +208452,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -201715,7 +208461,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -201728,26 +208474,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -201767,7 +208520,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -201822,9 +208575,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -201833,7 +208586,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -201843,7 +208596,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -201853,7 +208606,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -201878,14 +208631,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -201925,7 +208678,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -201953,11 +208706,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -202189,6 +208955,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -202207,6 +208978,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -202222,11 +208998,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -202458,6 +209247,316 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + serviceAccount: serviceAccount + priority: 7 + restartPolicy: restartPolicy + shareProcessNamespace: true + hostUsers: true + resourceClaims: + - resourceClaimName: resourceClaimName + name: name + resourceClaimTemplateName: resourceClaimTemplateName + - resourceClaimName: resourceClaimName + name: name + resourceClaimTemplateName: resourceClaimTemplateName + subdomain: subdomain + containers: + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy + securityContext: + privileged: true + runAsUser: 6 + capabilities: + add: + - add + - add + drop: + - drop + - drop + seLinuxOptions: + role: role + level: level + type: type + user: user + appArmorProfile: + localhostProfile: localhostProfile + type: type + seccompProfile: + localhostProfile: localhostProfile + type: type + windowsOptions: + gmsaCredentialSpec: gmsaCredentialSpec + runAsUserName: runAsUserName + hostProcess: true + gmsaCredentialSpecName: gmsaCredentialSpecName + procMount: procMount + allowPrivilegeEscalation: true + runAsGroup: 1 + runAsNonRoot: true + readOnlyRootFilesystem: true + startupProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + ports: + - protocol: protocol + hostIP: hostIP + name: name + containerPort: 7 + hostPort: 1 + - protocol: protocol + hostIP: hostIP + name: name + containerPort: 7 + hostPort: 1 + volumeMounts: + - mountPath: mountPath + mountPropagation: mountPropagation + name: name + readOnly: true + subPath: subPath + recursiveReadOnly: recursiveReadOnly + subPathExpr: subPathExpr + - mountPath: mountPath + mountPropagation: mountPropagation + name: name + readOnly: true + subPath: subPath + recursiveReadOnly: recursiveReadOnly + subPathExpr: subPathExpr + lifecycle: + postStart: + sleep: + seconds: 5 + tcpSocket: + port: port + host: host + exec: + command: + - command + - command + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + preStop: + sleep: + seconds: 5 + tcpSocket: + port: port + host: host + exec: + command: + - command + - command + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + stopSignal: stopSignal + readinessProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + resizePolicy: + - resourceName: resourceName + restartPolicy: restartPolicy + - resourceName: resourceName + restartPolicy: restartPolicy + envFrom: + - configMapRef: + name: name + optional: true + prefix: prefix + secretRef: + name: name + optional: true + - configMapRef: + name: name + optional: true + prefix: prefix + secretRef: + name: name + optional: true + image: image + imagePullPolicy: imagePullPolicy + livenessProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + terminationMessagePath: terminationMessagePath + workingDir: workingDir + resources: + claims: + - request: request + name: name + - request: request + name: name + requests: + key: null + limits: + key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -202476,6 +209575,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -202486,71 +209590,29 @@ components: name: name tty: true stdinOnce: true - serviceAccount: serviceAccount - priority: 6 - restartPolicy: restartPolicy - shareProcessNamespace: true - hostUsers: true - resourceClaims: - - resourceClaimName: resourceClaimName - name: name - resourceClaimTemplateName: resourceClaimTemplateName - - resourceClaimName: resourceClaimName - name: name - resourceClaimTemplateName: resourceClaimTemplateName - subdomain: subdomain - containers: - volumeDevices: - devicePath: devicePath name: name - devicePath: devicePath name: name - image: image - imagePullPolicy: imagePullPolicy - livenessProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy - terminationMessagePath: terminationMessagePath - workingDir: workingDir - resources: - claims: - - request: request - name: name - - request: request - name: name - requests: - key: null - limits: - key: null securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -202606,43 +209668,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -202654,10 +209679,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -202673,9 +209694,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -202718,8 +209736,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -202752,7 +209768,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -202768,11 +209783,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -202802,8 +209812,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -202816,9 +209824,87 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + initContainers: + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -202874,43 +209960,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -202922,10 +209971,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -202941,9 +209986,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -202986,8 +210028,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -203020,7 +210060,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -203036,12 +210075,6 @@ components: secretRef: name: name optional: true - initContainers: - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -203071,8 +210104,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -203085,9 +210116,86 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -203143,43 +210251,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -203191,10 +210262,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -203210,9 +210277,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -203255,8 +210319,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -203289,7 +210351,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -203305,11 +210366,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -203339,8 +210395,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -203353,64 +210407,6 @@ components: key: null limits: key: null - securityContext: - privileged: true - runAsUser: 1 - capabilities: - add: - - add - - add - drop: - - drop - - drop - seLinuxOptions: - role: role - level: level - type: type - user: user - appArmorProfile: - localhostProfile: localhostProfile - type: type - seccompProfile: - localhostProfile: localhostProfile - type: type - windowsOptions: - gmsaCredentialSpec: gmsaCredentialSpec - runAsUserName: runAsUserName - hostProcess: true - gmsaCredentialSpecName: gmsaCredentialSpecName - procMount: procMount - allowPrivilegeEscalation: true - runAsGroup: 1 - runAsNonRoot: true - readOnlyRootFilesystem: true - startupProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value env: - name: name value: value @@ -203430,6 +210426,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -203448,131 +210449,21 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - ports: - - protocol: protocol - hostIP: hostIP - name: name - containerPort: 7 - hostPort: 1 - - protocol: protocol - hostIP: hostIP - name: name - containerPort: 7 - hostPort: 1 + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command - command - volumeMounts: - - mountPath: mountPath - mountPropagation: mountPropagation - name: name - readOnly: true - subPath: subPath - recursiveReadOnly: recursiveReadOnly - subPathExpr: subPathExpr - - mountPath: mountPath - mountPropagation: mountPropagation - name: name - readOnly: true - subPath: subPath - recursiveReadOnly: recursiveReadOnly - subPathExpr: subPathExpr args: - args - args - lifecycle: - postStart: - sleep: - seconds: 5 - tcpSocket: - port: port - host: host - exec: - command: - - command - - command - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value - preStop: - sleep: - seconds: 5 - tcpSocket: - port: port - host: host - exec: - command: - - command - - command - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value - stopSignal: stopSignal name: name tty: true - readinessProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value - resizePolicy: - - resourceName: resourceName - restartPolicy: restartPolicy - - resourceName: resourceName - restartPolicy: restartPolicy stdinOnce: true - envFrom: - - configMapRef: - name: name - optional: true - prefix: prefix - secretRef: - name: name - optional: true - - configMapRef: - name: name - optional: true - prefix: prefix - secretRef: - name: name - optional: true affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: @@ -204013,7 +210904,7 @@ components: health: health image: image imageID: imageID - restartCount: 7 + restartCount: 0 resources: claims: - request: request @@ -204037,7 +210928,7 @@ components: startedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID message: message - signal: 0 + signal: 6 finishedAt: 2000-01-23T04:56:07.000+00:00 volumeMounts: - mountPath: mountPath @@ -204064,17 +210955,17 @@ components: startedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID message: message - signal: 0 + signal: 6 finishedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID stopSignal: stopSignal user: linux: - uid: 4 - gid: 6 + uid: 7 + gid: 4 supplementalGroups: - - 0 - - 0 + - 8 + - 8 - allocatedResourcesStatus: - name: name resources: @@ -204090,7 +210981,7 @@ components: health: health image: image imageID: imageID - restartCount: 7 + restartCount: 0 resources: claims: - request: request @@ -204114,7 +211005,7 @@ components: startedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID message: message - signal: 0 + signal: 6 finishedAt: 2000-01-23T04:56:07.000+00:00 volumeMounts: - mountPath: mountPath @@ -204141,18 +211032,27 @@ components: startedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID message: message - signal: 0 + signal: 6 finishedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID stopSignal: stopSignal user: linux: - uid: 4 - gid: 6 + uid: 7 + gid: 4 supplementalGroups: - - 0 - - 0 + - 8 + - 8 hostIP: hostIP + extendedResourceClaimStatus: + resourceClaimName: resourceClaimName + requestMappings: + - requestName: requestName + containerName: containerName + resourceName: resourceName + - requestName: requestName + containerName: containerName + resourceName: resourceName nominatedNodeName: nominatedNodeName message: message podIPs: @@ -204175,7 +211075,7 @@ components: health: health image: image imageID: imageID - restartCount: 7 + restartCount: 0 resources: claims: - request: request @@ -204199,7 +211099,7 @@ components: startedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID message: message - signal: 0 + signal: 6 finishedAt: 2000-01-23T04:56:07.000+00:00 volumeMounts: - mountPath: mountPath @@ -204226,17 +211126,17 @@ components: startedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID message: message - signal: 0 + signal: 6 finishedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID stopSignal: stopSignal user: linux: - uid: 4 - gid: 6 + uid: 7 + gid: 4 supplementalGroups: - - 0 - - 0 + - 8 + - 8 - allocatedResourcesStatus: - name: name resources: @@ -204252,7 +211152,7 @@ components: health: health image: image imageID: imageID - restartCount: 7 + restartCount: 0 resources: claims: - request: request @@ -204276,7 +211176,7 @@ components: startedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID message: message - signal: 0 + signal: 6 finishedAt: 2000-01-23T04:56:07.000+00:00 volumeMounts: - mountPath: mountPath @@ -204303,17 +211203,17 @@ components: startedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID message: message - signal: 0 + signal: 6 finishedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID stopSignal: stopSignal user: linux: - uid: 4 - gid: 6 + uid: 7 + gid: 4 supplementalGroups: - - 0 - - 0 + - 8 + - 8 hostIPs: - ip: ip - ip: ip @@ -204325,14 +211225,14 @@ components: lastTransitionTime: 2000-01-23T04:56:07.000+00:00 message: message type: type - observedGeneration: 3 + observedGeneration: 0 lastProbeTime: 2000-01-23T04:56:07.000+00:00 status: status - reason: reason lastTransitionTime: 2000-01-23T04:56:07.000+00:00 message: message type: type - observedGeneration: 3 + observedGeneration: 0 lastProbeTime: 2000-01-23T04:56:07.000+00:00 status: status initContainerStatuses: @@ -204351,7 +211251,7 @@ components: health: health image: image imageID: imageID - restartCount: 7 + restartCount: 0 resources: claims: - request: request @@ -204375,7 +211275,7 @@ components: startedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID message: message - signal: 0 + signal: 6 finishedAt: 2000-01-23T04:56:07.000+00:00 volumeMounts: - mountPath: mountPath @@ -204402,17 +211302,17 @@ components: startedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID message: message - signal: 0 + signal: 6 finishedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID stopSignal: stopSignal user: linux: - uid: 4 - gid: 6 + uid: 7 + gid: 4 supplementalGroups: - - 0 - - 0 + - 8 + - 8 - allocatedResourcesStatus: - name: name resources: @@ -204428,7 +211328,7 @@ components: health: health image: image imageID: imageID - restartCount: 7 + restartCount: 0 resources: claims: - request: request @@ -204452,7 +211352,7 @@ components: startedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID message: message - signal: 0 + signal: 6 finishedAt: 2000-01-23T04:56:07.000+00:00 volumeMounts: - mountPath: mountPath @@ -204479,18 +211379,18 @@ components: startedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID message: message - signal: 0 + signal: 6 finishedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID stopSignal: stopSignal user: linux: - uid: 4 - gid: 6 + uid: 7 + gid: 4 supplementalGroups: - - 0 - - 0 - observedGeneration: 8 + - 8 + - 8 + observedGeneration: 3 - metadata: generation: 6 finalizers: @@ -204560,6 +211460,7 @@ components: - conditionType: conditionType - conditionType: conditionType serviceAccountName: serviceAccountName + hostnameOverride: hostnameOverride imagePullSecrets: - name: name - name: name @@ -204582,17 +211483,17 @@ components: appArmorProfile: localhostProfile: localhostProfile type: type - fsGroup: 7 + fsGroup: 1 fsGroupChangePolicy: fsGroupChangePolicy seLinuxChangePolicy: seLinuxChangePolicy - runAsGroup: 1 + runAsGroup: 4 runAsNonRoot: true sysctls: - name: name value: value - name: name value: value - runAsUser: 4 + runAsUser: 5 seccompProfile: localhostProfile: localhostProfile type: type @@ -204602,8 +211503,8 @@ components: hostProcess: true gmsaCredentialSpecName: gmsaCredentialSpecName supplementalGroups: - - 5 - - 5 + - 9 + - 9 supplementalGroupsPolicy: supplementalGroupsPolicy preemptionPolicy: preemptionPolicy nodeSelector: @@ -204612,12 +211513,12 @@ components: runtimeClassName: runtimeClassName tolerations: - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator @@ -204637,7 +211538,7 @@ components: topologySpreadConstraints: - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -204653,14 +211554,14 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys - matchLabelKeys - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -204676,7 +211577,7 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys @@ -204787,20 +211688,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -204809,7 +211710,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -204822,26 +211723,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -204863,7 +211771,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -204872,7 +211780,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -204885,26 +211793,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -204924,7 +211839,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -204979,9 +211894,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -204990,7 +211905,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -205000,7 +211915,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -205010,7 +211925,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -205035,14 +211950,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -205082,7 +211997,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -205199,20 +212114,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -205221,7 +212136,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -205234,26 +212149,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -205275,7 +212197,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -205284,7 +212206,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -205297,26 +212219,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -205336,7 +212265,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -205391,9 +212320,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -205402,7 +212331,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -205412,7 +212341,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -205422,7 +212351,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -205447,14 +212376,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -205494,7 +212423,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -205522,11 +212451,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -205758,6 +212700,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -205776,6 +212723,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -205791,11 +212743,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -206027,6 +212992,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -206045,6 +213015,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -206056,7 +213031,7 @@ components: tty: true stdinOnce: true serviceAccount: serviceAccount - priority: 6 + priority: 7 restartPolicy: restartPolicy shareProcessNamespace: true hostUsers: true @@ -206074,6 +213049,194 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy + securityContext: + privileged: true + runAsUser: 6 + capabilities: + add: + - add + - add + drop: + - drop + - drop + seLinuxOptions: + role: role + level: level + type: type + user: user + appArmorProfile: + localhostProfile: localhostProfile + type: type + seccompProfile: + localhostProfile: localhostProfile + type: type + windowsOptions: + gmsaCredentialSpec: gmsaCredentialSpec + runAsUserName: runAsUserName + hostProcess: true + gmsaCredentialSpecName: gmsaCredentialSpecName + procMount: procMount + allowPrivilegeEscalation: true + runAsGroup: 1 + runAsNonRoot: true + readOnlyRootFilesystem: true + startupProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + ports: + - protocol: protocol + hostIP: hostIP + name: name + containerPort: 7 + hostPort: 1 + - protocol: protocol + hostIP: hostIP + name: name + containerPort: 7 + hostPort: 1 + volumeMounts: + - mountPath: mountPath + mountPropagation: mountPropagation + name: name + readOnly: true + subPath: subPath + recursiveReadOnly: recursiveReadOnly + subPathExpr: subPathExpr + - mountPath: mountPath + mountPropagation: mountPropagation + name: name + readOnly: true + subPath: subPath + recursiveReadOnly: recursiveReadOnly + subPathExpr: subPathExpr + lifecycle: + postStart: + sleep: + seconds: 5 + tcpSocket: + port: port + host: host + exec: + command: + - command + - command + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + preStop: + sleep: + seconds: 5 + tcpSocket: + port: port + host: host + exec: + command: + - command + - command + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + stopSignal: stopSignal + readinessProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + resizePolicy: + - resourceName: resourceName + restartPolicy: restartPolicy + - resourceName: resourceName + restartPolicy: restartPolicy + envFrom: + - configMapRef: + name: name + optional: true + prefix: prefix + secretRef: + name: name + optional: true + - configMapRef: + name: name + optional: true + prefix: prefix + secretRef: + name: name + optional: true image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -206103,8 +213266,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -206117,9 +213278,86 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -206175,43 +213413,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -206223,10 +213424,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -206242,9 +213439,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -206287,8 +213481,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -206321,7 +213513,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -206337,11 +213528,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -206371,8 +213557,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -206385,9 +213569,87 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + initContainers: + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -206443,43 +213705,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -206491,10 +213716,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -206510,9 +213731,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -206555,8 +213773,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -206589,7 +213805,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -206605,12 +213820,6 @@ components: secretRef: name: name optional: true - initContainers: - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -206640,8 +213849,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -206654,9 +213861,86 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -206712,43 +213996,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -206760,10 +214007,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -206779,9 +214022,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -206824,8 +214064,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -206858,7 +214096,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -206874,11 +214111,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -206908,8 +214140,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -206922,64 +214152,6 @@ components: key: null limits: key: null - securityContext: - privileged: true - runAsUser: 1 - capabilities: - add: - - add - - add - drop: - - drop - - drop - seLinuxOptions: - role: role - level: level - type: type - user: user - appArmorProfile: - localhostProfile: localhostProfile - type: type - seccompProfile: - localhostProfile: localhostProfile - type: type - windowsOptions: - gmsaCredentialSpec: gmsaCredentialSpec - runAsUserName: runAsUserName - hostProcess: true - gmsaCredentialSpecName: gmsaCredentialSpecName - procMount: procMount - allowPrivilegeEscalation: true - runAsGroup: 1 - runAsNonRoot: true - readOnlyRootFilesystem: true - startupProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value env: - name: name value: value @@ -206999,6 +214171,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -207017,131 +214194,21 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - ports: - - protocol: protocol - hostIP: hostIP - name: name - containerPort: 7 - hostPort: 1 - - protocol: protocol - hostIP: hostIP - name: name - containerPort: 7 - hostPort: 1 + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command - command - volumeMounts: - - mountPath: mountPath - mountPropagation: mountPropagation - name: name - readOnly: true - subPath: subPath - recursiveReadOnly: recursiveReadOnly - subPathExpr: subPathExpr - - mountPath: mountPath - mountPropagation: mountPropagation - name: name - readOnly: true - subPath: subPath - recursiveReadOnly: recursiveReadOnly - subPathExpr: subPathExpr args: - args - args - lifecycle: - postStart: - sleep: - seconds: 5 - tcpSocket: - port: port - host: host - exec: - command: - - command - - command - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value - preStop: - sleep: - seconds: 5 - tcpSocket: - port: port - host: host - exec: - command: - - command - - command - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value - stopSignal: stopSignal name: name tty: true - readinessProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value - resizePolicy: - - resourceName: resourceName - restartPolicy: restartPolicy - - resourceName: resourceName - restartPolicy: restartPolicy stdinOnce: true - envFrom: - - configMapRef: - name: name - optional: true - prefix: prefix - secretRef: - name: name - optional: true - - configMapRef: - name: name - optional: true - prefix: prefix - secretRef: - name: name - optional: true affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: @@ -207582,7 +214649,7 @@ components: health: health image: image imageID: imageID - restartCount: 7 + restartCount: 0 resources: claims: - request: request @@ -207606,7 +214673,7 @@ components: startedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID message: message - signal: 0 + signal: 6 finishedAt: 2000-01-23T04:56:07.000+00:00 volumeMounts: - mountPath: mountPath @@ -207633,17 +214700,17 @@ components: startedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID message: message - signal: 0 + signal: 6 finishedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID stopSignal: stopSignal user: linux: - uid: 4 - gid: 6 + uid: 7 + gid: 4 supplementalGroups: - - 0 - - 0 + - 8 + - 8 - allocatedResourcesStatus: - name: name resources: @@ -207659,7 +214726,7 @@ components: health: health image: image imageID: imageID - restartCount: 7 + restartCount: 0 resources: claims: - request: request @@ -207683,7 +214750,7 @@ components: startedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID message: message - signal: 0 + signal: 6 finishedAt: 2000-01-23T04:56:07.000+00:00 volumeMounts: - mountPath: mountPath @@ -207710,18 +214777,27 @@ components: startedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID message: message - signal: 0 + signal: 6 finishedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID stopSignal: stopSignal user: linux: - uid: 4 - gid: 6 + uid: 7 + gid: 4 supplementalGroups: - - 0 - - 0 + - 8 + - 8 hostIP: hostIP + extendedResourceClaimStatus: + resourceClaimName: resourceClaimName + requestMappings: + - requestName: requestName + containerName: containerName + resourceName: resourceName + - requestName: requestName + containerName: containerName + resourceName: resourceName nominatedNodeName: nominatedNodeName message: message podIPs: @@ -207744,7 +214820,7 @@ components: health: health image: image imageID: imageID - restartCount: 7 + restartCount: 0 resources: claims: - request: request @@ -207768,7 +214844,7 @@ components: startedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID message: message - signal: 0 + signal: 6 finishedAt: 2000-01-23T04:56:07.000+00:00 volumeMounts: - mountPath: mountPath @@ -207795,17 +214871,17 @@ components: startedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID message: message - signal: 0 + signal: 6 finishedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID stopSignal: stopSignal user: linux: - uid: 4 - gid: 6 + uid: 7 + gid: 4 supplementalGroups: - - 0 - - 0 + - 8 + - 8 - allocatedResourcesStatus: - name: name resources: @@ -207821,7 +214897,7 @@ components: health: health image: image imageID: imageID - restartCount: 7 + restartCount: 0 resources: claims: - request: request @@ -207845,7 +214921,7 @@ components: startedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID message: message - signal: 0 + signal: 6 finishedAt: 2000-01-23T04:56:07.000+00:00 volumeMounts: - mountPath: mountPath @@ -207872,17 +214948,17 @@ components: startedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID message: message - signal: 0 + signal: 6 finishedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID stopSignal: stopSignal user: linux: - uid: 4 - gid: 6 + uid: 7 + gid: 4 supplementalGroups: - - 0 - - 0 + - 8 + - 8 hostIPs: - ip: ip - ip: ip @@ -207894,14 +214970,14 @@ components: lastTransitionTime: 2000-01-23T04:56:07.000+00:00 message: message type: type - observedGeneration: 3 + observedGeneration: 0 lastProbeTime: 2000-01-23T04:56:07.000+00:00 status: status - reason: reason lastTransitionTime: 2000-01-23T04:56:07.000+00:00 message: message type: type - observedGeneration: 3 + observedGeneration: 0 lastProbeTime: 2000-01-23T04:56:07.000+00:00 status: status initContainerStatuses: @@ -207920,7 +214996,7 @@ components: health: health image: image imageID: imageID - restartCount: 7 + restartCount: 0 resources: claims: - request: request @@ -207944,7 +215020,7 @@ components: startedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID message: message - signal: 0 + signal: 6 finishedAt: 2000-01-23T04:56:07.000+00:00 volumeMounts: - mountPath: mountPath @@ -207971,17 +215047,17 @@ components: startedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID message: message - signal: 0 + signal: 6 finishedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID stopSignal: stopSignal user: linux: - uid: 4 - gid: 6 + uid: 7 + gid: 4 supplementalGroups: - - 0 - - 0 + - 8 + - 8 - allocatedResourcesStatus: - name: name resources: @@ -207997,7 +215073,7 @@ components: health: health image: image imageID: imageID - restartCount: 7 + restartCount: 0 resources: claims: - request: request @@ -208021,7 +215097,7 @@ components: startedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID message: message - signal: 0 + signal: 6 finishedAt: 2000-01-23T04:56:07.000+00:00 volumeMounts: - mountPath: mountPath @@ -208048,18 +215124,18 @@ components: startedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID message: message - signal: 0 + signal: 6 finishedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID stopSignal: stopSignal user: linux: - uid: 4 - gid: 6 + uid: 7 + gid: 4 supplementalGroups: - - 0 - - 0 - observedGeneration: 8 + - 8 + - 8 + observedGeneration: 3 properties: apiVersion: description: "APIVersion defines the versioned schema of this representation\ @@ -208194,17 +215270,17 @@ components: appArmorProfile: localhostProfile: localhostProfile type: type - fsGroup: 7 + fsGroup: 1 fsGroupChangePolicy: fsGroupChangePolicy seLinuxChangePolicy: seLinuxChangePolicy - runAsGroup: 1 + runAsGroup: 4 runAsNonRoot: true sysctls: - name: name value: value - name: name value: value - runAsUser: 4 + runAsUser: 5 seccompProfile: localhostProfile: localhostProfile type: type @@ -208214,8 +215290,8 @@ components: hostProcess: true gmsaCredentialSpecName: gmsaCredentialSpecName supplementalGroups: - - 5 - - 5 + - 9 + - 9 supplementalGroupsPolicy: supplementalGroupsPolicy properties: appArmorProfile: @@ -208336,6 +215412,7 @@ components: - conditionType: conditionType - conditionType: conditionType serviceAccountName: serviceAccountName + hostnameOverride: hostnameOverride imagePullSecrets: - name: name - name: name @@ -208358,17 +215435,17 @@ components: appArmorProfile: localhostProfile: localhostProfile type: type - fsGroup: 7 + fsGroup: 1 fsGroupChangePolicy: fsGroupChangePolicy seLinuxChangePolicy: seLinuxChangePolicy - runAsGroup: 1 + runAsGroup: 4 runAsNonRoot: true sysctls: - name: name value: value - name: name value: value - runAsUser: 4 + runAsUser: 5 seccompProfile: localhostProfile: localhostProfile type: type @@ -208378,8 +215455,8 @@ components: hostProcess: true gmsaCredentialSpecName: gmsaCredentialSpecName supplementalGroups: - - 5 - - 5 + - 9 + - 9 supplementalGroupsPolicy: supplementalGroupsPolicy preemptionPolicy: preemptionPolicy nodeSelector: @@ -208388,12 +215465,12 @@ components: runtimeClassName: runtimeClassName tolerations: - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator @@ -208413,7 +215490,7 @@ components: topologySpreadConstraints: - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -208429,14 +215506,14 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys - matchLabelKeys - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -208452,7 +215529,7 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys @@ -208563,20 +215640,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -208585,7 +215662,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -208598,26 +215675,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -208639,7 +215723,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -208648,7 +215732,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -208661,26 +215745,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -208700,7 +215791,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -208755,9 +215846,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -208766,7 +215857,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -208776,7 +215867,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -208786,7 +215877,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -208811,14 +215902,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -208858,7 +215949,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -208975,20 +216066,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -208997,7 +216088,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -209010,26 +216101,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -209051,7 +216149,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -209060,7 +216158,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -209073,26 +216171,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -209112,7 +216217,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -209167,9 +216272,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -209178,7 +216283,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -209188,7 +216293,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -209198,7 +216303,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -209223,14 +216328,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -209270,7 +216375,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -209298,11 +216403,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -209534,6 +216652,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -209552,6 +216675,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -209567,11 +216695,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -209803,6 +216944,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -209821,6 +216967,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -209832,7 +216983,7 @@ components: tty: true stdinOnce: true serviceAccount: serviceAccount - priority: 6 + priority: 7 restartPolicy: restartPolicy shareProcessNamespace: true hostUsers: true @@ -209850,52 +217001,24 @@ components: name: name - devicePath: devicePath name: name - image: image - imagePullPolicy: imagePullPolicy - livenessProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy - terminationMessagePath: terminationMessagePath - workingDir: workingDir - resources: - claims: - - request: request - name: name - - request: request - name: name - requests: - key: null - limits: - key: null securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -209951,43 +217074,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -209999,10 +217085,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -210018,9 +217100,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -210063,8 +217142,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -210097,7 +217174,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -210113,11 +217189,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -210147,8 +217218,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -210161,9 +217230,86 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -210219,43 +217365,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -210267,10 +217376,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -210286,9 +217391,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -210331,8 +217433,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -210365,7 +217465,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -210381,12 +217480,6 @@ components: secretRef: name: name optional: true - initContainers: - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -210416,8 +217509,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -210430,9 +217521,87 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + initContainers: + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -210488,43 +217657,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -210536,10 +217668,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -210555,9 +217683,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -210600,8 +217725,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -210634,7 +217757,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -210650,11 +217772,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -210684,8 +217801,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -210698,9 +217813,86 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -210756,43 +217948,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -210804,10 +217959,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -210823,9 +217974,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -210868,8 +218016,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -210902,7 +218048,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -210918,6 +218063,104 @@ components: secretRef: name: name optional: true + image: image + imagePullPolicy: imagePullPolicy + livenessProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + terminationMessagePath: terminationMessagePath + workingDir: workingDir + resources: + claims: + - request: request + name: name + - request: request + name: name + requests: + key: null + limits: + key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: @@ -211403,8 +218646,11 @@ components: type: boolean hostNetwork: description: "Host networking requested for this pod. Use the host's network\ - \ namespace. If this option is set, the ports that will be used must be\ - \ specified. Default to false." + \ namespace. When using HostNetwork you should specify ports so the scheduler\ + \ is aware. When `hostNetwork` is true, specified `hostPort` fields in\ + \ port definitions must match `containerPort`, and unspecified `hostPort`\ + \ fields in port definitions are defaulted to match `containerPort`. Default\ + \ to false." type: boolean hostPID: description: "Use the host's pid namespace. Optional: Default to false." @@ -211424,6 +218670,12 @@ components: description: "Specifies the hostname of the Pod If not specified, the pod's\ \ hostname will be set to a system-defined value." type: string + hostnameOverride: + description: |- + 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. When this field is set to a non-empty string: - It takes precedence over the values set in `hostname` and `subdomain`. - The Pod's hostname will be set to this value. - `setHostnameAsFQDN` must be nil or set to false. - `hostNetwork` must be set to false. + + 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. + type: string imagePullSecrets: description: "ImagePullSecrets is an optional list of references to secrets\ \ in the same namespace to use for pulling any of the images used by this\ @@ -211670,7 +218922,7 @@ components: health: health image: image imageID: imageID - restartCount: 7 + restartCount: 0 resources: claims: - request: request @@ -211694,7 +218946,7 @@ components: startedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID message: message - signal: 0 + signal: 6 finishedAt: 2000-01-23T04:56:07.000+00:00 volumeMounts: - mountPath: mountPath @@ -211721,17 +218973,17 @@ components: startedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID message: message - signal: 0 + signal: 6 finishedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID stopSignal: stopSignal user: linux: - uid: 4 - gid: 6 + uid: 7 + gid: 4 supplementalGroups: - - 0 - - 0 + - 8 + - 8 - allocatedResourcesStatus: - name: name resources: @@ -211747,7 +218999,7 @@ components: health: health image: image imageID: imageID - restartCount: 7 + restartCount: 0 resources: claims: - request: request @@ -211771,7 +219023,7 @@ components: startedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID message: message - signal: 0 + signal: 6 finishedAt: 2000-01-23T04:56:07.000+00:00 volumeMounts: - mountPath: mountPath @@ -211798,18 +219050,27 @@ components: startedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID message: message - signal: 0 + signal: 6 finishedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID stopSignal: stopSignal user: linux: - uid: 4 - gid: 6 + uid: 7 + gid: 4 supplementalGroups: - - 0 - - 0 + - 8 + - 8 hostIP: hostIP + extendedResourceClaimStatus: + resourceClaimName: resourceClaimName + requestMappings: + - requestName: requestName + containerName: containerName + resourceName: resourceName + - requestName: requestName + containerName: containerName + resourceName: resourceName nominatedNodeName: nominatedNodeName message: message podIPs: @@ -211832,7 +219093,7 @@ components: health: health image: image imageID: imageID - restartCount: 7 + restartCount: 0 resources: claims: - request: request @@ -211856,7 +219117,7 @@ components: startedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID message: message - signal: 0 + signal: 6 finishedAt: 2000-01-23T04:56:07.000+00:00 volumeMounts: - mountPath: mountPath @@ -211883,17 +219144,17 @@ components: startedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID message: message - signal: 0 + signal: 6 finishedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID stopSignal: stopSignal user: linux: - uid: 4 - gid: 6 + uid: 7 + gid: 4 supplementalGroups: - - 0 - - 0 + - 8 + - 8 - allocatedResourcesStatus: - name: name resources: @@ -211909,7 +219170,7 @@ components: health: health image: image imageID: imageID - restartCount: 7 + restartCount: 0 resources: claims: - request: request @@ -211933,7 +219194,7 @@ components: startedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID message: message - signal: 0 + signal: 6 finishedAt: 2000-01-23T04:56:07.000+00:00 volumeMounts: - mountPath: mountPath @@ -211960,17 +219221,17 @@ components: startedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID message: message - signal: 0 + signal: 6 finishedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID stopSignal: stopSignal user: linux: - uid: 4 - gid: 6 + uid: 7 + gid: 4 supplementalGroups: - - 0 - - 0 + - 8 + - 8 hostIPs: - ip: ip - ip: ip @@ -211982,14 +219243,14 @@ components: lastTransitionTime: 2000-01-23T04:56:07.000+00:00 message: message type: type - observedGeneration: 3 + observedGeneration: 0 lastProbeTime: 2000-01-23T04:56:07.000+00:00 status: status - reason: reason lastTransitionTime: 2000-01-23T04:56:07.000+00:00 message: message type: type - observedGeneration: 3 + observedGeneration: 0 lastProbeTime: 2000-01-23T04:56:07.000+00:00 status: status initContainerStatuses: @@ -212008,7 +219269,7 @@ components: health: health image: image imageID: imageID - restartCount: 7 + restartCount: 0 resources: claims: - request: request @@ -212032,7 +219293,7 @@ components: startedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID message: message - signal: 0 + signal: 6 finishedAt: 2000-01-23T04:56:07.000+00:00 volumeMounts: - mountPath: mountPath @@ -212059,17 +219320,17 @@ components: startedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID message: message - signal: 0 + signal: 6 finishedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID stopSignal: stopSignal user: linux: - uid: 4 - gid: 6 + uid: 7 + gid: 4 supplementalGroups: - - 0 - - 0 + - 8 + - 8 - allocatedResourcesStatus: - name: name resources: @@ -212085,7 +219346,7 @@ components: health: health image: image imageID: imageID - restartCount: 7 + restartCount: 0 resources: claims: - request: request @@ -212109,7 +219370,7 @@ components: startedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID message: message - signal: 0 + signal: 6 finishedAt: 2000-01-23T04:56:07.000+00:00 volumeMounts: - mountPath: mountPath @@ -212136,18 +219397,18 @@ components: startedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID message: message - signal: 0 + signal: 6 finishedAt: 2000-01-23T04:56:07.000+00:00 containerID: containerID stopSignal: stopSignal user: linux: - uid: 4 - gid: 6 + uid: 7 + gid: 4 supplementalGroups: - - 0 - - 0 - observedGeneration: 8 + - 8 + - 8 + observedGeneration: 3 properties: conditions: description: "Current service state of pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions" @@ -212182,6 +219443,8 @@ components: $ref: '#/components/schemas/v1.ContainerStatus' type: array x-kubernetes-list-type: atomic + extendedResourceClaimStatus: + $ref: '#/components/schemas/v1.PodExtendedResourceClaimStatus' hostIP: description: hostIP holds the IP address of the host to which the pod is assigned. Empty if the pod has not started yet. A pod can be assigned @@ -212366,6 +219629,7 @@ components: - conditionType: conditionType - conditionType: conditionType serviceAccountName: serviceAccountName + hostnameOverride: hostnameOverride imagePullSecrets: - name: name - name: name @@ -212388,17 +219652,17 @@ components: appArmorProfile: localhostProfile: localhostProfile type: type - fsGroup: 7 + fsGroup: 1 fsGroupChangePolicy: fsGroupChangePolicy seLinuxChangePolicy: seLinuxChangePolicy - runAsGroup: 1 + runAsGroup: 4 runAsNonRoot: true sysctls: - name: name value: value - name: name value: value - runAsUser: 4 + runAsUser: 5 seccompProfile: localhostProfile: localhostProfile type: type @@ -212408,8 +219672,8 @@ components: hostProcess: true gmsaCredentialSpecName: gmsaCredentialSpecName supplementalGroups: - - 5 - - 5 + - 9 + - 9 supplementalGroupsPolicy: supplementalGroupsPolicy preemptionPolicy: preemptionPolicy nodeSelector: @@ -212418,12 +219682,12 @@ components: runtimeClassName: runtimeClassName tolerations: - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator @@ -212443,7 +219707,7 @@ components: topologySpreadConstraints: - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -212459,14 +219723,14 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys - matchLabelKeys - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -212482,7 +219746,7 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys @@ -212593,20 +219857,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -212615,7 +219879,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -212628,26 +219892,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -212669,7 +219940,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -212678,7 +219949,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -212691,26 +219962,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -212730,7 +220008,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -212785,9 +220063,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -212796,7 +220074,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -212806,7 +220084,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -212816,7 +220094,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -212841,14 +220119,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -212888,7 +220166,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -213005,20 +220283,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -213027,7 +220305,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -213040,26 +220318,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -213081,7 +220366,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -213090,7 +220375,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -213103,26 +220388,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -213142,7 +220434,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -213197,9 +220489,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -213208,7 +220500,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -213218,7 +220510,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -213228,7 +220520,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -213253,14 +220545,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -213300,7 +220592,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -213328,11 +220620,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -213564,6 +220869,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -213582,6 +220892,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -213597,11 +220912,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -213833,6 +221161,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -213851,6 +221184,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -213862,7 +221200,7 @@ components: tty: true stdinOnce: true serviceAccount: serviceAccount - priority: 6 + priority: 7 restartPolicy: restartPolicy shareProcessNamespace: true hostUsers: true @@ -213880,6 +221218,194 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy + securityContext: + privileged: true + runAsUser: 6 + capabilities: + add: + - add + - add + drop: + - drop + - drop + seLinuxOptions: + role: role + level: level + type: type + user: user + appArmorProfile: + localhostProfile: localhostProfile + type: type + seccompProfile: + localhostProfile: localhostProfile + type: type + windowsOptions: + gmsaCredentialSpec: gmsaCredentialSpec + runAsUserName: runAsUserName + hostProcess: true + gmsaCredentialSpecName: gmsaCredentialSpecName + procMount: procMount + allowPrivilegeEscalation: true + runAsGroup: 1 + runAsNonRoot: true + readOnlyRootFilesystem: true + startupProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + ports: + - protocol: protocol + hostIP: hostIP + name: name + containerPort: 7 + hostPort: 1 + - protocol: protocol + hostIP: hostIP + name: name + containerPort: 7 + hostPort: 1 + volumeMounts: + - mountPath: mountPath + mountPropagation: mountPropagation + name: name + readOnly: true + subPath: subPath + recursiveReadOnly: recursiveReadOnly + subPathExpr: subPathExpr + - mountPath: mountPath + mountPropagation: mountPropagation + name: name + readOnly: true + subPath: subPath + recursiveReadOnly: recursiveReadOnly + subPathExpr: subPathExpr + lifecycle: + postStart: + sleep: + seconds: 5 + tcpSocket: + port: port + host: host + exec: + command: + - command + - command + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + preStop: + sleep: + seconds: 5 + tcpSocket: + port: port + host: host + exec: + command: + - command + - command + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + stopSignal: stopSignal + readinessProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + resizePolicy: + - resourceName: resourceName + restartPolicy: restartPolicy + - resourceName: resourceName + restartPolicy: restartPolicy + envFrom: + - configMapRef: + name: name + optional: true + prefix: prefix + secretRef: + name: name + optional: true + - configMapRef: + name: name + optional: true + prefix: prefix + secretRef: + name: name + optional: true image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -213909,8 +221435,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -213923,9 +221447,86 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -213981,43 +221582,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -214029,10 +221593,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -214048,9 +221608,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -214093,8 +221650,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -214127,7 +221682,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -214143,11 +221697,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -214177,8 +221726,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -214191,9 +221738,87 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + initContainers: + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -214249,43 +221874,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -214297,10 +221885,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -214316,9 +221900,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -214361,8 +221942,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -214395,7 +221974,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -214411,12 +221989,6 @@ components: secretRef: name: name optional: true - initContainers: - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -214446,8 +222018,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -214460,9 +222030,86 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -214518,43 +222165,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -214566,10 +222176,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -214585,9 +222191,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -214630,8 +222233,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -214664,7 +222265,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -214680,11 +222280,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -214714,8 +222309,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -214728,64 +222321,6 @@ components: key: null limits: key: null - securityContext: - privileged: true - runAsUser: 1 - capabilities: - add: - - add - - add - drop: - - drop - - drop - seLinuxOptions: - role: role - level: level - type: type - user: user - appArmorProfile: - localhostProfile: localhostProfile - type: type - seccompProfile: - localhostProfile: localhostProfile - type: type - windowsOptions: - gmsaCredentialSpec: gmsaCredentialSpec - runAsUserName: runAsUserName - hostProcess: true - gmsaCredentialSpecName: gmsaCredentialSpecName - procMount: procMount - allowPrivilegeEscalation: true - runAsGroup: 1 - runAsNonRoot: true - readOnlyRootFilesystem: true - startupProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value env: - name: name value: value @@ -214805,6 +222340,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -214823,131 +222363,21 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - ports: - - protocol: protocol - hostIP: hostIP - name: name - containerPort: 7 - hostPort: 1 - - protocol: protocol - hostIP: hostIP - name: name - containerPort: 7 - hostPort: 1 + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command - command - volumeMounts: - - mountPath: mountPath - mountPropagation: mountPropagation - name: name - readOnly: true - subPath: subPath - recursiveReadOnly: recursiveReadOnly - subPathExpr: subPathExpr - - mountPath: mountPath - mountPropagation: mountPropagation - name: name - readOnly: true - subPath: subPath - recursiveReadOnly: recursiveReadOnly - subPathExpr: subPathExpr args: - args - args - lifecycle: - postStart: - sleep: - seconds: 5 - tcpSocket: - port: port - host: host - exec: - command: - - command - - command - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value - preStop: - sleep: - seconds: 5 - tcpSocket: - port: port - host: host - exec: - command: - - command - - command - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value - stopSignal: stopSignal name: name tty: true - readinessProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value - resizePolicy: - - resourceName: resourceName - restartPolicy: restartPolicy - - resourceName: resourceName - restartPolicy: restartPolicy stdinOnce: true - envFrom: - - configMapRef: - name: name - optional: true - prefix: prefix - secretRef: - name: name - optional: true - - configMapRef: - name: name - optional: true - prefix: prefix - secretRef: - name: name - optional: true affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: @@ -215513,6 +222943,7 @@ components: - conditionType: conditionType - conditionType: conditionType serviceAccountName: serviceAccountName + hostnameOverride: hostnameOverride imagePullSecrets: - name: name - name: name @@ -215535,17 +222966,17 @@ components: appArmorProfile: localhostProfile: localhostProfile type: type - fsGroup: 7 + fsGroup: 1 fsGroupChangePolicy: fsGroupChangePolicy seLinuxChangePolicy: seLinuxChangePolicy - runAsGroup: 1 + runAsGroup: 4 runAsNonRoot: true sysctls: - name: name value: value - name: name value: value - runAsUser: 4 + runAsUser: 5 seccompProfile: localhostProfile: localhostProfile type: type @@ -215555,8 +222986,8 @@ components: hostProcess: true gmsaCredentialSpecName: gmsaCredentialSpecName supplementalGroups: - - 5 - - 5 + - 9 + - 9 supplementalGroupsPolicy: supplementalGroupsPolicy preemptionPolicy: preemptionPolicy nodeSelector: @@ -215565,12 +222996,12 @@ components: runtimeClassName: runtimeClassName tolerations: - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator @@ -215590,7 +223021,7 @@ components: topologySpreadConstraints: - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -215606,14 +223037,14 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys - matchLabelKeys - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -215629,7 +223060,7 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys @@ -215740,20 +223171,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -215762,7 +223193,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -215775,26 +223206,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -215816,7 +223254,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -215825,7 +223263,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -215838,26 +223276,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -215877,7 +223322,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -215932,9 +223377,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -215943,7 +223388,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -215953,7 +223398,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -215963,7 +223408,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -215988,14 +223433,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -216035,7 +223480,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -216152,20 +223597,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -216174,7 +223619,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -216187,26 +223632,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -216228,7 +223680,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -216237,7 +223689,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -216250,26 +223702,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -216289,7 +223748,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -216344,9 +223803,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -216355,7 +223814,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -216365,7 +223824,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -216375,7 +223834,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -216400,14 +223859,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -216447,7 +223906,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -216475,11 +223934,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -216711,6 +224183,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -216729,6 +224206,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -216744,11 +224226,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -216980,6 +224475,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -216998,6 +224498,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -217009,7 +224514,7 @@ components: tty: true stdinOnce: true serviceAccount: serviceAccount - priority: 6 + priority: 7 restartPolicy: restartPolicy shareProcessNamespace: true hostUsers: true @@ -217027,52 +224532,24 @@ components: name: name - devicePath: devicePath name: name - image: image - imagePullPolicy: imagePullPolicy - livenessProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy - terminationMessagePath: terminationMessagePath - workingDir: workingDir - resources: - claims: - - request: request - name: name - - request: request - name: name - requests: - key: null - limits: - key: null securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -217128,43 +224605,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -217176,10 +224616,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -217195,9 +224631,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -217240,8 +224673,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -217274,7 +224705,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -217290,11 +224720,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -217324,8 +224749,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -217338,9 +224761,86 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -217396,43 +224896,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -217444,10 +224907,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -217463,9 +224922,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -217508,8 +224964,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -217542,7 +224996,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -217558,12 +225011,6 @@ components: secretRef: name: name optional: true - initContainers: - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -217593,8 +225040,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -217607,9 +225052,87 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + initContainers: + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -217665,43 +225188,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -217713,10 +225199,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -217732,9 +225214,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -217777,8 +225256,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -217811,7 +225288,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -217827,11 +225303,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -217861,8 +225332,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -217875,9 +225344,86 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -217933,43 +225479,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -217981,10 +225490,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -218000,9 +225505,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -218045,8 +225547,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -218079,7 +225579,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -218095,6 +225594,104 @@ components: secretRef: name: name optional: true + image: image + imagePullPolicy: imagePullPolicy + livenessProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + terminationMessagePath: terminationMessagePath + workingDir: workingDir + resources: + claims: + - request: request + name: name + - request: request + name: name + requests: + key: null + limits: + key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: @@ -218627,6 +226224,7 @@ components: - conditionType: conditionType - conditionType: conditionType serviceAccountName: serviceAccountName + hostnameOverride: hostnameOverride imagePullSecrets: - name: name - name: name @@ -218649,17 +226247,17 @@ components: appArmorProfile: localhostProfile: localhostProfile type: type - fsGroup: 7 + fsGroup: 1 fsGroupChangePolicy: fsGroupChangePolicy seLinuxChangePolicy: seLinuxChangePolicy - runAsGroup: 1 + runAsGroup: 4 runAsNonRoot: true sysctls: - name: name value: value - name: name value: value - runAsUser: 4 + runAsUser: 5 seccompProfile: localhostProfile: localhostProfile type: type @@ -218669,8 +226267,8 @@ components: hostProcess: true gmsaCredentialSpecName: gmsaCredentialSpecName supplementalGroups: - - 5 - - 5 + - 9 + - 9 supplementalGroupsPolicy: supplementalGroupsPolicy preemptionPolicy: preemptionPolicy nodeSelector: @@ -218679,12 +226277,12 @@ components: runtimeClassName: runtimeClassName tolerations: - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator @@ -218704,7 +226302,7 @@ components: topologySpreadConstraints: - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -218720,14 +226318,14 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys - matchLabelKeys - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -218743,7 +226341,7 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys @@ -218854,20 +226452,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -218876,7 +226474,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -218889,26 +226487,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -218930,7 +226535,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -218939,7 +226544,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -218952,26 +226557,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -218991,7 +226603,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -219046,9 +226658,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -219057,7 +226669,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -219067,7 +226679,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -219077,7 +226689,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -219102,14 +226714,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -219149,7 +226761,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -219266,20 +226878,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -219288,7 +226900,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -219301,26 +226913,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -219342,7 +226961,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -219351,7 +226970,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -219364,26 +226983,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -219403,7 +227029,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -219458,9 +227084,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -219469,7 +227095,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -219479,7 +227105,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -219489,7 +227115,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -219514,14 +227140,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -219561,7 +227187,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -219589,11 +227215,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -219825,6 +227464,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -219843,6 +227487,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -219858,11 +227507,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -220094,6 +227756,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -220112,6 +227779,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -220123,7 +227795,7 @@ components: tty: true stdinOnce: true serviceAccount: serviceAccount - priority: 6 + priority: 7 restartPolicy: restartPolicy shareProcessNamespace: true hostUsers: true @@ -220141,52 +227813,24 @@ components: name: name - devicePath: devicePath name: name - image: image - imagePullPolicy: imagePullPolicy - livenessProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy - terminationMessagePath: terminationMessagePath - workingDir: workingDir - resources: - claims: - - request: request - name: name - - request: request - name: name - requests: - key: null - limits: - key: null securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -220242,43 +227886,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -220290,10 +227897,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -220309,9 +227912,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -220354,8 +227954,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -220388,7 +227986,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -220404,11 +228001,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -220438,8 +228030,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -220452,9 +228042,86 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -220510,43 +228177,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -220558,10 +228188,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -220577,9 +228203,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -220622,8 +228245,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -220656,7 +228277,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -220672,12 +228292,6 @@ components: secretRef: name: name optional: true - initContainers: - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -220707,8 +228321,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -220721,9 +228333,87 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + initContainers: + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -220779,43 +228469,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -220827,10 +228480,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -220846,9 +228495,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -220891,8 +228537,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -220925,7 +228569,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -220941,11 +228584,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -220975,8 +228613,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -220989,9 +228625,86 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -221047,43 +228760,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -221095,10 +228771,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -221114,9 +228786,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -221159,8 +228828,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -221193,7 +228860,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -221209,6 +228875,104 @@ components: secretRef: name: name optional: true + image: image + imagePullPolicy: imagePullPolicy + livenessProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + terminationMessagePath: terminationMessagePath + workingDir: workingDir + resources: + claims: + - request: request + name: name + - request: request + name: name + requests: + key: null + limits: + key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: @@ -221771,6 +229535,7 @@ components: - conditionType: conditionType - conditionType: conditionType serviceAccountName: serviceAccountName + hostnameOverride: hostnameOverride imagePullSecrets: - name: name - name: name @@ -221793,17 +229558,17 @@ components: appArmorProfile: localhostProfile: localhostProfile type: type - fsGroup: 7 + fsGroup: 1 fsGroupChangePolicy: fsGroupChangePolicy seLinuxChangePolicy: seLinuxChangePolicy - runAsGroup: 1 + runAsGroup: 4 runAsNonRoot: true sysctls: - name: name value: value - name: name value: value - runAsUser: 4 + runAsUser: 5 seccompProfile: localhostProfile: localhostProfile type: type @@ -221813,8 +229578,8 @@ components: hostProcess: true gmsaCredentialSpecName: gmsaCredentialSpecName supplementalGroups: - - 5 - - 5 + - 9 + - 9 supplementalGroupsPolicy: supplementalGroupsPolicy preemptionPolicy: preemptionPolicy nodeSelector: @@ -221823,12 +229588,12 @@ components: runtimeClassName: runtimeClassName tolerations: - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator @@ -221848,7 +229613,7 @@ components: topologySpreadConstraints: - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -221864,14 +229629,14 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys - matchLabelKeys - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -221887,7 +229652,7 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys @@ -221998,20 +229763,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -222020,7 +229785,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -222033,26 +229798,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -222074,7 +229846,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -222083,7 +229855,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -222096,26 +229868,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -222135,7 +229914,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -222190,9 +229969,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -222201,7 +229980,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -222211,7 +229990,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -222221,7 +230000,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -222246,14 +230025,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -222293,7 +230072,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -222410,20 +230189,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -222432,7 +230211,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -222445,26 +230224,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -222486,7 +230272,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -222495,7 +230281,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -222508,26 +230294,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -222547,7 +230340,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -222602,9 +230395,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -222613,7 +230406,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -222623,7 +230416,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -222633,7 +230426,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -222658,14 +230451,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -222705,7 +230498,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -222733,11 +230526,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -222969,6 +230775,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -222987,6 +230798,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -223002,11 +230818,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -223238,6 +231067,316 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + serviceAccount: serviceAccount + priority: 7 + restartPolicy: restartPolicy + shareProcessNamespace: true + hostUsers: true + resourceClaims: + - resourceClaimName: resourceClaimName + name: name + resourceClaimTemplateName: resourceClaimTemplateName + - resourceClaimName: resourceClaimName + name: name + resourceClaimTemplateName: resourceClaimTemplateName + subdomain: subdomain + containers: + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy + securityContext: + privileged: true + runAsUser: 6 + capabilities: + add: + - add + - add + drop: + - drop + - drop + seLinuxOptions: + role: role + level: level + type: type + user: user + appArmorProfile: + localhostProfile: localhostProfile + type: type + seccompProfile: + localhostProfile: localhostProfile + type: type + windowsOptions: + gmsaCredentialSpec: gmsaCredentialSpec + runAsUserName: runAsUserName + hostProcess: true + gmsaCredentialSpecName: gmsaCredentialSpecName + procMount: procMount + allowPrivilegeEscalation: true + runAsGroup: 1 + runAsNonRoot: true + readOnlyRootFilesystem: true + startupProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + ports: + - protocol: protocol + hostIP: hostIP + name: name + containerPort: 7 + hostPort: 1 + - protocol: protocol + hostIP: hostIP + name: name + containerPort: 7 + hostPort: 1 + volumeMounts: + - mountPath: mountPath + mountPropagation: mountPropagation + name: name + readOnly: true + subPath: subPath + recursiveReadOnly: recursiveReadOnly + subPathExpr: subPathExpr + - mountPath: mountPath + mountPropagation: mountPropagation + name: name + readOnly: true + subPath: subPath + recursiveReadOnly: recursiveReadOnly + subPathExpr: subPathExpr + lifecycle: + postStart: + sleep: + seconds: 5 + tcpSocket: + port: port + host: host + exec: + command: + - command + - command + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + preStop: + sleep: + seconds: 5 + tcpSocket: + port: port + host: host + exec: + command: + - command + - command + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + stopSignal: stopSignal + readinessProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + resizePolicy: + - resourceName: resourceName + restartPolicy: restartPolicy + - resourceName: resourceName + restartPolicy: restartPolicy + envFrom: + - configMapRef: + name: name + optional: true + prefix: prefix + secretRef: + name: name + optional: true + - configMapRef: + name: name + optional: true + prefix: prefix + secretRef: + name: name + optional: true + image: image + imagePullPolicy: imagePullPolicy + livenessProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + terminationMessagePath: terminationMessagePath + workingDir: workingDir + resources: + claims: + - request: request + name: name + - request: request + name: name + requests: + key: null + limits: + key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -223256,6 +231395,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -223266,71 +231410,29 @@ components: name: name tty: true stdinOnce: true - serviceAccount: serviceAccount - priority: 6 - restartPolicy: restartPolicy - shareProcessNamespace: true - hostUsers: true - resourceClaims: - - resourceClaimName: resourceClaimName - name: name - resourceClaimTemplateName: resourceClaimTemplateName - - resourceClaimName: resourceClaimName - name: name - resourceClaimTemplateName: resourceClaimTemplateName - subdomain: subdomain - containers: - volumeDevices: - devicePath: devicePath name: name - devicePath: devicePath name: name - image: image - imagePullPolicy: imagePullPolicy - livenessProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy - terminationMessagePath: terminationMessagePath - workingDir: workingDir - resources: - claims: - - request: request - name: name - - request: request - name: name - requests: - key: null - limits: - key: null securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -223386,43 +231488,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -223434,10 +231499,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -223453,9 +231514,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -223498,8 +231556,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -223532,7 +231588,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -223548,11 +231603,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -223582,8 +231632,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -223596,9 +231644,87 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + initContainers: + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -223654,43 +231780,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -223702,10 +231791,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -223721,9 +231806,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -223766,8 +231848,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -223800,7 +231880,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -223816,12 +231895,6 @@ components: secretRef: name: name optional: true - initContainers: - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -223851,8 +231924,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -223865,9 +231936,86 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -223923,43 +232071,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -223971,10 +232082,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -223990,9 +232097,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -224035,8 +232139,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -224069,7 +232171,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -224085,11 +232186,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -224119,8 +232215,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -224133,64 +232227,6 @@ components: key: null limits: key: null - securityContext: - privileged: true - runAsUser: 1 - capabilities: - add: - - add - - add - drop: - - drop - - drop - seLinuxOptions: - role: role - level: level - type: type - user: user - appArmorProfile: - localhostProfile: localhostProfile - type: type - seccompProfile: - localhostProfile: localhostProfile - type: type - windowsOptions: - gmsaCredentialSpec: gmsaCredentialSpec - runAsUserName: runAsUserName - hostProcess: true - gmsaCredentialSpecName: gmsaCredentialSpecName - procMount: procMount - allowPrivilegeEscalation: true - runAsGroup: 1 - runAsNonRoot: true - readOnlyRootFilesystem: true - startupProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value env: - name: name value: value @@ -224210,6 +232246,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -224228,131 +232269,21 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - ports: - - protocol: protocol - hostIP: hostIP - name: name - containerPort: 7 - hostPort: 1 - - protocol: protocol - hostIP: hostIP - name: name - containerPort: 7 - hostPort: 1 + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command - command - volumeMounts: - - mountPath: mountPath - mountPropagation: mountPropagation - name: name - readOnly: true - subPath: subPath - recursiveReadOnly: recursiveReadOnly - subPathExpr: subPathExpr - - mountPath: mountPath - mountPropagation: mountPropagation - name: name - readOnly: true - subPath: subPath - recursiveReadOnly: recursiveReadOnly - subPathExpr: subPathExpr args: - args - args - lifecycle: - postStart: - sleep: - seconds: 5 - tcpSocket: - port: port - host: host - exec: - command: - - command - - command - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value - preStop: - sleep: - seconds: 5 - tcpSocket: - port: port - host: host - exec: - command: - - command - - command - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value - stopSignal: stopSignal name: name tty: true - readinessProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value - resizePolicy: - - resourceName: resourceName - restartPolicy: restartPolicy - - resourceName: resourceName - restartPolicy: restartPolicy stdinOnce: true - envFrom: - - configMapRef: - name: name - optional: true - prefix: prefix - secretRef: - name: name - optional: true - - configMapRef: - name: name - optional: true - prefix: prefix - secretRef: - name: name - optional: true affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: @@ -224951,7 +232882,7 @@ components: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -224960,7 +232891,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -224973,26 +232904,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -225014,7 +232952,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -225023,7 +232961,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -225036,26 +232974,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -225075,7 +233020,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 properties: defaultMode: description: "defaultMode are the mode bits used to set permissions on created\ @@ -225359,6 +233304,7 @@ components: - conditionType: conditionType - conditionType: conditionType serviceAccountName: serviceAccountName + hostnameOverride: hostnameOverride imagePullSecrets: - name: name - name: name @@ -225381,17 +233327,17 @@ components: appArmorProfile: localhostProfile: localhostProfile type: type - fsGroup: 7 + fsGroup: 1 fsGroupChangePolicy: fsGroupChangePolicy seLinuxChangePolicy: seLinuxChangePolicy - runAsGroup: 1 + runAsGroup: 4 runAsNonRoot: true sysctls: - name: name value: value - name: name value: value - runAsUser: 4 + runAsUser: 5 seccompProfile: localhostProfile: localhostProfile type: type @@ -225401,8 +233347,8 @@ components: hostProcess: true gmsaCredentialSpecName: gmsaCredentialSpecName supplementalGroups: - - 5 - - 5 + - 9 + - 9 supplementalGroupsPolicy: supplementalGroupsPolicy preemptionPolicy: preemptionPolicy nodeSelector: @@ -225411,12 +233357,12 @@ components: runtimeClassName: runtimeClassName tolerations: - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator @@ -225436,7 +233382,7 @@ components: topologySpreadConstraints: - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -225452,14 +233398,14 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys - matchLabelKeys - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -225475,7 +233421,7 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys @@ -225586,20 +233532,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -225608,7 +233554,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -225621,26 +233567,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -225662,7 +233615,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -225671,7 +233624,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -225684,26 +233637,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -225723,7 +233683,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -225778,9 +233738,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -225789,7 +233749,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -225799,7 +233759,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -225809,7 +233769,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -225834,14 +233794,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -225881,7 +233841,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -225998,20 +233958,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -226020,7 +233980,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -226033,26 +233993,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -226074,7 +234041,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -226083,7 +234050,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -226096,26 +234063,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -226135,7 +234109,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -226190,9 +234164,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -226201,7 +234175,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -226211,7 +234185,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -226221,7 +234195,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -226246,14 +234220,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -226293,7 +234267,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -226321,11 +234295,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -226557,6 +234544,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -226575,6 +234567,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -226590,11 +234587,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -226826,6 +234836,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -226844,6 +234859,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -226855,7 +234875,7 @@ components: tty: true stdinOnce: true serviceAccount: serviceAccount - priority: 6 + priority: 7 restartPolicy: restartPolicy shareProcessNamespace: true hostUsers: true @@ -226873,6 +234893,194 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy + securityContext: + privileged: true + runAsUser: 6 + capabilities: + add: + - add + - add + drop: + - drop + - drop + seLinuxOptions: + role: role + level: level + type: type + user: user + appArmorProfile: + localhostProfile: localhostProfile + type: type + seccompProfile: + localhostProfile: localhostProfile + type: type + windowsOptions: + gmsaCredentialSpec: gmsaCredentialSpec + runAsUserName: runAsUserName + hostProcess: true + gmsaCredentialSpecName: gmsaCredentialSpecName + procMount: procMount + allowPrivilegeEscalation: true + runAsGroup: 1 + runAsNonRoot: true + readOnlyRootFilesystem: true + startupProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + ports: + - protocol: protocol + hostIP: hostIP + name: name + containerPort: 7 + hostPort: 1 + - protocol: protocol + hostIP: hostIP + name: name + containerPort: 7 + hostPort: 1 + volumeMounts: + - mountPath: mountPath + mountPropagation: mountPropagation + name: name + readOnly: true + subPath: subPath + recursiveReadOnly: recursiveReadOnly + subPathExpr: subPathExpr + - mountPath: mountPath + mountPropagation: mountPropagation + name: name + readOnly: true + subPath: subPath + recursiveReadOnly: recursiveReadOnly + subPathExpr: subPathExpr + lifecycle: + postStart: + sleep: + seconds: 5 + tcpSocket: + port: port + host: host + exec: + command: + - command + - command + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + preStop: + sleep: + seconds: 5 + tcpSocket: + port: port + host: host + exec: + command: + - command + - command + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + stopSignal: stopSignal + readinessProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + resizePolicy: + - resourceName: resourceName + restartPolicy: restartPolicy + - resourceName: resourceName + restartPolicy: restartPolicy + envFrom: + - configMapRef: + name: name + optional: true + prefix: prefix + secretRef: + name: name + optional: true + - configMapRef: + name: name + optional: true + prefix: prefix + secretRef: + name: name + optional: true image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -226902,8 +235110,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -226916,9 +235122,86 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -226974,43 +235257,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -227022,10 +235268,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -227041,9 +235283,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -227086,8 +235325,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -227120,7 +235357,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -227136,11 +235372,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -227170,8 +235401,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -227184,9 +235413,87 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + initContainers: + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -227242,43 +235549,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -227290,10 +235560,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -227309,9 +235575,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -227354,8 +235617,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -227388,7 +235649,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -227404,12 +235664,6 @@ components: secretRef: name: name optional: true - initContainers: - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -227439,8 +235693,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -227453,9 +235705,86 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -227511,43 +235840,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -227559,10 +235851,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -227578,9 +235866,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -227623,8 +235908,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -227657,7 +235940,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -227673,11 +235955,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -227707,8 +235984,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -227721,64 +235996,6 @@ components: key: null limits: key: null - securityContext: - privileged: true - runAsUser: 1 - capabilities: - add: - - add - - add - drop: - - drop - - drop - seLinuxOptions: - role: role - level: level - type: type - user: user - appArmorProfile: - localhostProfile: localhostProfile - type: type - seccompProfile: - localhostProfile: localhostProfile - type: type - windowsOptions: - gmsaCredentialSpec: gmsaCredentialSpec - runAsUserName: runAsUserName - hostProcess: true - gmsaCredentialSpecName: gmsaCredentialSpecName - procMount: procMount - allowPrivilegeEscalation: true - runAsGroup: 1 - runAsNonRoot: true - readOnlyRootFilesystem: true - startupProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value env: - name: name value: value @@ -227798,6 +236015,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -227816,131 +236038,21 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - ports: - - protocol: protocol - hostIP: hostIP - name: name - containerPort: 7 - hostPort: 1 - - protocol: protocol - hostIP: hostIP - name: name - containerPort: 7 - hostPort: 1 + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command - command - volumeMounts: - - mountPath: mountPath - mountPropagation: mountPropagation - name: name - readOnly: true - subPath: subPath - recursiveReadOnly: recursiveReadOnly - subPathExpr: subPathExpr - - mountPath: mountPath - mountPropagation: mountPropagation - name: name - readOnly: true - subPath: subPath - recursiveReadOnly: recursiveReadOnly - subPathExpr: subPathExpr args: - args - args - lifecycle: - postStart: - sleep: - seconds: 5 - tcpSocket: - port: port - host: host - exec: - command: - - command - - command - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value - preStop: - sleep: - seconds: 5 - tcpSocket: - port: port - host: host - exec: - command: - - command - - command - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value - stopSignal: stopSignal name: name tty: true - readinessProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value - resizePolicy: - - resourceName: resourceName - restartPolicy: restartPolicy - - resourceName: resourceName - restartPolicy: restartPolicy stdinOnce: true - envFrom: - - configMapRef: - name: name - optional: true - prefix: prefix - secretRef: - name: name - optional: true - - configMapRef: - name: name - optional: true - prefix: prefix - secretRef: - name: name - optional: true affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: @@ -228561,6 +236673,7 @@ components: - conditionType: conditionType - conditionType: conditionType serviceAccountName: serviceAccountName + hostnameOverride: hostnameOverride imagePullSecrets: - name: name - name: name @@ -228583,17 +236696,17 @@ components: appArmorProfile: localhostProfile: localhostProfile type: type - fsGroup: 7 + fsGroup: 1 fsGroupChangePolicy: fsGroupChangePolicy seLinuxChangePolicy: seLinuxChangePolicy - runAsGroup: 1 + runAsGroup: 4 runAsNonRoot: true sysctls: - name: name value: value - name: name value: value - runAsUser: 4 + runAsUser: 5 seccompProfile: localhostProfile: localhostProfile type: type @@ -228603,8 +236716,8 @@ components: hostProcess: true gmsaCredentialSpecName: gmsaCredentialSpecName supplementalGroups: - - 5 - - 5 + - 9 + - 9 supplementalGroupsPolicy: supplementalGroupsPolicy preemptionPolicy: preemptionPolicy nodeSelector: @@ -228613,12 +236726,12 @@ components: runtimeClassName: runtimeClassName tolerations: - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator @@ -228638,7 +236751,7 @@ components: topologySpreadConstraints: - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -228654,14 +236767,14 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys - matchLabelKeys - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -228677,7 +236790,7 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys @@ -228788,20 +236901,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -228810,7 +236923,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -228823,26 +236936,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -228864,7 +236984,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -228873,7 +236993,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -228886,26 +237006,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -228925,7 +237052,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -228980,9 +237107,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -228991,7 +237118,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -229001,7 +237128,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -229011,7 +237138,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -229036,14 +237163,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -229083,7 +237210,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -229200,20 +237327,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -229222,7 +237349,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -229235,26 +237362,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -229276,7 +237410,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -229285,7 +237419,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -229298,26 +237432,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -229337,7 +237478,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -229392,9 +237533,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -229403,7 +237544,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -229413,7 +237554,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -229423,7 +237564,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -229448,14 +237589,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -229495,7 +237636,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -229523,11 +237664,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -229759,6 +237913,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -229777,6 +237936,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -229792,11 +237956,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -230028,6 +238205,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -230046,6 +238228,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -230057,7 +238244,7 @@ components: tty: true stdinOnce: true serviceAccount: serviceAccount - priority: 6 + priority: 7 restartPolicy: restartPolicy shareProcessNamespace: true hostUsers: true @@ -230075,52 +238262,24 @@ components: name: name - devicePath: devicePath name: name - image: image - imagePullPolicy: imagePullPolicy - livenessProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy - terminationMessagePath: terminationMessagePath - workingDir: workingDir - resources: - claims: - - request: request - name: name - - request: request - name: name - requests: - key: null - limits: - key: null securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -230176,43 +238335,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -230224,10 +238346,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -230243,9 +238361,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -230288,8 +238403,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -230322,7 +238435,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -230338,11 +238450,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -230372,8 +238479,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -230386,9 +238491,86 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -230444,43 +238626,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -230492,10 +238637,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -230511,9 +238652,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -230556,8 +238694,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -230590,7 +238726,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -230606,12 +238741,6 @@ components: secretRef: name: name optional: true - initContainers: - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -230641,8 +238770,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -230655,9 +238782,87 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + initContainers: + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -230713,43 +238918,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -230761,10 +238929,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -230780,9 +238944,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -230825,8 +238986,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -230859,7 +239018,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -230875,11 +239033,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -230909,8 +239062,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -230923,9 +239074,86 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -230981,43 +239209,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -231029,10 +239220,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -231048,9 +239235,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -231093,8 +239277,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -231127,7 +239309,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -231143,6 +239324,104 @@ components: secretRef: name: name optional: true + image: image + imagePullPolicy: imagePullPolicy + livenessProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + terminationMessagePath: terminationMessagePath + workingDir: workingDir + resources: + claims: + - request: request + name: name + - request: request + name: name + requests: + key: null + limits: + key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: @@ -231697,6 +239976,7 @@ components: - conditionType: conditionType - conditionType: conditionType serviceAccountName: serviceAccountName + hostnameOverride: hostnameOverride imagePullSecrets: - name: name - name: name @@ -231719,17 +239999,17 @@ components: appArmorProfile: localhostProfile: localhostProfile type: type - fsGroup: 7 + fsGroup: 1 fsGroupChangePolicy: fsGroupChangePolicy seLinuxChangePolicy: seLinuxChangePolicy - runAsGroup: 1 + runAsGroup: 4 runAsNonRoot: true sysctls: - name: name value: value - name: name value: value - runAsUser: 4 + runAsUser: 5 seccompProfile: localhostProfile: localhostProfile type: type @@ -231739,8 +240019,8 @@ components: hostProcess: true gmsaCredentialSpecName: gmsaCredentialSpecName supplementalGroups: - - 5 - - 5 + - 9 + - 9 supplementalGroupsPolicy: supplementalGroupsPolicy preemptionPolicy: preemptionPolicy nodeSelector: @@ -231749,12 +240029,12 @@ components: runtimeClassName: runtimeClassName tolerations: - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator @@ -231774,7 +240054,7 @@ components: topologySpreadConstraints: - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -231790,14 +240070,14 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys - matchLabelKeys - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -231813,7 +240093,7 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys @@ -231924,20 +240204,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -231946,7 +240226,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -231959,26 +240239,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -232000,7 +240287,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -232009,7 +240296,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -232022,26 +240309,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -232061,7 +240355,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -232116,9 +240410,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -232127,7 +240421,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -232137,7 +240431,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -232147,7 +240441,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -232172,14 +240466,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -232219,7 +240513,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -232336,20 +240630,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -232358,7 +240652,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -232371,26 +240665,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -232412,7 +240713,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -232421,7 +240722,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -232434,26 +240735,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -232473,7 +240781,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -232528,9 +240836,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -232539,7 +240847,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -232549,7 +240857,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -232559,7 +240867,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -232584,14 +240892,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -232631,7 +240939,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -232659,11 +240967,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -232895,6 +241216,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -232913,6 +241239,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -232928,11 +241259,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -233164,6 +241508,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -233182,6 +241531,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -233193,7 +241547,7 @@ components: tty: true stdinOnce: true serviceAccount: serviceAccount - priority: 6 + priority: 7 restartPolicy: restartPolicy shareProcessNamespace: true hostUsers: true @@ -233211,52 +241565,24 @@ components: name: name - devicePath: devicePath name: name - image: image - imagePullPolicy: imagePullPolicy - livenessProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy - terminationMessagePath: terminationMessagePath - workingDir: workingDir - resources: - claims: - - request: request - name: name - - request: request - name: name - requests: - key: null - limits: - key: null securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -233312,43 +241638,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -233360,10 +241649,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -233379,9 +241664,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -233424,8 +241706,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -233458,7 +241738,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -233474,11 +241753,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -233508,8 +241782,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -233522,9 +241794,86 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -233580,43 +241929,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -233628,10 +241940,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -233647,9 +241955,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -233692,8 +241997,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -233726,7 +242029,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -233742,12 +242044,6 @@ components: secretRef: name: name optional: true - initContainers: - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -233777,8 +242073,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -233791,9 +242085,87 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + initContainers: + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -233849,43 +242221,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -233897,10 +242232,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -233916,9 +242247,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -233961,8 +242289,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -233995,7 +242321,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -234011,11 +242336,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -234045,8 +242365,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -234059,9 +242377,86 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -234117,43 +242512,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -234165,10 +242523,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -234184,9 +242538,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -234229,8 +242580,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -234263,7 +242612,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -234279,6 +242627,104 @@ components: secretRef: name: name optional: true + image: image + imagePullPolicy: imagePullPolicy + livenessProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + terminationMessagePath: terminationMessagePath + workingDir: workingDir + resources: + claims: + - request: request + name: name + - request: request + name: name + requests: + key: null + limits: + key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: @@ -234815,6 +243261,7 @@ components: - conditionType: conditionType - conditionType: conditionType serviceAccountName: serviceAccountName + hostnameOverride: hostnameOverride imagePullSecrets: - name: name - name: name @@ -234837,17 +243284,17 @@ components: appArmorProfile: localhostProfile: localhostProfile type: type - fsGroup: 7 + fsGroup: 1 fsGroupChangePolicy: fsGroupChangePolicy seLinuxChangePolicy: seLinuxChangePolicy - runAsGroup: 1 + runAsGroup: 4 runAsNonRoot: true sysctls: - name: name value: value - name: name value: value - runAsUser: 4 + runAsUser: 5 seccompProfile: localhostProfile: localhostProfile type: type @@ -234857,8 +243304,8 @@ components: hostProcess: true gmsaCredentialSpecName: gmsaCredentialSpecName supplementalGroups: - - 5 - - 5 + - 9 + - 9 supplementalGroupsPolicy: supplementalGroupsPolicy preemptionPolicy: preemptionPolicy nodeSelector: @@ -234867,12 +243314,12 @@ components: runtimeClassName: runtimeClassName tolerations: - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator @@ -234892,7 +243339,7 @@ components: topologySpreadConstraints: - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -234908,14 +243355,14 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys - matchLabelKeys - nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -234931,7 +243378,7 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys @@ -235042,20 +243489,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -235064,7 +243511,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -235077,26 +243524,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -235118,7 +243572,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -235127,7 +243581,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -235140,26 +243594,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -235179,7 +243640,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -235234,9 +243695,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -235245,7 +243706,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -235255,7 +243716,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -235265,7 +243726,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -235290,14 +243751,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -235337,7 +243798,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -235454,20 +243915,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -235476,7 +243937,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -235489,26 +243950,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -235530,7 +243998,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -235539,7 +244007,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -235552,26 +244020,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -235591,7 +244066,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -235646,9 +244121,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -235657,7 +244132,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -235667,7 +244142,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -235677,7 +244152,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -235702,14 +244177,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -235749,7 +244224,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -235777,11 +244252,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -236013,6 +244501,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -236031,6 +244524,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -236046,11 +244544,24 @@ components: name: name - devicePath: devicePath name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -236282,6 +244793,316 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + serviceAccount: serviceAccount + priority: 7 + restartPolicy: restartPolicy + shareProcessNamespace: true + hostUsers: true + resourceClaims: + - resourceClaimName: resourceClaimName + name: name + resourceClaimTemplateName: resourceClaimTemplateName + - resourceClaimName: resourceClaimName + name: name + resourceClaimTemplateName: resourceClaimTemplateName + subdomain: subdomain + containers: + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy + securityContext: + privileged: true + runAsUser: 6 + capabilities: + add: + - add + - add + drop: + - drop + - drop + seLinuxOptions: + role: role + level: level + type: type + user: user + appArmorProfile: + localhostProfile: localhostProfile + type: type + seccompProfile: + localhostProfile: localhostProfile + type: type + windowsOptions: + gmsaCredentialSpec: gmsaCredentialSpec + runAsUserName: runAsUserName + hostProcess: true + gmsaCredentialSpecName: gmsaCredentialSpecName + procMount: procMount + allowPrivilegeEscalation: true + runAsGroup: 1 + runAsNonRoot: true + readOnlyRootFilesystem: true + startupProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + ports: + - protocol: protocol + hostIP: hostIP + name: name + containerPort: 7 + hostPort: 1 + - protocol: protocol + hostIP: hostIP + name: name + containerPort: 7 + hostPort: 1 + volumeMounts: + - mountPath: mountPath + mountPropagation: mountPropagation + name: name + readOnly: true + subPath: subPath + recursiveReadOnly: recursiveReadOnly + subPathExpr: subPathExpr + - mountPath: mountPath + mountPropagation: mountPropagation + name: name + readOnly: true + subPath: subPath + recursiveReadOnly: recursiveReadOnly + subPathExpr: subPathExpr + lifecycle: + postStart: + sleep: + seconds: 5 + tcpSocket: + port: port + host: host + exec: + command: + - command + - command + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + preStop: + sleep: + seconds: 5 + tcpSocket: + port: port + host: host + exec: + command: + - command + - command + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + stopSignal: stopSignal + readinessProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + resizePolicy: + - resourceName: resourceName + restartPolicy: restartPolicy + - resourceName: resourceName + restartPolicy: restartPolicy + envFrom: + - configMapRef: + name: name + optional: true + prefix: prefix + secretRef: + name: name + optional: true + - configMapRef: + name: name + optional: true + prefix: prefix + secretRef: + name: name + optional: true + image: image + imagePullPolicy: imagePullPolicy + livenessProbe: + terminationGracePeriodSeconds: 2 + failureThreshold: 5 + periodSeconds: 9 + tcpSocket: + port: port + host: host + timeoutSeconds: 4 + successThreshold: 3 + initialDelaySeconds: 7 + exec: + command: + - command + - command + grpc: + port: 2 + service: service + httpGet: + path: path + scheme: scheme + port: port + host: host + httpHeaders: + - name: name + value: value + - name: name + value: value + terminationMessagePath: terminationMessagePath + workingDir: workingDir + resources: + claims: + - request: request + name: name + - request: request + name: name + requests: + key: null + limits: + key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -236300,6 +245121,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command @@ -236310,71 +245136,29 @@ components: name: name tty: true stdinOnce: true - serviceAccount: serviceAccount - priority: 6 - restartPolicy: restartPolicy - shareProcessNamespace: true - hostUsers: true - resourceClaims: - - resourceClaimName: resourceClaimName - name: name - resourceClaimTemplateName: resourceClaimTemplateName - - resourceClaimName: resourceClaimName - name: name - resourceClaimTemplateName: resourceClaimTemplateName - subdomain: subdomain - containers: - volumeDevices: - devicePath: devicePath name: name - devicePath: devicePath name: name - image: image - imagePullPolicy: imagePullPolicy - livenessProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator stdin: true terminationMessagePolicy: terminationMessagePolicy - terminationMessagePath: terminationMessagePath - workingDir: workingDir - resources: - claims: - - request: request - name: name - - request: request - name: name - requests: - key: null - limits: - key: null securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -236430,43 +245214,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -236478,10 +245225,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -236497,9 +245240,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -236542,8 +245282,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -236576,7 +245314,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -236592,11 +245329,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -236626,8 +245358,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -236640,9 +245370,87 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + initContainers: + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -236698,43 +245506,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -236746,10 +245517,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -236765,9 +245532,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -236810,8 +245574,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -236844,7 +245606,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -236860,12 +245621,6 @@ components: secretRef: name: name optional: true - initContainers: - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -236895,8 +245650,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -236909,9 +245662,86 @@ components: key: null limits: key: null + env: + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + - name: name + value: value + valueFrom: + secretKeyRef: + name: name + optional: true + key: key + resourceFieldRef: + divisor: divisor + resource: resource + containerName: containerName + configMapKeyRef: + name: name + optional: true + key: key + fieldRef: + apiVersion: apiVersion + fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key + restartPolicy: restartPolicy + command: + - command + - command + args: + - args + - args + name: name + tty: true + stdinOnce: true + - volumeDevices: + - devicePath: devicePath + name: name + - devicePath: devicePath + name: name + restartPolicyRules: + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + - action: action + exitCodes: + values: + - 1 + - 1 + operator: operator + stdin: true + terminationMessagePolicy: terminationMessagePolicy securityContext: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -236967,43 +245797,6 @@ components: value: value - name: name value: value - env: - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath - - name: name - value: value - valueFrom: - secretKeyRef: - name: name - optional: true - key: key - resourceFieldRef: - divisor: divisor - resource: resource - containerName: containerName - configMapKeyRef: - name: name - optional: true - key: key - fieldRef: - apiVersion: apiVersion - fieldPath: fieldPath ports: - protocol: protocol hostIP: hostIP @@ -237015,10 +245808,6 @@ components: name: name containerPort: 7 hostPort: 1 - restartPolicy: restartPolicy - command: - - command - - command volumeMounts: - mountPath: mountPath mountPropagation: mountPropagation @@ -237034,9 +245823,6 @@ components: subPath: subPath recursiveReadOnly: recursiveReadOnly subPathExpr: subPathExpr - args: - - args - - args lifecycle: postStart: sleep: @@ -237079,8 +245865,6 @@ components: - name: name value: value stopSignal: stopSignal - name: name - tty: true readinessProbe: terminationGracePeriodSeconds: 2 failureThreshold: 5 @@ -237113,7 +245897,6 @@ components: restartPolicy: restartPolicy - resourceName: resourceName restartPolicy: restartPolicy - stdinOnce: true envFrom: - configMapRef: name: name @@ -237129,11 +245912,6 @@ components: secretRef: name: name optional: true - - volumeDevices: - - devicePath: devicePath - name: name - - devicePath: devicePath - name: name image: image imagePullPolicy: imagePullPolicy livenessProbe: @@ -237163,8 +245941,6 @@ components: value: value - name: name value: value - stdin: true - terminationMessagePolicy: terminationMessagePolicy terminationMessagePath: terminationMessagePath workingDir: workingDir resources: @@ -237177,64 +245953,6 @@ components: key: null limits: key: null - securityContext: - privileged: true - runAsUser: 1 - capabilities: - add: - - add - - add - drop: - - drop - - drop - seLinuxOptions: - role: role - level: level - type: type - user: user - appArmorProfile: - localhostProfile: localhostProfile - type: type - seccompProfile: - localhostProfile: localhostProfile - type: type - windowsOptions: - gmsaCredentialSpec: gmsaCredentialSpec - runAsUserName: runAsUserName - hostProcess: true - gmsaCredentialSpecName: gmsaCredentialSpecName - procMount: procMount - allowPrivilegeEscalation: true - runAsGroup: 1 - runAsNonRoot: true - readOnlyRootFilesystem: true - startupProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value env: - name: name value: value @@ -237254,6 +245972,11 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key - name: name value: value valueFrom: @@ -237272,131 +245995,21 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - ports: - - protocol: protocol - hostIP: hostIP - name: name - containerPort: 7 - hostPort: 1 - - protocol: protocol - hostIP: hostIP - name: name - containerPort: 7 - hostPort: 1 + fileKeyRef: + path: path + volumeName: volumeName + optional: true + key: key restartPolicy: restartPolicy command: - command - command - volumeMounts: - - mountPath: mountPath - mountPropagation: mountPropagation - name: name - readOnly: true - subPath: subPath - recursiveReadOnly: recursiveReadOnly - subPathExpr: subPathExpr - - mountPath: mountPath - mountPropagation: mountPropagation - name: name - readOnly: true - subPath: subPath - recursiveReadOnly: recursiveReadOnly - subPathExpr: subPathExpr args: - args - args - lifecycle: - postStart: - sleep: - seconds: 5 - tcpSocket: - port: port - host: host - exec: - command: - - command - - command - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value - preStop: - sleep: - seconds: 5 - tcpSocket: - port: port - host: host - exec: - command: - - command - - command - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value - stopSignal: stopSignal name: name tty: true - readinessProbe: - terminationGracePeriodSeconds: 2 - failureThreshold: 5 - periodSeconds: 9 - tcpSocket: - port: port - host: host - timeoutSeconds: 4 - successThreshold: 3 - initialDelaySeconds: 7 - exec: - command: - - command - - command - grpc: - port: 2 - service: service - httpGet: - path: path - scheme: scheme - port: port - host: host - httpHeaders: - - name: name - value: value - - name: name - value: value - resizePolicy: - - resourceName: resourceName - restartPolicy: restartPolicy - - resourceName: resourceName - restartPolicy: restartPolicy stdinOnce: true - envFrom: - - configMapRef: - name: name - optional: true - prefix: prefix - secretRef: - name: name - optional: true - - configMapRef: - name: name - optional: true - prefix: prefix - secretRef: - name: name - optional: true affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: @@ -237903,7 +246516,7 @@ components: required: - replicas type: object - v1.ResourceClaim: + core.v1.ResourceClaim: description: ResourceClaim references one entry in PodSpec.ResourceClaims. example: request: request @@ -238359,11 +246972,11 @@ components: description: |- Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. - This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. + This field depends on the DynamicResourceAllocation feature gate. This field is immutable. It can only be set for containers. items: - $ref: '#/components/schemas/v1.ResourceClaim' + $ref: '#/components/schemas/core.v1.ResourceClaim' type: array x-kubernetes-list-type: map x-kubernetes-list-map-keys: @@ -238940,10 +247553,10 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key properties: @@ -238993,13 +247606,13 @@ components: The contents of the target Secret's Data field will be presented in a volume as files using the keys in the Data field as the file names. Secret volumes support ownership management and SELinux relabeling. example: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key properties: @@ -239040,7 +247653,7 @@ components: \ When both are set, the values in SecurityContext take precedence." example: privileged: true - runAsUser: 1 + runAsUser: 6 capabilities: add: - add @@ -239592,7 +248205,7 @@ components: example: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 properties: audience: description: "audience is the intended audience of the token. A recipient\ @@ -240423,7 +249036,6 @@ components: type: string timeAdded: description: TimeAdded represents the time at which the taint was added. - It is only written for NoExecute taints. format: date-time type: string value: @@ -240438,7 +249050,7 @@ components: \ matches the triple using the matching operator ." example: effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator @@ -240526,7 +249138,7 @@ components: example: nodeTaintsPolicy: nodeTaintsPolicy whenUnsatisfiable: whenUnsatisfiable - maxSkew: 6 + maxSkew: 8 nodeAffinityPolicy: nodeAffinityPolicy labelSelector: matchExpressions: @@ -240542,7 +249154,7 @@ components: operator: operator matchLabels: key: matchLabels - minDomains: 8 + minDomains: 9 topologyKey: topologyKey matchLabelKeys: - matchLabelKeys @@ -240783,20 +249395,20 @@ components: volumeMode: volumeMode secret: secretName: secretName - defaultMode: 3 + defaultMode: 7 optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key projected: sources: - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -240805,7 +249417,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -240818,26 +249430,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -240859,7 +249478,7 @@ components: signerName: signerName - downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -240868,7 +249487,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -240881,26 +249500,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -240920,7 +249546,7 @@ components: name: name optional: true signerName: signerName - defaultMode: 5 + defaultMode: 6 cephfs: path: path secretRef: @@ -240975,9 +249601,9 @@ components: readOnly: true fsType: fsType downwardAPI: - defaultMode: 6 + defaultMode: 1 items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -240986,7 +249612,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -240996,7 +249622,7 @@ components: apiVersion: apiVersion fieldPath: fieldPath awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -241006,7 +249632,7 @@ components: iscsi: chapAuthSession: true iscsiInterface: iscsiInterface - lun: 6 + lun: 5 chapAuthDiscovery: true iqn: iqn portals: @@ -241031,14 +249657,14 @@ components: - monitors - monitors configMap: - defaultMode: 6 + defaultMode: 3 name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key storageos: @@ -241078,7 +249704,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -241318,7 +249944,7 @@ components: example: downwardAPI: items: - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -241327,7 +249953,7 @@ components: fieldRef: apiVersion: apiVersion fieldPath: fieldPath - - mode: 1 + - mode: 2 path: path resourceFieldRef: divisor: divisor @@ -241340,26 +249966,33 @@ components: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key + podCertificate: + certificateChainPath: certificateChainPath + keyPath: keyPath + maxExpirationSeconds: 3 + keyType: keyType + credentialBundlePath: credentialBundlePath + signerName: signerName secret: name: name optional: true items: - - mode: 3 + - mode: 6 path: path key: key - - mode: 3 + - mode: 6 path: path key: key serviceAccountToken: path: path audience: audience - expirationSeconds: 6 + expirationSeconds: 3 clusterTrustBundle: path: path labelSelector: @@ -241386,6 +250019,8 @@ components: $ref: '#/components/schemas/v1.ConfigMapProjection' downwardAPI: $ref: '#/components/schemas/v1.DownwardAPIProjection' + podCertificate: + $ref: '#/components/schemas/v1.PodCertificateProjection' secret: $ref: '#/components/schemas/v1.SecretProjection' serviceAccountToken: @@ -247495,8 +256130,6 @@ components: type: string type: array x-kubernetes-list-type: atomic - required: - - podSelector type: object v1.ParentReference: description: ParentReference describes a reference to a parent object. @@ -248508,12 +257141,12 @@ components: scheduling: tolerations: - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator @@ -248622,12 +257255,12 @@ components: scheduling: tolerations: - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator @@ -248688,12 +257321,12 @@ components: scheduling: tolerations: - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator @@ -248732,12 +257365,12 @@ components: example: tolerations: - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 9 + tolerationSeconds: 6 value: value key: key operator: operator @@ -250692,9 +259325,11 @@ components: - name type: object x-kubernetes-map-type: atomic - v1alpha3.AllocatedDeviceStatus: - description: "AllocatedDeviceStatus contains the status of an allocated device,\ - \ if the driver chooses to report it. This may include driver-specific information." + v1.AllocatedDeviceStatus: + description: |- + AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it. This may include driver-specific information. + + The combination of Driver, Pool, Device, and ShareID must match the corresponding key in Status.Allocation.Devices. example: data: "{}" driver: driver @@ -250705,6 +259340,7 @@ components: - ips - ips pool: pool + shareID: shareID conditions: - reason: reason lastTransitionTime: 2000-01-23T04:56:07.000+00:00 @@ -250749,21 +259385,26 @@ components: Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. type: string networkData: - $ref: '#/components/schemas/v1alpha3.NetworkDeviceData' + $ref: '#/components/schemas/v1.NetworkDeviceData' pool: description: |- 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. type: string + shareID: + description: ShareID uniquely identifies an individual allocation share + of the device. + type: string required: - device - driver - pool type: object - v1alpha3.AllocationResult: + v1.AllocationResult: description: AllocationResult contains attributes of an allocated resource. example: + allocationTimestamp: 2000-01-23T04:56:07.000+00:00 devices: config: - opaque: @@ -250785,34 +259426,52 @@ components: adminAccess: true tolerations: - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator driver: driver + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions pool: pool + shareID: shareID + consumedCapacity: + key: null device: device + bindingConditions: + - bindingConditions + - bindingConditions - request: request adminAccess: true tolerations: - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator driver: driver + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions pool: pool + shareID: shareID + consumedCapacity: + key: null device: device + bindingConditions: + - bindingConditions + - bindingConditions nodeSelector: nodeSelectorTerms: - matchExpressions: @@ -250860,15 +259519,367 @@ components: key: key operator: operator properties: + allocationTimestamp: + description: |- + 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 feature gate. + format: date-time + type: string devices: - $ref: '#/components/schemas/v1alpha3.DeviceAllocationResult' + $ref: '#/components/schemas/v1.DeviceAllocationResult' nodeSelector: $ref: '#/components/schemas/v1.NodeSelector' type: object - v1alpha3.BasicDevice: - description: BasicDevice defines one device instance. + v1.CELDeviceSelector: + description: CELDeviceSelector contains a CEL expression for selecting a device. + example: + expression: expression + properties: + expression: + description: |- + Expression is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort. + + The expression's input is an object named "device", which carries the following properties: + - driver (string): the name of the driver which defines this device. + - attributes (map[string]object): the device's attributes, grouped by prefix + (e.g. device.attributes["dra.example.com"] evaluates to an object with all + of the attributes which were prefixed by "dra.example.com". + - capacity (map[string]object): the device's capacities, grouped by prefix. + - allowMultipleAllocations (bool): the allowMultipleAllocations property of the device + (v1.34+ with the DRAConsumableCapacity feature enabled). + + Example: Consider a device with driver="dra.example.com", which exposes two attributes named "model" and "ext.example.com/family" and which exposes one capacity named "modules". This input to this expression would have the following fields: + + device.driver + device.attributes["dra.example.com"].model + device.attributes["ext.example.com"].family + device.capacity["dra.example.com"].modules + + The device.driver field can be used to check for a specific driver, either as a high-level precondition (i.e. you only want to consider devices from this driver) or as part of a multi-clause expression that is meant to consider devices from different drivers. + + The value type of each attribute is defined by the device definition, and users who write these expressions must consult the documentation for their specific drivers. The value type of each capacity is Quantity. + + If an unknown prefix is used as a lookup in either device.attributes or device.capacity, an empty map will be returned. Any reference to an unknown field will cause an evaluation error and allocation to abort. + + A robust expression should check for the existence of attributes before referencing them. + + For ease of use, the cel.bind() function is enabled, and can be used to simplify expressions that access multiple attributes with the same domain. For example: + + cel.bind(dra, device.attributes["dra.example.com"], dra.someBool && dra.anotherBool) + + 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. + type: string + required: + - expression + type: object + v1.CapacityRequestPolicy: + description: |- + CapacityRequestPolicy defines how requests consume device capacity. + + Must not set more than one ValidRequestValues. + example: + default: default + validRange: + min: min + max: max + step: step + validValues: + - null + - null + properties: + default: + description: "Quantity is a fixed-point representation of a number. It provides\ + \ convenient marshaling/unmarshaling in JSON and YAML, in addition to\ + \ String() and AsInt64() accessors.\n\nThe serialization format is:\n\n\ + ``` ::= \n\n\t(Note that \ + \ may be empty, from the \"\" case in .)\n\n \ + \ ::= 0 | 1 | ... | 9 ::= | \ + \ ::= | . | . | .\ + \ ::= \"+\" | \"-\" ::= |\ + \ ::= | \ + \ | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t\ + (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\ + \n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that\ + \ 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n\ + \ ::= \"e\" | \"E\" ```\n\nNo matter which\ + \ of the three exponent forms is used, no quantity may represent a number\ + \ greater than 2^63-1 in magnitude, nor may it have more than 3 decimal\ + \ places. Numbers larger or more precise will be capped or rounded up.\ + \ (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future\ + \ if we require larger or smaller quantities.\n\nWhen a Quantity is parsed\ + \ from a string, it will remember the type of suffix it had, and will\ + \ use the same type again when it is serialized.\n\nBefore serializing,\ + \ Quantity will be put in \"canonical form\". This means that Exponent/suffix\ + \ will be adjusted up or down (with a corresponding increase or decrease\ + \ in Mantissa) such that:\n\n- No precision is lost - No fractional digits\ + \ will be emitted - The exponent (or suffix) is as large as possible.\n\ + \nThe sign will be omitted unless the number is negative.\n\nExamples:\n\ + \n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as\ + \ \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented\ + \ by a floating point number. That is the whole point of this exercise.\n\ + \nNon-canonical values will still parse as long as they are well formed,\ + \ but will be re-emitted in their canonical form. (So always use canonical\ + \ form, or don't diff.)\n\nThis format is intended to make it difficult\ + \ to use these numbers without writing some sort of special handling code\ + \ in the hopes that that will cause implementors to also use a fixed point\ + \ implementation." + format: quantity + type: string + validRange: + $ref: '#/components/schemas/v1.CapacityRequestPolicyRange' + validValues: + description: |- + ValidValues defines a set of acceptable quantity values in consuming requests. + + Must not contain more than 10 entries. Must be sorted in ascending order. + + If this field is set, Default must be defined and it must be included in ValidValues list. + + If the requested amount does not match any valid value but smaller than some valid values, the scheduler calculates the smallest valid value that is greater than or equal to the request. That is: min(ceil(requestedValue) ∈ validValues), where requestedValue ≤ max(validValues). + + If the requested amount exceeds all valid values, the request violates the policy, and this device cannot be allocated. + items: + $ref: '#/components/schemas/resource.Quantity' + type: array + x-kubernetes-list-type: atomic + type: object + v1.CapacityRequestPolicyRange: + description: |- + CapacityRequestPolicyRange defines a valid range for consumable capacity values. + + - If the requested amount is less than Min, it is rounded up to the Min value. + - If Step is set and the requested amount is between Min and Max but not aligned with Step, + it will be rounded up to the next value equal to Min + (n * Step). + - If Step is not set, the requested amount is used as-is if it falls within the range Min to Max (if set). + - If the requested or rounded amount exceeds Max (if set), the request does not satisfy the policy, + and the device cannot be allocated. + example: + min: min + max: max + step: step + properties: + max: + description: "Quantity is a fixed-point representation of a number. It provides\ + \ convenient marshaling/unmarshaling in JSON and YAML, in addition to\ + \ String() and AsInt64() accessors.\n\nThe serialization format is:\n\n\ + ``` ::= \n\n\t(Note that \ + \ may be empty, from the \"\" case in .)\n\n \ + \ ::= 0 | 1 | ... | 9 ::= | \ + \ ::= | . | . | .\ + \ ::= \"+\" | \"-\" ::= |\ + \ ::= | \ + \ | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t\ + (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\ + \n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that\ + \ 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n\ + \ ::= \"e\" | \"E\" ```\n\nNo matter which\ + \ of the three exponent forms is used, no quantity may represent a number\ + \ greater than 2^63-1 in magnitude, nor may it have more than 3 decimal\ + \ places. Numbers larger or more precise will be capped or rounded up.\ + \ (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future\ + \ if we require larger or smaller quantities.\n\nWhen a Quantity is parsed\ + \ from a string, it will remember the type of suffix it had, and will\ + \ use the same type again when it is serialized.\n\nBefore serializing,\ + \ Quantity will be put in \"canonical form\". This means that Exponent/suffix\ + \ will be adjusted up or down (with a corresponding increase or decrease\ + \ in Mantissa) such that:\n\n- No precision is lost - No fractional digits\ + \ will be emitted - The exponent (or suffix) is as large as possible.\n\ + \nThe sign will be omitted unless the number is negative.\n\nExamples:\n\ + \n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as\ + \ \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented\ + \ by a floating point number. That is the whole point of this exercise.\n\ + \nNon-canonical values will still parse as long as they are well formed,\ + \ but will be re-emitted in their canonical form. (So always use canonical\ + \ form, or don't diff.)\n\nThis format is intended to make it difficult\ + \ to use these numbers without writing some sort of special handling code\ + \ in the hopes that that will cause implementors to also use a fixed point\ + \ implementation." + format: quantity + type: string + min: + description: "Quantity is a fixed-point representation of a number. It provides\ + \ convenient marshaling/unmarshaling in JSON and YAML, in addition to\ + \ String() and AsInt64() accessors.\n\nThe serialization format is:\n\n\ + ``` ::= \n\n\t(Note that \ + \ may be empty, from the \"\" case in .)\n\n \ + \ ::= 0 | 1 | ... | 9 ::= | \ + \ ::= | . | . | .\ + \ ::= \"+\" | \"-\" ::= |\ + \ ::= | \ + \ | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t\ + (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\ + \n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that\ + \ 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n\ + \ ::= \"e\" | \"E\" ```\n\nNo matter which\ + \ of the three exponent forms is used, no quantity may represent a number\ + \ greater than 2^63-1 in magnitude, nor may it have more than 3 decimal\ + \ places. Numbers larger or more precise will be capped or rounded up.\ + \ (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future\ + \ if we require larger or smaller quantities.\n\nWhen a Quantity is parsed\ + \ from a string, it will remember the type of suffix it had, and will\ + \ use the same type again when it is serialized.\n\nBefore serializing,\ + \ Quantity will be put in \"canonical form\". This means that Exponent/suffix\ + \ will be adjusted up or down (with a corresponding increase or decrease\ + \ in Mantissa) such that:\n\n- No precision is lost - No fractional digits\ + \ will be emitted - The exponent (or suffix) is as large as possible.\n\ + \nThe sign will be omitted unless the number is negative.\n\nExamples:\n\ + \n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as\ + \ \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented\ + \ by a floating point number. That is the whole point of this exercise.\n\ + \nNon-canonical values will still parse as long as they are well formed,\ + \ but will be re-emitted in their canonical form. (So always use canonical\ + \ form, or don't diff.)\n\nThis format is intended to make it difficult\ + \ to use these numbers without writing some sort of special handling code\ + \ in the hopes that that will cause implementors to also use a fixed point\ + \ implementation." + format: quantity + type: string + step: + description: "Quantity is a fixed-point representation of a number. It provides\ + \ convenient marshaling/unmarshaling in JSON and YAML, in addition to\ + \ String() and AsInt64() accessors.\n\nThe serialization format is:\n\n\ + ``` ::= \n\n\t(Note that \ + \ may be empty, from the \"\" case in .)\n\n \ + \ ::= 0 | 1 | ... | 9 ::= | \ + \ ::= | . | . | .\ + \ ::= \"+\" | \"-\" ::= |\ + \ ::= | \ + \ | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t\ + (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\ + \n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that\ + \ 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n\ + \ ::= \"e\" | \"E\" ```\n\nNo matter which\ + \ of the three exponent forms is used, no quantity may represent a number\ + \ greater than 2^63-1 in magnitude, nor may it have more than 3 decimal\ + \ places. Numbers larger or more precise will be capped or rounded up.\ + \ (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future\ + \ if we require larger or smaller quantities.\n\nWhen a Quantity is parsed\ + \ from a string, it will remember the type of suffix it had, and will\ + \ use the same type again when it is serialized.\n\nBefore serializing,\ + \ Quantity will be put in \"canonical form\". This means that Exponent/suffix\ + \ will be adjusted up or down (with a corresponding increase or decrease\ + \ in Mantissa) such that:\n\n- No precision is lost - No fractional digits\ + \ will be emitted - The exponent (or suffix) is as large as possible.\n\ + \nThe sign will be omitted unless the number is negative.\n\nExamples:\n\ + \n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as\ + \ \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented\ + \ by a floating point number. That is the whole point of this exercise.\n\ + \nNon-canonical values will still parse as long as they are well formed,\ + \ but will be re-emitted in their canonical form. (So always use canonical\ + \ form, or don't diff.)\n\nThis format is intended to make it difficult\ + \ to use these numbers without writing some sort of special handling code\ + \ in the hopes that that will cause implementors to also use a fixed point\ + \ implementation." + format: quantity + type: string + required: + - min + type: object + v1.CapacityRequirements: + description: CapacityRequirements defines the capacity requirements for a specific + device request. + example: + requests: + key: null + properties: + requests: + additionalProperties: + $ref: '#/components/schemas/resource.Quantity' + description: |- + Requests represent individual device resource requests for distinct resources, all of which must be provided by the device. + + This value is used as an additional filtering condition against the available capacity on the device. This is semantically equivalent to a CEL selector with `device.capacity[]..compareTo(quantity()) >= 0`. For example, device.capacity['test-driver.cdi.k8s.io'].counters.compareTo(quantity('2')) >= 0. + + When a requestPolicy is defined, the requested amount is adjusted upward to the nearest valid value based on the policy. If the requested amount cannot be adjusted to a valid value—because it exceeds what the requestPolicy allows— the device is considered ineligible for allocation. + + For any capacity that is not explicitly requested: - If no requestPolicy is set, the default consumed capacity is equal to the full device capacity + (i.e., the whole device is claimed). + - If a requestPolicy is set, the default consumed capacity is determined according to that policy. + + If the device allows multiple allocation, 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. + type: object + type: object + v1.Counter: + description: Counter describes a quantity associated with a device. + example: + value: value + properties: + value: + description: "Quantity is a fixed-point representation of a number. It provides\ + \ convenient marshaling/unmarshaling in JSON and YAML, in addition to\ + \ String() and AsInt64() accessors.\n\nThe serialization format is:\n\n\ + ``` ::= \n\n\t(Note that \ + \ may be empty, from the \"\" case in .)\n\n \ + \ ::= 0 | 1 | ... | 9 ::= | \ + \ ::= | . | . | .\ + \ ::= \"+\" | \"-\" ::= |\ + \ ::= | \ + \ | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t\ + (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\ + \n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that\ + \ 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n\ + \ ::= \"e\" | \"E\" ```\n\nNo matter which\ + \ of the three exponent forms is used, no quantity may represent a number\ + \ greater than 2^63-1 in magnitude, nor may it have more than 3 decimal\ + \ places. Numbers larger or more precise will be capped or rounded up.\ + \ (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future\ + \ if we require larger or smaller quantities.\n\nWhen a Quantity is parsed\ + \ from a string, it will remember the type of suffix it had, and will\ + \ use the same type again when it is serialized.\n\nBefore serializing,\ + \ Quantity will be put in \"canonical form\". This means that Exponent/suffix\ + \ will be adjusted up or down (with a corresponding increase or decrease\ + \ in Mantissa) such that:\n\n- No precision is lost - No fractional digits\ + \ will be emitted - The exponent (or suffix) is as large as possible.\n\ + \nThe sign will be omitted unless the number is negative.\n\nExamples:\n\ + \n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as\ + \ \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented\ + \ by a floating point number. That is the whole point of this exercise.\n\ + \nNon-canonical values will still parse as long as they are well formed,\ + \ but will be re-emitted in their canonical form. (So always use canonical\ + \ form, or don't diff.)\n\nThis format is intended to make it difficult\ + \ to use these numbers without writing some sort of special handling code\ + \ in the hopes that that will cause implementors to also use a fixed point\ + \ implementation." + format: quantity + type: string + required: + - value + type: object + v1.CounterSet: + description: |- + CounterSet defines a named set of counters that are available to be used by devices defined in the ResourceSlice. + + The counters are not allocatable by themselves, but can be referenced by devices. When a device is allocated, the portion of counters it uses will no longer be available for use by other devices. + example: + counters: + key: + value: value + name: name + properties: + counters: + additionalProperties: + $ref: '#/components/schemas/v1.Counter' + description: |- + 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 in all sets is 32. + type: object + name: + description: Name defines the name of the counter set. It must be a DNS + label. + type: string + required: + - counters + - name + type: object + v1.Device: + description: "Device represents one individual hardware instance that can be\ + \ selected based on its attributes. Besides the name, exactly one field must\ + \ be set." example: nodeName: nodeName + allowMultipleAllocations: true consumesCounters: - counters: key: @@ -250878,6 +259889,10 @@ components: key: value: value counterSet: counterSet + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions + name: name attributes: key: bool: true @@ -250894,8 +259909,22 @@ components: value: value key: key allNodes: true + bindsToNode: true + bindingConditions: + - bindingConditions + - bindingConditions capacity: - key: null + key: + value: value + requestPolicy: + default: default + validRange: + min: min + max: max + step: step + validValues: + - null + - null nodeSelector: nodeSelectorTerms: - matchExpressions: @@ -250949,17 +259978,55 @@ components: Must only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set. type: boolean + allowMultipleAllocations: + description: |- + 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. + type: boolean attributes: additionalProperties: - $ref: '#/components/schemas/v1alpha3.DeviceAttribute' + $ref: '#/components/schemas/v1.DeviceAttribute' + description: |- + 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. + type: object + bindingConditions: + description: |- + BindingConditions defines the conditions for proceeding with binding. All of these conditions must be set in the per-device status conditions with a value of True to proceed with binding the pod to the node while scheduling the pod. + + The maximum number of binding conditions is 4. + + The conditions must be a valid condition type string. + + This is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates. + items: + type: string + type: array + x-kubernetes-list-type: atomic + bindingFailureConditions: + description: |- + BindingFailureConditions defines the conditions for binding failure. They may be set in the per-device status conditions. If any is set to "True", a binding failure occurred. + + The maximum number of binding failure conditions is 4. + + The conditions must be a valid condition type string. + + This is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates. + items: + type: string + type: array + x-kubernetes-list-type: atomic + bindsToNode: description: |- - Attributes defines the set of attributes for this device. The name of each attribute must be unique in that set. + 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. - The maximum number of attributes and capacities combined is 32. - type: object + This is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates. + type: boolean capacity: additionalProperties: - $ref: '#/components/schemas/resource.Quantity' + $ref: '#/components/schemas/v1.DeviceCapacity' description: |- Capacity defines the set of capacities for this device. The name of each capacity must be unique in that set. @@ -250973,9 +260040,13 @@ components: The total number of device counter consumption entries must be <= 32. In addition, the total number in the entire ResourceSlice must be <= 1024 (for example, 64 devices with 16 counters each). items: - $ref: '#/components/schemas/v1alpha3.DeviceCounterConsumption' + $ref: '#/components/schemas/v1.DeviceCounterConsumption' type: array x-kubernetes-list-type: atomic + name: + description: Name is unique identifier among all devices managed by the + driver in the pool. It must be a DNS label. + type: string nodeName: description: |- NodeName identifies the node where the device is available. @@ -250992,217 +260063,13 @@ components: This is an alpha field and requires enabling the DRADeviceTaints feature gate. items: - $ref: '#/components/schemas/v1alpha3.DeviceTaint' + $ref: '#/components/schemas/v1.DeviceTaint' type: array x-kubernetes-list-type: atomic - type: object - v1alpha3.CELDeviceSelector: - description: CELDeviceSelector contains a CEL expression for selecting a device. - example: - expression: expression - properties: - expression: - description: |- - Expression is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort. - - The expression's input is an object named "device", which carries the following properties: - - driver (string): the name of the driver which defines this device. - - attributes (map[string]object): the device's attributes, grouped by prefix - (e.g. device.attributes["dra.example.com"] evaluates to an object with all - of the attributes which were prefixed by "dra.example.com". - - capacity (map[string]object): the device's capacities, grouped by prefix. - - Example: Consider a device with driver="dra.example.com", which exposes two attributes named "model" and "ext.example.com/family" and which exposes one capacity named "modules". This input to this expression would have the following fields: - - device.driver - device.attributes["dra.example.com"].model - device.attributes["ext.example.com"].family - device.capacity["dra.example.com"].modules - - The device.driver field can be used to check for a specific driver, either as a high-level precondition (i.e. you only want to consider devices from this driver) or as part of a multi-clause expression that is meant to consider devices from different drivers. - - The value type of each attribute is defined by the device definition, and users who write these expressions must consult the documentation for their specific drivers. The value type of each capacity is Quantity. - - If an unknown prefix is used as a lookup in either device.attributes or device.capacity, an empty map will be returned. Any reference to an unknown field will cause an evaluation error and allocation to abort. - - A robust expression should check for the existence of attributes before referencing them. - - For ease of use, the cel.bind() function is enabled, and can be used to simplify expressions that access multiple attributes with the same domain. For example: - - cel.bind(dra, device.attributes["dra.example.com"], dra.someBool && dra.anotherBool) - - 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. - type: string - required: - - expression - type: object - v1alpha3.Counter: - description: Counter describes a quantity associated with a device. - example: - value: value - properties: - value: - description: "Quantity is a fixed-point representation of a number. It provides\ - \ convenient marshaling/unmarshaling in JSON and YAML, in addition to\ - \ String() and AsInt64() accessors.\n\nThe serialization format is:\n\n\ - ``` ::= \n\n\t(Note that \ - \ may be empty, from the \"\" case in .)\n\n \ - \ ::= 0 | 1 | ... | 9 ::= | \ - \ ::= | . | . | .\ - \ ::= \"+\" | \"-\" ::= |\ - \ ::= | \ - \ | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t\ - (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\ - \n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that\ - \ 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n\ - \ ::= \"e\" | \"E\" ```\n\nNo matter which\ - \ of the three exponent forms is used, no quantity may represent a number\ - \ greater than 2^63-1 in magnitude, nor may it have more than 3 decimal\ - \ places. Numbers larger or more precise will be capped or rounded up.\ - \ (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future\ - \ if we require larger or smaller quantities.\n\nWhen a Quantity is parsed\ - \ from a string, it will remember the type of suffix it had, and will\ - \ use the same type again when it is serialized.\n\nBefore serializing,\ - \ Quantity will be put in \"canonical form\". This means that Exponent/suffix\ - \ will be adjusted up or down (with a corresponding increase or decrease\ - \ in Mantissa) such that:\n\n- No precision is lost - No fractional digits\ - \ will be emitted - The exponent (or suffix) is as large as possible.\n\ - \nThe sign will be omitted unless the number is negative.\n\nExamples:\n\ - \n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as\ - \ \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented\ - \ by a floating point number. That is the whole point of this exercise.\n\ - \nNon-canonical values will still parse as long as they are well formed,\ - \ but will be re-emitted in their canonical form. (So always use canonical\ - \ form, or don't diff.)\n\nThis format is intended to make it difficult\ - \ to use these numbers without writing some sort of special handling code\ - \ in the hopes that that will cause implementors to also use a fixed point\ - \ implementation." - format: quantity - type: string - required: - - value - type: object - v1alpha3.CounterSet: - description: |- - CounterSet defines a named set of counters that are available to be used by devices defined in the ResourceSlice. - - The counters are not allocatable by themselves, but can be referenced by devices. When a device is allocated, the portion of counters it uses will no longer be available for use by other devices. - example: - counters: - key: - value: value - name: name - properties: - counters: - additionalProperties: - $ref: '#/components/schemas/v1alpha3.Counter' - description: |- - Counters defines the counters that will be consumed by the device. The name of each counter must be unique in that set and must be a DNS label. - - To ensure this uniqueness, capacities defined by the vendor must be listed without the driver name as domain prefix in their name. All others must be listed with their domain prefix. - - The maximum number of counters is 32. - type: object - name: - description: CounterSet is the name of the set from which the counters defined - will be consumed. - type: string - required: - - counters - - name - type: object - v1alpha3.Device: - description: "Device represents one individual hardware instance that can be\ - \ selected based on its attributes. Besides the name, exactly one field must\ - \ be set." - example: - name: name - basic: - nodeName: nodeName - consumesCounters: - - counters: - key: - value: value - counterSet: counterSet - - counters: - key: - value: value - counterSet: counterSet - attributes: - key: - bool: true - string: string - version: version - int: 0 - taints: - - timeAdded: 2000-01-23T04:56:07.000+00:00 - effect: effect - value: value - key: key - - timeAdded: 2000-01-23T04:56:07.000+00:00 - effect: effect - value: value - key: key - allNodes: true - capacity: - key: null - nodeSelector: - nodeSelectorTerms: - - matchExpressions: - - values: - - values - - values - key: key - operator: operator - - values: - - values - - values - key: key - operator: operator - matchFields: - - values: - - values - - values - key: key - operator: operator - - values: - - values - - values - key: key - operator: operator - - matchExpressions: - - values: - - values - - values - key: key - operator: operator - - values: - - values - - values - key: key - operator: operator - matchFields: - - values: - - values - - values - key: key - operator: operator - - values: - - values - - values - key: key - operator: operator - properties: - basic: - $ref: '#/components/schemas/v1alpha3.BasicDevice' - name: - description: Name is unique identifier among all devices managed by the - driver in the pool. It must be a DNS label. - type: string required: - name type: object - v1alpha3.DeviceAllocationConfiguration: + v1.DeviceAllocationConfiguration: description: DeviceAllocationConfiguration gets embedded in an AllocationResult. example: opaque: @@ -251214,7 +260081,7 @@ components: source: source properties: opaque: - $ref: '#/components/schemas/v1alpha3.OpaqueDeviceConfiguration' + $ref: '#/components/schemas/v1.OpaqueDeviceConfiguration' requests: description: |- Requests lists the names of requests where the configuration applies. If empty, its applies to all requests. @@ -251232,7 +260099,7 @@ components: required: - source type: object - v1alpha3.DeviceAllocationResult: + v1.DeviceAllocationResult: description: DeviceAllocationResult is the result of allocating devices. example: config: @@ -251255,34 +260122,52 @@ components: adminAccess: true tolerations: - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator driver: driver + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions pool: pool + shareID: shareID + consumedCapacity: + key: null device: device + bindingConditions: + - bindingConditions + - bindingConditions - request: request adminAccess: true tolerations: - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator driver: driver + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions pool: pool + shareID: shareID + consumedCapacity: + key: null device: device + bindingConditions: + - bindingConditions + - bindingConditions properties: config: description: |- @@ -251290,17 +260175,17 @@ components: This includes configuration parameters for drivers which have no allocated devices in the result because it is up to the drivers which configuration parameters they support. They can silently ignore unknown configuration parameters. items: - $ref: '#/components/schemas/v1alpha3.DeviceAllocationConfiguration' + $ref: '#/components/schemas/v1.DeviceAllocationConfiguration' type: array x-kubernetes-list-type: atomic results: description: Results lists all allocated devices. items: - $ref: '#/components/schemas/v1alpha3.DeviceRequestAllocationResult' + $ref: '#/components/schemas/v1.DeviceRequestAllocationResult' type: array x-kubernetes-list-type: atomic type: object - v1alpha3.DeviceAttribute: + v1.DeviceAttribute: description: DeviceAttribute must have exactly one field set. example: bool: true @@ -251323,134 +260208,211 @@ components: spec 2.0.0. Must not be longer than 64 characters. type: string type: object - v1alpha3.DeviceClaim: + v1.DeviceCapacity: + description: DeviceCapacity describes a quantity associated with a device. + example: + value: value + requestPolicy: + default: default + validRange: + min: min + max: max + step: step + validValues: + - null + - null + properties: + requestPolicy: + $ref: '#/components/schemas/v1.CapacityRequestPolicy' + value: + description: "Quantity is a fixed-point representation of a number. It provides\ + \ convenient marshaling/unmarshaling in JSON and YAML, in addition to\ + \ String() and AsInt64() accessors.\n\nThe serialization format is:\n\n\ + ``` ::= \n\n\t(Note that \ + \ may be empty, from the \"\" case in .)\n\n \ + \ ::= 0 | 1 | ... | 9 ::= | \ + \ ::= | . | . | .\ + \ ::= \"+\" | \"-\" ::= |\ + \ ::= | \ + \ | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t\ + (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\ + \n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that\ + \ 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n\ + \ ::= \"e\" | \"E\" ```\n\nNo matter which\ + \ of the three exponent forms is used, no quantity may represent a number\ + \ greater than 2^63-1 in magnitude, nor may it have more than 3 decimal\ + \ places. Numbers larger or more precise will be capped or rounded up.\ + \ (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future\ + \ if we require larger or smaller quantities.\n\nWhen a Quantity is parsed\ + \ from a string, it will remember the type of suffix it had, and will\ + \ use the same type again when it is serialized.\n\nBefore serializing,\ + \ Quantity will be put in \"canonical form\". This means that Exponent/suffix\ + \ will be adjusted up or down (with a corresponding increase or decrease\ + \ in Mantissa) such that:\n\n- No precision is lost - No fractional digits\ + \ will be emitted - The exponent (or suffix) is as large as possible.\n\ + \nThe sign will be omitted unless the number is negative.\n\nExamples:\n\ + \n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as\ + \ \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented\ + \ by a floating point number. That is the whole point of this exercise.\n\ + \nNon-canonical values will still parse as long as they are well formed,\ + \ but will be re-emitted in their canonical form. (So always use canonical\ + \ form, or don't diff.)\n\nThis format is intended to make it difficult\ + \ to use these numbers without writing some sort of special handling code\ + \ in the hopes that that will cause implementors to also use a fixed point\ + \ implementation." + format: quantity + type: string + required: + - value + type: object + v1.DeviceClaim: description: DeviceClaim defines how to request devices with a ResourceClaim. example: requests: - - allocationMode: allocationMode - deviceClassName: deviceClassName - adminAccess: true - tolerations: - - effect: effect - tolerationSeconds: 1 - value: value - key: key - operator: operator - - effect: effect - tolerationSeconds: 1 - value: value - key: key - operator: operator - firstAvailable: + - firstAvailable: - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - count: 6 + count: 1 name: name selectors: - cel: expression: expression - cel: expression: expression + capacity: + requests: + key: null - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - count: 6 + count: 1 name: name selectors: - cel: expression: expression - cel: expression: expression - count: 0 + capacity: + requests: + key: null name: name - selectors: - - cel: - expression: expression - - cel: - expression: expression - - allocationMode: allocationMode - deviceClassName: deviceClassName - adminAccess: true - tolerations: - - effect: effect - tolerationSeconds: 1 - value: value - key: key - operator: operator - - effect: effect - tolerationSeconds: 1 - value: value - key: key - operator: operator - firstAvailable: + exactly: + allocationMode: allocationMode + deviceClassName: deviceClassName + adminAccess: true + tolerations: + - effect: effect + tolerationSeconds: 6 + value: value + key: key + operator: operator + - effect: effect + tolerationSeconds: 6 + value: value + key: key + operator: operator + count: 0 + selectors: + - cel: + expression: expression + - cel: + expression: expression + capacity: + requests: + key: null + - firstAvailable: - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - count: 6 + count: 1 name: name selectors: - cel: expression: expression - cel: expression: expression + capacity: + requests: + key: null - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - count: 6 + count: 1 name: name selectors: - cel: expression: expression - cel: expression: expression - count: 0 + capacity: + requests: + key: null name: name - selectors: - - cel: - expression: expression - - cel: - expression: expression + exactly: + allocationMode: allocationMode + deviceClassName: deviceClassName + adminAccess: true + tolerations: + - effect: effect + tolerationSeconds: 6 + value: value + key: key + operator: operator + - effect: effect + tolerationSeconds: 6 + value: value + key: key + operator: operator + count: 0 + selectors: + - cel: + expression: expression + - cel: + expression: expression + capacity: + requests: + key: null config: - opaque: driver: driver @@ -251465,11 +260427,13 @@ components: - requests - requests constraints: - - matchAttribute: matchAttribute + - distinctAttribute: distinctAttribute + matchAttribute: matchAttribute requests: - requests - requests - - matchAttribute: matchAttribute + - distinctAttribute: distinctAttribute + matchAttribute: matchAttribute requests: - requests - requests @@ -251479,25 +260443,25 @@ components: which could satisfy requests in this claim. It is ignored while allocating the claim. items: - $ref: '#/components/schemas/v1alpha3.DeviceClaimConfiguration' + $ref: '#/components/schemas/v1.DeviceClaimConfiguration' type: array x-kubernetes-list-type: atomic constraints: description: These constraints must be satisfied by the set of devices that get allocated for the claim. items: - $ref: '#/components/schemas/v1alpha3.DeviceConstraint' + $ref: '#/components/schemas/v1.DeviceConstraint' type: array x-kubernetes-list-type: atomic requests: description: "Requests represent individual requests for distinct devices\ \ which must all be satisfied. If empty, nothing needs to be allocated." items: - $ref: '#/components/schemas/v1alpha3.DeviceRequest' + $ref: '#/components/schemas/v1.DeviceRequest' type: array x-kubernetes-list-type: atomic type: object - v1alpha3.DeviceClaimConfiguration: + v1.DeviceClaimConfiguration: description: DeviceClaimConfiguration is used for configuration parameters in DeviceClaim. example: @@ -251509,7 +260473,7 @@ components: - requests properties: opaque: - $ref: '#/components/schemas/v1alpha3.OpaqueDeviceConfiguration' + $ref: '#/components/schemas/v1.OpaqueDeviceConfiguration' requests: description: |- Requests lists the names of requests where the configuration applies. If empty, it applies to all requests. @@ -251520,7 +260484,7 @@ components: type: array x-kubernetes-list-type: atomic type: object - v1alpha3.DeviceClass: + v1.DeviceClass: description: |- DeviceClass is a vendor- or admin-provided resource that contains device configuration and selectors. It can be referenced in the device requests of a claim to apply these presets. Cluster scoped. @@ -251575,6 +260539,7 @@ components: apiVersion: apiVersion kind: kind spec: + extendedResourceName: extendedResourceName selectors: - cel: expression: expression @@ -251601,17 +260566,17 @@ components: metadata: $ref: '#/components/schemas/v1.ObjectMeta' spec: - $ref: '#/components/schemas/v1alpha3.DeviceClassSpec' + $ref: '#/components/schemas/v1.DeviceClassSpec' required: - spec type: object x-kubernetes-group-version-kind: - group: resource.k8s.io kind: DeviceClass - version: v1alpha3 + version: v1 x-implements: - io.kubernetes.client.common.KubernetesObject - v1alpha3.DeviceClassConfiguration: + v1.DeviceClassConfiguration: description: DeviceClassConfiguration is used in DeviceClass. example: opaque: @@ -251619,9 +260584,9 @@ components: parameters: "{}" properties: opaque: - $ref: '#/components/schemas/v1alpha3.OpaqueDeviceConfiguration' + $ref: '#/components/schemas/v1.OpaqueDeviceConfiguration' type: object - v1alpha3.DeviceClassList: + v1.DeviceClassList: description: DeviceClassList is a collection of classes. example: metadata: @@ -251681,6 +260646,7 @@ components: apiVersion: apiVersion kind: kind spec: + extendedResourceName: extendedResourceName selectors: - cel: expression: expression @@ -251742,6 +260708,7 @@ components: apiVersion: apiVersion kind: kind spec: + extendedResourceName: extendedResourceName selectors: - cel: expression: expression @@ -251763,7 +260730,7 @@ components: items: description: Items is the list of resource classes. items: - $ref: '#/components/schemas/v1alpha3.DeviceClass' + $ref: '#/components/schemas/v1.DeviceClass' type: array kind: description: "Kind is a string value representing the REST resource this\ @@ -251778,13 +260745,14 @@ components: x-kubernetes-group-version-kind: - group: resource.k8s.io kind: DeviceClassList - version: v1alpha3 + version: v1 x-implements: - io.kubernetes.client.common.KubernetesListObject - v1alpha3.DeviceClassSpec: + v1.DeviceClassSpec: description: "DeviceClassSpec is used in a [DeviceClass] to define what can\ \ be allocated and how to configure it." example: + extendedResourceName: extendedResourceName selectors: - cel: expression: expression @@ -251804,25 +260772,42 @@ components: They are passed to the driver, but are not considered while allocating the claim. items: - $ref: '#/components/schemas/v1alpha3.DeviceClassConfiguration' + $ref: '#/components/schemas/v1.DeviceClassConfiguration' type: array x-kubernetes-list-type: atomic + extendedResourceName: + description: |- + 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. It has the same format as the name of a pod's extended resource. It should be unique among all the device classes in a cluster. If two device classes have the same name, then the class created later is picked to satisfy a pod's extended resource requests. 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. + type: string selectors: description: Each selector must be satisfied by a device which is claimed via this class. items: - $ref: '#/components/schemas/v1alpha3.DeviceSelector' + $ref: '#/components/schemas/v1.DeviceSelector' type: array x-kubernetes-list-type: atomic type: object - v1alpha3.DeviceConstraint: + v1.DeviceConstraint: description: DeviceConstraint must have exactly one field set besides Requests. example: + distinctAttribute: distinctAttribute matchAttribute: matchAttribute requests: - requests - requests properties: + distinctAttribute: + description: |- + DistinctAttribute requires that all devices in question have this attribute and that its type and value are unique across those devices. + + This acts as the inverse of MatchAttribute. + + This constraint is used to avoid allocating multiple requests to the same device by ensuring attribute-level differentiation. + + 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. + type: string matchAttribute: description: |- MatchAttribute requires that all devices in question have this attribute and that its type and value are the same across those devices. @@ -251841,7 +260826,7 @@ components: type: array x-kubernetes-list-type: atomic type: object - v1alpha3.DeviceCounterConsumption: + v1.DeviceCounterConsumption: description: DeviceCounterConsumption defines a set of counters that a device will consume from a CounterSet. example: @@ -251851,14 +260836,14 @@ components: counterSet: counterSet properties: counterSet: - description: CounterSet defines the set from which the counters defined + description: CounterSet is the name of the set from which the counters defined will be consumed. type: string counters: additionalProperties: - $ref: '#/components/schemas/v1alpha3.Counter' + $ref: '#/components/schemas/v1.Counter' description: |- - Counters defines the Counter that will be consumed by the device. + Counters defines the counters that will be consumed by the device. The maximum number counters in a device is 32. In addition, the maximum number of all counters in all devices is 1024 (for example, 64 devices with 16 counters each). type: object @@ -251866,163 +260851,108 @@ components: - counterSet - counters type: object - v1alpha3.DeviceRequest: + v1.DeviceRequest: description: "DeviceRequest is a request for devices required for a claim. This\ \ is typically a request for a single resource like a device, but can also\ - \ ask for several identical devices." + \ ask for several identical devices. With FirstAvailable it is also possible\ + \ to provide a prioritized list of requests." example: - allocationMode: allocationMode - deviceClassName: deviceClassName - adminAccess: true - tolerations: - - effect: effect - tolerationSeconds: 1 - value: value - key: key - operator: operator - - effect: effect - tolerationSeconds: 1 - value: value - key: key - operator: operator firstAvailable: - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - count: 6 + count: 1 name: name selectors: - cel: expression: expression - cel: expression: expression + capacity: + requests: + key: null - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - count: 6 + count: 1 name: name selectors: - cel: expression: expression - cel: expression: expression - count: 0 + capacity: + requests: + key: null name: name - selectors: - - cel: - expression: expression - - cel: - expression: expression + exactly: + allocationMode: allocationMode + deviceClassName: deviceClassName + adminAccess: true + tolerations: + - effect: effect + tolerationSeconds: 6 + value: value + key: key + operator: operator + - effect: effect + tolerationSeconds: 6 + value: value + key: key + operator: operator + count: 0 + selectors: + - cel: + expression: expression + - cel: + expression: expression + capacity: + requests: + key: null properties: - adminAccess: - description: |- - AdminAccess indicates that this is a claim for administrative access to the device(s). Claims with AdminAccess are expected to be used for monitoring or other management services for a device. They ignore all ordinary claims to the device with respect to access modes and any resource allocations. - - This field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list. - - This is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled. - type: boolean - allocationMode: - description: |- - AllocationMode and its related fields define how devices are allocated to satisfy this request. Supported values are: - - - ExactCount: This request is for a specific number of devices. - This is the default. The exact number is provided in the - count field. - - - All: This request is for all of the matching devices in a pool. - At least one device must exist on the node for the allocation to succeed. - Allocation will fail if some devices are already allocated, - unless adminAccess is requested. - - If AllocationMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other requests must specify this field. - - This field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list. - - More modes may get added in the future. Clients must refuse to handle requests with unknown modes. - type: string - count: - description: |- - 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. - - This field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list. - format: int64 - type: integer - deviceClassName: - description: |- - DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this request. - - A class is required if no subrequests are specified in the firstAvailable list and no class can be set if subrequests are specified in the firstAvailable list. Which classes are available depends on the cluster. - - Administrators may use this to restrict which devices may get requested by only installing classes with selectors for permitted devices. If users are free to request anything without restrictions, then administrators can create an empty DeviceClass for users to reference. - type: string + exactly: + $ref: '#/components/schemas/v1.ExactDeviceRequest' firstAvailable: description: |- - FirstAvailable contains subrequests, of which exactly one will be satisfied by the scheduler to satisfy this request. It tries to satisfy them in the order in which they are listed here. So if there are two entries in the list, the scheduler will only check the second one if it determines that the first one cannot be used. - - This field may only be set in the entries of DeviceClaim.Requests. + FirstAvailable contains subrequests, of which exactly one will be selected by the scheduler. It tries to satisfy them in the order in which they are listed here. So if there are two entries in the list, the scheduler will only check the second one if it determines that the first one can not be used. DRA does not yet implement scoring, so the scheduler will select the first set of devices that satisfies all the requests in the claim. And if the requirements can be satisfied on more than one node, other scheduling features 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. items: - $ref: '#/components/schemas/v1alpha3.DeviceSubRequest' + $ref: '#/components/schemas/v1.DeviceSubRequest' type: array x-kubernetes-list-type: atomic name: description: |- Name can be used to reference this request in a pod.spec.containers[].resources.claims entry and in a constraint of the claim. + References using the name in the DeviceRequest will uniquely identify a request when the Exactly field is set. When the FirstAvailable field is set, a reference to the name of the DeviceRequest will match whatever subrequest is chosen by the scheduler. + Must be a DNS label. type: string - selectors: - description: |- - Selectors define criteria which must be satisfied by a specific device in order for that device to be considered for this request. All selectors must be satisfied for a device to be considered. - - This field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list. - items: - $ref: '#/components/schemas/v1alpha3.DeviceSelector' - type: array - x-kubernetes-list-type: atomic - tolerations: - description: |- - If specified, the request's tolerations. - - Tolerations for NoSchedule are required to allocate a device which has a taint with that effect. The same applies to NoExecute. - - In addition, should any of the allocated devices get tainted with NoExecute after allocation and that effect is not tolerated, then all pods consuming the ResourceClaim get deleted to evict them. The scheduler will not let new pods reserve the claim while it has these tainted devices. Once all pods are evicted, the claim will get deallocated. - - The maximum number of tolerations is 16. - - This field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list. - - This is an alpha field and requires enabling the DRADeviceTaints feature gate. - items: - $ref: '#/components/schemas/v1alpha3.DeviceToleration' - type: array - x-kubernetes-list-type: atomic required: - name type: object - v1alpha3.DeviceRequestAllocationResult: + v1.DeviceRequestAllocationResult: description: DeviceRequestAllocationResult contains the allocation result for one request. example: @@ -252030,18 +260960,27 @@ components: adminAccess: true tolerations: - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator driver: driver + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions pool: pool + shareID: shareID + consumedCapacity: + key: null device: device + bindingConditions: + - bindingConditions + - bindingConditions properties: adminAccess: description: |- @@ -252049,6 +260988,34 @@ components: This is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled. type: boolean + bindingConditions: + description: |- + 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 feature gates. + items: + type: string + type: array + x-kubernetes-list-type: atomic + bindingFailureConditions: + description: |- + 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 feature gates. + items: + type: string + type: array + x-kubernetes-list-type: atomic + consumedCapacity: + additionalProperties: + $ref: '#/components/schemas/resource.Quantity' + description: |- + 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 value based on the device’s requestPolicy if applicable (i.e., may not be less than the requested amount). + + The total consumed capacity for each device must not exceed the DeviceCapacity's Value. + + This field is populated only for devices that allow multiple allocations. All capacity entries are included, even if the consumed amount is zero. + type: object device: description: Device references one device instance via its name in the driver's resource pool. It must be a DNS label. @@ -252071,6 +261038,12 @@ components: Multiple devices may have been allocated per request. type: string + shareID: + description: "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." + type: string tolerations: description: |- A copy of all tolerations specified in the request at the time when the device got allocated. @@ -252079,7 +261052,7 @@ components: This is an alpha field and requires enabling the DRADeviceTaints feature gate. items: - $ref: '#/components/schemas/v1alpha3.DeviceToleration' + $ref: '#/components/schemas/v1.DeviceToleration' type: array x-kubernetes-list-type: atomic required: @@ -252088,58 +261061,63 @@ components: - pool - request type: object - v1alpha3.DeviceSelector: + v1.DeviceSelector: description: DeviceSelector must have exactly one field set. example: cel: expression: expression properties: cel: - $ref: '#/components/schemas/v1alpha3.CELDeviceSelector' + $ref: '#/components/schemas/v1.CELDeviceSelector' type: object - v1alpha3.DeviceSubRequest: + v1.DeviceSubRequest: description: |- DeviceSubRequest describes a request for device provided in the claim.spec.devices.requests[].firstAvailable array. Each is typically a request for a single resource like a device, but can also ask for several identical devices. - DeviceSubRequest is similar to Request, but doesn't expose the AdminAccess or FirstAvailable fields, as those can only be set on the top-level request. AdminAccess is not supported for requests with a prioritized list, and recursive FirstAvailable fields are not supported. + DeviceSubRequest is similar to ExactDeviceRequest, but doesn't expose the AdminAccess field as that one is only supported when requesting a specific device. example: allocationMode: allocationMode deviceClassName: deviceClassName tolerations: - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - count: 6 + count: 1 name: name selectors: - cel: expression: expression - cel: expression: expression + capacity: + requests: + key: null properties: allocationMode: description: |- - AllocationMode and its related fields define how devices are allocated to satisfy this request. Supported values are: + AllocationMode and its related fields define how devices are allocated to satisfy this subrequest. Supported values are: - ExactCount: This request is for a specific number of devices. This is the default. The exact number is provided in the count field. - - All: This request is for all of the matching devices in a pool. + - All: This subrequest is for all of the matching devices in a pool. Allocation will fail if some devices are already allocated, unless adminAccess is requested. - If AllocationMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other requests must specify this field. + If AllocationMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other subrequests must specify this field. More modes may get added in the future. Clients must refuse to handle requests with unknown modes. type: string + capacity: + $ref: '#/components/schemas/v1.CapacityRequirements' count: description: "Count is used only when the count mode is \"ExactCount\".\ \ Must be greater than zero. If AllocationMode is ExactCount and this\ @@ -252162,10 +261140,10 @@ components: type: string selectors: description: Selectors define criteria which must be satisfied by a specific - device in order for that device to be considered for this request. All - selectors must be satisfied for a device to be considered. + device in order for that device to be considered for this subrequest. + All selectors must be satisfied for a device to be considered. items: - $ref: '#/components/schemas/v1alpha3.DeviceSelector' + $ref: '#/components/schemas/v1.DeviceSelector' type: array x-kubernetes-list-type: atomic tolerations: @@ -252180,14 +261158,14 @@ components: This is an alpha field and requires enabling the DRADeviceTaints feature gate. items: - $ref: '#/components/schemas/v1alpha3.DeviceToleration' + $ref: '#/components/schemas/v1.DeviceToleration' type: array x-kubernetes-list-type: atomic required: - deviceClassName - name type: object - v1alpha3.DeviceTaint: + v1.DeviceTaint: description: "The device this taint is attached to has the \"effect\" on any\ \ claim which does not tolerate the taint and, through the claim, to pods\ \ using the claim." @@ -252219,342 +261197,13 @@ components: - effect - key type: object - v1alpha3.DeviceTaintRule: - description: DeviceTaintRule adds one taint to all devices which match the selector. - This has the same effect as if the taint was specified directly in the ResourceSlice - by the DRA driver. - example: - metadata: - generation: 6 - finalizers: - - finalizers - - finalizers - resourceVersion: resourceVersion - annotations: - key: annotations - generateName: generateName - deletionTimestamp: 2000-01-23T04:56:07.000+00:00 - labels: - key: labels - ownerReferences: - - uid: uid - controller: true - apiVersion: apiVersion - kind: kind - name: name - blockOwnerDeletion: true - - uid: uid - controller: true - apiVersion: apiVersion - kind: kind - name: name - blockOwnerDeletion: true - selfLink: selfLink - deletionGracePeriodSeconds: 0 - uid: uid - managedFields: - - apiVersion: apiVersion - fieldsV1: "{}" - manager: manager - subresource: subresource - time: 2000-01-23T04:56:07.000+00:00 - operation: operation - fieldsType: fieldsType - - apiVersion: apiVersion - fieldsV1: "{}" - manager: manager - subresource: subresource - time: 2000-01-23T04:56:07.000+00:00 - operation: operation - fieldsType: fieldsType - creationTimestamp: 2000-01-23T04:56:07.000+00:00 - name: name - namespace: namespace - apiVersion: apiVersion - kind: kind - spec: - taint: - timeAdded: 2000-01-23T04:56:07.000+00:00 - effect: effect - value: value - key: key - deviceSelector: - deviceClassName: deviceClassName - driver: driver - pool: pool - selectors: - - cel: - expression: expression - - cel: - expression: expression - device: device - properties: - apiVersion: - description: "APIVersion defines the versioned schema of this representation\ - \ of an object. Servers should convert recognized schemas to the latest\ - \ internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources" - type: string - kind: - description: "Kind is a string value representing the REST resource this\ - \ object represents. Servers may infer this from the endpoint the client\ - \ submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" - type: string - metadata: - $ref: '#/components/schemas/v1.ObjectMeta' - spec: - $ref: '#/components/schemas/v1alpha3.DeviceTaintRuleSpec' - required: - - spec - type: object - x-kubernetes-group-version-kind: - - group: resource.k8s.io - kind: DeviceTaintRule - version: v1alpha3 - x-implements: - - io.kubernetes.client.common.KubernetesObject - v1alpha3.DeviceTaintRuleList: - description: DeviceTaintRuleList is a collection of DeviceTaintRules. - example: - metadata: - remainingItemCount: 1 - continue: continue - resourceVersion: resourceVersion - selfLink: selfLink - apiVersion: apiVersion - kind: kind - items: - - metadata: - generation: 6 - finalizers: - - finalizers - - finalizers - resourceVersion: resourceVersion - annotations: - key: annotations - generateName: generateName - deletionTimestamp: 2000-01-23T04:56:07.000+00:00 - labels: - key: labels - ownerReferences: - - uid: uid - controller: true - apiVersion: apiVersion - kind: kind - name: name - blockOwnerDeletion: true - - uid: uid - controller: true - apiVersion: apiVersion - kind: kind - name: name - blockOwnerDeletion: true - selfLink: selfLink - deletionGracePeriodSeconds: 0 - uid: uid - managedFields: - - apiVersion: apiVersion - fieldsV1: "{}" - manager: manager - subresource: subresource - time: 2000-01-23T04:56:07.000+00:00 - operation: operation - fieldsType: fieldsType - - apiVersion: apiVersion - fieldsV1: "{}" - manager: manager - subresource: subresource - time: 2000-01-23T04:56:07.000+00:00 - operation: operation - fieldsType: fieldsType - creationTimestamp: 2000-01-23T04:56:07.000+00:00 - name: name - namespace: namespace - apiVersion: apiVersion - kind: kind - spec: - taint: - timeAdded: 2000-01-23T04:56:07.000+00:00 - effect: effect - value: value - key: key - deviceSelector: - deviceClassName: deviceClassName - driver: driver - pool: pool - selectors: - - cel: - expression: expression - - cel: - expression: expression - device: device - - metadata: - generation: 6 - finalizers: - - finalizers - - finalizers - resourceVersion: resourceVersion - annotations: - key: annotations - generateName: generateName - deletionTimestamp: 2000-01-23T04:56:07.000+00:00 - labels: - key: labels - ownerReferences: - - uid: uid - controller: true - apiVersion: apiVersion - kind: kind - name: name - blockOwnerDeletion: true - - uid: uid - controller: true - apiVersion: apiVersion - kind: kind - name: name - blockOwnerDeletion: true - selfLink: selfLink - deletionGracePeriodSeconds: 0 - uid: uid - managedFields: - - apiVersion: apiVersion - fieldsV1: "{}" - manager: manager - subresource: subresource - time: 2000-01-23T04:56:07.000+00:00 - operation: operation - fieldsType: fieldsType - - apiVersion: apiVersion - fieldsV1: "{}" - manager: manager - subresource: subresource - time: 2000-01-23T04:56:07.000+00:00 - operation: operation - fieldsType: fieldsType - creationTimestamp: 2000-01-23T04:56:07.000+00:00 - name: name - namespace: namespace - apiVersion: apiVersion - kind: kind - spec: - taint: - timeAdded: 2000-01-23T04:56:07.000+00:00 - effect: effect - value: value - key: key - deviceSelector: - deviceClassName: deviceClassName - driver: driver - pool: pool - selectors: - - cel: - expression: expression - - cel: - expression: expression - device: device - properties: - apiVersion: - description: "APIVersion defines the versioned schema of this representation\ - \ of an object. Servers should convert recognized schemas to the latest\ - \ internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources" - type: string - items: - description: Items is the list of DeviceTaintRules. - items: - $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' - type: array - kind: - description: "Kind is a string value representing the REST resource this\ - \ object represents. Servers may infer this from the endpoint the client\ - \ submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" - type: string - metadata: - $ref: '#/components/schemas/v1.ListMeta' - required: - - items - type: object - x-kubernetes-group-version-kind: - - group: resource.k8s.io - kind: DeviceTaintRuleList - version: v1alpha3 - x-implements: - - io.kubernetes.client.common.KubernetesListObject - v1alpha3.DeviceTaintRuleSpec: - description: DeviceTaintRuleSpec specifies the selector and one taint. - example: - taint: - timeAdded: 2000-01-23T04:56:07.000+00:00 - effect: effect - value: value - key: key - deviceSelector: - deviceClassName: deviceClassName - driver: driver - pool: pool - selectors: - - cel: - expression: expression - - cel: - expression: expression - device: device - properties: - deviceSelector: - $ref: '#/components/schemas/v1alpha3.DeviceTaintSelector' - taint: - $ref: '#/components/schemas/v1alpha3.DeviceTaint' - required: - - taint - type: object - v1alpha3.DeviceTaintSelector: - description: "DeviceTaintSelector defines which device(s) a DeviceTaintRule\ - \ applies to. The empty selector matches all devices. Without a selector,\ - \ no devices are matched." - example: - deviceClassName: deviceClassName - driver: driver - pool: pool - selectors: - - cel: - expression: expression - - cel: - expression: expression - device: device - properties: - device: - description: |- - If device is set, only devices with that name are selected. This field corresponds to slice.spec.devices[].name. - - Setting also driver and pool may be required to avoid ambiguity, but is not required. - type: string - deviceClassName: - description: "If DeviceClassName is set, the selectors defined there must\ - \ be satisfied by a device to be selected. This field corresponds to class.metadata.name." - type: string - driver: - description: "If driver is set, only devices from that driver are selected.\ - \ This fields corresponds to slice.spec.driver." - type: string - pool: - description: |- - If pool is set, only devices in that pool are selected. - - Also setting the driver name may be useful to avoid ambiguity when different drivers use the same pool name, but this is not required because selecting pools from different drivers may also be useful, for example when drivers with node-local devices use the node name as their pool name. - type: string - selectors: - description: "Selectors contains the same selection criteria as a ResourceClaim.\ - \ Currently, CEL expressions are supported. All of these selectors must\ - \ be satisfied." - items: - $ref: '#/components/schemas/v1alpha3.DeviceSelector' - type: array - x-kubernetes-list-type: atomic - type: object - v1alpha3.DeviceToleration: + v1.DeviceToleration: description: "The ResourceClaim this DeviceToleration is attached to tolerates\ \ any taint that matches the triple using the matching\ \ operator ." example: effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator @@ -252592,7 +261241,99 @@ components: \ string. Must be a label value." type: string type: object - v1alpha3.NetworkDeviceData: + v1.ExactDeviceRequest: + description: ExactDeviceRequest is a request for one or more identical devices. + example: + allocationMode: allocationMode + deviceClassName: deviceClassName + adminAccess: true + tolerations: + - effect: effect + tolerationSeconds: 6 + value: value + key: key + operator: operator + - effect: effect + tolerationSeconds: 6 + value: value + key: key + operator: operator + count: 0 + selectors: + - cel: + expression: expression + - cel: + expression: expression + capacity: + requests: + key: null + properties: + adminAccess: + description: |- + AdminAccess indicates that this is a claim for administrative access to the device(s). Claims with AdminAccess are expected to be used for monitoring or other management services for a device. They ignore all ordinary claims to the device with respect to access modes and any resource allocations. + + This is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled. + type: boolean + allocationMode: + description: |- + AllocationMode and its related fields define how devices are allocated to satisfy this request. Supported values are: + + - ExactCount: This request is for a specific number of devices. + This is the default. The exact number is provided in the + count field. + + - All: This request is for all of the matching devices in a pool. + At least one device must exist on the node for the allocation to succeed. + Allocation will fail if some devices are already allocated, + unless adminAccess is requested. + + If AllocationMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other requests must specify this field. + + More modes may get added in the future. Clients must refuse to handle requests with unknown modes. + type: string + capacity: + $ref: '#/components/schemas/v1.CapacityRequirements' + count: + description: "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." + format: int64 + type: integer + deviceClassName: + description: |- + DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this request. + + A DeviceClassName is required. + + Administrators may use this to restrict which devices may get requested by only installing classes with selectors for permitted devices. If users are free to request anything without restrictions, then administrators can create an empty DeviceClass for users to reference. + type: string + selectors: + description: Selectors define criteria which must be satisfied by a specific + device in order for that device to be considered for this request. All + selectors must be satisfied for a device to be considered. + items: + $ref: '#/components/schemas/v1.DeviceSelector' + type: array + x-kubernetes-list-type: atomic + tolerations: + description: |- + If specified, the request's tolerations. + + Tolerations for NoSchedule are required to allocate a device which has a taint with that effect. The same applies to NoExecute. + + In addition, should any of the allocated devices get tainted with NoExecute after allocation and that effect is not tolerated, then all pods consuming the ResourceClaim get deleted to evict them. The scheduler will not let new pods reserve the claim while it has these tainted devices. Once all pods are evicted, the claim will get deallocated. + + The maximum number of tolerations is 16. + + This is an alpha field and requires enabling the DRADeviceTaints feature gate. + items: + $ref: '#/components/schemas/v1.DeviceToleration' + type: array + x-kubernetes-list-type: atomic + required: + - deviceClassName + type: object + v1.NetworkDeviceData: description: NetworkDeviceData provides network-related details for the allocated device. This information may be filled by drivers or other components to configure or identify the device within a network context. @@ -252616,16 +261357,17 @@ components: Must not be longer than 256 characters. type: string ips: - description: |- - IPs lists the network addresses assigned to the device's network interface. This can include both IPv4 and IPv6 addresses. The IPs are in the CIDR notation, which includes both the address and the associated subnet mask. e.g.: "192.0.2.5/24" for IPv4 and "2001:db8::5/64" for IPv6. - - Must not contain more than 16 entries. + description: "IPs lists the network addresses assigned to the device's network\ + \ interface. This can include both IPv4 and IPv6 addresses. The IPs are\ + \ in the CIDR notation, which includes both the address and the associated\ + \ subnet mask. e.g.: \"192.0.2.5/24\" for IPv4 and \"2001:db8::5/64\"\ + \ for IPv6." items: type: string type: array x-kubernetes-list-type: atomic type: object - v1alpha3.OpaqueDeviceConfiguration: + v1.OpaqueDeviceConfiguration: description: OpaqueDeviceConfiguration contains configuration parameters for a driver in a format defined by the driver vendor. example: @@ -252651,7 +261393,7 @@ components: - driver - parameters type: object - v1alpha3.ResourceClaim: + resource.v1.ResourceClaim: description: |- ResourceClaim describes a request for access to resources in the cluster, for use by workloads. For example, if a workload needs an accelerator device with specific properties, this is how that request is expressed. The status stanza tracks whether this claim has been satisfied and what specific resources have been allocated. @@ -252708,130 +261450,150 @@ components: spec: devices: requests: - - allocationMode: allocationMode - deviceClassName: deviceClassName - adminAccess: true - tolerations: - - effect: effect - tolerationSeconds: 1 - value: value - key: key - operator: operator - - effect: effect - tolerationSeconds: 1 - value: value - key: key - operator: operator - firstAvailable: + - firstAvailable: - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - count: 6 + count: 1 name: name selectors: - cel: expression: expression - cel: expression: expression + capacity: + requests: + key: null - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - count: 6 + count: 1 name: name selectors: - cel: expression: expression - cel: expression: expression - count: 0 + capacity: + requests: + key: null name: name - selectors: - - cel: - expression: expression - - cel: - expression: expression - - allocationMode: allocationMode - deviceClassName: deviceClassName - adminAccess: true - tolerations: - - effect: effect - tolerationSeconds: 1 - value: value - key: key - operator: operator - - effect: effect - tolerationSeconds: 1 - value: value - key: key - operator: operator - firstAvailable: + exactly: + allocationMode: allocationMode + deviceClassName: deviceClassName + adminAccess: true + tolerations: + - effect: effect + tolerationSeconds: 6 + value: value + key: key + operator: operator + - effect: effect + tolerationSeconds: 6 + value: value + key: key + operator: operator + count: 0 + selectors: + - cel: + expression: expression + - cel: + expression: expression + capacity: + requests: + key: null + - firstAvailable: - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - count: 6 + count: 1 name: name selectors: - cel: expression: expression - cel: expression: expression + capacity: + requests: + key: null - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - count: 6 + count: 1 name: name selectors: - cel: expression: expression - cel: expression: expression - count: 0 + capacity: + requests: + key: null name: name - selectors: - - cel: - expression: expression - - cel: - expression: expression + exactly: + allocationMode: allocationMode + deviceClassName: deviceClassName + adminAccess: true + tolerations: + - effect: effect + tolerationSeconds: 6 + value: value + key: key + operator: operator + - effect: effect + tolerationSeconds: 6 + value: value + key: key + operator: operator + count: 0 + selectors: + - cel: + expression: expression + - cel: + expression: expression + capacity: + requests: + key: null config: - opaque: driver: driver @@ -252846,16 +261608,19 @@ components: - requests - requests constraints: - - matchAttribute: matchAttribute + - distinctAttribute: distinctAttribute + matchAttribute: matchAttribute requests: - requests - requests - - matchAttribute: matchAttribute + - distinctAttribute: distinctAttribute + matchAttribute: matchAttribute requests: - requests - requests status: allocation: + allocationTimestamp: 2000-01-23T04:56:07.000+00:00 devices: config: - opaque: @@ -252877,34 +261642,52 @@ components: adminAccess: true tolerations: - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator driver: driver + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions pool: pool + shareID: shareID + consumedCapacity: + key: null device: device + bindingConditions: + - bindingConditions + - bindingConditions - request: request adminAccess: true tolerations: - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator driver: driver + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions pool: pool + shareID: shareID + consumedCapacity: + key: null device: device + bindingConditions: + - bindingConditions + - bindingConditions nodeSelector: nodeSelectorTerms: - matchExpressions: @@ -252970,6 +261753,7 @@ components: - ips - ips pool: pool + shareID: shareID conditions: - reason: reason lastTransitionTime: 2000-01-23T04:56:07.000+00:00 @@ -252993,6 +261777,7 @@ components: - ips - ips pool: pool + shareID: shareID conditions: - reason: reason lastTransitionTime: 2000-01-23T04:56:07.000+00:00 @@ -253021,19 +261806,19 @@ components: metadata: $ref: '#/components/schemas/v1.ObjectMeta' spec: - $ref: '#/components/schemas/v1alpha3.ResourceClaimSpec' + $ref: '#/components/schemas/v1.ResourceClaimSpec' status: - $ref: '#/components/schemas/v1alpha3.ResourceClaimStatus' + $ref: '#/components/schemas/v1.ResourceClaimStatus' required: - spec type: object x-kubernetes-group-version-kind: - group: resource.k8s.io kind: ResourceClaim - version: v1alpha3 + version: v1 x-implements: - io.kubernetes.client.common.KubernetesObject - v1alpha3.ResourceClaimConsumerReference: + v1.ResourceClaimConsumerReference: description: ResourceClaimConsumerReference contains enough information to let you locate the consumer of a ResourceClaim. The user must be a resource in the same namespace as the ResourceClaim. @@ -253063,7 +261848,7 @@ components: - resource - uid type: object - v1alpha3.ResourceClaimList: + v1.ResourceClaimList: description: ResourceClaimList is a collection of claims. example: metadata: @@ -253125,130 +261910,150 @@ components: spec: devices: requests: - - allocationMode: allocationMode - deviceClassName: deviceClassName - adminAccess: true - tolerations: - - effect: effect - tolerationSeconds: 1 - value: value - key: key - operator: operator - - effect: effect - tolerationSeconds: 1 - value: value - key: key - operator: operator - firstAvailable: + - firstAvailable: - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - count: 6 + count: 1 name: name selectors: - cel: expression: expression - cel: expression: expression + capacity: + requests: + key: null - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - count: 6 + count: 1 name: name selectors: - cel: expression: expression - cel: expression: expression - count: 0 + capacity: + requests: + key: null name: name - selectors: - - cel: - expression: expression - - cel: - expression: expression - - allocationMode: allocationMode - deviceClassName: deviceClassName - adminAccess: true - tolerations: - - effect: effect - tolerationSeconds: 1 - value: value - key: key - operator: operator - - effect: effect - tolerationSeconds: 1 - value: value - key: key - operator: operator - firstAvailable: + exactly: + allocationMode: allocationMode + deviceClassName: deviceClassName + adminAccess: true + tolerations: + - effect: effect + tolerationSeconds: 6 + value: value + key: key + operator: operator + - effect: effect + tolerationSeconds: 6 + value: value + key: key + operator: operator + count: 0 + selectors: + - cel: + expression: expression + - cel: + expression: expression + capacity: + requests: + key: null + - firstAvailable: - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - count: 6 + count: 1 name: name selectors: - cel: expression: expression - cel: expression: expression + capacity: + requests: + key: null - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - count: 6 + count: 1 name: name selectors: - cel: expression: expression - cel: expression: expression - count: 0 + capacity: + requests: + key: null name: name - selectors: - - cel: - expression: expression - - cel: - expression: expression + exactly: + allocationMode: allocationMode + deviceClassName: deviceClassName + adminAccess: true + tolerations: + - effect: effect + tolerationSeconds: 6 + value: value + key: key + operator: operator + - effect: effect + tolerationSeconds: 6 + value: value + key: key + operator: operator + count: 0 + selectors: + - cel: + expression: expression + - cel: + expression: expression + capacity: + requests: + key: null config: - opaque: driver: driver @@ -253263,16 +262068,19 @@ components: - requests - requests constraints: - - matchAttribute: matchAttribute + - distinctAttribute: distinctAttribute + matchAttribute: matchAttribute requests: - requests - requests - - matchAttribute: matchAttribute + - distinctAttribute: distinctAttribute + matchAttribute: matchAttribute requests: - requests - requests status: allocation: + allocationTimestamp: 2000-01-23T04:56:07.000+00:00 devices: config: - opaque: @@ -253294,34 +262102,52 @@ components: adminAccess: true tolerations: - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator driver: driver + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions pool: pool + shareID: shareID + consumedCapacity: + key: null device: device + bindingConditions: + - bindingConditions + - bindingConditions - request: request adminAccess: true tolerations: - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator driver: driver + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions pool: pool + shareID: shareID + consumedCapacity: + key: null device: device + bindingConditions: + - bindingConditions + - bindingConditions nodeSelector: nodeSelectorTerms: - matchExpressions: @@ -253387,6 +262213,7 @@ components: - ips - ips pool: pool + shareID: shareID conditions: - reason: reason lastTransitionTime: 2000-01-23T04:56:07.000+00:00 @@ -253410,6 +262237,7 @@ components: - ips - ips pool: pool + shareID: shareID conditions: - reason: reason lastTransitionTime: 2000-01-23T04:56:07.000+00:00 @@ -253475,130 +262303,150 @@ components: spec: devices: requests: - - allocationMode: allocationMode - deviceClassName: deviceClassName - adminAccess: true - tolerations: - - effect: effect - tolerationSeconds: 1 - value: value - key: key - operator: operator - - effect: effect - tolerationSeconds: 1 - value: value - key: key - operator: operator - firstAvailable: + - firstAvailable: - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - count: 6 + count: 1 name: name selectors: - cel: expression: expression - cel: expression: expression + capacity: + requests: + key: null - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - count: 6 + count: 1 name: name selectors: - cel: expression: expression - cel: expression: expression - count: 0 + capacity: + requests: + key: null name: name - selectors: - - cel: - expression: expression - - cel: - expression: expression - - allocationMode: allocationMode - deviceClassName: deviceClassName - adminAccess: true - tolerations: - - effect: effect - tolerationSeconds: 1 - value: value - key: key - operator: operator - - effect: effect - tolerationSeconds: 1 - value: value - key: key - operator: operator - firstAvailable: + exactly: + allocationMode: allocationMode + deviceClassName: deviceClassName + adminAccess: true + tolerations: + - effect: effect + tolerationSeconds: 6 + value: value + key: key + operator: operator + - effect: effect + tolerationSeconds: 6 + value: value + key: key + operator: operator + count: 0 + selectors: + - cel: + expression: expression + - cel: + expression: expression + capacity: + requests: + key: null + - firstAvailable: - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - count: 6 + count: 1 name: name selectors: - cel: expression: expression - cel: expression: expression + capacity: + requests: + key: null - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - count: 6 + count: 1 name: name selectors: - cel: expression: expression - cel: expression: expression - count: 0 + capacity: + requests: + key: null name: name - selectors: - - cel: - expression: expression - - cel: - expression: expression + exactly: + allocationMode: allocationMode + deviceClassName: deviceClassName + adminAccess: true + tolerations: + - effect: effect + tolerationSeconds: 6 + value: value + key: key + operator: operator + - effect: effect + tolerationSeconds: 6 + value: value + key: key + operator: operator + count: 0 + selectors: + - cel: + expression: expression + - cel: + expression: expression + capacity: + requests: + key: null config: - opaque: driver: driver @@ -253613,16 +262461,19 @@ components: - requests - requests constraints: - - matchAttribute: matchAttribute + - distinctAttribute: distinctAttribute + matchAttribute: matchAttribute requests: - requests - requests - - matchAttribute: matchAttribute + - distinctAttribute: distinctAttribute + matchAttribute: matchAttribute requests: - requests - requests status: allocation: + allocationTimestamp: 2000-01-23T04:56:07.000+00:00 devices: config: - opaque: @@ -253644,34 +262495,52 @@ components: adminAccess: true tolerations: - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator driver: driver + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions pool: pool + shareID: shareID + consumedCapacity: + key: null device: device + bindingConditions: + - bindingConditions + - bindingConditions - request: request adminAccess: true tolerations: - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator driver: driver + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions pool: pool + shareID: shareID + consumedCapacity: + key: null device: device + bindingConditions: + - bindingConditions + - bindingConditions nodeSelector: nodeSelectorTerms: - matchExpressions: @@ -253737,6 +262606,7 @@ components: - ips - ips pool: pool + shareID: shareID conditions: - reason: reason lastTransitionTime: 2000-01-23T04:56:07.000+00:00 @@ -253760,6 +262630,7 @@ components: - ips - ips pool: pool + shareID: shareID conditions: - reason: reason lastTransitionTime: 2000-01-23T04:56:07.000+00:00 @@ -253783,7 +262654,7 @@ components: items: description: Items is the list of resource claims. items: - $ref: '#/components/schemas/v1alpha3.ResourceClaim' + $ref: '#/components/schemas/resource.v1.ResourceClaim' type: array kind: description: "Kind is a string value representing the REST resource this\ @@ -253798,139 +262669,159 @@ components: x-kubernetes-group-version-kind: - group: resource.k8s.io kind: ResourceClaimList - version: v1alpha3 + version: v1 x-implements: - io.kubernetes.client.common.KubernetesListObject - v1alpha3.ResourceClaimSpec: + v1.ResourceClaimSpec: description: ResourceClaimSpec defines what is being requested in a ResourceClaim and how to configure it. example: devices: requests: - - allocationMode: allocationMode - deviceClassName: deviceClassName - adminAccess: true - tolerations: - - effect: effect - tolerationSeconds: 1 - value: value - key: key - operator: operator - - effect: effect - tolerationSeconds: 1 - value: value - key: key - operator: operator - firstAvailable: + - firstAvailable: - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - count: 6 + count: 1 name: name selectors: - cel: expression: expression - cel: expression: expression + capacity: + requests: + key: null - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - count: 6 + count: 1 name: name selectors: - cel: expression: expression - cel: expression: expression - count: 0 + capacity: + requests: + key: null name: name - selectors: - - cel: - expression: expression - - cel: - expression: expression - - allocationMode: allocationMode - deviceClassName: deviceClassName - adminAccess: true - tolerations: - - effect: effect - tolerationSeconds: 1 - value: value - key: key - operator: operator - - effect: effect - tolerationSeconds: 1 - value: value - key: key - operator: operator - firstAvailable: + exactly: + allocationMode: allocationMode + deviceClassName: deviceClassName + adminAccess: true + tolerations: + - effect: effect + tolerationSeconds: 6 + value: value + key: key + operator: operator + - effect: effect + tolerationSeconds: 6 + value: value + key: key + operator: operator + count: 0 + selectors: + - cel: + expression: expression + - cel: + expression: expression + capacity: + requests: + key: null + - firstAvailable: - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - count: 6 + count: 1 name: name selectors: - cel: expression: expression - cel: expression: expression + capacity: + requests: + key: null - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - count: 6 + count: 1 name: name selectors: - cel: expression: expression - cel: expression: expression - count: 0 + capacity: + requests: + key: null name: name - selectors: - - cel: - expression: expression - - cel: - expression: expression + exactly: + allocationMode: allocationMode + deviceClassName: deviceClassName + adminAccess: true + tolerations: + - effect: effect + tolerationSeconds: 6 + value: value + key: key + operator: operator + - effect: effect + tolerationSeconds: 6 + value: value + key: key + operator: operator + count: 0 + selectors: + - cel: + expression: expression + - cel: + expression: expression + capacity: + requests: + key: null config: - opaque: driver: driver @@ -253945,23 +262836,26 @@ components: - requests - requests constraints: - - matchAttribute: matchAttribute + - distinctAttribute: distinctAttribute + matchAttribute: matchAttribute requests: - requests - requests - - matchAttribute: matchAttribute + - distinctAttribute: distinctAttribute + matchAttribute: matchAttribute requests: - requests - requests properties: devices: - $ref: '#/components/schemas/v1alpha3.DeviceClaim' + $ref: '#/components/schemas/v1.DeviceClaim' type: object - v1alpha3.ResourceClaimStatus: + v1.ResourceClaimStatus: description: ResourceClaimStatus tracks whether the resource has been allocated and what the result of that was. example: allocation: + allocationTimestamp: 2000-01-23T04:56:07.000+00:00 devices: config: - opaque: @@ -253983,34 +262877,52 @@ components: adminAccess: true tolerations: - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator driver: driver + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions pool: pool + shareID: shareID + consumedCapacity: + key: null device: device + bindingConditions: + - bindingConditions + - bindingConditions - request: request adminAccess: true tolerations: - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator driver: driver + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions pool: pool + shareID: shareID + consumedCapacity: + key: null device: device + bindingConditions: + - bindingConditions + - bindingConditions nodeSelector: nodeSelectorTerms: - matchExpressions: @@ -254076,6 +262988,7 @@ components: - ips - ips pool: pool + shareID: shareID conditions: - reason: reason lastTransitionTime: 2000-01-23T04:56:07.000+00:00 @@ -254099,6 +263012,7 @@ components: - ips - ips pool: pool + shareID: shareID conditions: - reason: reason lastTransitionTime: 2000-01-23T04:56:07.000+00:00 @@ -254115,19 +263029,20 @@ components: device: device properties: allocation: - $ref: '#/components/schemas/v1alpha3.AllocationResult' + $ref: '#/components/schemas/v1.AllocationResult' devices: description: "Devices contains the status of each device allocated for this\ \ claim, as reported by the driver. This can include driver-specific information.\ \ Entries are owned by their respective drivers." items: - $ref: '#/components/schemas/v1alpha3.AllocatedDeviceStatus' + $ref: '#/components/schemas/v1.AllocatedDeviceStatus' type: array x-kubernetes-list-type: map x-kubernetes-list-map-keys: - driver - device - pool + - shareID reservedFor: description: |- ReservedFor indicates which entities are currently allowed to use the claim. A Pod which references a ResourceClaim which is not reserved for that Pod will not be started. A claim that is in use or might be in use because it has been reserved must not get deallocated. @@ -254138,7 +263053,7 @@ components: There can be at most 256 such reservations. This may get increased in the future, but not reduced. items: - $ref: '#/components/schemas/v1alpha3.ResourceClaimConsumerReference' + $ref: '#/components/schemas/v1.ResourceClaimConsumerReference' type: array x-kubernetes-patch-strategy: merge x-kubernetes-list-type: map @@ -254146,7 +263061,7 @@ components: - uid x-kubernetes-patch-merge-key: uid type: object - v1alpha3.ResourceClaimTemplate: + v1.ResourceClaimTemplate: description: |- ResourceClaimTemplate is used to produce ResourceClaim objects. @@ -254250,130 +263165,150 @@ components: spec: devices: requests: - - allocationMode: allocationMode - deviceClassName: deviceClassName - adminAccess: true - tolerations: - - effect: effect - tolerationSeconds: 1 - value: value - key: key - operator: operator - - effect: effect - tolerationSeconds: 1 - value: value - key: key - operator: operator - firstAvailable: + - firstAvailable: - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - count: 6 + count: 1 name: name selectors: - cel: expression: expression - cel: expression: expression + capacity: + requests: + key: null - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - count: 6 + count: 1 + name: name + selectors: + - cel: + expression: expression + - cel: + expression: expression + capacity: + requests: + key: null + name: name + exactly: + allocationMode: allocationMode + deviceClassName: deviceClassName + adminAccess: true + tolerations: + - effect: effect + tolerationSeconds: 6 + value: value + key: key + operator: operator + - effect: effect + tolerationSeconds: 6 + value: value + key: key + operator: operator + count: 0 + selectors: + - cel: + expression: expression + - cel: + expression: expression + capacity: + requests: + key: null + - firstAvailable: + - allocationMode: allocationMode + deviceClassName: deviceClassName + tolerations: + - effect: effect + tolerationSeconds: 6 + value: value + key: key + operator: operator + - effect: effect + tolerationSeconds: 6 + value: value + key: key + operator: operator + count: 1 name: name selectors: - cel: expression: expression - cel: expression: expression - count: 0 - name: name - selectors: - - cel: - expression: expression - - cel: - expression: expression - - allocationMode: allocationMode - deviceClassName: deviceClassName - adminAccess: true - tolerations: - - effect: effect - tolerationSeconds: 1 - value: value - key: key - operator: operator - - effect: effect - tolerationSeconds: 1 - value: value - key: key - operator: operator - firstAvailable: + capacity: + requests: + key: null - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - count: 6 + count: 1 name: name selectors: - cel: expression: expression - cel: expression: expression - - allocationMode: allocationMode + capacity: + requests: + key: null + name: name + exactly: + allocationMode: allocationMode deviceClassName: deviceClassName + adminAccess: true tolerations: - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - count: 6 - name: name + count: 0 selectors: - cel: expression: expression - cel: expression: expression - count: 0 - name: name - selectors: - - cel: - expression: expression - - cel: - expression: expression + capacity: + requests: + key: null config: - opaque: driver: driver @@ -254388,11 +263323,13 @@ components: - requests - requests constraints: - - matchAttribute: matchAttribute + - distinctAttribute: distinctAttribute + matchAttribute: matchAttribute requests: - requests - requests - - matchAttribute: matchAttribute + - distinctAttribute: distinctAttribute + matchAttribute: matchAttribute requests: - requests - requests @@ -254410,17 +263347,17 @@ components: metadata: $ref: '#/components/schemas/v1.ObjectMeta' spec: - $ref: '#/components/schemas/v1alpha3.ResourceClaimTemplateSpec' + $ref: '#/components/schemas/v1.ResourceClaimTemplateSpec' required: - spec type: object x-kubernetes-group-version-kind: - group: resource.k8s.io kind: ResourceClaimTemplate - version: v1alpha3 + version: v1 x-implements: - io.kubernetes.client.common.KubernetesObject - v1alpha3.ResourceClaimTemplateList: + v1.ResourceClaimTemplateList: description: ResourceClaimTemplateList is a collection of claim templates. example: metadata: @@ -254529,130 +263466,150 @@ components: spec: devices: requests: - - allocationMode: allocationMode - deviceClassName: deviceClassName - adminAccess: true - tolerations: - - effect: effect - tolerationSeconds: 1 - value: value - key: key - operator: operator - - effect: effect - tolerationSeconds: 1 - value: value - key: key - operator: operator - firstAvailable: + - firstAvailable: - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - count: 6 + count: 1 name: name selectors: - cel: expression: expression - cel: expression: expression + capacity: + requests: + key: null - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - count: 6 + count: 1 name: name selectors: - cel: expression: expression - cel: expression: expression - count: 0 + capacity: + requests: + key: null name: name - selectors: - - cel: - expression: expression - - cel: - expression: expression - - allocationMode: allocationMode - deviceClassName: deviceClassName - adminAccess: true - tolerations: - - effect: effect - tolerationSeconds: 1 - value: value - key: key - operator: operator - - effect: effect - tolerationSeconds: 1 - value: value - key: key - operator: operator - firstAvailable: + exactly: + allocationMode: allocationMode + deviceClassName: deviceClassName + adminAccess: true + tolerations: + - effect: effect + tolerationSeconds: 6 + value: value + key: key + operator: operator + - effect: effect + tolerationSeconds: 6 + value: value + key: key + operator: operator + count: 0 + selectors: + - cel: + expression: expression + - cel: + expression: expression + capacity: + requests: + key: null + - firstAvailable: - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - count: 6 + count: 1 name: name selectors: - cel: expression: expression - cel: expression: expression + capacity: + requests: + key: null - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - count: 6 + count: 1 name: name selectors: - cel: expression: expression - cel: expression: expression - count: 0 + capacity: + requests: + key: null name: name - selectors: - - cel: - expression: expression - - cel: - expression: expression + exactly: + allocationMode: allocationMode + deviceClassName: deviceClassName + adminAccess: true + tolerations: + - effect: effect + tolerationSeconds: 6 + value: value + key: key + operator: operator + - effect: effect + tolerationSeconds: 6 + value: value + key: key + operator: operator + count: 0 + selectors: + - cel: + expression: expression + - cel: + expression: expression + capacity: + requests: + key: null config: - opaque: driver: driver @@ -254667,11 +263624,13 @@ components: - requests - requests constraints: - - matchAttribute: matchAttribute + - distinctAttribute: distinctAttribute + matchAttribute: matchAttribute requests: - requests - requests - - matchAttribute: matchAttribute + - distinctAttribute: distinctAttribute + matchAttribute: matchAttribute requests: - requests - requests @@ -254773,130 +263732,150 @@ components: spec: devices: requests: - - allocationMode: allocationMode - deviceClassName: deviceClassName - adminAccess: true - tolerations: - - effect: effect - tolerationSeconds: 1 - value: value - key: key - operator: operator - - effect: effect - tolerationSeconds: 1 - value: value - key: key - operator: operator - firstAvailable: + - firstAvailable: - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - count: 6 + count: 1 name: name selectors: - cel: expression: expression - cel: expression: expression + capacity: + requests: + key: null - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - count: 6 + count: 1 name: name selectors: - cel: expression: expression - cel: expression: expression - count: 0 + capacity: + requests: + key: null name: name - selectors: - - cel: - expression: expression - - cel: - expression: expression - - allocationMode: allocationMode - deviceClassName: deviceClassName - adminAccess: true - tolerations: - - effect: effect - tolerationSeconds: 1 - value: value - key: key - operator: operator - - effect: effect - tolerationSeconds: 1 - value: value - key: key - operator: operator - firstAvailable: + exactly: + allocationMode: allocationMode + deviceClassName: deviceClassName + adminAccess: true + tolerations: + - effect: effect + tolerationSeconds: 6 + value: value + key: key + operator: operator + - effect: effect + tolerationSeconds: 6 + value: value + key: key + operator: operator + count: 0 + selectors: + - cel: + expression: expression + - cel: + expression: expression + capacity: + requests: + key: null + - firstAvailable: - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - count: 6 + count: 1 name: name selectors: - cel: expression: expression - cel: expression: expression + capacity: + requests: + key: null - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - count: 6 + count: 1 name: name selectors: - cel: expression: expression - cel: expression: expression - count: 0 + capacity: + requests: + key: null name: name - selectors: - - cel: - expression: expression - - cel: - expression: expression + exactly: + allocationMode: allocationMode + deviceClassName: deviceClassName + adminAccess: true + tolerations: + - effect: effect + tolerationSeconds: 6 + value: value + key: key + operator: operator + - effect: effect + tolerationSeconds: 6 + value: value + key: key + operator: operator + count: 0 + selectors: + - cel: + expression: expression + - cel: + expression: expression + capacity: + requests: + key: null config: - opaque: driver: driver @@ -254911,11 +263890,13 @@ components: - requests - requests constraints: - - matchAttribute: matchAttribute + - distinctAttribute: distinctAttribute + matchAttribute: matchAttribute requests: - requests - requests - - matchAttribute: matchAttribute + - distinctAttribute: distinctAttribute + matchAttribute: matchAttribute requests: - requests - requests @@ -254928,7 +263909,7 @@ components: items: description: Items is the list of resource claim templates. items: - $ref: '#/components/schemas/v1alpha3.ResourceClaimTemplate' + $ref: '#/components/schemas/v1.ResourceClaimTemplate' type: array kind: description: "Kind is a string value representing the REST resource this\ @@ -254943,10 +263924,10 @@ components: x-kubernetes-group-version-kind: - group: resource.k8s.io kind: ResourceClaimTemplateList - version: v1alpha3 + version: v1 x-implements: - io.kubernetes.client.common.KubernetesListObject - v1alpha3.ResourceClaimTemplateSpec: + v1.ResourceClaimTemplateSpec: description: ResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim. example: @@ -254999,130 +263980,150 @@ components: spec: devices: requests: - - allocationMode: allocationMode - deviceClassName: deviceClassName - adminAccess: true - tolerations: - - effect: effect - tolerationSeconds: 1 - value: value - key: key - operator: operator - - effect: effect - tolerationSeconds: 1 - value: value - key: key - operator: operator - firstAvailable: + - firstAvailable: - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - count: 6 + count: 1 name: name selectors: - cel: expression: expression - cel: expression: expression + capacity: + requests: + key: null - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - count: 6 + count: 1 name: name selectors: - cel: expression: expression - cel: expression: expression - count: 0 + capacity: + requests: + key: null name: name - selectors: - - cel: - expression: expression - - cel: - expression: expression - - allocationMode: allocationMode - deviceClassName: deviceClassName - adminAccess: true - tolerations: - - effect: effect - tolerationSeconds: 1 - value: value - key: key - operator: operator - - effect: effect - tolerationSeconds: 1 - value: value - key: key - operator: operator - firstAvailable: + exactly: + allocationMode: allocationMode + deviceClassName: deviceClassName + adminAccess: true + tolerations: + - effect: effect + tolerationSeconds: 6 + value: value + key: key + operator: operator + - effect: effect + tolerationSeconds: 6 + value: value + key: key + operator: operator + count: 0 + selectors: + - cel: + expression: expression + - cel: + expression: expression + capacity: + requests: + key: null + - firstAvailable: - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - count: 6 + count: 1 name: name selectors: - cel: expression: expression - cel: expression: expression + capacity: + requests: + key: null - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - effect: effect - tolerationSeconds: 1 + tolerationSeconds: 6 value: value key: key operator: operator - count: 6 + count: 1 name: name selectors: - cel: expression: expression - cel: expression: expression - count: 0 + capacity: + requests: + key: null name: name - selectors: - - cel: - expression: expression - - cel: - expression: expression + exactly: + allocationMode: allocationMode + deviceClassName: deviceClassName + adminAccess: true + tolerations: + - effect: effect + tolerationSeconds: 6 + value: value + key: key + operator: operator + - effect: effect + tolerationSeconds: 6 + value: value + key: key + operator: operator + count: 0 + selectors: + - cel: + expression: expression + - cel: + expression: expression + capacity: + requests: + key: null config: - opaque: driver: driver @@ -255137,11 +264138,13 @@ components: - requests - requests constraints: - - matchAttribute: matchAttribute + - distinctAttribute: distinctAttribute + matchAttribute: matchAttribute requests: - requests - requests - - matchAttribute: matchAttribute + - distinctAttribute: distinctAttribute + matchAttribute: matchAttribute requests: - requests - requests @@ -255149,11 +264152,11 @@ components: metadata: $ref: '#/components/schemas/v1.ObjectMeta' spec: - $ref: '#/components/schemas/v1alpha3.ResourceClaimSpec' + $ref: '#/components/schemas/v1.ResourceClaimSpec' required: - spec type: object - v1alpha3.ResourcePool: + v1.ResourcePool: description: ResourcePool describes the pool that ResourceSlices belong to. example: generation: 6 @@ -255185,7 +264188,7 @@ components: - name - resourceSliceCount type: object - v1alpha3.ResourceSlice: + v1.ResourceSlice: description: |- ResourceSlice represents one or more resources in a pool of similar resources, managed by a common driver. A pool may span more than one ResourceSlice, and exactly how many ResourceSlices comprise a pool is determined by the driver. @@ -255252,158 +264255,192 @@ components: driver: driver perDeviceNodeSelection: true devices: - - name: name - basic: - nodeName: nodeName - consumesCounters: - - counters: - key: - value: value - counterSet: counterSet - - counters: - key: - value: value - counterSet: counterSet - attributes: + - nodeName: nodeName + allowMultipleAllocations: true + consumesCounters: + - counters: key: - bool: true - string: string - version: version - int: 0 - taints: - - timeAdded: 2000-01-23T04:56:07.000+00:00 - effect: effect - value: value - key: key - - timeAdded: 2000-01-23T04:56:07.000+00:00 - effect: effect - value: value - key: key - allNodes: true - capacity: - key: null - nodeSelector: - nodeSelectorTerms: - - matchExpressions: - - values: - - values - - values - key: key - operator: operator - - values: - - values - - values - key: key - operator: operator - matchFields: - - values: - - values - - values - key: key - operator: operator - - values: - - values - - values - key: key - operator: operator - - matchExpressions: - - values: - - values - - values - key: key - operator: operator - - values: - - values - - values - key: key - operator: operator - matchFields: - - values: - - values - - values - key: key - operator: operator - - values: - - values - - values - key: key - operator: operator - - name: name - basic: - nodeName: nodeName - consumesCounters: - - counters: - key: - value: value - counterSet: counterSet - - counters: - key: - value: value - counterSet: counterSet - attributes: + value: value + counterSet: counterSet + - counters: key: - bool: true - string: string - version: version - int: 0 - taints: - - timeAdded: 2000-01-23T04:56:07.000+00:00 - effect: effect + value: value + counterSet: counterSet + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions + name: name + attributes: + key: + bool: true + string: string + version: version + int: 0 + taints: + - timeAdded: 2000-01-23T04:56:07.000+00:00 + effect: effect + value: value + key: key + - timeAdded: 2000-01-23T04:56:07.000+00:00 + effect: effect + value: value + key: key + allNodes: true + bindsToNode: true + bindingConditions: + - bindingConditions + - bindingConditions + capacity: + key: value: value - key: key - - timeAdded: 2000-01-23T04:56:07.000+00:00 - effect: effect + requestPolicy: + default: default + validRange: + min: min + max: max + step: step + validValues: + - null + - null + nodeSelector: + nodeSelectorTerms: + - matchExpressions: + - values: + - values + - values + key: key + operator: operator + - values: + - values + - values + key: key + operator: operator + matchFields: + - values: + - values + - values + key: key + operator: operator + - values: + - values + - values + key: key + operator: operator + - matchExpressions: + - values: + - values + - values + key: key + operator: operator + - values: + - values + - values + key: key + operator: operator + matchFields: + - values: + - values + - values + key: key + operator: operator + - values: + - values + - values + key: key + operator: operator + - nodeName: nodeName + allowMultipleAllocations: true + consumesCounters: + - counters: + key: + value: value + counterSet: counterSet + - counters: + key: + value: value + counterSet: counterSet + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions + name: name + attributes: + key: + bool: true + string: string + version: version + int: 0 + taints: + - timeAdded: 2000-01-23T04:56:07.000+00:00 + effect: effect + value: value + key: key + - timeAdded: 2000-01-23T04:56:07.000+00:00 + effect: effect + value: value + key: key + allNodes: true + bindsToNode: true + bindingConditions: + - bindingConditions + - bindingConditions + capacity: + key: value: value - key: key - allNodes: true - capacity: - key: null - nodeSelector: - nodeSelectorTerms: - - matchExpressions: - - values: - - values - - values - key: key - operator: operator - - values: - - values - - values - key: key - operator: operator - matchFields: - - values: - - values - - values - key: key - operator: operator - - values: - - values - - values - key: key - operator: operator - - matchExpressions: - - values: - - values - - values - key: key - operator: operator - - values: - - values - - values - key: key - operator: operator - matchFields: - - values: - - values - - values - key: key - operator: operator - - values: - - values - - values - key: key - operator: operator + requestPolicy: + default: default + validRange: + min: min + max: max + step: step + validValues: + - null + - null + nodeSelector: + nodeSelectorTerms: + - matchExpressions: + - values: + - values + - values + key: key + operator: operator + - values: + - values + - values + key: key + operator: operator + matchFields: + - values: + - values + - values + key: key + operator: operator + - values: + - values + - values + key: key + operator: operator + - matchExpressions: + - values: + - values + - values + key: key + operator: operator + - values: + - values + - values + key: key + operator: operator + matchFields: + - values: + - values + - values + key: key + operator: operator + - values: + - values + - values + key: key + operator: operator pool: generation: 6 resourceSliceCount: 1 @@ -255478,17 +264515,17 @@ components: metadata: $ref: '#/components/schemas/v1.ObjectMeta' spec: - $ref: '#/components/schemas/v1alpha3.ResourceSliceSpec' + $ref: '#/components/schemas/v1.ResourceSliceSpec' required: - spec type: object x-kubernetes-group-version-kind: - group: resource.k8s.io kind: ResourceSlice - version: v1alpha3 + version: v1 x-implements: - io.kubernetes.client.common.KubernetesObject - v1alpha3.ResourceSliceList: + v1.ResourceSliceList: description: ResourceSliceList is a collection of ResourceSlices. example: metadata: @@ -255552,158 +264589,192 @@ components: driver: driver perDeviceNodeSelection: true devices: - - name: name - basic: - nodeName: nodeName - consumesCounters: - - counters: - key: - value: value - counterSet: counterSet - - counters: - key: - value: value - counterSet: counterSet - attributes: + - nodeName: nodeName + allowMultipleAllocations: true + consumesCounters: + - counters: key: - bool: true - string: string - version: version - int: 0 - taints: - - timeAdded: 2000-01-23T04:56:07.000+00:00 - effect: effect - value: value - key: key - - timeAdded: 2000-01-23T04:56:07.000+00:00 - effect: effect - value: value - key: key - allNodes: true - capacity: - key: null - nodeSelector: - nodeSelectorTerms: - - matchExpressions: - - values: - - values - - values - key: key - operator: operator - - values: - - values - - values - key: key - operator: operator - matchFields: - - values: - - values - - values - key: key - operator: operator - - values: - - values - - values - key: key - operator: operator - - matchExpressions: - - values: - - values - - values - key: key - operator: operator - - values: - - values - - values - key: key - operator: operator - matchFields: - - values: - - values - - values - key: key - operator: operator - - values: - - values - - values - key: key - operator: operator - - name: name - basic: - nodeName: nodeName - consumesCounters: - - counters: - key: - value: value - counterSet: counterSet - - counters: - key: - value: value - counterSet: counterSet - attributes: + value: value + counterSet: counterSet + - counters: key: - bool: true - string: string - version: version - int: 0 - taints: - - timeAdded: 2000-01-23T04:56:07.000+00:00 - effect: effect + value: value + counterSet: counterSet + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions + name: name + attributes: + key: + bool: true + string: string + version: version + int: 0 + taints: + - timeAdded: 2000-01-23T04:56:07.000+00:00 + effect: effect + value: value + key: key + - timeAdded: 2000-01-23T04:56:07.000+00:00 + effect: effect + value: value + key: key + allNodes: true + bindsToNode: true + bindingConditions: + - bindingConditions + - bindingConditions + capacity: + key: value: value - key: key - - timeAdded: 2000-01-23T04:56:07.000+00:00 - effect: effect + requestPolicy: + default: default + validRange: + min: min + max: max + step: step + validValues: + - null + - null + nodeSelector: + nodeSelectorTerms: + - matchExpressions: + - values: + - values + - values + key: key + operator: operator + - values: + - values + - values + key: key + operator: operator + matchFields: + - values: + - values + - values + key: key + operator: operator + - values: + - values + - values + key: key + operator: operator + - matchExpressions: + - values: + - values + - values + key: key + operator: operator + - values: + - values + - values + key: key + operator: operator + matchFields: + - values: + - values + - values + key: key + operator: operator + - values: + - values + - values + key: key + operator: operator + - nodeName: nodeName + allowMultipleAllocations: true + consumesCounters: + - counters: + key: + value: value + counterSet: counterSet + - counters: + key: + value: value + counterSet: counterSet + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions + name: name + attributes: + key: + bool: true + string: string + version: version + int: 0 + taints: + - timeAdded: 2000-01-23T04:56:07.000+00:00 + effect: effect + value: value + key: key + - timeAdded: 2000-01-23T04:56:07.000+00:00 + effect: effect + value: value + key: key + allNodes: true + bindsToNode: true + bindingConditions: + - bindingConditions + - bindingConditions + capacity: + key: value: value - key: key - allNodes: true - capacity: - key: null - nodeSelector: - nodeSelectorTerms: - - matchExpressions: - - values: - - values - - values - key: key - operator: operator - - values: - - values - - values - key: key - operator: operator - matchFields: - - values: - - values - - values - key: key - operator: operator - - values: - - values - - values - key: key - operator: operator - - matchExpressions: - - values: - - values - - values - key: key - operator: operator - - values: - - values - - values - key: key - operator: operator - matchFields: - - values: - - values - - values - key: key - operator: operator - - values: - - values - - values - key: key - operator: operator + requestPolicy: + default: default + validRange: + min: min + max: max + step: step + validValues: + - null + - null + nodeSelector: + nodeSelectorTerms: + - matchExpressions: + - values: + - values + - values + key: key + operator: operator + - values: + - values + - values + key: key + operator: operator + matchFields: + - values: + - values + - values + key: key + operator: operator + - values: + - values + - values + key: key + operator: operator + - matchExpressions: + - values: + - values + - values + key: key + operator: operator + - values: + - values + - values + key: key + operator: operator + matchFields: + - values: + - values + - values + key: key + operator: operator + - values: + - values + - values + key: key + operator: operator pool: generation: 6 resourceSliceCount: 1 @@ -255817,158 +264888,192 @@ components: driver: driver perDeviceNodeSelection: true devices: - - name: name - basic: - nodeName: nodeName - consumesCounters: - - counters: - key: - value: value - counterSet: counterSet - - counters: - key: - value: value - counterSet: counterSet - attributes: + - nodeName: nodeName + allowMultipleAllocations: true + consumesCounters: + - counters: key: - bool: true - string: string - version: version - int: 0 - taints: - - timeAdded: 2000-01-23T04:56:07.000+00:00 - effect: effect - value: value - key: key - - timeAdded: 2000-01-23T04:56:07.000+00:00 - effect: effect - value: value - key: key - allNodes: true - capacity: - key: null - nodeSelector: - nodeSelectorTerms: - - matchExpressions: - - values: - - values - - values - key: key - operator: operator - - values: - - values - - values - key: key - operator: operator - matchFields: - - values: - - values - - values - key: key - operator: operator - - values: - - values - - values - key: key - operator: operator - - matchExpressions: - - values: - - values - - values - key: key - operator: operator - - values: - - values - - values - key: key - operator: operator - matchFields: - - values: - - values - - values - key: key - operator: operator - - values: - - values - - values - key: key - operator: operator - - name: name - basic: - nodeName: nodeName - consumesCounters: - - counters: - key: - value: value - counterSet: counterSet - - counters: - key: - value: value - counterSet: counterSet - attributes: + value: value + counterSet: counterSet + - counters: key: - bool: true - string: string - version: version - int: 0 - taints: - - timeAdded: 2000-01-23T04:56:07.000+00:00 - effect: effect + value: value + counterSet: counterSet + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions + name: name + attributes: + key: + bool: true + string: string + version: version + int: 0 + taints: + - timeAdded: 2000-01-23T04:56:07.000+00:00 + effect: effect + value: value + key: key + - timeAdded: 2000-01-23T04:56:07.000+00:00 + effect: effect + value: value + key: key + allNodes: true + bindsToNode: true + bindingConditions: + - bindingConditions + - bindingConditions + capacity: + key: value: value - key: key - - timeAdded: 2000-01-23T04:56:07.000+00:00 - effect: effect + requestPolicy: + default: default + validRange: + min: min + max: max + step: step + validValues: + - null + - null + nodeSelector: + nodeSelectorTerms: + - matchExpressions: + - values: + - values + - values + key: key + operator: operator + - values: + - values + - values + key: key + operator: operator + matchFields: + - values: + - values + - values + key: key + operator: operator + - values: + - values + - values + key: key + operator: operator + - matchExpressions: + - values: + - values + - values + key: key + operator: operator + - values: + - values + - values + key: key + operator: operator + matchFields: + - values: + - values + - values + key: key + operator: operator + - values: + - values + - values + key: key + operator: operator + - nodeName: nodeName + allowMultipleAllocations: true + consumesCounters: + - counters: + key: + value: value + counterSet: counterSet + - counters: + key: + value: value + counterSet: counterSet + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions + name: name + attributes: + key: + bool: true + string: string + version: version + int: 0 + taints: + - timeAdded: 2000-01-23T04:56:07.000+00:00 + effect: effect + value: value + key: key + - timeAdded: 2000-01-23T04:56:07.000+00:00 + effect: effect + value: value + key: key + allNodes: true + bindsToNode: true + bindingConditions: + - bindingConditions + - bindingConditions + capacity: + key: value: value - key: key - allNodes: true - capacity: - key: null - nodeSelector: - nodeSelectorTerms: - - matchExpressions: - - values: - - values - - values - key: key - operator: operator - - values: - - values - - values - key: key - operator: operator - matchFields: - - values: - - values - - values - key: key - operator: operator - - values: - - values - - values - key: key - operator: operator - - matchExpressions: - - values: - - values - - values - key: key - operator: operator - - values: - - values - - values - key: key - operator: operator - matchFields: - - values: - - values - - values - key: key - operator: operator - - values: - - values - - values - key: key - operator: operator + requestPolicy: + default: default + validRange: + min: min + max: max + step: step + validValues: + - null + - null + nodeSelector: + nodeSelectorTerms: + - matchExpressions: + - values: + - values + - values + key: key + operator: operator + - values: + - values + - values + key: key + operator: operator + matchFields: + - values: + - values + - values + key: key + operator: operator + - values: + - values + - values + key: key + operator: operator + - matchExpressions: + - values: + - values + - values + key: key + operator: operator + - values: + - values + - values + key: key + operator: operator + matchFields: + - values: + - values + - values + key: key + operator: operator + - values: + - values + - values + key: key + operator: operator pool: generation: 6 resourceSliceCount: 1 @@ -256038,7 +265143,7 @@ components: items: description: Items is the list of resource ResourceSlices. items: - $ref: '#/components/schemas/v1alpha3.ResourceSlice' + $ref: '#/components/schemas/v1.ResourceSlice' type: array kind: description: "Kind is a string value representing the REST resource this\ @@ -256053,10 +265158,10 @@ components: x-kubernetes-group-version-kind: - group: resource.k8s.io kind: ResourceSliceList - version: v1alpha3 + version: v1 x-implements: - io.kubernetes.client.common.KubernetesListObject - v1alpha3.ResourceSliceSpec: + v1.ResourceSliceSpec: description: ResourceSliceSpec contains the information published by the driver in one ResourceSlice. example: @@ -256064,158 +265169,192 @@ components: driver: driver perDeviceNodeSelection: true devices: - - name: name - basic: - nodeName: nodeName - consumesCounters: - - counters: - key: - value: value - counterSet: counterSet - - counters: - key: - value: value - counterSet: counterSet - attributes: + - nodeName: nodeName + allowMultipleAllocations: true + consumesCounters: + - counters: key: - bool: true - string: string - version: version - int: 0 - taints: - - timeAdded: 2000-01-23T04:56:07.000+00:00 - effect: effect - value: value - key: key - - timeAdded: 2000-01-23T04:56:07.000+00:00 - effect: effect - value: value - key: key - allNodes: true - capacity: - key: null - nodeSelector: - nodeSelectorTerms: - - matchExpressions: - - values: - - values - - values - key: key - operator: operator - - values: - - values - - values - key: key - operator: operator - matchFields: - - values: - - values - - values - key: key - operator: operator - - values: - - values - - values - key: key - operator: operator - - matchExpressions: - - values: - - values - - values - key: key - operator: operator - - values: - - values - - values - key: key - operator: operator - matchFields: - - values: - - values - - values - key: key - operator: operator - - values: - - values - - values - key: key - operator: operator - - name: name - basic: - nodeName: nodeName - consumesCounters: - - counters: - key: - value: value - counterSet: counterSet - - counters: - key: - value: value - counterSet: counterSet - attributes: + value: value + counterSet: counterSet + - counters: key: - bool: true - string: string - version: version - int: 0 - taints: - - timeAdded: 2000-01-23T04:56:07.000+00:00 - effect: effect + value: value + counterSet: counterSet + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions + name: name + attributes: + key: + bool: true + string: string + version: version + int: 0 + taints: + - timeAdded: 2000-01-23T04:56:07.000+00:00 + effect: effect + value: value + key: key + - timeAdded: 2000-01-23T04:56:07.000+00:00 + effect: effect + value: value + key: key + allNodes: true + bindsToNode: true + bindingConditions: + - bindingConditions + - bindingConditions + capacity: + key: value: value - key: key - - timeAdded: 2000-01-23T04:56:07.000+00:00 - effect: effect + requestPolicy: + default: default + validRange: + min: min + max: max + step: step + validValues: + - null + - null + nodeSelector: + nodeSelectorTerms: + - matchExpressions: + - values: + - values + - values + key: key + operator: operator + - values: + - values + - values + key: key + operator: operator + matchFields: + - values: + - values + - values + key: key + operator: operator + - values: + - values + - values + key: key + operator: operator + - matchExpressions: + - values: + - values + - values + key: key + operator: operator + - values: + - values + - values + key: key + operator: operator + matchFields: + - values: + - values + - values + key: key + operator: operator + - values: + - values + - values + key: key + operator: operator + - nodeName: nodeName + allowMultipleAllocations: true + consumesCounters: + - counters: + key: + value: value + counterSet: counterSet + - counters: + key: + value: value + counterSet: counterSet + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions + name: name + attributes: + key: + bool: true + string: string + version: version + int: 0 + taints: + - timeAdded: 2000-01-23T04:56:07.000+00:00 + effect: effect + value: value + key: key + - timeAdded: 2000-01-23T04:56:07.000+00:00 + effect: effect + value: value + key: key + allNodes: true + bindsToNode: true + bindingConditions: + - bindingConditions + - bindingConditions + capacity: + key: value: value - key: key - allNodes: true - capacity: - key: null - nodeSelector: - nodeSelectorTerms: - - matchExpressions: - - values: - - values - - values - key: key - operator: operator - - values: - - values - - values - key: key - operator: operator - matchFields: - - values: - - values - - values - key: key - operator: operator - - values: - - values - - values - key: key - operator: operator - - matchExpressions: - - values: - - values - - values - key: key - operator: operator - - values: - - values - - values - key: key - operator: operator - matchFields: - - values: - - values - - values - key: key - operator: operator - - values: - - values - - values - key: key - operator: operator + requestPolicy: + default: default + validRange: + min: min + max: max + step: step + validValues: + - null + - null + nodeSelector: + nodeSelectorTerms: + - matchExpressions: + - values: + - values + - values + key: key + operator: operator + - values: + - values + - values + key: key + operator: operator + matchFields: + - values: + - values + - values + key: key + operator: operator + - values: + - values + - values + key: key + operator: operator + - matchExpressions: + - values: + - values + - values + key: key + operator: operator + - values: + - values + - values + key: key + operator: operator + matchFields: + - values: + - values + - values + key: key + operator: operator + - values: + - values + - values + key: key + operator: operator pool: generation: 6 resourceSliceCount: 1 @@ -256289,7 +265428,7 @@ components: Must not have more than 128 entries. items: - $ref: '#/components/schemas/v1alpha3.Device' + $ref: '#/components/schemas/v1.Device' type: array x-kubernetes-list-type: atomic driver: @@ -256315,25 +265454,437 @@ components: Exactly one of NodeName, NodeSelector, AllNodes, and PerDeviceNodeSelection must be set. type: boolean pool: - $ref: '#/components/schemas/v1alpha3.ResourcePool' + $ref: '#/components/schemas/v1.ResourcePool' sharedCounters: description: |- SharedCounters defines a list of counter sets, each of which has a name and a list of counters available. The names of the SharedCounters must be unique in the ResourceSlice. - The maximum number of SharedCounters is 32. + The maximum number of counters in all sets is 32. items: - $ref: '#/components/schemas/v1alpha3.CounterSet' + $ref: '#/components/schemas/v1.CounterSet' type: array x-kubernetes-list-type: atomic required: - driver - pool type: object + v1alpha3.CELDeviceSelector: + description: CELDeviceSelector contains a CEL expression for selecting a device. + example: + expression: expression + properties: + expression: + description: |- + Expression is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort. + + The expression's input is an object named "device", which carries the following properties: + - driver (string): the name of the driver which defines this device. + - attributes (map[string]object): the device's attributes, grouped by prefix + (e.g. device.attributes["dra.example.com"] evaluates to an object with all + of the attributes which were prefixed by "dra.example.com". + - capacity (map[string]object): the device's capacities, grouped by prefix. + + Example: Consider a device with driver="dra.example.com", which exposes two attributes named "model" and "ext.example.com/family" and which exposes one capacity named "modules". This input to this expression would have the following fields: + + device.driver + device.attributes["dra.example.com"].model + device.attributes["ext.example.com"].family + device.capacity["dra.example.com"].modules + + The device.driver field can be used to check for a specific driver, either as a high-level precondition (i.e. you only want to consider devices from this driver) or as part of a multi-clause expression that is meant to consider devices from different drivers. + + The value type of each attribute is defined by the device definition, and users who write these expressions must consult the documentation for their specific drivers. The value type of each capacity is Quantity. + + If an unknown prefix is used as a lookup in either device.attributes or device.capacity, an empty map will be returned. Any reference to an unknown field will cause an evaluation error and allocation to abort. + + A robust expression should check for the existence of attributes before referencing them. + + For ease of use, the cel.bind() function is enabled, and can be used to simplify expressions that access multiple attributes with the same domain. For example: + + cel.bind(dra, device.attributes["dra.example.com"], dra.someBool && dra.anotherBool) + + 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. + type: string + required: + - expression + type: object + v1alpha3.DeviceSelector: + description: DeviceSelector must have exactly one field set. + example: + cel: + expression: expression + properties: + cel: + $ref: '#/components/schemas/v1alpha3.CELDeviceSelector' + type: object + v1alpha3.DeviceTaint: + description: "The device this taint is attached to has the \"effect\" on any\ + \ claim which does not tolerate the taint and, through the claim, to pods\ + \ using the claim." + example: + timeAdded: 2000-01-23T04:56:07.000+00:00 + effect: effect + value: value + key: key + properties: + effect: + description: The effect of the taint on claims that do not tolerate the + taint and through such claims on the pods using them. Valid effects are + NoSchedule and NoExecute. PreferNoSchedule as used for nodes is not valid + here. + type: string + key: + description: The taint key to be applied to a device. Must be a label name. + type: string + timeAdded: + description: TimeAdded represents the time at which the taint was added. + Added automatically during create or update if not set. + format: date-time + type: string + value: + description: The taint value corresponding to the taint key. Must be a label + value. + type: string + required: + - effect + - key + type: object + v1alpha3.DeviceTaintRule: + description: DeviceTaintRule adds one taint to all devices which match the selector. + This has the same effect as if the taint was specified directly in the ResourceSlice + by the DRA driver. + example: + metadata: + generation: 6 + finalizers: + - finalizers + - finalizers + resourceVersion: resourceVersion + annotations: + key: annotations + generateName: generateName + deletionTimestamp: 2000-01-23T04:56:07.000+00:00 + labels: + key: labels + ownerReferences: + - uid: uid + controller: true + apiVersion: apiVersion + kind: kind + name: name + blockOwnerDeletion: true + - uid: uid + controller: true + apiVersion: apiVersion + kind: kind + name: name + blockOwnerDeletion: true + selfLink: selfLink + deletionGracePeriodSeconds: 0 + uid: uid + managedFields: + - apiVersion: apiVersion + fieldsV1: "{}" + manager: manager + subresource: subresource + time: 2000-01-23T04:56:07.000+00:00 + operation: operation + fieldsType: fieldsType + - apiVersion: apiVersion + fieldsV1: "{}" + manager: manager + subresource: subresource + time: 2000-01-23T04:56:07.000+00:00 + operation: operation + fieldsType: fieldsType + creationTimestamp: 2000-01-23T04:56:07.000+00:00 + name: name + namespace: namespace + apiVersion: apiVersion + kind: kind + spec: + taint: + timeAdded: 2000-01-23T04:56:07.000+00:00 + effect: effect + value: value + key: key + deviceSelector: + deviceClassName: deviceClassName + driver: driver + pool: pool + selectors: + - cel: + expression: expression + - cel: + expression: expression + device: device + properties: + apiVersion: + description: "APIVersion defines the versioned schema of this representation\ + \ of an object. Servers should convert recognized schemas to the latest\ + \ internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources" + type: string + kind: + description: "Kind is a string value representing the REST resource this\ + \ object represents. Servers may infer this from the endpoint the client\ + \ submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + type: string + metadata: + $ref: '#/components/schemas/v1.ObjectMeta' + spec: + $ref: '#/components/schemas/v1alpha3.DeviceTaintRuleSpec' + required: + - spec + type: object + x-kubernetes-group-version-kind: + - group: resource.k8s.io + kind: DeviceTaintRule + version: v1alpha3 + x-implements: + - io.kubernetes.client.common.KubernetesObject + v1alpha3.DeviceTaintRuleList: + description: DeviceTaintRuleList is a collection of DeviceTaintRules. + example: + metadata: + remainingItemCount: 1 + continue: continue + resourceVersion: resourceVersion + selfLink: selfLink + apiVersion: apiVersion + kind: kind + items: + - metadata: + generation: 6 + finalizers: + - finalizers + - finalizers + resourceVersion: resourceVersion + annotations: + key: annotations + generateName: generateName + deletionTimestamp: 2000-01-23T04:56:07.000+00:00 + labels: + key: labels + ownerReferences: + - uid: uid + controller: true + apiVersion: apiVersion + kind: kind + name: name + blockOwnerDeletion: true + - uid: uid + controller: true + apiVersion: apiVersion + kind: kind + name: name + blockOwnerDeletion: true + selfLink: selfLink + deletionGracePeriodSeconds: 0 + uid: uid + managedFields: + - apiVersion: apiVersion + fieldsV1: "{}" + manager: manager + subresource: subresource + time: 2000-01-23T04:56:07.000+00:00 + operation: operation + fieldsType: fieldsType + - apiVersion: apiVersion + fieldsV1: "{}" + manager: manager + subresource: subresource + time: 2000-01-23T04:56:07.000+00:00 + operation: operation + fieldsType: fieldsType + creationTimestamp: 2000-01-23T04:56:07.000+00:00 + name: name + namespace: namespace + apiVersion: apiVersion + kind: kind + spec: + taint: + timeAdded: 2000-01-23T04:56:07.000+00:00 + effect: effect + value: value + key: key + deviceSelector: + deviceClassName: deviceClassName + driver: driver + pool: pool + selectors: + - cel: + expression: expression + - cel: + expression: expression + device: device + - metadata: + generation: 6 + finalizers: + - finalizers + - finalizers + resourceVersion: resourceVersion + annotations: + key: annotations + generateName: generateName + deletionTimestamp: 2000-01-23T04:56:07.000+00:00 + labels: + key: labels + ownerReferences: + - uid: uid + controller: true + apiVersion: apiVersion + kind: kind + name: name + blockOwnerDeletion: true + - uid: uid + controller: true + apiVersion: apiVersion + kind: kind + name: name + blockOwnerDeletion: true + selfLink: selfLink + deletionGracePeriodSeconds: 0 + uid: uid + managedFields: + - apiVersion: apiVersion + fieldsV1: "{}" + manager: manager + subresource: subresource + time: 2000-01-23T04:56:07.000+00:00 + operation: operation + fieldsType: fieldsType + - apiVersion: apiVersion + fieldsV1: "{}" + manager: manager + subresource: subresource + time: 2000-01-23T04:56:07.000+00:00 + operation: operation + fieldsType: fieldsType + creationTimestamp: 2000-01-23T04:56:07.000+00:00 + name: name + namespace: namespace + apiVersion: apiVersion + kind: kind + spec: + taint: + timeAdded: 2000-01-23T04:56:07.000+00:00 + effect: effect + value: value + key: key + deviceSelector: + deviceClassName: deviceClassName + driver: driver + pool: pool + selectors: + - cel: + expression: expression + - cel: + expression: expression + device: device + properties: + apiVersion: + description: "APIVersion defines the versioned schema of this representation\ + \ of an object. Servers should convert recognized schemas to the latest\ + \ internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources" + type: string + items: + description: Items is the list of DeviceTaintRules. + items: + $ref: '#/components/schemas/v1alpha3.DeviceTaintRule' + type: array + kind: + description: "Kind is a string value representing the REST resource this\ + \ object represents. Servers may infer this from the endpoint the client\ + \ submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + type: string + metadata: + $ref: '#/components/schemas/v1.ListMeta' + required: + - items + type: object + x-kubernetes-group-version-kind: + - group: resource.k8s.io + kind: DeviceTaintRuleList + version: v1alpha3 + x-implements: + - io.kubernetes.client.common.KubernetesListObject + v1alpha3.DeviceTaintRuleSpec: + description: DeviceTaintRuleSpec specifies the selector and one taint. + example: + taint: + timeAdded: 2000-01-23T04:56:07.000+00:00 + effect: effect + value: value + key: key + deviceSelector: + deviceClassName: deviceClassName + driver: driver + pool: pool + selectors: + - cel: + expression: expression + - cel: + expression: expression + device: device + properties: + deviceSelector: + $ref: '#/components/schemas/v1alpha3.DeviceTaintSelector' + taint: + $ref: '#/components/schemas/v1alpha3.DeviceTaint' + required: + - taint + type: object + v1alpha3.DeviceTaintSelector: + description: "DeviceTaintSelector defines which device(s) a DeviceTaintRule\ + \ applies to. The empty selector matches all devices. Without a selector,\ + \ no devices are matched." + example: + deviceClassName: deviceClassName + driver: driver + pool: pool + selectors: + - cel: + expression: expression + - cel: + expression: expression + device: device + properties: + device: + description: |- + If device is set, only devices with that name are selected. This field corresponds to slice.spec.devices[].name. + + Setting also driver and pool may be required to avoid ambiguity, but is not required. + type: string + deviceClassName: + description: "If DeviceClassName is set, the selectors defined there must\ + \ be satisfied by a device to be selected. This field corresponds to class.metadata.name." + type: string + driver: + description: "If driver is set, only devices from that driver are selected.\ + \ This fields corresponds to slice.spec.driver." + type: string + pool: + description: |- + If pool is set, only devices in that pool are selected. + + Also setting the driver name may be useful to avoid ambiguity when different drivers use the same pool name, but this is not required because selecting pools from different drivers may also be useful, for example when drivers with node-local devices use the node name as their pool name. + type: string + selectors: + description: "Selectors contains the same selection criteria as a ResourceClaim.\ + \ Currently, CEL expressions are supported. All of these selectors must\ + \ be satisfied." + items: + $ref: '#/components/schemas/v1alpha3.DeviceSelector' + type: array + x-kubernetes-list-type: atomic + type: object v1beta1.AllocatedDeviceStatus: - description: "AllocatedDeviceStatus contains the status of an allocated device,\ - \ if the driver chooses to report it. This may include driver-specific information." + description: |- + AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it. This may include driver-specific information. + + The combination of Driver, Pool, Device, and ShareID must match the corresponding key in Status.Allocation.Devices. example: data: "{}" driver: driver @@ -256344,6 +265895,7 @@ components: - ips - ips pool: pool + shareID: shareID conditions: - reason: reason lastTransitionTime: 2000-01-23T04:56:07.000+00:00 @@ -256395,6 +265947,10 @@ components: Must not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes. type: string + shareID: + description: ShareID uniquely identifies an individual allocation share + of the device. + type: string required: - device - driver @@ -256403,6 +265959,7 @@ components: v1beta1.AllocationResult: description: AllocationResult contains attributes of an allocated resource. example: + allocationTimestamp: 2000-01-23T04:56:07.000+00:00 devices: config: - opaque: @@ -256434,8 +265991,17 @@ components: key: key operator: operator driver: driver + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions pool: pool + shareID: shareID + consumedCapacity: + key: null device: device + bindingConditions: + - bindingConditions + - bindingConditions - request: request adminAccess: true tolerations: @@ -256450,8 +266016,17 @@ components: key: key operator: operator driver: driver + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions pool: pool + shareID: shareID + consumedCapacity: + key: null device: device + bindingConditions: + - bindingConditions + - bindingConditions nodeSelector: nodeSelectorTerms: - matchExpressions: @@ -256499,6 +266074,13 @@ components: key: key operator: operator properties: + allocationTimestamp: + description: |- + 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 feature gate. + format: date-time + type: string devices: $ref: '#/components/schemas/v1beta1.DeviceAllocationResult' nodeSelector: @@ -256508,6 +266090,7 @@ components: description: BasicDevice defines one device instance. example: nodeName: nodeName + allowMultipleAllocations: true consumesCounters: - counters: key: @@ -256517,6 +266100,9 @@ components: key: value: value counterSet: counterSet + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions attributes: key: bool: true @@ -256533,9 +266119,22 @@ components: value: value key: key allNodes: true + bindsToNode: true + bindingConditions: + - bindingConditions + - bindingConditions capacity: key: value: value + requestPolicy: + default: default + validRange: + min: min + max: max + step: step + validValues: + - null + - null nodeSelector: nodeSelectorTerms: - matchExpressions: @@ -256589,6 +266188,12 @@ components: Must only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set. type: boolean + allowMultipleAllocations: + description: |- + 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. + type: boolean attributes: additionalProperties: $ref: '#/components/schemas/v1beta1.DeviceAttribute' @@ -256597,6 +266202,38 @@ components: The maximum number of attributes and capacities combined is 32. type: object + bindingConditions: + description: |- + BindingConditions defines the conditions for proceeding with binding. All of these conditions must be set in the per-device status conditions with a value of True to proceed with binding the pod to the node while scheduling the pod. + + The maximum number of binding conditions is 4. + + The conditions must be a valid condition type string. + + This is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates. + items: + type: string + type: array + x-kubernetes-list-type: atomic + bindingFailureConditions: + description: |- + BindingFailureConditions defines the conditions for binding failure. They may be set in the per-device status conditions. If any is true, a binding failure occurred. + + The maximum number of binding failure conditions is 4. + + The conditions must be a valid condition type string. + + This is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates. + items: + type: string + type: array + x-kubernetes-list-type: atomic + bindsToNode: + description: |- + 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 feature gates. + type: boolean capacity: additionalProperties: $ref: '#/components/schemas/v1beta1.DeviceCapacity' @@ -256651,6 +266288,8 @@ components: (e.g. device.attributes["dra.example.com"] evaluates to an object with all of the attributes which were prefixed by "dra.example.com". - capacity (map[string]object): the device's capacities, grouped by prefix. + - allowMultipleAllocations (bool): the allowMultipleAllocations property of the device + (v1.34+ with the DRAConsumableCapacity feature enabled). Example: Consider a device with driver="dra.example.com", which exposes two attributes named "model" and "ext.example.com/family" and which exposes one capacity named "modules". This input to this expression would have the following fields: @@ -256676,6 +266315,233 @@ components: required: - expression type: object + v1beta1.CapacityRequestPolicy: + description: |- + CapacityRequestPolicy defines how requests consume device capacity. + + Must not set more than one ValidRequestValues. + example: + default: default + validRange: + min: min + max: max + step: step + validValues: + - null + - null + properties: + default: + description: "Quantity is a fixed-point representation of a number. It provides\ + \ convenient marshaling/unmarshaling in JSON and YAML, in addition to\ + \ String() and AsInt64() accessors.\n\nThe serialization format is:\n\n\ + ``` ::= \n\n\t(Note that \ + \ may be empty, from the \"\" case in .)\n\n \ + \ ::= 0 | 1 | ... | 9 ::= | \ + \ ::= | . | . | .\ + \ ::= \"+\" | \"-\" ::= |\ + \ ::= | \ + \ | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t\ + (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\ + \n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that\ + \ 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n\ + \ ::= \"e\" | \"E\" ```\n\nNo matter which\ + \ of the three exponent forms is used, no quantity may represent a number\ + \ greater than 2^63-1 in magnitude, nor may it have more than 3 decimal\ + \ places. Numbers larger or more precise will be capped or rounded up.\ + \ (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future\ + \ if we require larger or smaller quantities.\n\nWhen a Quantity is parsed\ + \ from a string, it will remember the type of suffix it had, and will\ + \ use the same type again when it is serialized.\n\nBefore serializing,\ + \ Quantity will be put in \"canonical form\". This means that Exponent/suffix\ + \ will be adjusted up or down (with a corresponding increase or decrease\ + \ in Mantissa) such that:\n\n- No precision is lost - No fractional digits\ + \ will be emitted - The exponent (or suffix) is as large as possible.\n\ + \nThe sign will be omitted unless the number is negative.\n\nExamples:\n\ + \n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as\ + \ \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented\ + \ by a floating point number. That is the whole point of this exercise.\n\ + \nNon-canonical values will still parse as long as they are well formed,\ + \ but will be re-emitted in their canonical form. (So always use canonical\ + \ form, or don't diff.)\n\nThis format is intended to make it difficult\ + \ to use these numbers without writing some sort of special handling code\ + \ in the hopes that that will cause implementors to also use a fixed point\ + \ implementation." + format: quantity + type: string + validRange: + $ref: '#/components/schemas/v1beta1.CapacityRequestPolicyRange' + validValues: + description: |- + ValidValues defines a set of acceptable quantity values in consuming requests. + + Must not contain more than 10 entries. Must be sorted in ascending order. + + If this field is set, Default must be defined and it must be included in ValidValues list. + + If the requested amount does not match any valid value but smaller than some valid values, the scheduler calculates the smallest valid value that is greater than or equal to the request. That is: min(ceil(requestedValue) ∈ validValues), where requestedValue ≤ max(validValues). + + If the requested amount exceeds all valid values, the request violates the policy, and this device cannot be allocated. + items: + $ref: '#/components/schemas/resource.Quantity' + type: array + x-kubernetes-list-type: atomic + type: object + v1beta1.CapacityRequestPolicyRange: + description: |- + CapacityRequestPolicyRange defines a valid range for consumable capacity values. + + - If the requested amount is less than Min, it is rounded up to the Min value. + - If Step is set and the requested amount is between Min and Max but not aligned with Step, + it will be rounded up to the next value equal to Min + (n * Step). + - If Step is not set, the requested amount is used as-is if it falls within the range Min to Max (if set). + - If the requested or rounded amount exceeds Max (if set), the request does not satisfy the policy, + and the device cannot be allocated. + example: + min: min + max: max + step: step + properties: + max: + description: "Quantity is a fixed-point representation of a number. It provides\ + \ convenient marshaling/unmarshaling in JSON and YAML, in addition to\ + \ String() and AsInt64() accessors.\n\nThe serialization format is:\n\n\ + ``` ::= \n\n\t(Note that \ + \ may be empty, from the \"\" case in .)\n\n \ + \ ::= 0 | 1 | ... | 9 ::= | \ + \ ::= | . | . | .\ + \ ::= \"+\" | \"-\" ::= |\ + \ ::= | \ + \ | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t\ + (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\ + \n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that\ + \ 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n\ + \ ::= \"e\" | \"E\" ```\n\nNo matter which\ + \ of the three exponent forms is used, no quantity may represent a number\ + \ greater than 2^63-1 in magnitude, nor may it have more than 3 decimal\ + \ places. Numbers larger or more precise will be capped or rounded up.\ + \ (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future\ + \ if we require larger or smaller quantities.\n\nWhen a Quantity is parsed\ + \ from a string, it will remember the type of suffix it had, and will\ + \ use the same type again when it is serialized.\n\nBefore serializing,\ + \ Quantity will be put in \"canonical form\". This means that Exponent/suffix\ + \ will be adjusted up or down (with a corresponding increase or decrease\ + \ in Mantissa) such that:\n\n- No precision is lost - No fractional digits\ + \ will be emitted - The exponent (or suffix) is as large as possible.\n\ + \nThe sign will be omitted unless the number is negative.\n\nExamples:\n\ + \n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as\ + \ \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented\ + \ by a floating point number. That is the whole point of this exercise.\n\ + \nNon-canonical values will still parse as long as they are well formed,\ + \ but will be re-emitted in their canonical form. (So always use canonical\ + \ form, or don't diff.)\n\nThis format is intended to make it difficult\ + \ to use these numbers without writing some sort of special handling code\ + \ in the hopes that that will cause implementors to also use a fixed point\ + \ implementation." + format: quantity + type: string + min: + description: "Quantity is a fixed-point representation of a number. It provides\ + \ convenient marshaling/unmarshaling in JSON and YAML, in addition to\ + \ String() and AsInt64() accessors.\n\nThe serialization format is:\n\n\ + ``` ::= \n\n\t(Note that \ + \ may be empty, from the \"\" case in .)\n\n \ + \ ::= 0 | 1 | ... | 9 ::= | \ + \ ::= | . | . | .\ + \ ::= \"+\" | \"-\" ::= |\ + \ ::= | \ + \ | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t\ + (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\ + \n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that\ + \ 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n\ + \ ::= \"e\" | \"E\" ```\n\nNo matter which\ + \ of the three exponent forms is used, no quantity may represent a number\ + \ greater than 2^63-1 in magnitude, nor may it have more than 3 decimal\ + \ places. Numbers larger or more precise will be capped or rounded up.\ + \ (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future\ + \ if we require larger or smaller quantities.\n\nWhen a Quantity is parsed\ + \ from a string, it will remember the type of suffix it had, and will\ + \ use the same type again when it is serialized.\n\nBefore serializing,\ + \ Quantity will be put in \"canonical form\". This means that Exponent/suffix\ + \ will be adjusted up or down (with a corresponding increase or decrease\ + \ in Mantissa) such that:\n\n- No precision is lost - No fractional digits\ + \ will be emitted - The exponent (or suffix) is as large as possible.\n\ + \nThe sign will be omitted unless the number is negative.\n\nExamples:\n\ + \n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as\ + \ \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented\ + \ by a floating point number. That is the whole point of this exercise.\n\ + \nNon-canonical values will still parse as long as they are well formed,\ + \ but will be re-emitted in their canonical form. (So always use canonical\ + \ form, or don't diff.)\n\nThis format is intended to make it difficult\ + \ to use these numbers without writing some sort of special handling code\ + \ in the hopes that that will cause implementors to also use a fixed point\ + \ implementation." + format: quantity + type: string + step: + description: "Quantity is a fixed-point representation of a number. It provides\ + \ convenient marshaling/unmarshaling in JSON and YAML, in addition to\ + \ String() and AsInt64() accessors.\n\nThe serialization format is:\n\n\ + ``` ::= \n\n\t(Note that \ + \ may be empty, from the \"\" case in .)\n\n \ + \ ::= 0 | 1 | ... | 9 ::= | \ + \ ::= | . | . | .\ + \ ::= \"+\" | \"-\" ::= |\ + \ ::= | \ + \ | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t\ + (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\ + \n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that\ + \ 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n\ + \ ::= \"e\" | \"E\" ```\n\nNo matter which\ + \ of the three exponent forms is used, no quantity may represent a number\ + \ greater than 2^63-1 in magnitude, nor may it have more than 3 decimal\ + \ places. Numbers larger or more precise will be capped or rounded up.\ + \ (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future\ + \ if we require larger or smaller quantities.\n\nWhen a Quantity is parsed\ + \ from a string, it will remember the type of suffix it had, and will\ + \ use the same type again when it is serialized.\n\nBefore serializing,\ + \ Quantity will be put in \"canonical form\". This means that Exponent/suffix\ + \ will be adjusted up or down (with a corresponding increase or decrease\ + \ in Mantissa) such that:\n\n- No precision is lost - No fractional digits\ + \ will be emitted - The exponent (or suffix) is as large as possible.\n\ + \nThe sign will be omitted unless the number is negative.\n\nExamples:\n\ + \n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as\ + \ \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented\ + \ by a floating point number. That is the whole point of this exercise.\n\ + \nNon-canonical values will still parse as long as they are well formed,\ + \ but will be re-emitted in their canonical form. (So always use canonical\ + \ form, or don't diff.)\n\nThis format is intended to make it difficult\ + \ to use these numbers without writing some sort of special handling code\ + \ in the hopes that that will cause implementors to also use a fixed point\ + \ implementation." + format: quantity + type: string + required: + - min + type: object + v1beta1.CapacityRequirements: + description: CapacityRequirements defines the capacity requirements for a specific + device request. + example: + requests: + key: null + properties: + requests: + additionalProperties: + $ref: '#/components/schemas/resource.Quantity' + description: |- + Requests represent individual device resource requests for distinct resources, all of which must be provided by the device. + + This value is used as an additional filtering condition against the available capacity on the device. This is semantically equivalent to a CEL selector with `device.capacity[]..compareTo(quantity()) >= 0`. For example, device.capacity['test-driver.cdi.k8s.io'].counters.compareTo(quantity('2')) >= 0. + + When a requestPolicy is defined, the requested amount is adjusted upward to the nearest valid value based on the policy. If the requested amount cannot be adjusted to a valid value—because it exceeds what the requestPolicy allows— the device is considered ineligible for allocation. + + For any capacity that is not explicitly requested: - If no requestPolicy is set, the default consumed capacity is equal to the full device capacity + (i.e., the whole device is claimed). + - If a requestPolicy is set, the default consumed capacity is determined according to that policy. + + If the device allows multiple allocation, 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. + type: object + type: object v1beta1.Counter: description: Counter describes a quantity associated with a device. example: @@ -256757,6 +266623,7 @@ components: name: name basic: nodeName: nodeName + allowMultipleAllocations: true consumesCounters: - counters: key: @@ -256766,6 +266633,9 @@ components: key: value: value counterSet: counterSet + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions attributes: key: bool: true @@ -256782,9 +266652,22 @@ components: value: value key: key allNodes: true + bindsToNode: true + bindingConditions: + - bindingConditions + - bindingConditions capacity: key: value: value + requestPolicy: + default: default + validRange: + min: min + max: max + step: step + validValues: + - null + - null nodeSelector: nodeSelectorTerms: - matchExpressions: @@ -256904,8 +266787,17 @@ components: key: key operator: operator driver: driver + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions pool: pool + shareID: shareID + consumedCapacity: + key: null device: device + bindingConditions: + - bindingConditions + - bindingConditions - request: request adminAccess: true tolerations: @@ -256920,8 +266812,17 @@ components: key: key operator: operator driver: driver + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions pool: pool + shareID: shareID + consumedCapacity: + key: null device: device + bindingConditions: + - bindingConditions + - bindingConditions properties: config: description: |- @@ -256966,7 +266867,18 @@ components: description: DeviceCapacity describes a quantity associated with a device. example: value: value + requestPolicy: + default: default + validRange: + min: min + max: max + step: step + validValues: + - null + - null properties: + requestPolicy: + $ref: '#/components/schemas/v1beta1.CapacityRequestPolicy' value: description: "Quantity is a fixed-point representation of a number. It provides\ \ convenient marshaling/unmarshaling in JSON and YAML, in addition to\ @@ -257047,6 +266959,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: @@ -257067,6 +266982,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null count: 0 name: name selectors: @@ -257074,6 +266992,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null - allocationMode: allocationMode deviceClassName: deviceClassName adminAccess: true @@ -257109,6 +267030,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: @@ -257129,6 +267053,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null count: 0 name: name selectors: @@ -257136,6 +267063,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null config: - opaque: driver: driver @@ -257150,11 +267080,13 @@ components: - requests - requests constraints: - - matchAttribute: matchAttribute + - distinctAttribute: distinctAttribute + matchAttribute: matchAttribute requests: - requests - requests - - matchAttribute: matchAttribute + - distinctAttribute: distinctAttribute + matchAttribute: matchAttribute requests: - requests - requests @@ -257260,6 +267192,7 @@ components: apiVersion: apiVersion kind: kind spec: + extendedResourceName: extendedResourceName selectors: - cel: expression: expression @@ -257366,6 +267299,7 @@ components: apiVersion: apiVersion kind: kind spec: + extendedResourceName: extendedResourceName selectors: - cel: expression: expression @@ -257427,6 +267361,7 @@ components: apiVersion: apiVersion kind: kind spec: + extendedResourceName: extendedResourceName selectors: - cel: expression: expression @@ -257470,6 +267405,7 @@ components: description: "DeviceClassSpec is used in a [DeviceClass] to define what can\ \ be allocated and how to configure it." example: + extendedResourceName: extendedResourceName selectors: - cel: expression: expression @@ -257492,6 +267428,12 @@ components: $ref: '#/components/schemas/v1beta1.DeviceClassConfiguration' type: array x-kubernetes-list-type: atomic + extendedResourceName: + description: |- + 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. It has the same format as the name of a pod's extended resource. It should be unique among all the device classes in a cluster. If two device classes have the same name, then the class created later is picked to satisfy a pod's extended resource requests. 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. + type: string selectors: description: Each selector must be satisfied by a device which is claimed via this class. @@ -257503,11 +267445,22 @@ components: v1beta1.DeviceConstraint: description: DeviceConstraint must have exactly one field set besides Requests. example: + distinctAttribute: distinctAttribute matchAttribute: matchAttribute requests: - requests - requests properties: + distinctAttribute: + description: |- + DistinctAttribute requires that all devices in question have this attribute and that its type and value are unique across those devices. + + This acts as the inverse of MatchAttribute. + + This constraint is used to avoid allocating multiple requests to the same device by ensuring attribute-level differentiation. + + 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. + type: string matchAttribute: description: |- MatchAttribute requires that all devices in question have this attribute and that its type and value are the same across those devices. @@ -257591,6 +267544,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: @@ -257611,6 +267567,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null count: 0 name: name selectors: @@ -257618,6 +267577,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null properties: adminAccess: description: |- @@ -257646,6 +267608,8 @@ components: More modes may get added in the future. Clients must refuse to handle requests with unknown modes. type: string + capacity: + $ref: '#/components/schemas/v1beta1.CapacityRequirements' count: description: |- 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. @@ -257725,8 +267689,17 @@ components: key: key operator: operator driver: driver + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions pool: pool + shareID: shareID + consumedCapacity: + key: null device: device + bindingConditions: + - bindingConditions + - bindingConditions properties: adminAccess: description: |- @@ -257734,6 +267707,34 @@ components: This is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled. type: boolean + bindingConditions: + description: |- + 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 feature gates. + items: + type: string + type: array + x-kubernetes-list-type: atomic + bindingFailureConditions: + description: |- + 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 feature gates. + items: + type: string + type: array + x-kubernetes-list-type: atomic + consumedCapacity: + additionalProperties: + $ref: '#/components/schemas/resource.Quantity' + description: |- + 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 value based on the device’s requestPolicy if applicable (i.e., may not be less than the requested amount). + + The total consumed capacity for each device must not exceed the DeviceCapacity's Value. + + This field is populated only for devices that allow multiple allocations. All capacity entries are included, even if the consumed amount is zero. + type: object device: description: Device references one device instance via its name in the driver's resource pool. It must be a DNS label. @@ -257756,6 +267757,12 @@ components: Multiple devices may have been allocated per request. type: string + shareID: + description: "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." + type: string tolerations: description: |- A copy of all tolerations specified in the request at the time when the device got allocated. @@ -257808,6 +267815,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null properties: allocationMode: description: |- @@ -257825,6 +267835,8 @@ components: More modes may get added in the future. Clients must refuse to handle requests with unknown modes. type: string + capacity: + $ref: '#/components/schemas/v1beta1.CapacityRequirements' count: description: "Count is used only when the count mode is \"ExactCount\".\ \ Must be greater than zero. If AllocationMode is ExactCount and this\ @@ -258099,6 +268111,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: @@ -258119,6 +268134,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null count: 0 name: name selectors: @@ -258126,6 +268144,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null - allocationMode: allocationMode deviceClassName: deviceClassName adminAccess: true @@ -258161,6 +268182,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: @@ -258181,6 +268205,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null count: 0 name: name selectors: @@ -258188,6 +268215,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null config: - opaque: driver: driver @@ -258202,16 +268232,19 @@ components: - requests - requests constraints: - - matchAttribute: matchAttribute + - distinctAttribute: distinctAttribute + matchAttribute: matchAttribute requests: - requests - requests - - matchAttribute: matchAttribute + - distinctAttribute: distinctAttribute + matchAttribute: matchAttribute requests: - requests - requests status: allocation: + allocationTimestamp: 2000-01-23T04:56:07.000+00:00 devices: config: - opaque: @@ -258243,8 +268276,17 @@ components: key: key operator: operator driver: driver + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions pool: pool + shareID: shareID + consumedCapacity: + key: null device: device + bindingConditions: + - bindingConditions + - bindingConditions - request: request adminAccess: true tolerations: @@ -258259,8 +268301,17 @@ components: key: key operator: operator driver: driver + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions pool: pool + shareID: shareID + consumedCapacity: + key: null device: device + bindingConditions: + - bindingConditions + - bindingConditions nodeSelector: nodeSelectorTerms: - matchExpressions: @@ -258326,6 +268377,7 @@ components: - ips - ips pool: pool + shareID: shareID conditions: - reason: reason lastTransitionTime: 2000-01-23T04:56:07.000+00:00 @@ -258349,6 +268401,7 @@ components: - ips - ips pool: pool + shareID: shareID conditions: - reason: reason lastTransitionTime: 2000-01-23T04:56:07.000+00:00 @@ -258516,6 +268569,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: @@ -258536,6 +268592,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null count: 0 name: name selectors: @@ -258543,6 +268602,329 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null + - allocationMode: allocationMode + deviceClassName: deviceClassName + adminAccess: true + tolerations: + - effect: effect + tolerationSeconds: 1 + value: value + key: key + operator: operator + - effect: effect + tolerationSeconds: 1 + value: value + key: key + operator: operator + firstAvailable: + - allocationMode: allocationMode + deviceClassName: deviceClassName + tolerations: + - effect: effect + tolerationSeconds: 1 + value: value + key: key + operator: operator + - effect: effect + tolerationSeconds: 1 + value: value + key: key + operator: operator + count: 6 + name: name + selectors: + - cel: + expression: expression + - cel: + expression: expression + capacity: + requests: + key: null + - allocationMode: allocationMode + deviceClassName: deviceClassName + tolerations: + - effect: effect + tolerationSeconds: 1 + value: value + key: key + operator: operator + - effect: effect + tolerationSeconds: 1 + value: value + key: key + operator: operator + count: 6 + name: name + selectors: + - cel: + expression: expression + - cel: + expression: expression + capacity: + requests: + key: null + count: 0 + name: name + selectors: + - cel: + expression: expression + - cel: + expression: expression + capacity: + requests: + key: null + config: + - opaque: + driver: driver + parameters: "{}" + requests: + - requests + - requests + - opaque: + driver: driver + parameters: "{}" + requests: + - requests + - requests + constraints: + - distinctAttribute: distinctAttribute + matchAttribute: matchAttribute + requests: + - requests + - requests + - distinctAttribute: distinctAttribute + matchAttribute: matchAttribute + requests: + - requests + - requests + status: + allocation: + allocationTimestamp: 2000-01-23T04:56:07.000+00:00 + devices: + config: + - opaque: + driver: driver + parameters: "{}" + requests: + - requests + - requests + source: source + - opaque: + driver: driver + parameters: "{}" + requests: + - requests + - requests + source: source + results: + - request: request + adminAccess: true + tolerations: + - effect: effect + tolerationSeconds: 1 + value: value + key: key + operator: operator + - effect: effect + tolerationSeconds: 1 + value: value + key: key + operator: operator + driver: driver + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions + pool: pool + shareID: shareID + consumedCapacity: + key: null + device: device + bindingConditions: + - bindingConditions + - bindingConditions + - request: request + adminAccess: true + tolerations: + - effect: effect + tolerationSeconds: 1 + value: value + key: key + operator: operator + - effect: effect + tolerationSeconds: 1 + value: value + key: key + operator: operator + driver: driver + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions + pool: pool + shareID: shareID + consumedCapacity: + key: null + device: device + bindingConditions: + - bindingConditions + - bindingConditions + nodeSelector: + nodeSelectorTerms: + - matchExpressions: + - values: + - values + - values + key: key + operator: operator + - values: + - values + - values + key: key + operator: operator + matchFields: + - values: + - values + - values + key: key + operator: operator + - values: + - values + - values + key: key + operator: operator + - matchExpressions: + - values: + - values + - values + key: key + operator: operator + - values: + - values + - values + key: key + operator: operator + matchFields: + - values: + - values + - values + key: key + operator: operator + - values: + - values + - values + key: key + operator: operator + reservedFor: + - uid: uid + apiGroup: apiGroup + resource: resource + name: name + - uid: uid + apiGroup: apiGroup + resource: resource + name: name + devices: + - data: "{}" + driver: driver + networkData: + hardwareAddress: hardwareAddress + interfaceName: interfaceName + ips: + - ips + - ips + pool: pool + shareID: shareID + conditions: + - reason: reason + lastTransitionTime: 2000-01-23T04:56:07.000+00:00 + message: message + type: type + observedGeneration: 5 + status: status + - reason: reason + lastTransitionTime: 2000-01-23T04:56:07.000+00:00 + message: message + type: type + observedGeneration: 5 + status: status + device: device + - data: "{}" + driver: driver + networkData: + hardwareAddress: hardwareAddress + interfaceName: interfaceName + ips: + - ips + - ips + pool: pool + shareID: shareID + conditions: + - reason: reason + lastTransitionTime: 2000-01-23T04:56:07.000+00:00 + message: message + type: type + observedGeneration: 5 + status: status + - reason: reason + lastTransitionTime: 2000-01-23T04:56:07.000+00:00 + message: message + type: type + observedGeneration: 5 + status: status + device: device + - metadata: + generation: 6 + finalizers: + - finalizers + - finalizers + resourceVersion: resourceVersion + annotations: + key: annotations + generateName: generateName + deletionTimestamp: 2000-01-23T04:56:07.000+00:00 + labels: + key: labels + ownerReferences: + - uid: uid + controller: true + apiVersion: apiVersion + kind: kind + name: name + blockOwnerDeletion: true + - uid: uid + controller: true + apiVersion: apiVersion + kind: kind + name: name + blockOwnerDeletion: true + selfLink: selfLink + deletionGracePeriodSeconds: 0 + uid: uid + managedFields: + - apiVersion: apiVersion + fieldsV1: "{}" + manager: manager + subresource: subresource + time: 2000-01-23T04:56:07.000+00:00 + operation: operation + fieldsType: fieldsType + - apiVersion: apiVersion + fieldsV1: "{}" + manager: manager + subresource: subresource + time: 2000-01-23T04:56:07.000+00:00 + operation: operation + fieldsType: fieldsType + creationTimestamp: 2000-01-23T04:56:07.000+00:00 + name: name + namespace: namespace + apiVersion: apiVersion + kind: kind + spec: + devices: + requests: - allocationMode: allocationMode deviceClassName: deviceClassName adminAccess: true @@ -258578,6 +268960,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: @@ -258598,6 +268983,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null count: 0 name: name selectors: @@ -258605,294 +268993,9 @@ components: expression: expression - cel: expression: expression - config: - - opaque: - driver: driver - parameters: "{}" - requests: - - requests - - requests - - opaque: - driver: driver - parameters: "{}" - requests: - - requests - - requests - constraints: - - matchAttribute: matchAttribute - requests: - - requests - - requests - - matchAttribute: matchAttribute - requests: - - requests - - requests - status: - allocation: - devices: - config: - - opaque: - driver: driver - parameters: "{}" - requests: - - requests - - requests - source: source - - opaque: - driver: driver - parameters: "{}" + capacity: requests: - - requests - - requests - source: source - results: - - request: request - adminAccess: true - tolerations: - - effect: effect - tolerationSeconds: 1 - value: value - key: key - operator: operator - - effect: effect - tolerationSeconds: 1 - value: value - key: key - operator: operator - driver: driver - pool: pool - device: device - - request: request - adminAccess: true - tolerations: - - effect: effect - tolerationSeconds: 1 - value: value - key: key - operator: operator - - effect: effect - tolerationSeconds: 1 - value: value - key: key - operator: operator - driver: driver - pool: pool - device: device - nodeSelector: - nodeSelectorTerms: - - matchExpressions: - - values: - - values - - values - key: key - operator: operator - - values: - - values - - values - key: key - operator: operator - matchFields: - - values: - - values - - values - key: key - operator: operator - - values: - - values - - values - key: key - operator: operator - - matchExpressions: - - values: - - values - - values - key: key - operator: operator - - values: - - values - - values - key: key - operator: operator - matchFields: - - values: - - values - - values - key: key - operator: operator - - values: - - values - - values - key: key - operator: operator - reservedFor: - - uid: uid - apiGroup: apiGroup - resource: resource - name: name - - uid: uid - apiGroup: apiGroup - resource: resource - name: name - devices: - - data: "{}" - driver: driver - networkData: - hardwareAddress: hardwareAddress - interfaceName: interfaceName - ips: - - ips - - ips - pool: pool - conditions: - - reason: reason - lastTransitionTime: 2000-01-23T04:56:07.000+00:00 - message: message - type: type - observedGeneration: 5 - status: status - - reason: reason - lastTransitionTime: 2000-01-23T04:56:07.000+00:00 - message: message - type: type - observedGeneration: 5 - status: status - device: device - - data: "{}" - driver: driver - networkData: - hardwareAddress: hardwareAddress - interfaceName: interfaceName - ips: - - ips - - ips - pool: pool - conditions: - - reason: reason - lastTransitionTime: 2000-01-23T04:56:07.000+00:00 - message: message - type: type - observedGeneration: 5 - status: status - - reason: reason - lastTransitionTime: 2000-01-23T04:56:07.000+00:00 - message: message - type: type - observedGeneration: 5 - status: status - device: device - - metadata: - generation: 6 - finalizers: - - finalizers - - finalizers - resourceVersion: resourceVersion - annotations: - key: annotations - generateName: generateName - deletionTimestamp: 2000-01-23T04:56:07.000+00:00 - labels: - key: labels - ownerReferences: - - uid: uid - controller: true - apiVersion: apiVersion - kind: kind - name: name - blockOwnerDeletion: true - - uid: uid - controller: true - apiVersion: apiVersion - kind: kind - name: name - blockOwnerDeletion: true - selfLink: selfLink - deletionGracePeriodSeconds: 0 - uid: uid - managedFields: - - apiVersion: apiVersion - fieldsV1: "{}" - manager: manager - subresource: subresource - time: 2000-01-23T04:56:07.000+00:00 - operation: operation - fieldsType: fieldsType - - apiVersion: apiVersion - fieldsV1: "{}" - manager: manager - subresource: subresource - time: 2000-01-23T04:56:07.000+00:00 - operation: operation - fieldsType: fieldsType - creationTimestamp: 2000-01-23T04:56:07.000+00:00 - name: name - namespace: namespace - apiVersion: apiVersion - kind: kind - spec: - devices: - requests: - - allocationMode: allocationMode - deviceClassName: deviceClassName - adminAccess: true - tolerations: - - effect: effect - tolerationSeconds: 1 - value: value - key: key - operator: operator - - effect: effect - tolerationSeconds: 1 - value: value - key: key - operator: operator - firstAvailable: - - allocationMode: allocationMode - deviceClassName: deviceClassName - tolerations: - - effect: effect - tolerationSeconds: 1 - value: value - key: key - operator: operator - - effect: effect - tolerationSeconds: 1 - value: value - key: key - operator: operator - count: 6 - name: name - selectors: - - cel: - expression: expression - - cel: - expression: expression - - allocationMode: allocationMode - deviceClassName: deviceClassName - tolerations: - - effect: effect - tolerationSeconds: 1 - value: value - key: key - operator: operator - - effect: effect - tolerationSeconds: 1 - value: value - key: key - operator: operator - count: 6 - name: name - selectors: - - cel: - expression: expression - - cel: - expression: expression - count: 0 - name: name - selectors: - - cel: - expression: expression - - cel: - expression: expression + key: null - allocationMode: allocationMode deviceClassName: deviceClassName adminAccess: true @@ -258928,6 +269031,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: @@ -258948,6 +269054,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null count: 0 name: name selectors: @@ -258955,6 +269064,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null config: - opaque: driver: driver @@ -258969,16 +269081,19 @@ components: - requests - requests constraints: - - matchAttribute: matchAttribute + - distinctAttribute: distinctAttribute + matchAttribute: matchAttribute requests: - requests - requests - - matchAttribute: matchAttribute + - distinctAttribute: distinctAttribute + matchAttribute: matchAttribute requests: - requests - requests status: allocation: + allocationTimestamp: 2000-01-23T04:56:07.000+00:00 devices: config: - opaque: @@ -259010,8 +269125,17 @@ components: key: key operator: operator driver: driver + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions pool: pool + shareID: shareID + consumedCapacity: + key: null device: device + bindingConditions: + - bindingConditions + - bindingConditions - request: request adminAccess: true tolerations: @@ -259026,8 +269150,17 @@ components: key: key operator: operator driver: driver + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions pool: pool + shareID: shareID + consumedCapacity: + key: null device: device + bindingConditions: + - bindingConditions + - bindingConditions nodeSelector: nodeSelectorTerms: - matchExpressions: @@ -259093,6 +269226,7 @@ components: - ips - ips pool: pool + shareID: shareID conditions: - reason: reason lastTransitionTime: 2000-01-23T04:56:07.000+00:00 @@ -259116,6 +269250,7 @@ components: - ips - ips pool: pool + shareID: shareID conditions: - reason: reason lastTransitionTime: 2000-01-23T04:56:07.000+00:00 @@ -259198,6 +269333,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: @@ -259218,6 +269356,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null count: 0 name: name selectors: @@ -259225,6 +269366,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null - allocationMode: allocationMode deviceClassName: deviceClassName adminAccess: true @@ -259260,6 +269404,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: @@ -259280,6 +269427,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null count: 0 name: name selectors: @@ -259287,6 +269437,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null config: - opaque: driver: driver @@ -259301,11 +269454,13 @@ components: - requests - requests constraints: - - matchAttribute: matchAttribute + - distinctAttribute: distinctAttribute + matchAttribute: matchAttribute requests: - requests - requests - - matchAttribute: matchAttribute + - distinctAttribute: distinctAttribute + matchAttribute: matchAttribute requests: - requests - requests @@ -259318,6 +269473,7 @@ components: and what the result of that was. example: allocation: + allocationTimestamp: 2000-01-23T04:56:07.000+00:00 devices: config: - opaque: @@ -259349,8 +269505,17 @@ components: key: key operator: operator driver: driver + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions pool: pool + shareID: shareID + consumedCapacity: + key: null device: device + bindingConditions: + - bindingConditions + - bindingConditions - request: request adminAccess: true tolerations: @@ -259365,8 +269530,17 @@ components: key: key operator: operator driver: driver + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions pool: pool + shareID: shareID + consumedCapacity: + key: null device: device + bindingConditions: + - bindingConditions + - bindingConditions nodeSelector: nodeSelectorTerms: - matchExpressions: @@ -259432,6 +269606,7 @@ components: - ips - ips pool: pool + shareID: shareID conditions: - reason: reason lastTransitionTime: 2000-01-23T04:56:07.000+00:00 @@ -259455,6 +269630,7 @@ components: - ips - ips pool: pool + shareID: shareID conditions: - reason: reason lastTransitionTime: 2000-01-23T04:56:07.000+00:00 @@ -259484,6 +269660,7 @@ components: - driver - device - pool + - shareID reservedFor: description: |- ReservedFor indicates which entities are currently allowed to use the claim. A Pod which references a ResourceClaim which is not reserved for that Pod will not be started. A claim that is in use or might be in use because it has been reserved must not get deallocated. @@ -259641,6 +269818,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: @@ -259661,6 +269841,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null count: 0 name: name selectors: @@ -259668,6 +269851,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null - allocationMode: allocationMode deviceClassName: deviceClassName adminAccess: true @@ -259703,6 +269889,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: @@ -259723,6 +269912,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null count: 0 name: name selectors: @@ -259730,6 +269922,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null config: - opaque: driver: driver @@ -259744,11 +269939,13 @@ components: - requests - requests constraints: - - matchAttribute: matchAttribute + - distinctAttribute: distinctAttribute + matchAttribute: matchAttribute requests: - requests - requests - - matchAttribute: matchAttribute + - distinctAttribute: distinctAttribute + matchAttribute: matchAttribute requests: - requests - requests @@ -259920,6 +270117,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: @@ -259940,6 +270140,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null count: 0 name: name selectors: @@ -259947,6 +270150,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null - allocationMode: allocationMode deviceClassName: deviceClassName adminAccess: true @@ -259982,6 +270188,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: @@ -260002,6 +270211,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null count: 0 name: name selectors: @@ -260009,6 +270221,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null config: - opaque: driver: driver @@ -260023,11 +270238,13 @@ components: - requests - requests constraints: - - matchAttribute: matchAttribute + - distinctAttribute: distinctAttribute + matchAttribute: matchAttribute requests: - requests - requests - - matchAttribute: matchAttribute + - distinctAttribute: distinctAttribute + matchAttribute: matchAttribute requests: - requests - requests @@ -260164,6 +270381,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: @@ -260184,6 +270404,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null count: 0 name: name selectors: @@ -260191,6 +270414,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null - allocationMode: allocationMode deviceClassName: deviceClassName adminAccess: true @@ -260226,6 +270452,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: @@ -260246,6 +270475,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null count: 0 name: name selectors: @@ -260253,6 +270485,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null config: - opaque: driver: driver @@ -260267,11 +270502,13 @@ components: - requests - requests constraints: - - matchAttribute: matchAttribute + - distinctAttribute: distinctAttribute + matchAttribute: matchAttribute requests: - requests - requests - - matchAttribute: matchAttribute + - distinctAttribute: distinctAttribute + matchAttribute: matchAttribute requests: - requests - requests @@ -260390,6 +270627,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: @@ -260410,6 +270650,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null count: 0 name: name selectors: @@ -260417,6 +270660,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null - allocationMode: allocationMode deviceClassName: deviceClassName adminAccess: true @@ -260452,6 +270698,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: @@ -260472,6 +270721,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null count: 0 name: name selectors: @@ -260479,6 +270731,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null config: - opaque: driver: driver @@ -260493,11 +270748,13 @@ components: - requests - requests constraints: - - matchAttribute: matchAttribute + - distinctAttribute: distinctAttribute + matchAttribute: matchAttribute requests: - requests - requests - - matchAttribute: matchAttribute + - distinctAttribute: distinctAttribute + matchAttribute: matchAttribute requests: - requests - requests @@ -260611,6 +270868,7 @@ components: - name: name basic: nodeName: nodeName + allowMultipleAllocations: true consumesCounters: - counters: key: @@ -260620,6 +270878,9 @@ components: key: value: value counterSet: counterSet + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions attributes: key: bool: true @@ -260636,9 +270897,22 @@ components: value: value key: key allNodes: true + bindsToNode: true + bindingConditions: + - bindingConditions + - bindingConditions capacity: key: value: value + requestPolicy: + default: default + validRange: + min: min + max: max + step: step + validValues: + - null + - null nodeSelector: nodeSelectorTerms: - matchExpressions: @@ -260688,6 +270962,7 @@ components: - name: name basic: nodeName: nodeName + allowMultipleAllocations: true consumesCounters: - counters: key: @@ -260697,6 +270972,9 @@ components: key: value: value counterSet: counterSet + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions attributes: key: bool: true @@ -260713,9 +270991,22 @@ components: value: value key: key allNodes: true + bindsToNode: true + bindingConditions: + - bindingConditions + - bindingConditions capacity: key: value: value + requestPolicy: + default: default + validRange: + min: min + max: max + step: step + validValues: + - null + - null nodeSelector: nodeSelectorTerms: - matchExpressions: @@ -260913,6 +271204,7 @@ components: - name: name basic: nodeName: nodeName + allowMultipleAllocations: true consumesCounters: - counters: key: @@ -260922,6 +271214,9 @@ components: key: value: value counterSet: counterSet + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions attributes: key: bool: true @@ -260938,9 +271233,22 @@ components: value: value key: key allNodes: true + bindsToNode: true + bindingConditions: + - bindingConditions + - bindingConditions capacity: key: value: value + requestPolicy: + default: default + validRange: + min: min + max: max + step: step + validValues: + - null + - null nodeSelector: nodeSelectorTerms: - matchExpressions: @@ -260990,6 +271298,7 @@ components: - name: name basic: nodeName: nodeName + allowMultipleAllocations: true consumesCounters: - counters: key: @@ -260999,6 +271308,9 @@ components: key: value: value counterSet: counterSet + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions attributes: key: bool: true @@ -261015,9 +271327,22 @@ components: value: value key: key allNodes: true + bindsToNode: true + bindingConditions: + - bindingConditions + - bindingConditions capacity: key: value: value + requestPolicy: + default: default + validRange: + min: min + max: max + step: step + validValues: + - null + - null nodeSelector: nodeSelectorTerms: - matchExpressions: @@ -261180,6 +271505,7 @@ components: - name: name basic: nodeName: nodeName + allowMultipleAllocations: true consumesCounters: - counters: key: @@ -261189,6 +271515,9 @@ components: key: value: value counterSet: counterSet + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions attributes: key: bool: true @@ -261205,9 +271534,22 @@ components: value: value key: key allNodes: true + bindsToNode: true + bindingConditions: + - bindingConditions + - bindingConditions capacity: key: value: value + requestPolicy: + default: default + validRange: + min: min + max: max + step: step + validValues: + - null + - null nodeSelector: nodeSelectorTerms: - matchExpressions: @@ -261257,6 +271599,7 @@ components: - name: name basic: nodeName: nodeName + allowMultipleAllocations: true consumesCounters: - counters: key: @@ -261266,6 +271609,9 @@ components: key: value: value counterSet: counterSet + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions attributes: key: bool: true @@ -261282,9 +271628,22 @@ components: value: value key: key allNodes: true + bindsToNode: true + bindingConditions: + - bindingConditions + - bindingConditions capacity: key: value: value + requestPolicy: + default: default + validRange: + min: min + max: max + step: step + validValues: + - null + - null nodeSelector: nodeSelectorTerms: - matchExpressions: @@ -261429,6 +271788,7 @@ components: - name: name basic: nodeName: nodeName + allowMultipleAllocations: true consumesCounters: - counters: key: @@ -261438,6 +271798,9 @@ components: key: value: value counterSet: counterSet + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions attributes: key: bool: true @@ -261454,9 +271817,22 @@ components: value: value key: key allNodes: true + bindsToNode: true + bindingConditions: + - bindingConditions + - bindingConditions capacity: key: value: value + requestPolicy: + default: default + validRange: + min: min + max: max + step: step + validValues: + - null + - null nodeSelector: nodeSelectorTerms: - matchExpressions: @@ -261506,6 +271882,7 @@ components: - name: name basic: nodeName: nodeName + allowMultipleAllocations: true consumesCounters: - counters: key: @@ -261515,6 +271892,9 @@ components: key: value: value counterSet: counterSet + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions attributes: key: bool: true @@ -261531,9 +271911,22 @@ components: value: value key: key allNodes: true + bindsToNode: true + bindingConditions: + - bindingConditions + - bindingConditions capacity: key: value: value + requestPolicy: + default: default + validRange: + min: min + max: max + step: step + validValues: + - null + - null nodeSelector: nodeSelectorTerms: - matchExpressions: @@ -261696,8 +272089,10 @@ components: - pool type: object v1beta2.AllocatedDeviceStatus: - description: "AllocatedDeviceStatus contains the status of an allocated device,\ - \ if the driver chooses to report it. This may include driver-specific information." + description: |- + AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it. This may include driver-specific information. + + The combination of Driver, Pool, Device, and ShareID must match the corresponding key in Status.Allocation.Devices. example: data: "{}" driver: driver @@ -261708,6 +272103,7 @@ components: - ips - ips pool: pool + shareID: shareID conditions: - reason: reason lastTransitionTime: 2000-01-23T04:56:07.000+00:00 @@ -261759,6 +272155,10 @@ components: Must not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes. type: string + shareID: + description: ShareID uniquely identifies an individual allocation share + of the device. + type: string required: - device - driver @@ -261767,6 +272167,7 @@ components: v1beta2.AllocationResult: description: AllocationResult contains attributes of an allocated resource. example: + allocationTimestamp: 2000-01-23T04:56:07.000+00:00 devices: config: - opaque: @@ -261798,8 +272199,17 @@ components: key: key operator: operator driver: driver + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions pool: pool + shareID: shareID + consumedCapacity: + key: null device: device + bindingConditions: + - bindingConditions + - bindingConditions - request: request adminAccess: true tolerations: @@ -261814,8 +272224,17 @@ components: key: key operator: operator driver: driver + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions pool: pool + shareID: shareID + consumedCapacity: + key: null device: device + bindingConditions: + - bindingConditions + - bindingConditions nodeSelector: nodeSelectorTerms: - matchExpressions: @@ -261863,6 +272282,13 @@ components: key: key operator: operator properties: + allocationTimestamp: + description: |- + 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 feature gate. + format: date-time + type: string devices: $ref: '#/components/schemas/v1beta2.DeviceAllocationResult' nodeSelector: @@ -261883,6 +272309,8 @@ components: (e.g. device.attributes["dra.example.com"] evaluates to an object with all of the attributes which were prefixed by "dra.example.com". - capacity (map[string]object): the device's capacities, grouped by prefix. + - allowMultipleAllocations (bool): the allowMultipleAllocations property of the device + (v1.34+ with the DRAConsumableCapacity feature enabled). Example: Consider a device with driver="dra.example.com", which exposes two attributes named "model" and "ext.example.com/family" and which exposes one capacity named "modules". This input to this expression would have the following fields: @@ -261908,6 +272336,233 @@ components: required: - expression type: object + v1beta2.CapacityRequestPolicy: + description: |- + CapacityRequestPolicy defines how requests consume device capacity. + + Must not set more than one ValidRequestValues. + example: + default: default + validRange: + min: min + max: max + step: step + validValues: + - null + - null + properties: + default: + description: "Quantity is a fixed-point representation of a number. It provides\ + \ convenient marshaling/unmarshaling in JSON and YAML, in addition to\ + \ String() and AsInt64() accessors.\n\nThe serialization format is:\n\n\ + ``` ::= \n\n\t(Note that \ + \ may be empty, from the \"\" case in .)\n\n \ + \ ::= 0 | 1 | ... | 9 ::= | \ + \ ::= | . | . | .\ + \ ::= \"+\" | \"-\" ::= |\ + \ ::= | \ + \ | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t\ + (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\ + \n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that\ + \ 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n\ + \ ::= \"e\" | \"E\" ```\n\nNo matter which\ + \ of the three exponent forms is used, no quantity may represent a number\ + \ greater than 2^63-1 in magnitude, nor may it have more than 3 decimal\ + \ places. Numbers larger or more precise will be capped or rounded up.\ + \ (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future\ + \ if we require larger or smaller quantities.\n\nWhen a Quantity is parsed\ + \ from a string, it will remember the type of suffix it had, and will\ + \ use the same type again when it is serialized.\n\nBefore serializing,\ + \ Quantity will be put in \"canonical form\". This means that Exponent/suffix\ + \ will be adjusted up or down (with a corresponding increase or decrease\ + \ in Mantissa) such that:\n\n- No precision is lost - No fractional digits\ + \ will be emitted - The exponent (or suffix) is as large as possible.\n\ + \nThe sign will be omitted unless the number is negative.\n\nExamples:\n\ + \n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as\ + \ \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented\ + \ by a floating point number. That is the whole point of this exercise.\n\ + \nNon-canonical values will still parse as long as they are well formed,\ + \ but will be re-emitted in their canonical form. (So always use canonical\ + \ form, or don't diff.)\n\nThis format is intended to make it difficult\ + \ to use these numbers without writing some sort of special handling code\ + \ in the hopes that that will cause implementors to also use a fixed point\ + \ implementation." + format: quantity + type: string + validRange: + $ref: '#/components/schemas/v1beta2.CapacityRequestPolicyRange' + validValues: + description: |- + ValidValues defines a set of acceptable quantity values in consuming requests. + + Must not contain more than 10 entries. Must be sorted in ascending order. + + If this field is set, Default must be defined and it must be included in ValidValues list. + + If the requested amount does not match any valid value but smaller than some valid values, the scheduler calculates the smallest valid value that is greater than or equal to the request. That is: min(ceil(requestedValue) ∈ validValues), where requestedValue ≤ max(validValues). + + If the requested amount exceeds all valid values, the request violates the policy, and this device cannot be allocated. + items: + $ref: '#/components/schemas/resource.Quantity' + type: array + x-kubernetes-list-type: atomic + type: object + v1beta2.CapacityRequestPolicyRange: + description: |- + CapacityRequestPolicyRange defines a valid range for consumable capacity values. + + - If the requested amount is less than Min, it is rounded up to the Min value. + - If Step is set and the requested amount is between Min and Max but not aligned with Step, + it will be rounded up to the next value equal to Min + (n * Step). + - If Step is not set, the requested amount is used as-is if it falls within the range Min to Max (if set). + - If the requested or rounded amount exceeds Max (if set), the request does not satisfy the policy, + and the device cannot be allocated. + example: + min: min + max: max + step: step + properties: + max: + description: "Quantity is a fixed-point representation of a number. It provides\ + \ convenient marshaling/unmarshaling in JSON and YAML, in addition to\ + \ String() and AsInt64() accessors.\n\nThe serialization format is:\n\n\ + ``` ::= \n\n\t(Note that \ + \ may be empty, from the \"\" case in .)\n\n \ + \ ::= 0 | 1 | ... | 9 ::= | \ + \ ::= | . | . | .\ + \ ::= \"+\" | \"-\" ::= |\ + \ ::= | \ + \ | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t\ + (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\ + \n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that\ + \ 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n\ + \ ::= \"e\" | \"E\" ```\n\nNo matter which\ + \ of the three exponent forms is used, no quantity may represent a number\ + \ greater than 2^63-1 in magnitude, nor may it have more than 3 decimal\ + \ places. Numbers larger or more precise will be capped or rounded up.\ + \ (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future\ + \ if we require larger or smaller quantities.\n\nWhen a Quantity is parsed\ + \ from a string, it will remember the type of suffix it had, and will\ + \ use the same type again when it is serialized.\n\nBefore serializing,\ + \ Quantity will be put in \"canonical form\". This means that Exponent/suffix\ + \ will be adjusted up or down (with a corresponding increase or decrease\ + \ in Mantissa) such that:\n\n- No precision is lost - No fractional digits\ + \ will be emitted - The exponent (or suffix) is as large as possible.\n\ + \nThe sign will be omitted unless the number is negative.\n\nExamples:\n\ + \n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as\ + \ \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented\ + \ by a floating point number. That is the whole point of this exercise.\n\ + \nNon-canonical values will still parse as long as they are well formed,\ + \ but will be re-emitted in their canonical form. (So always use canonical\ + \ form, or don't diff.)\n\nThis format is intended to make it difficult\ + \ to use these numbers without writing some sort of special handling code\ + \ in the hopes that that will cause implementors to also use a fixed point\ + \ implementation." + format: quantity + type: string + min: + description: "Quantity is a fixed-point representation of a number. It provides\ + \ convenient marshaling/unmarshaling in JSON and YAML, in addition to\ + \ String() and AsInt64() accessors.\n\nThe serialization format is:\n\n\ + ``` ::= \n\n\t(Note that \ + \ may be empty, from the \"\" case in .)\n\n \ + \ ::= 0 | 1 | ... | 9 ::= | \ + \ ::= | . | . | .\ + \ ::= \"+\" | \"-\" ::= |\ + \ ::= | \ + \ | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t\ + (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\ + \n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that\ + \ 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n\ + \ ::= \"e\" | \"E\" ```\n\nNo matter which\ + \ of the three exponent forms is used, no quantity may represent a number\ + \ greater than 2^63-1 in magnitude, nor may it have more than 3 decimal\ + \ places. Numbers larger or more precise will be capped or rounded up.\ + \ (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future\ + \ if we require larger or smaller quantities.\n\nWhen a Quantity is parsed\ + \ from a string, it will remember the type of suffix it had, and will\ + \ use the same type again when it is serialized.\n\nBefore serializing,\ + \ Quantity will be put in \"canonical form\". This means that Exponent/suffix\ + \ will be adjusted up or down (with a corresponding increase or decrease\ + \ in Mantissa) such that:\n\n- No precision is lost - No fractional digits\ + \ will be emitted - The exponent (or suffix) is as large as possible.\n\ + \nThe sign will be omitted unless the number is negative.\n\nExamples:\n\ + \n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as\ + \ \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented\ + \ by a floating point number. That is the whole point of this exercise.\n\ + \nNon-canonical values will still parse as long as they are well formed,\ + \ but will be re-emitted in their canonical form. (So always use canonical\ + \ form, or don't diff.)\n\nThis format is intended to make it difficult\ + \ to use these numbers without writing some sort of special handling code\ + \ in the hopes that that will cause implementors to also use a fixed point\ + \ implementation." + format: quantity + type: string + step: + description: "Quantity is a fixed-point representation of a number. It provides\ + \ convenient marshaling/unmarshaling in JSON and YAML, in addition to\ + \ String() and AsInt64() accessors.\n\nThe serialization format is:\n\n\ + ``` ::= \n\n\t(Note that \ + \ may be empty, from the \"\" case in .)\n\n \ + \ ::= 0 | 1 | ... | 9 ::= | \ + \ ::= | . | . | .\ + \ ::= \"+\" | \"-\" ::= |\ + \ ::= | \ + \ | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t\ + (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\ + \n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that\ + \ 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n\ + \ ::= \"e\" | \"E\" ```\n\nNo matter which\ + \ of the three exponent forms is used, no quantity may represent a number\ + \ greater than 2^63-1 in magnitude, nor may it have more than 3 decimal\ + \ places. Numbers larger or more precise will be capped or rounded up.\ + \ (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future\ + \ if we require larger or smaller quantities.\n\nWhen a Quantity is parsed\ + \ from a string, it will remember the type of suffix it had, and will\ + \ use the same type again when it is serialized.\n\nBefore serializing,\ + \ Quantity will be put in \"canonical form\". This means that Exponent/suffix\ + \ will be adjusted up or down (with a corresponding increase or decrease\ + \ in Mantissa) such that:\n\n- No precision is lost - No fractional digits\ + \ will be emitted - The exponent (or suffix) is as large as possible.\n\ + \nThe sign will be omitted unless the number is negative.\n\nExamples:\n\ + \n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as\ + \ \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented\ + \ by a floating point number. That is the whole point of this exercise.\n\ + \nNon-canonical values will still parse as long as they are well formed,\ + \ but will be re-emitted in their canonical form. (So always use canonical\ + \ form, or don't diff.)\n\nThis format is intended to make it difficult\ + \ to use these numbers without writing some sort of special handling code\ + \ in the hopes that that will cause implementors to also use a fixed point\ + \ implementation." + format: quantity + type: string + required: + - min + type: object + v1beta2.CapacityRequirements: + description: CapacityRequirements defines the capacity requirements for a specific + device request. + example: + requests: + key: null + properties: + requests: + additionalProperties: + $ref: '#/components/schemas/resource.Quantity' + description: |- + Requests represent individual device resource requests for distinct resources, all of which must be provided by the device. + + This value is used as an additional filtering condition against the available capacity on the device. This is semantically equivalent to a CEL selector with `device.capacity[]..compareTo(quantity()) >= 0`. For example, device.capacity['test-driver.cdi.k8s.io'].counters.compareTo(quantity('2')) >= 0. + + When a requestPolicy is defined, the requested amount is adjusted upward to the nearest valid value based on the policy. If the requested amount cannot be adjusted to a valid value—because it exceeds what the requestPolicy allows— the device is considered ineligible for allocation. + + For any capacity that is not explicitly requested: - If no requestPolicy is set, the default consumed capacity is equal to the full device capacity + (i.e., the whole device is claimed). + - If a requestPolicy is set, the default consumed capacity is determined according to that policy. + + If the device allows multiple allocation, 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. + type: object + type: object v1beta2.Counter: description: Counter describes a quantity associated with a device. example: @@ -261987,6 +272642,7 @@ components: \ be set." example: nodeName: nodeName + allowMultipleAllocations: true consumesCounters: - counters: key: @@ -261996,6 +272652,9 @@ components: key: value: value counterSet: counterSet + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions name: name attributes: key: @@ -262013,9 +272672,22 @@ components: value: value key: key allNodes: true + bindsToNode: true + bindingConditions: + - bindingConditions + - bindingConditions capacity: key: value: value + requestPolicy: + default: default + validRange: + min: min + max: max + step: step + validValues: + - null + - null nodeSelector: nodeSelectorTerms: - matchExpressions: @@ -262069,6 +272741,12 @@ components: Must only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set. type: boolean + allowMultipleAllocations: + description: |- + 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. + type: boolean attributes: additionalProperties: $ref: '#/components/schemas/v1beta2.DeviceAttribute' @@ -262077,6 +272755,38 @@ components: The maximum number of attributes and capacities combined is 32. type: object + bindingConditions: + description: |- + BindingConditions defines the conditions for proceeding with binding. All of these conditions must be set in the per-device status conditions with a value of True to proceed with binding the pod to the node while scheduling the pod. + + The maximum number of binding conditions is 4. + + The conditions must be a valid condition type string. + + This is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates. + items: + type: string + type: array + x-kubernetes-list-type: atomic + bindingFailureConditions: + description: |- + BindingFailureConditions defines the conditions for binding failure. They may be set in the per-device status conditions. If any is set to "True", a binding failure occurred. + + The maximum number of binding failure conditions is 4. + + The conditions must be a valid condition type string. + + This is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates. + items: + type: string + type: array + x-kubernetes-list-type: atomic + bindsToNode: + description: |- + 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 feature gates. + type: boolean capacity: additionalProperties: $ref: '#/components/schemas/v1beta2.DeviceCapacity' @@ -262185,8 +272895,17 @@ components: key: key operator: operator driver: driver + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions pool: pool + shareID: shareID + consumedCapacity: + key: null device: device + bindingConditions: + - bindingConditions + - bindingConditions - request: request adminAccess: true tolerations: @@ -262201,8 +272920,17 @@ components: key: key operator: operator driver: driver + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions pool: pool + shareID: shareID + consumedCapacity: + key: null device: device + bindingConditions: + - bindingConditions + - bindingConditions properties: config: description: |- @@ -262247,7 +272975,18 @@ components: description: DeviceCapacity describes a quantity associated with a device. example: value: value + requestPolicy: + default: default + validRange: + min: min + max: max + step: step + validValues: + - null + - null properties: + requestPolicy: + $ref: '#/components/schemas/v1beta2.CapacityRequestPolicy' value: description: "Quantity is a fixed-point representation of a number. It provides\ \ convenient marshaling/unmarshaling in JSON and YAML, in addition to\ @@ -262314,6 +273053,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: @@ -262334,6 +273076,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null name: name exactly: allocationMode: allocationMode @@ -262356,6 +273101,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null - firstAvailable: - allocationMode: allocationMode deviceClassName: deviceClassName @@ -262377,6 +273125,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: @@ -262397,6 +273148,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null name: name exactly: allocationMode: allocationMode @@ -262419,6 +273173,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null config: - opaque: driver: driver @@ -262433,11 +273190,13 @@ components: - requests - requests constraints: - - matchAttribute: matchAttribute + - distinctAttribute: distinctAttribute + matchAttribute: matchAttribute requests: - requests - requests - - matchAttribute: matchAttribute + - distinctAttribute: distinctAttribute + matchAttribute: matchAttribute requests: - requests - requests @@ -262543,6 +273302,7 @@ components: apiVersion: apiVersion kind: kind spec: + extendedResourceName: extendedResourceName selectors: - cel: expression: expression @@ -262649,6 +273409,7 @@ components: apiVersion: apiVersion kind: kind spec: + extendedResourceName: extendedResourceName selectors: - cel: expression: expression @@ -262710,6 +273471,7 @@ components: apiVersion: apiVersion kind: kind spec: + extendedResourceName: extendedResourceName selectors: - cel: expression: expression @@ -262753,6 +273515,7 @@ components: description: "DeviceClassSpec is used in a [DeviceClass] to define what can\ \ be allocated and how to configure it." example: + extendedResourceName: extendedResourceName selectors: - cel: expression: expression @@ -262775,6 +273538,12 @@ components: $ref: '#/components/schemas/v1beta2.DeviceClassConfiguration' type: array x-kubernetes-list-type: atomic + extendedResourceName: + description: |- + 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. It has the same format as the name of a pod's extended resource. It should be unique among all the device classes in a cluster. If two device classes have the same name, then the class created later is picked to satisfy a pod's extended resource requests. 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. + type: string selectors: description: Each selector must be satisfied by a device which is claimed via this class. @@ -262786,11 +273555,22 @@ components: v1beta2.DeviceConstraint: description: DeviceConstraint must have exactly one field set besides Requests. example: + distinctAttribute: distinctAttribute matchAttribute: matchAttribute requests: - requests - requests properties: + distinctAttribute: + description: |- + DistinctAttribute requires that all devices in question have this attribute and that its type and value are unique across those devices. + + This acts as the inverse of MatchAttribute. + + This constraint is used to avoid allocating multiple requests to the same device by ensuring attribute-level differentiation. + + 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. + type: string matchAttribute: description: |- MatchAttribute requires that all devices in question have this attribute and that its type and value are the same across those devices. @@ -262861,6 +273641,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: @@ -262881,6 +273664,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null name: name exactly: allocationMode: allocationMode @@ -262903,6 +273689,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null properties: exactly: $ref: '#/components/schemas/v1beta2.ExactDeviceRequest' @@ -262944,8 +273733,17 @@ components: key: key operator: operator driver: driver + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions pool: pool + shareID: shareID + consumedCapacity: + key: null device: device + bindingConditions: + - bindingConditions + - bindingConditions properties: adminAccess: description: |- @@ -262953,6 +273751,34 @@ components: This is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled. type: boolean + bindingConditions: + description: |- + 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 feature gates. + items: + type: string + type: array + x-kubernetes-list-type: atomic + bindingFailureConditions: + description: |- + 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 feature gates. + items: + type: string + type: array + x-kubernetes-list-type: atomic + consumedCapacity: + additionalProperties: + $ref: '#/components/schemas/resource.Quantity' + description: |- + 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 value based on the device’s requestPolicy if applicable (i.e., may not be less than the requested amount). + + The total consumed capacity for each device must not exceed the DeviceCapacity's Value. + + This field is populated only for devices that allow multiple allocations. All capacity entries are included, even if the consumed amount is zero. + type: object device: description: Device references one device instance via its name in the driver's resource pool. It must be a DNS label. @@ -262975,6 +273801,12 @@ components: Multiple devices may have been allocated per request. type: string + shareID: + description: "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." + type: string tolerations: description: |- A copy of all tolerations specified in the request at the time when the device got allocated. @@ -263027,6 +273859,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null properties: allocationMode: description: |- @@ -263044,6 +273879,8 @@ components: More modes may get added in the future. Clients must refuse to handle requests with unknown modes. type: string + capacity: + $ref: '#/components/schemas/v1beta2.CapacityRequirements' count: description: "Count is used only when the count mode is \"ExactCount\".\ \ Must be greater than zero. If AllocationMode is ExactCount and this\ @@ -263190,6 +274027,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null properties: adminAccess: description: |- @@ -263214,6 +274054,8 @@ components: More modes may get added in the future. Clients must refuse to handle requests with unknown modes. type: string + capacity: + $ref: '#/components/schemas/v1beta2.CapacityRequirements' count: description: "Count is used only when the count mode is \"ExactCount\".\ \ Must be greater than zero. If AllocationMode is ExactCount and this\ @@ -263392,6 +274234,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: @@ -263412,6 +274257,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null name: name exactly: allocationMode: allocationMode @@ -263434,6 +274282,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null - firstAvailable: - allocationMode: allocationMode deviceClassName: deviceClassName @@ -263455,6 +274306,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: @@ -263475,6 +274329,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null name: name exactly: allocationMode: allocationMode @@ -263497,6 +274354,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null config: - opaque: driver: driver @@ -263511,16 +274371,19 @@ components: - requests - requests constraints: - - matchAttribute: matchAttribute + - distinctAttribute: distinctAttribute + matchAttribute: matchAttribute requests: - requests - requests - - matchAttribute: matchAttribute + - distinctAttribute: distinctAttribute + matchAttribute: matchAttribute requests: - requests - requests status: allocation: + allocationTimestamp: 2000-01-23T04:56:07.000+00:00 devices: config: - opaque: @@ -263552,8 +274415,17 @@ components: key: key operator: operator driver: driver + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions pool: pool + shareID: shareID + consumedCapacity: + key: null device: device + bindingConditions: + - bindingConditions + - bindingConditions - request: request adminAccess: true tolerations: @@ -263568,8 +274440,17 @@ components: key: key operator: operator driver: driver + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions pool: pool + shareID: shareID + consumedCapacity: + key: null device: device + bindingConditions: + - bindingConditions + - bindingConditions nodeSelector: nodeSelectorTerms: - matchExpressions: @@ -263635,6 +274516,7 @@ components: - ips - ips pool: pool + shareID: shareID conditions: - reason: reason lastTransitionTime: 2000-01-23T04:56:07.000+00:00 @@ -263658,6 +274540,7 @@ components: - ips - ips pool: pool + shareID: shareID conditions: - reason: reason lastTransitionTime: 2000-01-23T04:56:07.000+00:00 @@ -263811,6 +274694,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: @@ -263831,6 +274717,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null name: name exactly: allocationMode: allocationMode @@ -263853,6 +274742,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null - firstAvailable: - allocationMode: allocationMode deviceClassName: deviceClassName @@ -263874,6 +274766,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: @@ -263894,6 +274789,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null name: name exactly: allocationMode: allocationMode @@ -263916,6 +274814,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null config: - opaque: driver: driver @@ -263930,16 +274831,19 @@ components: - requests - requests constraints: - - matchAttribute: matchAttribute + - distinctAttribute: distinctAttribute + matchAttribute: matchAttribute requests: - requests - requests - - matchAttribute: matchAttribute + - distinctAttribute: distinctAttribute + matchAttribute: matchAttribute requests: - requests - requests status: allocation: + allocationTimestamp: 2000-01-23T04:56:07.000+00:00 devices: config: - opaque: @@ -263971,8 +274875,17 @@ components: key: key operator: operator driver: driver + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions pool: pool + shareID: shareID + consumedCapacity: + key: null device: device + bindingConditions: + - bindingConditions + - bindingConditions - request: request adminAccess: true tolerations: @@ -263987,8 +274900,17 @@ components: key: key operator: operator driver: driver + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions pool: pool + shareID: shareID + consumedCapacity: + key: null device: device + bindingConditions: + - bindingConditions + - bindingConditions nodeSelector: nodeSelectorTerms: - matchExpressions: @@ -264054,6 +274976,7 @@ components: - ips - ips pool: pool + shareID: shareID conditions: - reason: reason lastTransitionTime: 2000-01-23T04:56:07.000+00:00 @@ -264077,6 +275000,7 @@ components: - ips - ips pool: pool + shareID: shareID conditions: - reason: reason lastTransitionTime: 2000-01-23T04:56:07.000+00:00 @@ -264163,6 +275087,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: @@ -264183,6 +275110,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null name: name exactly: allocationMode: allocationMode @@ -264205,6 +275135,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null - firstAvailable: - allocationMode: allocationMode deviceClassName: deviceClassName @@ -264226,6 +275159,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: @@ -264246,6 +275182,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null name: name exactly: allocationMode: allocationMode @@ -264268,6 +275207,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null config: - opaque: driver: driver @@ -264282,16 +275224,19 @@ components: - requests - requests constraints: - - matchAttribute: matchAttribute + - distinctAttribute: distinctAttribute + matchAttribute: matchAttribute requests: - requests - requests - - matchAttribute: matchAttribute + - distinctAttribute: distinctAttribute + matchAttribute: matchAttribute requests: - requests - requests status: allocation: + allocationTimestamp: 2000-01-23T04:56:07.000+00:00 devices: config: - opaque: @@ -264323,8 +275268,17 @@ components: key: key operator: operator driver: driver + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions pool: pool + shareID: shareID + consumedCapacity: + key: null device: device + bindingConditions: + - bindingConditions + - bindingConditions - request: request adminAccess: true tolerations: @@ -264339,8 +275293,17 @@ components: key: key operator: operator driver: driver + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions pool: pool + shareID: shareID + consumedCapacity: + key: null device: device + bindingConditions: + - bindingConditions + - bindingConditions nodeSelector: nodeSelectorTerms: - matchExpressions: @@ -264406,6 +275369,7 @@ components: - ips - ips pool: pool + shareID: shareID conditions: - reason: reason lastTransitionTime: 2000-01-23T04:56:07.000+00:00 @@ -264429,6 +275393,7 @@ components: - ips - ips pool: pool + shareID: shareID conditions: - reason: reason lastTransitionTime: 2000-01-23T04:56:07.000+00:00 @@ -264497,6 +275462,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: @@ -264517,6 +275485,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null name: name exactly: allocationMode: allocationMode @@ -264539,6 +275510,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null - firstAvailable: - allocationMode: allocationMode deviceClassName: deviceClassName @@ -264560,6 +275534,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: @@ -264580,6 +275557,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null name: name exactly: allocationMode: allocationMode @@ -264602,6 +275582,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null config: - opaque: driver: driver @@ -264616,11 +275599,13 @@ components: - requests - requests constraints: - - matchAttribute: matchAttribute + - distinctAttribute: distinctAttribute + matchAttribute: matchAttribute requests: - requests - requests - - matchAttribute: matchAttribute + - distinctAttribute: distinctAttribute + matchAttribute: matchAttribute requests: - requests - requests @@ -264633,6 +275618,7 @@ components: and what the result of that was. example: allocation: + allocationTimestamp: 2000-01-23T04:56:07.000+00:00 devices: config: - opaque: @@ -264664,8 +275650,17 @@ components: key: key operator: operator driver: driver + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions pool: pool + shareID: shareID + consumedCapacity: + key: null device: device + bindingConditions: + - bindingConditions + - bindingConditions - request: request adminAccess: true tolerations: @@ -264680,8 +275675,17 @@ components: key: key operator: operator driver: driver + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions pool: pool + shareID: shareID + consumedCapacity: + key: null device: device + bindingConditions: + - bindingConditions + - bindingConditions nodeSelector: nodeSelectorTerms: - matchExpressions: @@ -264747,6 +275751,7 @@ components: - ips - ips pool: pool + shareID: shareID conditions: - reason: reason lastTransitionTime: 2000-01-23T04:56:07.000+00:00 @@ -264770,6 +275775,7 @@ components: - ips - ips pool: pool + shareID: shareID conditions: - reason: reason lastTransitionTime: 2000-01-23T04:56:07.000+00:00 @@ -264799,6 +275805,7 @@ components: - driver - device - pool + - shareID reservedFor: description: |- ReservedFor indicates which entities are currently allowed to use the claim. A Pod which references a ResourceClaim which is not reserved for that Pod will not be started. A claim that is in use or might be in use because it has been reserved must not get deallocated. @@ -264942,6 +275949,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: @@ -264962,6 +275972,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null name: name exactly: allocationMode: allocationMode @@ -264984,6 +275997,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null - firstAvailable: - allocationMode: allocationMode deviceClassName: deviceClassName @@ -265005,6 +276021,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: @@ -265025,6 +276044,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null name: name exactly: allocationMode: allocationMode @@ -265047,6 +276069,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null config: - opaque: driver: driver @@ -265061,11 +276086,13 @@ components: - requests - requests constraints: - - matchAttribute: matchAttribute + - distinctAttribute: distinctAttribute + matchAttribute: matchAttribute requests: - requests - requests - - matchAttribute: matchAttribute + - distinctAttribute: distinctAttribute + matchAttribute: matchAttribute requests: - requests - requests @@ -265223,6 +276250,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: @@ -265243,6 +276273,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null name: name exactly: allocationMode: allocationMode @@ -265265,6 +276298,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null - firstAvailable: - allocationMode: allocationMode deviceClassName: deviceClassName @@ -265286,6 +276322,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: @@ -265306,6 +276345,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null name: name exactly: allocationMode: allocationMode @@ -265328,6 +276370,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null config: - opaque: driver: driver @@ -265342,11 +276387,13 @@ components: - requests - requests constraints: - - matchAttribute: matchAttribute + - distinctAttribute: distinctAttribute + matchAttribute: matchAttribute requests: - requests - requests - - matchAttribute: matchAttribute + - distinctAttribute: distinctAttribute + matchAttribute: matchAttribute requests: - requests - requests @@ -265469,6 +276516,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: @@ -265489,6 +276539,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null name: name exactly: allocationMode: allocationMode @@ -265511,6 +276564,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null - firstAvailable: - allocationMode: allocationMode deviceClassName: deviceClassName @@ -265532,6 +276588,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: @@ -265552,6 +276611,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null name: name exactly: allocationMode: allocationMode @@ -265574,6 +276636,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null config: - opaque: driver: driver @@ -265588,11 +276653,13 @@ components: - requests - requests constraints: - - matchAttribute: matchAttribute + - distinctAttribute: distinctAttribute + matchAttribute: matchAttribute requests: - requests - requests - - matchAttribute: matchAttribute + - distinctAttribute: distinctAttribute + matchAttribute: matchAttribute requests: - requests - requests @@ -265697,6 +276764,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: @@ -265717,6 +276787,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null name: name exactly: allocationMode: allocationMode @@ -265739,6 +276812,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null - firstAvailable: - allocationMode: allocationMode deviceClassName: deviceClassName @@ -265760,6 +276836,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null - allocationMode: allocationMode deviceClassName: deviceClassName tolerations: @@ -265780,6 +276859,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null name: name exactly: allocationMode: allocationMode @@ -265802,6 +276884,9 @@ components: expression: expression - cel: expression: expression + capacity: + requests: + key: null config: - opaque: driver: driver @@ -265816,11 +276901,13 @@ components: - requests - requests constraints: - - matchAttribute: matchAttribute + - distinctAttribute: distinctAttribute + matchAttribute: matchAttribute requests: - requests - requests - - matchAttribute: matchAttribute + - distinctAttribute: distinctAttribute + matchAttribute: matchAttribute requests: - requests - requests @@ -265932,6 +277019,7 @@ components: perDeviceNodeSelection: true devices: - nodeName: nodeName + allowMultipleAllocations: true consumesCounters: - counters: key: @@ -265941,6 +277029,9 @@ components: key: value: value counterSet: counterSet + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions name: name attributes: key: @@ -265958,9 +277049,22 @@ components: value: value key: key allNodes: true + bindsToNode: true + bindingConditions: + - bindingConditions + - bindingConditions capacity: key: value: value + requestPolicy: + default: default + validRange: + min: min + max: max + step: step + validValues: + - null + - null nodeSelector: nodeSelectorTerms: - matchExpressions: @@ -266008,6 +277112,7 @@ components: key: key operator: operator - nodeName: nodeName + allowMultipleAllocations: true consumesCounters: - counters: key: @@ -266017,6 +277122,9 @@ components: key: value: value counterSet: counterSet + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions name: name attributes: key: @@ -266034,9 +277142,22 @@ components: value: value key: key allNodes: true + bindsToNode: true + bindingConditions: + - bindingConditions + - bindingConditions capacity: key: value: value + requestPolicy: + default: default + validRange: + min: min + max: max + step: step + validValues: + - null + - null nodeSelector: nodeSelectorTerms: - matchExpressions: @@ -266232,6 +277353,7 @@ components: perDeviceNodeSelection: true devices: - nodeName: nodeName + allowMultipleAllocations: true consumesCounters: - counters: key: @@ -266241,6 +277363,9 @@ components: key: value: value counterSet: counterSet + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions name: name attributes: key: @@ -266258,9 +277383,22 @@ components: value: value key: key allNodes: true + bindsToNode: true + bindingConditions: + - bindingConditions + - bindingConditions capacity: key: value: value + requestPolicy: + default: default + validRange: + min: min + max: max + step: step + validValues: + - null + - null nodeSelector: nodeSelectorTerms: - matchExpressions: @@ -266308,6 +277446,7 @@ components: key: key operator: operator - nodeName: nodeName + allowMultipleAllocations: true consumesCounters: - counters: key: @@ -266317,6 +277456,9 @@ components: key: value: value counterSet: counterSet + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions name: name attributes: key: @@ -266334,9 +277476,22 @@ components: value: value key: key allNodes: true + bindsToNode: true + bindingConditions: + - bindingConditions + - bindingConditions capacity: key: value: value + requestPolicy: + default: default + validRange: + min: min + max: max + step: step + validValues: + - null + - null nodeSelector: nodeSelectorTerms: - matchExpressions: @@ -266497,6 +277652,7 @@ components: perDeviceNodeSelection: true devices: - nodeName: nodeName + allowMultipleAllocations: true consumesCounters: - counters: key: @@ -266506,6 +277662,9 @@ components: key: value: value counterSet: counterSet + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions name: name attributes: key: @@ -266523,9 +277682,22 @@ components: value: value key: key allNodes: true + bindsToNode: true + bindingConditions: + - bindingConditions + - bindingConditions capacity: key: value: value + requestPolicy: + default: default + validRange: + min: min + max: max + step: step + validValues: + - null + - null nodeSelector: nodeSelectorTerms: - matchExpressions: @@ -266573,6 +277745,7 @@ components: key: key operator: operator - nodeName: nodeName + allowMultipleAllocations: true consumesCounters: - counters: key: @@ -266582,6 +277755,9 @@ components: key: value: value counterSet: counterSet + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions name: name attributes: key: @@ -266599,9 +277775,22 @@ components: value: value key: key allNodes: true + bindsToNode: true + bindingConditions: + - bindingConditions + - bindingConditions capacity: key: value: value + requestPolicy: + default: default + validRange: + min: min + max: max + step: step + validValues: + - null + - null nodeSelector: nodeSelectorTerms: - matchExpressions: @@ -266744,6 +277933,7 @@ components: perDeviceNodeSelection: true devices: - nodeName: nodeName + allowMultipleAllocations: true consumesCounters: - counters: key: @@ -266753,6 +277943,9 @@ components: key: value: value counterSet: counterSet + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions name: name attributes: key: @@ -266770,9 +277963,22 @@ components: value: value key: key allNodes: true + bindsToNode: true + bindingConditions: + - bindingConditions + - bindingConditions capacity: key: value: value + requestPolicy: + default: default + validRange: + min: min + max: max + step: step + validValues: + - null + - null nodeSelector: nodeSelectorTerms: - matchExpressions: @@ -266820,6 +278026,7 @@ components: key: key operator: operator - nodeName: nodeName + allowMultipleAllocations: true consumesCounters: - counters: key: @@ -266829,6 +278036,9 @@ components: key: value: value counterSet: counterSet + bindingFailureConditions: + - bindingFailureConditions + - bindingFailureConditions name: name attributes: key: @@ -266846,9 +278056,22 @@ components: value: value key: key allNodes: true + bindsToNode: true + bindingConditions: + - bindingConditions + - bindingConditions capacity: key: value: value + requestPolicy: + default: default + validRange: + min: min + max: max + step: step + validValues: + - null + - null nodeSelector: nodeSelectorTerms: - matchExpressions: @@ -267535,7 +278758,7 @@ components: properties: attachRequired: description: |- - attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the CSIDriverRegistry feature gate is enabled and the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called. + attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called. This field is immutable. type: boolean @@ -267551,7 +278774,7 @@ components: description: |- nodeAllocatableUpdatePeriodSeconds specifies the interval between periodic updates of the CSINode allocatable capacity for this driver. When set, both periodic updates and updates triggered by capacity-related failures are enabled. If not set, no updates occur (neither periodic nor upon detecting capacity-related failures), and the allocatable.count remains static. The minimum allowed value for this field is 10 seconds. - This is an alpha feature and requires the MutableCSINodeAllocatableCount feature gate to be enabled. + This is a beta feature and requires the MutableCSINodeAllocatableCount feature gate to be enabled. This field is mutable. format: int64 @@ -268830,7 +280053,7 @@ components: readOnly: true fsType: fsType awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -268965,7 +280188,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -269173,7 +280396,7 @@ components: readOnly: true fsType: fsType awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -269308,7 +280531,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -269479,7 +280702,7 @@ components: readOnly: true fsType: fsType awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -269614,7 +280837,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -269767,7 +280990,7 @@ components: readOnly: true fsType: fsType awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -269902,7 +281125,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -270023,7 +281246,7 @@ components: readOnly: true fsType: fsType awsElasticBlockStore: - partition: 9 + partition: 6 volumeID: volumeID readOnly: true fsType: fsType @@ -270158,7 +281381,7 @@ components: volumePath: volumePath fsType: fsType fc: - lun: 2 + lun: 6 targetWWNs: - targetWWNs - targetWWNs @@ -270222,6 +281445,237 @@ components: required: - attached type: object + v1.VolumeAttributesClass: + description: "VolumeAttributesClass represents a specification of mutable volume\ + \ attributes defined by the CSI driver. The class can be specified during\ + \ dynamic provisioning of PersistentVolumeClaims, and changed in the PersistentVolumeClaim\ + \ spec after provisioning." + example: + metadata: + generation: 6 + finalizers: + - finalizers + - finalizers + resourceVersion: resourceVersion + annotations: + key: annotations + generateName: generateName + deletionTimestamp: 2000-01-23T04:56:07.000+00:00 + labels: + key: labels + ownerReferences: + - uid: uid + controller: true + apiVersion: apiVersion + kind: kind + name: name + blockOwnerDeletion: true + - uid: uid + controller: true + apiVersion: apiVersion + kind: kind + name: name + blockOwnerDeletion: true + selfLink: selfLink + deletionGracePeriodSeconds: 0 + uid: uid + managedFields: + - apiVersion: apiVersion + fieldsV1: "{}" + manager: manager + subresource: subresource + time: 2000-01-23T04:56:07.000+00:00 + operation: operation + fieldsType: fieldsType + - apiVersion: apiVersion + fieldsV1: "{}" + manager: manager + subresource: subresource + time: 2000-01-23T04:56:07.000+00:00 + operation: operation + fieldsType: fieldsType + creationTimestamp: 2000-01-23T04:56:07.000+00:00 + name: name + namespace: namespace + apiVersion: apiVersion + kind: kind + driverName: driverName + parameters: + key: parameters + properties: + apiVersion: + description: "APIVersion defines the versioned schema of this representation\ + \ of an object. Servers should convert recognized schemas to the latest\ + \ internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources" + type: string + driverName: + description: Name of the CSI driver This field is immutable. + type: string + kind: + description: "Kind is a string value representing the REST resource this\ + \ object represents. Servers may infer this from the endpoint the client\ + \ submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + type: string + metadata: + $ref: '#/components/schemas/v1.ObjectMeta' + parameters: + additionalProperties: + type: string + description: |- + parameters hold volume attributes defined by the CSI driver. These values are opaque to the Kubernetes and are passed directly to the CSI driver. The underlying storage provider supports changing these attributes on an existing volume, however the parameters field itself is immutable. To invoke a volume update, a new VolumeAttributesClass should be created with new parameters, and the PersistentVolumeClaim should be updated to reference the new VolumeAttributesClass. + + This field is required and must contain at least one key/value pair. The keys cannot be empty, and the maximum number of parameters is 512, with a cumulative max size of 256K. If the CSI driver rejects invalid parameters, the target PersistentVolumeClaim will be set to an "Infeasible" state in the modifyVolumeStatus field. + type: object + required: + - driverName + type: object + x-kubernetes-group-version-kind: + - group: storage.k8s.io + kind: VolumeAttributesClass + version: v1 + x-implements: + - io.kubernetes.client.common.KubernetesObject + v1.VolumeAttributesClassList: + description: VolumeAttributesClassList is a collection of VolumeAttributesClass + objects. + example: + metadata: + remainingItemCount: 1 + continue: continue + resourceVersion: resourceVersion + selfLink: selfLink + apiVersion: apiVersion + kind: kind + items: + - metadata: + generation: 6 + finalizers: + - finalizers + - finalizers + resourceVersion: resourceVersion + annotations: + key: annotations + generateName: generateName + deletionTimestamp: 2000-01-23T04:56:07.000+00:00 + labels: + key: labels + ownerReferences: + - uid: uid + controller: true + apiVersion: apiVersion + kind: kind + name: name + blockOwnerDeletion: true + - uid: uid + controller: true + apiVersion: apiVersion + kind: kind + name: name + blockOwnerDeletion: true + selfLink: selfLink + deletionGracePeriodSeconds: 0 + uid: uid + managedFields: + - apiVersion: apiVersion + fieldsV1: "{}" + manager: manager + subresource: subresource + time: 2000-01-23T04:56:07.000+00:00 + operation: operation + fieldsType: fieldsType + - apiVersion: apiVersion + fieldsV1: "{}" + manager: manager + subresource: subresource + time: 2000-01-23T04:56:07.000+00:00 + operation: operation + fieldsType: fieldsType + creationTimestamp: 2000-01-23T04:56:07.000+00:00 + name: name + namespace: namespace + apiVersion: apiVersion + kind: kind + driverName: driverName + parameters: + key: parameters + - metadata: + generation: 6 + finalizers: + - finalizers + - finalizers + resourceVersion: resourceVersion + annotations: + key: annotations + generateName: generateName + deletionTimestamp: 2000-01-23T04:56:07.000+00:00 + labels: + key: labels + ownerReferences: + - uid: uid + controller: true + apiVersion: apiVersion + kind: kind + name: name + blockOwnerDeletion: true + - uid: uid + controller: true + apiVersion: apiVersion + kind: kind + name: name + blockOwnerDeletion: true + selfLink: selfLink + deletionGracePeriodSeconds: 0 + uid: uid + managedFields: + - apiVersion: apiVersion + fieldsV1: "{}" + manager: manager + subresource: subresource + time: 2000-01-23T04:56:07.000+00:00 + operation: operation + fieldsType: fieldsType + - apiVersion: apiVersion + fieldsV1: "{}" + manager: manager + subresource: subresource + time: 2000-01-23T04:56:07.000+00:00 + operation: operation + fieldsType: fieldsType + creationTimestamp: 2000-01-23T04:56:07.000+00:00 + name: name + namespace: namespace + apiVersion: apiVersion + kind: kind + driverName: driverName + parameters: + key: parameters + properties: + apiVersion: + description: "APIVersion defines the versioned schema of this representation\ + \ of an object. Servers should convert recognized schemas to the latest\ + \ internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources" + type: string + items: + description: items is the list of VolumeAttributesClass objects. + items: + $ref: '#/components/schemas/v1.VolumeAttributesClass' + type: array + kind: + description: "Kind is a string value representing the REST resource this\ + \ object represents. Servers may infer this from the endpoint the client\ + \ submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" + type: string + metadata: + $ref: '#/components/schemas/v1.ListMeta' + required: + - items + type: object + x-kubernetes-group-version-kind: + - group: storage.k8s.io + kind: VolumeAttributesClassList + version: v1 + x-implements: + - io.kubernetes.client.common.KubernetesListObject v1.VolumeError: description: VolumeError captures an error encountered during a volume operation. example: @@ -270233,7 +281687,7 @@ components: description: |- errorCode is a numeric gRPC code representing the error encountered during Attach or Detach operations. - This is an optional, alpha field that requires the MutableCSINodeAllocatableCount feature gate being enabled to be set. + This is an optional, beta field that requires the MutableCSINodeAllocatableCount feature gate being enabled to be set. format: int32 type: integer message: @@ -274067,9 +285521,6 @@ components: - group: networking.k8s.io kind: DeleteOptions version: v1 - - group: networking.k8s.io - kind: DeleteOptions - version: v1alpha1 - group: networking.k8s.io kind: DeleteOptions version: v1beta1 @@ -274097,6 +285548,9 @@ components: - group: rbac.authorization.k8s.io kind: DeleteOptions version: v1beta1 + - group: resource.k8s.io + kind: DeleteOptions + version: v1 - group: resource.k8s.io kind: DeleteOptions version: v1alpha3 @@ -274878,9 +286332,6 @@ components: - group: networking.k8s.io kind: WatchEvent version: v1 - - group: networking.k8s.io - kind: WatchEvent - version: v1alpha1 - group: networking.k8s.io kind: WatchEvent version: v1beta1 @@ -274908,6 +286359,9 @@ components: - group: rbac.authorization.k8s.io kind: WatchEvent version: v1beta1 + - group: resource.k8s.io + kind: WatchEvent + version: v1 - group: resource.k8s.io kind: WatchEvent version: v1alpha3 diff --git a/kubernetes/docs/AdmissionregistrationV1beta1Api.md b/kubernetes/docs/AdmissionregistrationV1beta1Api.md index e007506667..1137db74cd 100644 --- a/kubernetes/docs/AdmissionregistrationV1beta1Api.md +++ b/kubernetes/docs/AdmissionregistrationV1beta1Api.md @@ -4,33 +4,30 @@ All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| -| [**createValidatingAdmissionPolicy**](AdmissionregistrationV1beta1Api.md#createValidatingAdmissionPolicy) | **POST** /apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicies | | -| [**createValidatingAdmissionPolicyBinding**](AdmissionregistrationV1beta1Api.md#createValidatingAdmissionPolicyBinding) | **POST** /apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicybindings | | -| [**deleteCollectionValidatingAdmissionPolicy**](AdmissionregistrationV1beta1Api.md#deleteCollectionValidatingAdmissionPolicy) | **DELETE** /apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicies | | -| [**deleteCollectionValidatingAdmissionPolicyBinding**](AdmissionregistrationV1beta1Api.md#deleteCollectionValidatingAdmissionPolicyBinding) | **DELETE** /apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicybindings | | -| [**deleteValidatingAdmissionPolicy**](AdmissionregistrationV1beta1Api.md#deleteValidatingAdmissionPolicy) | **DELETE** /apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicies/{name} | | -| [**deleteValidatingAdmissionPolicyBinding**](AdmissionregistrationV1beta1Api.md#deleteValidatingAdmissionPolicyBinding) | **DELETE** /apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicybindings/{name} | | +| [**createMutatingAdmissionPolicy**](AdmissionregistrationV1beta1Api.md#createMutatingAdmissionPolicy) | **POST** /apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicies | | +| [**createMutatingAdmissionPolicyBinding**](AdmissionregistrationV1beta1Api.md#createMutatingAdmissionPolicyBinding) | **POST** /apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicybindings | | +| [**deleteCollectionMutatingAdmissionPolicy**](AdmissionregistrationV1beta1Api.md#deleteCollectionMutatingAdmissionPolicy) | **DELETE** /apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicies | | +| [**deleteCollectionMutatingAdmissionPolicyBinding**](AdmissionregistrationV1beta1Api.md#deleteCollectionMutatingAdmissionPolicyBinding) | **DELETE** /apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicybindings | | +| [**deleteMutatingAdmissionPolicy**](AdmissionregistrationV1beta1Api.md#deleteMutatingAdmissionPolicy) | **DELETE** /apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicies/{name} | | +| [**deleteMutatingAdmissionPolicyBinding**](AdmissionregistrationV1beta1Api.md#deleteMutatingAdmissionPolicyBinding) | **DELETE** /apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicybindings/{name} | | | [**getAPIResources**](AdmissionregistrationV1beta1Api.md#getAPIResources) | **GET** /apis/admissionregistration.k8s.io/v1beta1/ | | -| [**listValidatingAdmissionPolicy**](AdmissionregistrationV1beta1Api.md#listValidatingAdmissionPolicy) | **GET** /apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicies | | -| [**listValidatingAdmissionPolicyBinding**](AdmissionregistrationV1beta1Api.md#listValidatingAdmissionPolicyBinding) | **GET** /apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicybindings | | -| [**patchValidatingAdmissionPolicy**](AdmissionregistrationV1beta1Api.md#patchValidatingAdmissionPolicy) | **PATCH** /apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicies/{name} | | -| [**patchValidatingAdmissionPolicyBinding**](AdmissionregistrationV1beta1Api.md#patchValidatingAdmissionPolicyBinding) | **PATCH** /apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicybindings/{name} | | -| [**patchValidatingAdmissionPolicyStatus**](AdmissionregistrationV1beta1Api.md#patchValidatingAdmissionPolicyStatus) | **PATCH** /apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicies/{name}/status | | -| [**readValidatingAdmissionPolicy**](AdmissionregistrationV1beta1Api.md#readValidatingAdmissionPolicy) | **GET** /apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicies/{name} | | -| [**readValidatingAdmissionPolicyBinding**](AdmissionregistrationV1beta1Api.md#readValidatingAdmissionPolicyBinding) | **GET** /apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicybindings/{name} | | -| [**readValidatingAdmissionPolicyStatus**](AdmissionregistrationV1beta1Api.md#readValidatingAdmissionPolicyStatus) | **GET** /apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicies/{name}/status | | -| [**replaceValidatingAdmissionPolicy**](AdmissionregistrationV1beta1Api.md#replaceValidatingAdmissionPolicy) | **PUT** /apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicies/{name} | | -| [**replaceValidatingAdmissionPolicyBinding**](AdmissionregistrationV1beta1Api.md#replaceValidatingAdmissionPolicyBinding) | **PUT** /apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicybindings/{name} | | -| [**replaceValidatingAdmissionPolicyStatus**](AdmissionregistrationV1beta1Api.md#replaceValidatingAdmissionPolicyStatus) | **PUT** /apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicies/{name}/status | | +| [**listMutatingAdmissionPolicy**](AdmissionregistrationV1beta1Api.md#listMutatingAdmissionPolicy) | **GET** /apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicies | | +| [**listMutatingAdmissionPolicyBinding**](AdmissionregistrationV1beta1Api.md#listMutatingAdmissionPolicyBinding) | **GET** /apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicybindings | | +| [**patchMutatingAdmissionPolicy**](AdmissionregistrationV1beta1Api.md#patchMutatingAdmissionPolicy) | **PATCH** /apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicies/{name} | | +| [**patchMutatingAdmissionPolicyBinding**](AdmissionregistrationV1beta1Api.md#patchMutatingAdmissionPolicyBinding) | **PATCH** /apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicybindings/{name} | | +| [**readMutatingAdmissionPolicy**](AdmissionregistrationV1beta1Api.md#readMutatingAdmissionPolicy) | **GET** /apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicies/{name} | | +| [**readMutatingAdmissionPolicyBinding**](AdmissionregistrationV1beta1Api.md#readMutatingAdmissionPolicyBinding) | **GET** /apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicybindings/{name} | | +| [**replaceMutatingAdmissionPolicy**](AdmissionregistrationV1beta1Api.md#replaceMutatingAdmissionPolicy) | **PUT** /apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicies/{name} | | +| [**replaceMutatingAdmissionPolicyBinding**](AdmissionregistrationV1beta1Api.md#replaceMutatingAdmissionPolicyBinding) | **PUT** /apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicybindings/{name} | | - -# **createValidatingAdmissionPolicy** -> V1beta1ValidatingAdmissionPolicy createValidatingAdmissionPolicy(body).pretty(pretty).dryRun(dryRun).fieldManager(fieldManager).fieldValidation(fieldValidation).execute(); + +# **createMutatingAdmissionPolicy** +> V1beta1MutatingAdmissionPolicy createMutatingAdmissionPolicy(body).pretty(pretty).dryRun(dryRun).fieldManager(fieldManager).fieldValidation(fieldValidation).execute(); -create a ValidatingAdmissionPolicy +create a MutatingAdmissionPolicy ### Example ```java @@ -54,13 +51,13 @@ public class Example { //BearerToken.setApiKeyPrefix("Token"); AdmissionregistrationV1beta1Api apiInstance = new AdmissionregistrationV1beta1Api(defaultClient); - V1beta1ValidatingAdmissionPolicy body = new V1beta1ValidatingAdmissionPolicy(); // V1beta1ValidatingAdmissionPolicy | + V1beta1MutatingAdmissionPolicy body = new V1beta1MutatingAdmissionPolicy(); // V1beta1MutatingAdmissionPolicy | String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed String fieldManager = "fieldManager_example"; // String | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. String fieldValidation = "fieldValidation_example"; // String | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. try { - V1beta1ValidatingAdmissionPolicy result = apiInstance.createValidatingAdmissionPolicy(body) + V1beta1MutatingAdmissionPolicy result = apiInstance.createMutatingAdmissionPolicy(body) .pretty(pretty) .dryRun(dryRun) .fieldManager(fieldManager) @@ -68,7 +65,7 @@ public class Example { .execute(); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AdmissionregistrationV1beta1Api#createValidatingAdmissionPolicy"); + System.err.println("Exception when calling AdmissionregistrationV1beta1Api#createMutatingAdmissionPolicy"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -82,7 +79,7 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **body** | [**V1beta1ValidatingAdmissionPolicy**](V1beta1ValidatingAdmissionPolicy.md)| | | +| **body** | [**V1beta1MutatingAdmissionPolicy**](V1beta1MutatingAdmissionPolicy.md)| | | | **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | | **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | | **fieldManager** | **String**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] | @@ -90,7 +87,7 @@ public class Example { ### Return type -[**V1beta1ValidatingAdmissionPolicy**](V1beta1ValidatingAdmissionPolicy.md) +[**V1beta1MutatingAdmissionPolicy**](V1beta1MutatingAdmissionPolicy.md) ### Authorization @@ -109,13 +106,13 @@ public class Example { | **202** | Accepted | - | | **401** | Unauthorized | - | - -# **createValidatingAdmissionPolicyBinding** -> V1beta1ValidatingAdmissionPolicyBinding createValidatingAdmissionPolicyBinding(body).pretty(pretty).dryRun(dryRun).fieldManager(fieldManager).fieldValidation(fieldValidation).execute(); + +# **createMutatingAdmissionPolicyBinding** +> V1beta1MutatingAdmissionPolicyBinding createMutatingAdmissionPolicyBinding(body).pretty(pretty).dryRun(dryRun).fieldManager(fieldManager).fieldValidation(fieldValidation).execute(); -create a ValidatingAdmissionPolicyBinding +create a MutatingAdmissionPolicyBinding ### Example ```java @@ -139,13 +136,13 @@ public class Example { //BearerToken.setApiKeyPrefix("Token"); AdmissionregistrationV1beta1Api apiInstance = new AdmissionregistrationV1beta1Api(defaultClient); - V1beta1ValidatingAdmissionPolicyBinding body = new V1beta1ValidatingAdmissionPolicyBinding(); // V1beta1ValidatingAdmissionPolicyBinding | + V1beta1MutatingAdmissionPolicyBinding body = new V1beta1MutatingAdmissionPolicyBinding(); // V1beta1MutatingAdmissionPolicyBinding | String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed String fieldManager = "fieldManager_example"; // String | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. String fieldValidation = "fieldValidation_example"; // String | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. try { - V1beta1ValidatingAdmissionPolicyBinding result = apiInstance.createValidatingAdmissionPolicyBinding(body) + V1beta1MutatingAdmissionPolicyBinding result = apiInstance.createMutatingAdmissionPolicyBinding(body) .pretty(pretty) .dryRun(dryRun) .fieldManager(fieldManager) @@ -153,7 +150,7 @@ public class Example { .execute(); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AdmissionregistrationV1beta1Api#createValidatingAdmissionPolicyBinding"); + System.err.println("Exception when calling AdmissionregistrationV1beta1Api#createMutatingAdmissionPolicyBinding"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -167,7 +164,7 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **body** | [**V1beta1ValidatingAdmissionPolicyBinding**](V1beta1ValidatingAdmissionPolicyBinding.md)| | | +| **body** | [**V1beta1MutatingAdmissionPolicyBinding**](V1beta1MutatingAdmissionPolicyBinding.md)| | | | **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | | **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | | **fieldManager** | **String**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] | @@ -175,7 +172,7 @@ public class Example { ### Return type -[**V1beta1ValidatingAdmissionPolicyBinding**](V1beta1ValidatingAdmissionPolicyBinding.md) +[**V1beta1MutatingAdmissionPolicyBinding**](V1beta1MutatingAdmissionPolicyBinding.md) ### Authorization @@ -194,13 +191,13 @@ public class Example { | **202** | Accepted | - | | **401** | Unauthorized | - | - -# **deleteCollectionValidatingAdmissionPolicy** -> V1Status deleteCollectionValidatingAdmissionPolicy().pretty(pretty)._continue(_continue).dryRun(dryRun).fieldSelector(fieldSelector).gracePeriodSeconds(gracePeriodSeconds).ignoreStoreReadErrorWithClusterBreakingPotential(ignoreStoreReadErrorWithClusterBreakingPotential).labelSelector(labelSelector).limit(limit).orphanDependents(orphanDependents).propagationPolicy(propagationPolicy).resourceVersion(resourceVersion).resourceVersionMatch(resourceVersionMatch).sendInitialEvents(sendInitialEvents).timeoutSeconds(timeoutSeconds).body(body).execute(); + +# **deleteCollectionMutatingAdmissionPolicy** +> V1Status deleteCollectionMutatingAdmissionPolicy().pretty(pretty)._continue(_continue).dryRun(dryRun).fieldSelector(fieldSelector).gracePeriodSeconds(gracePeriodSeconds).ignoreStoreReadErrorWithClusterBreakingPotential(ignoreStoreReadErrorWithClusterBreakingPotential).labelSelector(labelSelector).limit(limit).orphanDependents(orphanDependents).propagationPolicy(propagationPolicy).resourceVersion(resourceVersion).resourceVersionMatch(resourceVersionMatch).sendInitialEvents(sendInitialEvents).timeoutSeconds(timeoutSeconds).body(body).execute(); -delete collection of ValidatingAdmissionPolicy +delete collection of MutatingAdmissionPolicy ### Example ```java @@ -240,7 +237,7 @@ public class Example { Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. V1DeleteOptions body = new V1DeleteOptions(); // V1DeleteOptions | try { - V1Status result = apiInstance.deleteCollectionValidatingAdmissionPolicy() + V1Status result = apiInstance.deleteCollectionMutatingAdmissionPolicy() .pretty(pretty) ._continue(_continue) .dryRun(dryRun) @@ -259,7 +256,7 @@ public class Example { .execute(); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AdmissionregistrationV1beta1Api#deleteCollectionValidatingAdmissionPolicy"); + System.err.println("Exception when calling AdmissionregistrationV1beta1Api#deleteCollectionMutatingAdmissionPolicy"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -308,13 +305,13 @@ public class Example { | **200** | OK | - | | **401** | Unauthorized | - | - -# **deleteCollectionValidatingAdmissionPolicyBinding** -> V1Status deleteCollectionValidatingAdmissionPolicyBinding().pretty(pretty)._continue(_continue).dryRun(dryRun).fieldSelector(fieldSelector).gracePeriodSeconds(gracePeriodSeconds).ignoreStoreReadErrorWithClusterBreakingPotential(ignoreStoreReadErrorWithClusterBreakingPotential).labelSelector(labelSelector).limit(limit).orphanDependents(orphanDependents).propagationPolicy(propagationPolicy).resourceVersion(resourceVersion).resourceVersionMatch(resourceVersionMatch).sendInitialEvents(sendInitialEvents).timeoutSeconds(timeoutSeconds).body(body).execute(); + +# **deleteCollectionMutatingAdmissionPolicyBinding** +> V1Status deleteCollectionMutatingAdmissionPolicyBinding().pretty(pretty)._continue(_continue).dryRun(dryRun).fieldSelector(fieldSelector).gracePeriodSeconds(gracePeriodSeconds).ignoreStoreReadErrorWithClusterBreakingPotential(ignoreStoreReadErrorWithClusterBreakingPotential).labelSelector(labelSelector).limit(limit).orphanDependents(orphanDependents).propagationPolicy(propagationPolicy).resourceVersion(resourceVersion).resourceVersionMatch(resourceVersionMatch).sendInitialEvents(sendInitialEvents).timeoutSeconds(timeoutSeconds).body(body).execute(); -delete collection of ValidatingAdmissionPolicyBinding +delete collection of MutatingAdmissionPolicyBinding ### Example ```java @@ -354,7 +351,7 @@ public class Example { Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. V1DeleteOptions body = new V1DeleteOptions(); // V1DeleteOptions | try { - V1Status result = apiInstance.deleteCollectionValidatingAdmissionPolicyBinding() + V1Status result = apiInstance.deleteCollectionMutatingAdmissionPolicyBinding() .pretty(pretty) ._continue(_continue) .dryRun(dryRun) @@ -373,7 +370,7 @@ public class Example { .execute(); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AdmissionregistrationV1beta1Api#deleteCollectionValidatingAdmissionPolicyBinding"); + System.err.println("Exception when calling AdmissionregistrationV1beta1Api#deleteCollectionMutatingAdmissionPolicyBinding"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -422,13 +419,13 @@ public class Example { | **200** | OK | - | | **401** | Unauthorized | - | - -# **deleteValidatingAdmissionPolicy** -> V1Status deleteValidatingAdmissionPolicy(name).pretty(pretty).dryRun(dryRun).gracePeriodSeconds(gracePeriodSeconds).ignoreStoreReadErrorWithClusterBreakingPotential(ignoreStoreReadErrorWithClusterBreakingPotential).orphanDependents(orphanDependents).propagationPolicy(propagationPolicy).body(body).execute(); + +# **deleteMutatingAdmissionPolicy** +> V1Status deleteMutatingAdmissionPolicy(name).pretty(pretty).dryRun(dryRun).gracePeriodSeconds(gracePeriodSeconds).ignoreStoreReadErrorWithClusterBreakingPotential(ignoreStoreReadErrorWithClusterBreakingPotential).orphanDependents(orphanDependents).propagationPolicy(propagationPolicy).body(body).execute(); -delete a ValidatingAdmissionPolicy +delete a MutatingAdmissionPolicy ### Example ```java @@ -452,7 +449,7 @@ public class Example { //BearerToken.setApiKeyPrefix("Token"); AdmissionregistrationV1beta1Api apiInstance = new AdmissionregistrationV1beta1Api(defaultClient); - String name = "name_example"; // String | name of the ValidatingAdmissionPolicy + String name = "name_example"; // String | name of the MutatingAdmissionPolicy String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed Integer gracePeriodSeconds = 56; // Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. @@ -461,7 +458,7 @@ public class Example { String propagationPolicy = "propagationPolicy_example"; // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. V1DeleteOptions body = new V1DeleteOptions(); // V1DeleteOptions | try { - V1Status result = apiInstance.deleteValidatingAdmissionPolicy(name) + V1Status result = apiInstance.deleteMutatingAdmissionPolicy(name) .pretty(pretty) .dryRun(dryRun) .gracePeriodSeconds(gracePeriodSeconds) @@ -472,7 +469,7 @@ public class Example { .execute(); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AdmissionregistrationV1beta1Api#deleteValidatingAdmissionPolicy"); + System.err.println("Exception when calling AdmissionregistrationV1beta1Api#deleteMutatingAdmissionPolicy"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -486,7 +483,7 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **name** | **String**| name of the ValidatingAdmissionPolicy | | +| **name** | **String**| name of the MutatingAdmissionPolicy | | | **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | | **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | | **gracePeriodSeconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] | @@ -515,13 +512,13 @@ public class Example { | **202** | Accepted | - | | **401** | Unauthorized | - | - -# **deleteValidatingAdmissionPolicyBinding** -> V1Status deleteValidatingAdmissionPolicyBinding(name).pretty(pretty).dryRun(dryRun).gracePeriodSeconds(gracePeriodSeconds).ignoreStoreReadErrorWithClusterBreakingPotential(ignoreStoreReadErrorWithClusterBreakingPotential).orphanDependents(orphanDependents).propagationPolicy(propagationPolicy).body(body).execute(); + +# **deleteMutatingAdmissionPolicyBinding** +> V1Status deleteMutatingAdmissionPolicyBinding(name).pretty(pretty).dryRun(dryRun).gracePeriodSeconds(gracePeriodSeconds).ignoreStoreReadErrorWithClusterBreakingPotential(ignoreStoreReadErrorWithClusterBreakingPotential).orphanDependents(orphanDependents).propagationPolicy(propagationPolicy).body(body).execute(); -delete a ValidatingAdmissionPolicyBinding +delete a MutatingAdmissionPolicyBinding ### Example ```java @@ -545,7 +542,7 @@ public class Example { //BearerToken.setApiKeyPrefix("Token"); AdmissionregistrationV1beta1Api apiInstance = new AdmissionregistrationV1beta1Api(defaultClient); - String name = "name_example"; // String | name of the ValidatingAdmissionPolicyBinding + String name = "name_example"; // String | name of the MutatingAdmissionPolicyBinding String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed Integer gracePeriodSeconds = 56; // Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. @@ -554,7 +551,7 @@ public class Example { String propagationPolicy = "propagationPolicy_example"; // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. V1DeleteOptions body = new V1DeleteOptions(); // V1DeleteOptions | try { - V1Status result = apiInstance.deleteValidatingAdmissionPolicyBinding(name) + V1Status result = apiInstance.deleteMutatingAdmissionPolicyBinding(name) .pretty(pretty) .dryRun(dryRun) .gracePeriodSeconds(gracePeriodSeconds) @@ -565,7 +562,7 @@ public class Example { .execute(); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AdmissionregistrationV1beta1Api#deleteValidatingAdmissionPolicyBinding"); + System.err.println("Exception when calling AdmissionregistrationV1beta1Api#deleteMutatingAdmissionPolicyBinding"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -579,7 +576,7 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **name** | **String**| name of the ValidatingAdmissionPolicyBinding | | +| **name** | **String**| name of the MutatingAdmissionPolicyBinding | | | **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | | **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | | **gracePeriodSeconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] | @@ -675,13 +672,13 @@ This endpoint does not need any parameter. | **200** | OK | - | | **401** | Unauthorized | - | - -# **listValidatingAdmissionPolicy** -> V1beta1ValidatingAdmissionPolicyList listValidatingAdmissionPolicy().pretty(pretty).allowWatchBookmarks(allowWatchBookmarks)._continue(_continue).fieldSelector(fieldSelector).labelSelector(labelSelector).limit(limit).resourceVersion(resourceVersion).resourceVersionMatch(resourceVersionMatch).sendInitialEvents(sendInitialEvents).timeoutSeconds(timeoutSeconds).watch(watch).execute(); + +# **listMutatingAdmissionPolicy** +> V1beta1MutatingAdmissionPolicyList listMutatingAdmissionPolicy().pretty(pretty).allowWatchBookmarks(allowWatchBookmarks)._continue(_continue).fieldSelector(fieldSelector).labelSelector(labelSelector).limit(limit).resourceVersion(resourceVersion).resourceVersionMatch(resourceVersionMatch).sendInitialEvents(sendInitialEvents).timeoutSeconds(timeoutSeconds).watch(watch).execute(); -list or watch objects of kind ValidatingAdmissionPolicy +list or watch objects of kind MutatingAdmissionPolicy ### Example ```java @@ -717,7 +714,7 @@ public class Example { Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1beta1ValidatingAdmissionPolicyList result = apiInstance.listValidatingAdmissionPolicy() + V1beta1MutatingAdmissionPolicyList result = apiInstance.listMutatingAdmissionPolicy() .pretty(pretty) .allowWatchBookmarks(allowWatchBookmarks) ._continue(_continue) @@ -732,7 +729,7 @@ public class Example { .execute(); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AdmissionregistrationV1beta1Api#listValidatingAdmissionPolicy"); + System.err.println("Exception when calling AdmissionregistrationV1beta1Api#listMutatingAdmissionPolicy"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -760,7 +757,7 @@ public class Example { ### Return type -[**V1beta1ValidatingAdmissionPolicyList**](V1beta1ValidatingAdmissionPolicyList.md) +[**V1beta1MutatingAdmissionPolicyList**](V1beta1MutatingAdmissionPolicyList.md) ### Authorization @@ -777,13 +774,13 @@ public class Example { | **200** | OK | - | | **401** | Unauthorized | - | - -# **listValidatingAdmissionPolicyBinding** -> V1beta1ValidatingAdmissionPolicyBindingList listValidatingAdmissionPolicyBinding().pretty(pretty).allowWatchBookmarks(allowWatchBookmarks)._continue(_continue).fieldSelector(fieldSelector).labelSelector(labelSelector).limit(limit).resourceVersion(resourceVersion).resourceVersionMatch(resourceVersionMatch).sendInitialEvents(sendInitialEvents).timeoutSeconds(timeoutSeconds).watch(watch).execute(); + +# **listMutatingAdmissionPolicyBinding** +> V1beta1MutatingAdmissionPolicyBindingList listMutatingAdmissionPolicyBinding().pretty(pretty).allowWatchBookmarks(allowWatchBookmarks)._continue(_continue).fieldSelector(fieldSelector).labelSelector(labelSelector).limit(limit).resourceVersion(resourceVersion).resourceVersionMatch(resourceVersionMatch).sendInitialEvents(sendInitialEvents).timeoutSeconds(timeoutSeconds).watch(watch).execute(); -list or watch objects of kind ValidatingAdmissionPolicyBinding +list or watch objects of kind MutatingAdmissionPolicyBinding ### Example ```java @@ -819,7 +816,7 @@ public class Example { Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1beta1ValidatingAdmissionPolicyBindingList result = apiInstance.listValidatingAdmissionPolicyBinding() + V1beta1MutatingAdmissionPolicyBindingList result = apiInstance.listMutatingAdmissionPolicyBinding() .pretty(pretty) .allowWatchBookmarks(allowWatchBookmarks) ._continue(_continue) @@ -834,7 +831,7 @@ public class Example { .execute(); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AdmissionregistrationV1beta1Api#listValidatingAdmissionPolicyBinding"); + System.err.println("Exception when calling AdmissionregistrationV1beta1Api#listMutatingAdmissionPolicyBinding"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -862,7 +859,7 @@ public class Example { ### Return type -[**V1beta1ValidatingAdmissionPolicyBindingList**](V1beta1ValidatingAdmissionPolicyBindingList.md) +[**V1beta1MutatingAdmissionPolicyBindingList**](V1beta1MutatingAdmissionPolicyBindingList.md) ### Authorization @@ -879,13 +876,13 @@ public class Example { | **200** | OK | - | | **401** | Unauthorized | - | - -# **patchValidatingAdmissionPolicy** -> V1beta1ValidatingAdmissionPolicy patchValidatingAdmissionPolicy(name, body).pretty(pretty).dryRun(dryRun).fieldManager(fieldManager).fieldValidation(fieldValidation).force(force).execute(); + +# **patchMutatingAdmissionPolicy** +> V1beta1MutatingAdmissionPolicy patchMutatingAdmissionPolicy(name, body).pretty(pretty).dryRun(dryRun).fieldManager(fieldManager).fieldValidation(fieldValidation).force(force).execute(); -partially update the specified ValidatingAdmissionPolicy +partially update the specified MutatingAdmissionPolicy ### Example ```java @@ -909,7 +906,7 @@ public class Example { //BearerToken.setApiKeyPrefix("Token"); AdmissionregistrationV1beta1Api apiInstance = new AdmissionregistrationV1beta1Api(defaultClient); - String name = "name_example"; // String | name of the ValidatingAdmissionPolicy + String name = "name_example"; // String | name of the MutatingAdmissionPolicy V1Patch body = new V1Patch(); // V1Patch | String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed @@ -917,7 +914,7 @@ public class Example { String fieldValidation = "fieldValidation_example"; // String | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. Boolean force = true; // Boolean | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. try { - V1beta1ValidatingAdmissionPolicy result = apiInstance.patchValidatingAdmissionPolicy(name, body) + V1beta1MutatingAdmissionPolicy result = apiInstance.patchMutatingAdmissionPolicy(name, body) .pretty(pretty) .dryRun(dryRun) .fieldManager(fieldManager) @@ -926,7 +923,7 @@ public class Example { .execute(); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AdmissionregistrationV1beta1Api#patchValidatingAdmissionPolicy"); + System.err.println("Exception when calling AdmissionregistrationV1beta1Api#patchMutatingAdmissionPolicy"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -940,7 +937,7 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **name** | **String**| name of the ValidatingAdmissionPolicy | | +| **name** | **String**| name of the MutatingAdmissionPolicy | | | **body** | **V1Patch**| | | | **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | | **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | @@ -950,7 +947,7 @@ public class Example { ### Return type -[**V1beta1ValidatingAdmissionPolicy**](V1beta1ValidatingAdmissionPolicy.md) +[**V1beta1MutatingAdmissionPolicy**](V1beta1MutatingAdmissionPolicy.md) ### Authorization @@ -968,13 +965,13 @@ public class Example { | **201** | Created | - | | **401** | Unauthorized | - | - -# **patchValidatingAdmissionPolicyBinding** -> V1beta1ValidatingAdmissionPolicyBinding patchValidatingAdmissionPolicyBinding(name, body).pretty(pretty).dryRun(dryRun).fieldManager(fieldManager).fieldValidation(fieldValidation).force(force).execute(); + +# **patchMutatingAdmissionPolicyBinding** +> V1beta1MutatingAdmissionPolicyBinding patchMutatingAdmissionPolicyBinding(name, body).pretty(pretty).dryRun(dryRun).fieldManager(fieldManager).fieldValidation(fieldValidation).force(force).execute(); -partially update the specified ValidatingAdmissionPolicyBinding +partially update the specified MutatingAdmissionPolicyBinding ### Example ```java @@ -998,7 +995,7 @@ public class Example { //BearerToken.setApiKeyPrefix("Token"); AdmissionregistrationV1beta1Api apiInstance = new AdmissionregistrationV1beta1Api(defaultClient); - String name = "name_example"; // String | name of the ValidatingAdmissionPolicyBinding + String name = "name_example"; // String | name of the MutatingAdmissionPolicyBinding V1Patch body = new V1Patch(); // V1Patch | String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed @@ -1006,7 +1003,7 @@ public class Example { String fieldValidation = "fieldValidation_example"; // String | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. Boolean force = true; // Boolean | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. try { - V1beta1ValidatingAdmissionPolicyBinding result = apiInstance.patchValidatingAdmissionPolicyBinding(name, body) + V1beta1MutatingAdmissionPolicyBinding result = apiInstance.patchMutatingAdmissionPolicyBinding(name, body) .pretty(pretty) .dryRun(dryRun) .fieldManager(fieldManager) @@ -1015,7 +1012,7 @@ public class Example { .execute(); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AdmissionregistrationV1beta1Api#patchValidatingAdmissionPolicyBinding"); + System.err.println("Exception when calling AdmissionregistrationV1beta1Api#patchMutatingAdmissionPolicyBinding"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -1029,7 +1026,7 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **name** | **String**| name of the ValidatingAdmissionPolicyBinding | | +| **name** | **String**| name of the MutatingAdmissionPolicyBinding | | | **body** | **V1Patch**| | | | **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | | **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | @@ -1039,7 +1036,7 @@ public class Example { ### Return type -[**V1beta1ValidatingAdmissionPolicyBinding**](V1beta1ValidatingAdmissionPolicyBinding.md) +[**V1beta1MutatingAdmissionPolicyBinding**](V1beta1MutatingAdmissionPolicyBinding.md) ### Authorization @@ -1057,13 +1054,13 @@ public class Example { | **201** | Created | - | | **401** | Unauthorized | - | - -# **patchValidatingAdmissionPolicyStatus** -> V1beta1ValidatingAdmissionPolicy patchValidatingAdmissionPolicyStatus(name, body).pretty(pretty).dryRun(dryRun).fieldManager(fieldManager).fieldValidation(fieldValidation).force(force).execute(); + +# **readMutatingAdmissionPolicy** +> V1beta1MutatingAdmissionPolicy readMutatingAdmissionPolicy(name).pretty(pretty).execute(); -partially update status of the specified ValidatingAdmissionPolicy +read the specified MutatingAdmissionPolicy ### Example ```java @@ -1087,178 +1084,15 @@ public class Example { //BearerToken.setApiKeyPrefix("Token"); AdmissionregistrationV1beta1Api apiInstance = new AdmissionregistrationV1beta1Api(defaultClient); - String name = "name_example"; // String | name of the ValidatingAdmissionPolicy - V1Patch body = new V1Patch(); // V1Patch | - String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - String fieldManager = "fieldManager_example"; // String | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - String fieldValidation = "fieldValidation_example"; // String | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - Boolean force = true; // Boolean | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - try { - V1beta1ValidatingAdmissionPolicy result = apiInstance.patchValidatingAdmissionPolicyStatus(name, body) - .pretty(pretty) - .dryRun(dryRun) - .fieldManager(fieldManager) - .fieldValidation(fieldValidation) - .force(force) - .execute(); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling AdmissionregistrationV1beta1Api#patchValidatingAdmissionPolicyStatus"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **name** | **String**| name of the ValidatingAdmissionPolicy | | -| **body** | **V1Patch**| | | -| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | -| **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | -| **fieldManager** | **String**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] | -| **fieldValidation** | **String**| fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] | -| **force** | **Boolean**| Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] | - -### Return type - -[**V1beta1ValidatingAdmissionPolicy**](V1beta1ValidatingAdmissionPolicy.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | OK | - | -| **201** | Created | - | -| **401** | Unauthorized | - | - - -# **readValidatingAdmissionPolicy** -> V1beta1ValidatingAdmissionPolicy readValidatingAdmissionPolicy(name).pretty(pretty).execute(); - - - -read the specified ValidatingAdmissionPolicy - -### Example -```java -// Import classes: -import io.kubernetes.client.openapi.ApiClient; -import io.kubernetes.client.openapi.ApiException; -import io.kubernetes.client.openapi.Configuration; -import io.kubernetes.client.openapi.auth.*; -import io.kubernetes.client.openapi.models.*; -import io.kubernetes.client.openapi.apis.AdmissionregistrationV1beta1Api; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/"); - - // Configure API key authorization: BearerToken - ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); - BearerToken.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //BearerToken.setApiKeyPrefix("Token"); - - AdmissionregistrationV1beta1Api apiInstance = new AdmissionregistrationV1beta1Api(defaultClient); - String name = "name_example"; // String | name of the ValidatingAdmissionPolicy - String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - try { - V1beta1ValidatingAdmissionPolicy result = apiInstance.readValidatingAdmissionPolicy(name) - .pretty(pretty) - .execute(); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling AdmissionregistrationV1beta1Api#readValidatingAdmissionPolicy"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **name** | **String**| name of the ValidatingAdmissionPolicy | | -| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | - -### Return type - -[**V1beta1ValidatingAdmissionPolicy**](V1beta1ValidatingAdmissionPolicy.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | OK | - | -| **401** | Unauthorized | - | - - -# **readValidatingAdmissionPolicyBinding** -> V1beta1ValidatingAdmissionPolicyBinding readValidatingAdmissionPolicyBinding(name).pretty(pretty).execute(); - - - -read the specified ValidatingAdmissionPolicyBinding - -### Example -```java -// Import classes: -import io.kubernetes.client.openapi.ApiClient; -import io.kubernetes.client.openapi.ApiException; -import io.kubernetes.client.openapi.Configuration; -import io.kubernetes.client.openapi.auth.*; -import io.kubernetes.client.openapi.models.*; -import io.kubernetes.client.openapi.apis.AdmissionregistrationV1beta1Api; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/"); - - // Configure API key authorization: BearerToken - ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); - BearerToken.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //BearerToken.setApiKeyPrefix("Token"); - - AdmissionregistrationV1beta1Api apiInstance = new AdmissionregistrationV1beta1Api(defaultClient); - String name = "name_example"; // String | name of the ValidatingAdmissionPolicyBinding + String name = "name_example"; // String | name of the MutatingAdmissionPolicy String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). try { - V1beta1ValidatingAdmissionPolicyBinding result = apiInstance.readValidatingAdmissionPolicyBinding(name) + V1beta1MutatingAdmissionPolicy result = apiInstance.readMutatingAdmissionPolicy(name) .pretty(pretty) .execute(); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AdmissionregistrationV1beta1Api#readValidatingAdmissionPolicyBinding"); + System.err.println("Exception when calling AdmissionregistrationV1beta1Api#readMutatingAdmissionPolicy"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -1272,12 +1106,12 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **name** | **String**| name of the ValidatingAdmissionPolicyBinding | | +| **name** | **String**| name of the MutatingAdmissionPolicy | | | **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | ### Return type -[**V1beta1ValidatingAdmissionPolicyBinding**](V1beta1ValidatingAdmissionPolicyBinding.md) +[**V1beta1MutatingAdmissionPolicy**](V1beta1MutatingAdmissionPolicy.md) ### Authorization @@ -1294,13 +1128,13 @@ public class Example { | **200** | OK | - | | **401** | Unauthorized | - | - -# **readValidatingAdmissionPolicyStatus** -> V1beta1ValidatingAdmissionPolicy readValidatingAdmissionPolicyStatus(name).pretty(pretty).execute(); + +# **readMutatingAdmissionPolicyBinding** +> V1beta1MutatingAdmissionPolicyBinding readMutatingAdmissionPolicyBinding(name).pretty(pretty).execute(); -read status of the specified ValidatingAdmissionPolicy +read the specified MutatingAdmissionPolicyBinding ### Example ```java @@ -1324,15 +1158,15 @@ public class Example { //BearerToken.setApiKeyPrefix("Token"); AdmissionregistrationV1beta1Api apiInstance = new AdmissionregistrationV1beta1Api(defaultClient); - String name = "name_example"; // String | name of the ValidatingAdmissionPolicy + String name = "name_example"; // String | name of the MutatingAdmissionPolicyBinding String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). try { - V1beta1ValidatingAdmissionPolicy result = apiInstance.readValidatingAdmissionPolicyStatus(name) + V1beta1MutatingAdmissionPolicyBinding result = apiInstance.readMutatingAdmissionPolicyBinding(name) .pretty(pretty) .execute(); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AdmissionregistrationV1beta1Api#readValidatingAdmissionPolicyStatus"); + System.err.println("Exception when calling AdmissionregistrationV1beta1Api#readMutatingAdmissionPolicyBinding"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -1346,12 +1180,12 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **name** | **String**| name of the ValidatingAdmissionPolicy | | +| **name** | **String**| name of the MutatingAdmissionPolicyBinding | | | **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | ### Return type -[**V1beta1ValidatingAdmissionPolicy**](V1beta1ValidatingAdmissionPolicy.md) +[**V1beta1MutatingAdmissionPolicyBinding**](V1beta1MutatingAdmissionPolicyBinding.md) ### Authorization @@ -1368,99 +1202,13 @@ public class Example { | **200** | OK | - | | **401** | Unauthorized | - | - -# **replaceValidatingAdmissionPolicy** -> V1beta1ValidatingAdmissionPolicy replaceValidatingAdmissionPolicy(name, body).pretty(pretty).dryRun(dryRun).fieldManager(fieldManager).fieldValidation(fieldValidation).execute(); - - - -replace the specified ValidatingAdmissionPolicy - -### Example -```java -// Import classes: -import io.kubernetes.client.openapi.ApiClient; -import io.kubernetes.client.openapi.ApiException; -import io.kubernetes.client.openapi.Configuration; -import io.kubernetes.client.openapi.auth.*; -import io.kubernetes.client.openapi.models.*; -import io.kubernetes.client.openapi.apis.AdmissionregistrationV1beta1Api; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/"); - - // Configure API key authorization: BearerToken - ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); - BearerToken.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //BearerToken.setApiKeyPrefix("Token"); - - AdmissionregistrationV1beta1Api apiInstance = new AdmissionregistrationV1beta1Api(defaultClient); - String name = "name_example"; // String | name of the ValidatingAdmissionPolicy - V1beta1ValidatingAdmissionPolicy body = new V1beta1ValidatingAdmissionPolicy(); // V1beta1ValidatingAdmissionPolicy | - String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - String fieldManager = "fieldManager_example"; // String | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - String fieldValidation = "fieldValidation_example"; // String | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - try { - V1beta1ValidatingAdmissionPolicy result = apiInstance.replaceValidatingAdmissionPolicy(name, body) - .pretty(pretty) - .dryRun(dryRun) - .fieldManager(fieldManager) - .fieldValidation(fieldValidation) - .execute(); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling AdmissionregistrationV1beta1Api#replaceValidatingAdmissionPolicy"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **name** | **String**| name of the ValidatingAdmissionPolicy | | -| **body** | [**V1beta1ValidatingAdmissionPolicy**](V1beta1ValidatingAdmissionPolicy.md)| | | -| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | -| **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | -| **fieldManager** | **String**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] | -| **fieldValidation** | **String**| fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] | - -### Return type - -[**V1beta1ValidatingAdmissionPolicy**](V1beta1ValidatingAdmissionPolicy.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | OK | - | -| **201** | Created | - | -| **401** | Unauthorized | - | - - -# **replaceValidatingAdmissionPolicyBinding** -> V1beta1ValidatingAdmissionPolicyBinding replaceValidatingAdmissionPolicyBinding(name, body).pretty(pretty).dryRun(dryRun).fieldManager(fieldManager).fieldValidation(fieldValidation).execute(); + +# **replaceMutatingAdmissionPolicy** +> V1beta1MutatingAdmissionPolicy replaceMutatingAdmissionPolicy(name, body).pretty(pretty).dryRun(dryRun).fieldManager(fieldManager).fieldValidation(fieldValidation).execute(); -replace the specified ValidatingAdmissionPolicyBinding +replace the specified MutatingAdmissionPolicy ### Example ```java @@ -1484,14 +1232,14 @@ public class Example { //BearerToken.setApiKeyPrefix("Token"); AdmissionregistrationV1beta1Api apiInstance = new AdmissionregistrationV1beta1Api(defaultClient); - String name = "name_example"; // String | name of the ValidatingAdmissionPolicyBinding - V1beta1ValidatingAdmissionPolicyBinding body = new V1beta1ValidatingAdmissionPolicyBinding(); // V1beta1ValidatingAdmissionPolicyBinding | + String name = "name_example"; // String | name of the MutatingAdmissionPolicy + V1beta1MutatingAdmissionPolicy body = new V1beta1MutatingAdmissionPolicy(); // V1beta1MutatingAdmissionPolicy | String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed String fieldManager = "fieldManager_example"; // String | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. String fieldValidation = "fieldValidation_example"; // String | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. try { - V1beta1ValidatingAdmissionPolicyBinding result = apiInstance.replaceValidatingAdmissionPolicyBinding(name, body) + V1beta1MutatingAdmissionPolicy result = apiInstance.replaceMutatingAdmissionPolicy(name, body) .pretty(pretty) .dryRun(dryRun) .fieldManager(fieldManager) @@ -1499,7 +1247,7 @@ public class Example { .execute(); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AdmissionregistrationV1beta1Api#replaceValidatingAdmissionPolicyBinding"); + System.err.println("Exception when calling AdmissionregistrationV1beta1Api#replaceMutatingAdmissionPolicy"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -1513,8 +1261,8 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **name** | **String**| name of the ValidatingAdmissionPolicyBinding | | -| **body** | [**V1beta1ValidatingAdmissionPolicyBinding**](V1beta1ValidatingAdmissionPolicyBinding.md)| | | +| **name** | **String**| name of the MutatingAdmissionPolicy | | +| **body** | [**V1beta1MutatingAdmissionPolicy**](V1beta1MutatingAdmissionPolicy.md)| | | | **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | | **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | | **fieldManager** | **String**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] | @@ -1522,7 +1270,7 @@ public class Example { ### Return type -[**V1beta1ValidatingAdmissionPolicyBinding**](V1beta1ValidatingAdmissionPolicyBinding.md) +[**V1beta1MutatingAdmissionPolicy**](V1beta1MutatingAdmissionPolicy.md) ### Authorization @@ -1540,13 +1288,13 @@ public class Example { | **201** | Created | - | | **401** | Unauthorized | - | - -# **replaceValidatingAdmissionPolicyStatus** -> V1beta1ValidatingAdmissionPolicy replaceValidatingAdmissionPolicyStatus(name, body).pretty(pretty).dryRun(dryRun).fieldManager(fieldManager).fieldValidation(fieldValidation).execute(); + +# **replaceMutatingAdmissionPolicyBinding** +> V1beta1MutatingAdmissionPolicyBinding replaceMutatingAdmissionPolicyBinding(name, body).pretty(pretty).dryRun(dryRun).fieldManager(fieldManager).fieldValidation(fieldValidation).execute(); -replace status of the specified ValidatingAdmissionPolicy +replace the specified MutatingAdmissionPolicyBinding ### Example ```java @@ -1570,14 +1318,14 @@ public class Example { //BearerToken.setApiKeyPrefix("Token"); AdmissionregistrationV1beta1Api apiInstance = new AdmissionregistrationV1beta1Api(defaultClient); - String name = "name_example"; // String | name of the ValidatingAdmissionPolicy - V1beta1ValidatingAdmissionPolicy body = new V1beta1ValidatingAdmissionPolicy(); // V1beta1ValidatingAdmissionPolicy | + String name = "name_example"; // String | name of the MutatingAdmissionPolicyBinding + V1beta1MutatingAdmissionPolicyBinding body = new V1beta1MutatingAdmissionPolicyBinding(); // V1beta1MutatingAdmissionPolicyBinding | String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed String fieldManager = "fieldManager_example"; // String | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. String fieldValidation = "fieldValidation_example"; // String | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. try { - V1beta1ValidatingAdmissionPolicy result = apiInstance.replaceValidatingAdmissionPolicyStatus(name, body) + V1beta1MutatingAdmissionPolicyBinding result = apiInstance.replaceMutatingAdmissionPolicyBinding(name, body) .pretty(pretty) .dryRun(dryRun) .fieldManager(fieldManager) @@ -1585,7 +1333,7 @@ public class Example { .execute(); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AdmissionregistrationV1beta1Api#replaceValidatingAdmissionPolicyStatus"); + System.err.println("Exception when calling AdmissionregistrationV1beta1Api#replaceMutatingAdmissionPolicyBinding"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -1599,8 +1347,8 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **name** | **String**| name of the ValidatingAdmissionPolicy | | -| **body** | [**V1beta1ValidatingAdmissionPolicy**](V1beta1ValidatingAdmissionPolicy.md)| | | +| **name** | **String**| name of the MutatingAdmissionPolicyBinding | | +| **body** | [**V1beta1MutatingAdmissionPolicyBinding**](V1beta1MutatingAdmissionPolicyBinding.md)| | | | **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | | **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | | **fieldManager** | **String**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] | @@ -1608,7 +1356,7 @@ public class Example { ### Return type -[**V1beta1ValidatingAdmissionPolicy**](V1beta1ValidatingAdmissionPolicy.md) +[**V1beta1MutatingAdmissionPolicyBinding**](V1beta1MutatingAdmissionPolicyBinding.md) ### Authorization diff --git a/kubernetes/docs/CertificatesV1alpha1Api.md b/kubernetes/docs/CertificatesV1alpha1Api.md index 8c9b1dd003..cc7059739d 100644 --- a/kubernetes/docs/CertificatesV1alpha1Api.md +++ b/kubernetes/docs/CertificatesV1alpha1Api.md @@ -5,13 +5,24 @@ All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| | [**createClusterTrustBundle**](CertificatesV1alpha1Api.md#createClusterTrustBundle) | **POST** /apis/certificates.k8s.io/v1alpha1/clustertrustbundles | | +| [**createNamespacedPodCertificateRequest**](CertificatesV1alpha1Api.md#createNamespacedPodCertificateRequest) | **POST** /apis/certificates.k8s.io/v1alpha1/namespaces/{namespace}/podcertificaterequests | | | [**deleteClusterTrustBundle**](CertificatesV1alpha1Api.md#deleteClusterTrustBundle) | **DELETE** /apis/certificates.k8s.io/v1alpha1/clustertrustbundles/{name} | | | [**deleteCollectionClusterTrustBundle**](CertificatesV1alpha1Api.md#deleteCollectionClusterTrustBundle) | **DELETE** /apis/certificates.k8s.io/v1alpha1/clustertrustbundles | | +| [**deleteCollectionNamespacedPodCertificateRequest**](CertificatesV1alpha1Api.md#deleteCollectionNamespacedPodCertificateRequest) | **DELETE** /apis/certificates.k8s.io/v1alpha1/namespaces/{namespace}/podcertificaterequests | | +| [**deleteNamespacedPodCertificateRequest**](CertificatesV1alpha1Api.md#deleteNamespacedPodCertificateRequest) | **DELETE** /apis/certificates.k8s.io/v1alpha1/namespaces/{namespace}/podcertificaterequests/{name} | | | [**getAPIResources**](CertificatesV1alpha1Api.md#getAPIResources) | **GET** /apis/certificates.k8s.io/v1alpha1/ | | | [**listClusterTrustBundle**](CertificatesV1alpha1Api.md#listClusterTrustBundle) | **GET** /apis/certificates.k8s.io/v1alpha1/clustertrustbundles | | +| [**listNamespacedPodCertificateRequest**](CertificatesV1alpha1Api.md#listNamespacedPodCertificateRequest) | **GET** /apis/certificates.k8s.io/v1alpha1/namespaces/{namespace}/podcertificaterequests | | +| [**listPodCertificateRequestForAllNamespaces**](CertificatesV1alpha1Api.md#listPodCertificateRequestForAllNamespaces) | **GET** /apis/certificates.k8s.io/v1alpha1/podcertificaterequests | | | [**patchClusterTrustBundle**](CertificatesV1alpha1Api.md#patchClusterTrustBundle) | **PATCH** /apis/certificates.k8s.io/v1alpha1/clustertrustbundles/{name} | | +| [**patchNamespacedPodCertificateRequest**](CertificatesV1alpha1Api.md#patchNamespacedPodCertificateRequest) | **PATCH** /apis/certificates.k8s.io/v1alpha1/namespaces/{namespace}/podcertificaterequests/{name} | | +| [**patchNamespacedPodCertificateRequestStatus**](CertificatesV1alpha1Api.md#patchNamespacedPodCertificateRequestStatus) | **PATCH** /apis/certificates.k8s.io/v1alpha1/namespaces/{namespace}/podcertificaterequests/{name}/status | | | [**readClusterTrustBundle**](CertificatesV1alpha1Api.md#readClusterTrustBundle) | **GET** /apis/certificates.k8s.io/v1alpha1/clustertrustbundles/{name} | | +| [**readNamespacedPodCertificateRequest**](CertificatesV1alpha1Api.md#readNamespacedPodCertificateRequest) | **GET** /apis/certificates.k8s.io/v1alpha1/namespaces/{namespace}/podcertificaterequests/{name} | | +| [**readNamespacedPodCertificateRequestStatus**](CertificatesV1alpha1Api.md#readNamespacedPodCertificateRequestStatus) | **GET** /apis/certificates.k8s.io/v1alpha1/namespaces/{namespace}/podcertificaterequests/{name}/status | | | [**replaceClusterTrustBundle**](CertificatesV1alpha1Api.md#replaceClusterTrustBundle) | **PUT** /apis/certificates.k8s.io/v1alpha1/clustertrustbundles/{name} | | +| [**replaceNamespacedPodCertificateRequest**](CertificatesV1alpha1Api.md#replaceNamespacedPodCertificateRequest) | **PUT** /apis/certificates.k8s.io/v1alpha1/namespaces/{namespace}/podcertificaterequests/{name} | | +| [**replaceNamespacedPodCertificateRequestStatus**](CertificatesV1alpha1Api.md#replaceNamespacedPodCertificateRequestStatus) | **PUT** /apis/certificates.k8s.io/v1alpha1/namespaces/{namespace}/podcertificaterequests/{name}/status | | @@ -99,13 +110,1073 @@ public class Example { | **202** | Accepted | - | | **401** | Unauthorized | - | + +# **createNamespacedPodCertificateRequest** +> V1alpha1PodCertificateRequest createNamespacedPodCertificateRequest(namespace, body).pretty(pretty).dryRun(dryRun).fieldManager(fieldManager).fieldValidation(fieldValidation).execute(); + + + +create a PodCertificateRequest + +### Example +```java +// Import classes: +import io.kubernetes.client.openapi.ApiClient; +import io.kubernetes.client.openapi.ApiException; +import io.kubernetes.client.openapi.Configuration; +import io.kubernetes.client.openapi.auth.*; +import io.kubernetes.client.openapi.models.*; +import io.kubernetes.client.openapi.apis.CertificatesV1alpha1Api; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost/"); + + // Configure API key authorization: BearerToken + ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); + BearerToken.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //BearerToken.setApiKeyPrefix("Token"); + + CertificatesV1alpha1Api apiInstance = new CertificatesV1alpha1Api(defaultClient); + String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects + V1alpha1PodCertificateRequest body = new V1alpha1PodCertificateRequest(); // V1alpha1PodCertificateRequest | + String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + String fieldManager = "fieldManager_example"; // String | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + String fieldValidation = "fieldValidation_example"; // String | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + try { + V1alpha1PodCertificateRequest result = apiInstance.createNamespacedPodCertificateRequest(namespace, body) + .pretty(pretty) + .dryRun(dryRun) + .fieldManager(fieldManager) + .fieldValidation(fieldValidation) + .execute(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling CertificatesV1alpha1Api#createNamespacedPodCertificateRequest"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **namespace** | **String**| object name and auth scope, such as for teams and projects | | +| **body** | [**V1alpha1PodCertificateRequest**](V1alpha1PodCertificateRequest.md)| | | +| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | +| **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | +| **fieldManager** | **String**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] | +| **fieldValidation** | **String**| fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] | + +### Return type + +[**V1alpha1PodCertificateRequest**](V1alpha1PodCertificateRequest.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | +| **201** | Created | - | +| **202** | Accepted | - | +| **401** | Unauthorized | - | + # **deleteClusterTrustBundle** > V1Status deleteClusterTrustBundle(name).pretty(pretty).dryRun(dryRun).gracePeriodSeconds(gracePeriodSeconds).ignoreStoreReadErrorWithClusterBreakingPotential(ignoreStoreReadErrorWithClusterBreakingPotential).orphanDependents(orphanDependents).propagationPolicy(propagationPolicy).body(body).execute(); -delete a ClusterTrustBundle +delete a ClusterTrustBundle + +### Example +```java +// Import classes: +import io.kubernetes.client.openapi.ApiClient; +import io.kubernetes.client.openapi.ApiException; +import io.kubernetes.client.openapi.Configuration; +import io.kubernetes.client.openapi.auth.*; +import io.kubernetes.client.openapi.models.*; +import io.kubernetes.client.openapi.apis.CertificatesV1alpha1Api; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost/"); + + // Configure API key authorization: BearerToken + ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); + BearerToken.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //BearerToken.setApiKeyPrefix("Token"); + + CertificatesV1alpha1Api apiInstance = new CertificatesV1alpha1Api(defaultClient); + String name = "name_example"; // String | name of the ClusterTrustBundle + String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + Integer gracePeriodSeconds = 56; // Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + Boolean ignoreStoreReadErrorWithClusterBreakingPotential = true; // Boolean | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + Boolean orphanDependents = true; // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + String propagationPolicy = "propagationPolicy_example"; // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + V1DeleteOptions body = new V1DeleteOptions(); // V1DeleteOptions | + try { + V1Status result = apiInstance.deleteClusterTrustBundle(name) + .pretty(pretty) + .dryRun(dryRun) + .gracePeriodSeconds(gracePeriodSeconds) + .ignoreStoreReadErrorWithClusterBreakingPotential(ignoreStoreReadErrorWithClusterBreakingPotential) + .orphanDependents(orphanDependents) + .propagationPolicy(propagationPolicy) + .body(body) + .execute(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling CertificatesV1alpha1Api#deleteClusterTrustBundle"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **name** | **String**| name of the ClusterTrustBundle | | +| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | +| **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | +| **gracePeriodSeconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] | +| **ignoreStoreReadErrorWithClusterBreakingPotential** | **Boolean**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] | +| **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] | +| **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] | +| **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] | + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | +| **202** | Accepted | - | +| **401** | Unauthorized | - | + + +# **deleteCollectionClusterTrustBundle** +> V1Status deleteCollectionClusterTrustBundle().pretty(pretty)._continue(_continue).dryRun(dryRun).fieldSelector(fieldSelector).gracePeriodSeconds(gracePeriodSeconds).ignoreStoreReadErrorWithClusterBreakingPotential(ignoreStoreReadErrorWithClusterBreakingPotential).labelSelector(labelSelector).limit(limit).orphanDependents(orphanDependents).propagationPolicy(propagationPolicy).resourceVersion(resourceVersion).resourceVersionMatch(resourceVersionMatch).sendInitialEvents(sendInitialEvents).timeoutSeconds(timeoutSeconds).body(body).execute(); + + + +delete collection of ClusterTrustBundle + +### Example +```java +// Import classes: +import io.kubernetes.client.openapi.ApiClient; +import io.kubernetes.client.openapi.ApiException; +import io.kubernetes.client.openapi.Configuration; +import io.kubernetes.client.openapi.auth.*; +import io.kubernetes.client.openapi.models.*; +import io.kubernetes.client.openapi.apis.CertificatesV1alpha1Api; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost/"); + + // Configure API key authorization: BearerToken + ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); + BearerToken.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //BearerToken.setApiKeyPrefix("Token"); + + CertificatesV1alpha1Api apiInstance = new CertificatesV1alpha1Api(defaultClient); + String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. + Integer gracePeriodSeconds = 56; // Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + Boolean ignoreStoreReadErrorWithClusterBreakingPotential = true; // Boolean | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. + Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + Boolean orphanDependents = true; // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + String propagationPolicy = "propagationPolicy_example"; // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + String resourceVersion = "resourceVersion_example"; // String | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + String resourceVersionMatch = "resourceVersionMatch_example"; // String | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + Boolean sendInitialEvents = true; // Boolean | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + V1DeleteOptions body = new V1DeleteOptions(); // V1DeleteOptions | + try { + V1Status result = apiInstance.deleteCollectionClusterTrustBundle() + .pretty(pretty) + ._continue(_continue) + .dryRun(dryRun) + .fieldSelector(fieldSelector) + .gracePeriodSeconds(gracePeriodSeconds) + .ignoreStoreReadErrorWithClusterBreakingPotential(ignoreStoreReadErrorWithClusterBreakingPotential) + .labelSelector(labelSelector) + .limit(limit) + .orphanDependents(orphanDependents) + .propagationPolicy(propagationPolicy) + .resourceVersion(resourceVersion) + .resourceVersionMatch(resourceVersionMatch) + .sendInitialEvents(sendInitialEvents) + .timeoutSeconds(timeoutSeconds) + .body(body) + .execute(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling CertificatesV1alpha1Api#deleteCollectionClusterTrustBundle"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | +| **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] | +| **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | +| **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] | +| **gracePeriodSeconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] | +| **ignoreStoreReadErrorWithClusterBreakingPotential** | **Boolean**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] | +| **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] | +| **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] | +| **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] | +| **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] | +| **resourceVersion** | **String**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] | +| **resourceVersionMatch** | **String**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] | +| **sendInitialEvents** | **Boolean**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] | +| **timeoutSeconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] | +| **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] | + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | +| **401** | Unauthorized | - | + + +# **deleteCollectionNamespacedPodCertificateRequest** +> V1Status deleteCollectionNamespacedPodCertificateRequest(namespace).pretty(pretty)._continue(_continue).dryRun(dryRun).fieldSelector(fieldSelector).gracePeriodSeconds(gracePeriodSeconds).ignoreStoreReadErrorWithClusterBreakingPotential(ignoreStoreReadErrorWithClusterBreakingPotential).labelSelector(labelSelector).limit(limit).orphanDependents(orphanDependents).propagationPolicy(propagationPolicy).resourceVersion(resourceVersion).resourceVersionMatch(resourceVersionMatch).sendInitialEvents(sendInitialEvents).timeoutSeconds(timeoutSeconds).body(body).execute(); + + + +delete collection of PodCertificateRequest + +### Example +```java +// Import classes: +import io.kubernetes.client.openapi.ApiClient; +import io.kubernetes.client.openapi.ApiException; +import io.kubernetes.client.openapi.Configuration; +import io.kubernetes.client.openapi.auth.*; +import io.kubernetes.client.openapi.models.*; +import io.kubernetes.client.openapi.apis.CertificatesV1alpha1Api; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost/"); + + // Configure API key authorization: BearerToken + ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); + BearerToken.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //BearerToken.setApiKeyPrefix("Token"); + + CertificatesV1alpha1Api apiInstance = new CertificatesV1alpha1Api(defaultClient); + String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects + String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. + Integer gracePeriodSeconds = 56; // Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + Boolean ignoreStoreReadErrorWithClusterBreakingPotential = true; // Boolean | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. + Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + Boolean orphanDependents = true; // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + String propagationPolicy = "propagationPolicy_example"; // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + String resourceVersion = "resourceVersion_example"; // String | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + String resourceVersionMatch = "resourceVersionMatch_example"; // String | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + Boolean sendInitialEvents = true; // Boolean | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + V1DeleteOptions body = new V1DeleteOptions(); // V1DeleteOptions | + try { + V1Status result = apiInstance.deleteCollectionNamespacedPodCertificateRequest(namespace) + .pretty(pretty) + ._continue(_continue) + .dryRun(dryRun) + .fieldSelector(fieldSelector) + .gracePeriodSeconds(gracePeriodSeconds) + .ignoreStoreReadErrorWithClusterBreakingPotential(ignoreStoreReadErrorWithClusterBreakingPotential) + .labelSelector(labelSelector) + .limit(limit) + .orphanDependents(orphanDependents) + .propagationPolicy(propagationPolicy) + .resourceVersion(resourceVersion) + .resourceVersionMatch(resourceVersionMatch) + .sendInitialEvents(sendInitialEvents) + .timeoutSeconds(timeoutSeconds) + .body(body) + .execute(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling CertificatesV1alpha1Api#deleteCollectionNamespacedPodCertificateRequest"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **namespace** | **String**| object name and auth scope, such as for teams and projects | | +| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | +| **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] | +| **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | +| **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] | +| **gracePeriodSeconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] | +| **ignoreStoreReadErrorWithClusterBreakingPotential** | **Boolean**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] | +| **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] | +| **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] | +| **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] | +| **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] | +| **resourceVersion** | **String**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] | +| **resourceVersionMatch** | **String**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] | +| **sendInitialEvents** | **Boolean**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] | +| **timeoutSeconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] | +| **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] | + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | +| **401** | Unauthorized | - | + + +# **deleteNamespacedPodCertificateRequest** +> V1Status deleteNamespacedPodCertificateRequest(name, namespace).pretty(pretty).dryRun(dryRun).gracePeriodSeconds(gracePeriodSeconds).ignoreStoreReadErrorWithClusterBreakingPotential(ignoreStoreReadErrorWithClusterBreakingPotential).orphanDependents(orphanDependents).propagationPolicy(propagationPolicy).body(body).execute(); + + + +delete a PodCertificateRequest + +### Example +```java +// Import classes: +import io.kubernetes.client.openapi.ApiClient; +import io.kubernetes.client.openapi.ApiException; +import io.kubernetes.client.openapi.Configuration; +import io.kubernetes.client.openapi.auth.*; +import io.kubernetes.client.openapi.models.*; +import io.kubernetes.client.openapi.apis.CertificatesV1alpha1Api; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost/"); + + // Configure API key authorization: BearerToken + ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); + BearerToken.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //BearerToken.setApiKeyPrefix("Token"); + + CertificatesV1alpha1Api apiInstance = new CertificatesV1alpha1Api(defaultClient); + String name = "name_example"; // String | name of the PodCertificateRequest + String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects + String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + Integer gracePeriodSeconds = 56; // Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + Boolean ignoreStoreReadErrorWithClusterBreakingPotential = true; // Boolean | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + Boolean orphanDependents = true; // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + String propagationPolicy = "propagationPolicy_example"; // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + V1DeleteOptions body = new V1DeleteOptions(); // V1DeleteOptions | + try { + V1Status result = apiInstance.deleteNamespacedPodCertificateRequest(name, namespace) + .pretty(pretty) + .dryRun(dryRun) + .gracePeriodSeconds(gracePeriodSeconds) + .ignoreStoreReadErrorWithClusterBreakingPotential(ignoreStoreReadErrorWithClusterBreakingPotential) + .orphanDependents(orphanDependents) + .propagationPolicy(propagationPolicy) + .body(body) + .execute(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling CertificatesV1alpha1Api#deleteNamespacedPodCertificateRequest"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **name** | **String**| name of the PodCertificateRequest | | +| **namespace** | **String**| object name and auth scope, such as for teams and projects | | +| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | +| **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | +| **gracePeriodSeconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] | +| **ignoreStoreReadErrorWithClusterBreakingPotential** | **Boolean**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] | +| **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] | +| **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] | +| **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] | + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | +| **202** | Accepted | - | +| **401** | Unauthorized | - | + + +# **getAPIResources** +> V1APIResourceList getAPIResources().execute(); + + + +get available resources + +### Example +```java +// Import classes: +import io.kubernetes.client.openapi.ApiClient; +import io.kubernetes.client.openapi.ApiException; +import io.kubernetes.client.openapi.Configuration; +import io.kubernetes.client.openapi.auth.*; +import io.kubernetes.client.openapi.models.*; +import io.kubernetes.client.openapi.apis.CertificatesV1alpha1Api; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost/"); + + // Configure API key authorization: BearerToken + ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); + BearerToken.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //BearerToken.setApiKeyPrefix("Token"); + + CertificatesV1alpha1Api apiInstance = new CertificatesV1alpha1Api(defaultClient); + try { + V1APIResourceList result = apiInstance.getAPIResources() + .execute(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling CertificatesV1alpha1Api#getAPIResources"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**V1APIResourceList**](V1APIResourceList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | +| **401** | Unauthorized | - | + + +# **listClusterTrustBundle** +> V1alpha1ClusterTrustBundleList listClusterTrustBundle().pretty(pretty).allowWatchBookmarks(allowWatchBookmarks)._continue(_continue).fieldSelector(fieldSelector).labelSelector(labelSelector).limit(limit).resourceVersion(resourceVersion).resourceVersionMatch(resourceVersionMatch).sendInitialEvents(sendInitialEvents).timeoutSeconds(timeoutSeconds).watch(watch).execute(); + + + +list or watch objects of kind ClusterTrustBundle + +### Example +```java +// Import classes: +import io.kubernetes.client.openapi.ApiClient; +import io.kubernetes.client.openapi.ApiException; +import io.kubernetes.client.openapi.Configuration; +import io.kubernetes.client.openapi.auth.*; +import io.kubernetes.client.openapi.models.*; +import io.kubernetes.client.openapi.apis.CertificatesV1alpha1Api; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost/"); + + // Configure API key authorization: BearerToken + ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); + BearerToken.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //BearerToken.setApiKeyPrefix("Token"); + + CertificatesV1alpha1Api apiInstance = new CertificatesV1alpha1Api(defaultClient); + String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + Boolean allowWatchBookmarks = true; // Boolean | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. + String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. + Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + String resourceVersion = "resourceVersion_example"; // String | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + String resourceVersionMatch = "resourceVersionMatch_example"; // String | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + Boolean sendInitialEvents = true; // Boolean | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + try { + V1alpha1ClusterTrustBundleList result = apiInstance.listClusterTrustBundle() + .pretty(pretty) + .allowWatchBookmarks(allowWatchBookmarks) + ._continue(_continue) + .fieldSelector(fieldSelector) + .labelSelector(labelSelector) + .limit(limit) + .resourceVersion(resourceVersion) + .resourceVersionMatch(resourceVersionMatch) + .sendInitialEvents(sendInitialEvents) + .timeoutSeconds(timeoutSeconds) + .watch(watch) + .execute(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling CertificatesV1alpha1Api#listClusterTrustBundle"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | +| **allowWatchBookmarks** | **Boolean**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] | +| **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] | +| **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] | +| **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] | +| **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] | +| **resourceVersion** | **String**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] | +| **resourceVersionMatch** | **String**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] | +| **sendInitialEvents** | **Boolean**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] | +| **timeoutSeconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] | +| **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] | + +### Return type + +[**V1alpha1ClusterTrustBundleList**](V1alpha1ClusterTrustBundleList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | +| **401** | Unauthorized | - | + + +# **listNamespacedPodCertificateRequest** +> V1alpha1PodCertificateRequestList listNamespacedPodCertificateRequest(namespace).pretty(pretty).allowWatchBookmarks(allowWatchBookmarks)._continue(_continue).fieldSelector(fieldSelector).labelSelector(labelSelector).limit(limit).resourceVersion(resourceVersion).resourceVersionMatch(resourceVersionMatch).sendInitialEvents(sendInitialEvents).timeoutSeconds(timeoutSeconds).watch(watch).execute(); + + + +list or watch objects of kind PodCertificateRequest + +### Example +```java +// Import classes: +import io.kubernetes.client.openapi.ApiClient; +import io.kubernetes.client.openapi.ApiException; +import io.kubernetes.client.openapi.Configuration; +import io.kubernetes.client.openapi.auth.*; +import io.kubernetes.client.openapi.models.*; +import io.kubernetes.client.openapi.apis.CertificatesV1alpha1Api; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost/"); + + // Configure API key authorization: BearerToken + ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); + BearerToken.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //BearerToken.setApiKeyPrefix("Token"); + + CertificatesV1alpha1Api apiInstance = new CertificatesV1alpha1Api(defaultClient); + String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects + String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + Boolean allowWatchBookmarks = true; // Boolean | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. + String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. + Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + String resourceVersion = "resourceVersion_example"; // String | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + String resourceVersionMatch = "resourceVersionMatch_example"; // String | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + Boolean sendInitialEvents = true; // Boolean | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + try { + V1alpha1PodCertificateRequestList result = apiInstance.listNamespacedPodCertificateRequest(namespace) + .pretty(pretty) + .allowWatchBookmarks(allowWatchBookmarks) + ._continue(_continue) + .fieldSelector(fieldSelector) + .labelSelector(labelSelector) + .limit(limit) + .resourceVersion(resourceVersion) + .resourceVersionMatch(resourceVersionMatch) + .sendInitialEvents(sendInitialEvents) + .timeoutSeconds(timeoutSeconds) + .watch(watch) + .execute(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling CertificatesV1alpha1Api#listNamespacedPodCertificateRequest"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **namespace** | **String**| object name and auth scope, such as for teams and projects | | +| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | +| **allowWatchBookmarks** | **Boolean**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] | +| **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] | +| **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] | +| **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] | +| **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] | +| **resourceVersion** | **String**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] | +| **resourceVersionMatch** | **String**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] | +| **sendInitialEvents** | **Boolean**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] | +| **timeoutSeconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] | +| **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] | + +### Return type + +[**V1alpha1PodCertificateRequestList**](V1alpha1PodCertificateRequestList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | +| **401** | Unauthorized | - | + + +# **listPodCertificateRequestForAllNamespaces** +> V1alpha1PodCertificateRequestList listPodCertificateRequestForAllNamespaces().allowWatchBookmarks(allowWatchBookmarks)._continue(_continue).fieldSelector(fieldSelector).labelSelector(labelSelector).limit(limit).pretty(pretty).resourceVersion(resourceVersion).resourceVersionMatch(resourceVersionMatch).sendInitialEvents(sendInitialEvents).timeoutSeconds(timeoutSeconds).watch(watch).execute(); + + + +list or watch objects of kind PodCertificateRequest + +### Example +```java +// Import classes: +import io.kubernetes.client.openapi.ApiClient; +import io.kubernetes.client.openapi.ApiException; +import io.kubernetes.client.openapi.Configuration; +import io.kubernetes.client.openapi.auth.*; +import io.kubernetes.client.openapi.models.*; +import io.kubernetes.client.openapi.apis.CertificatesV1alpha1Api; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost/"); + + // Configure API key authorization: BearerToken + ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); + BearerToken.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //BearerToken.setApiKeyPrefix("Token"); + + CertificatesV1alpha1Api apiInstance = new CertificatesV1alpha1Api(defaultClient); + Boolean allowWatchBookmarks = true; // Boolean | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. + String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. + Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + String resourceVersion = "resourceVersion_example"; // String | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + String resourceVersionMatch = "resourceVersionMatch_example"; // String | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + Boolean sendInitialEvents = true; // Boolean | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + try { + V1alpha1PodCertificateRequestList result = apiInstance.listPodCertificateRequestForAllNamespaces() + .allowWatchBookmarks(allowWatchBookmarks) + ._continue(_continue) + .fieldSelector(fieldSelector) + .labelSelector(labelSelector) + .limit(limit) + .pretty(pretty) + .resourceVersion(resourceVersion) + .resourceVersionMatch(resourceVersionMatch) + .sendInitialEvents(sendInitialEvents) + .timeoutSeconds(timeoutSeconds) + .watch(watch) + .execute(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling CertificatesV1alpha1Api#listPodCertificateRequestForAllNamespaces"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **allowWatchBookmarks** | **Boolean**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] | +| **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] | +| **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] | +| **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] | +| **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] | +| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | +| **resourceVersion** | **String**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] | +| **resourceVersionMatch** | **String**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] | +| **sendInitialEvents** | **Boolean**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] | +| **timeoutSeconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] | +| **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] | + +### Return type + +[**V1alpha1PodCertificateRequestList**](V1alpha1PodCertificateRequestList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | +| **401** | Unauthorized | - | + + +# **patchClusterTrustBundle** +> V1alpha1ClusterTrustBundle patchClusterTrustBundle(name, body).pretty(pretty).dryRun(dryRun).fieldManager(fieldManager).fieldValidation(fieldValidation).force(force).execute(); + + + +partially update the specified ClusterTrustBundle + +### Example +```java +// Import classes: +import io.kubernetes.client.openapi.ApiClient; +import io.kubernetes.client.openapi.ApiException; +import io.kubernetes.client.openapi.Configuration; +import io.kubernetes.client.openapi.auth.*; +import io.kubernetes.client.openapi.models.*; +import io.kubernetes.client.openapi.apis.CertificatesV1alpha1Api; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost/"); + + // Configure API key authorization: BearerToken + ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); + BearerToken.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //BearerToken.setApiKeyPrefix("Token"); + + CertificatesV1alpha1Api apiInstance = new CertificatesV1alpha1Api(defaultClient); + String name = "name_example"; // String | name of the ClusterTrustBundle + V1Patch body = new V1Patch(); // V1Patch | + String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + String fieldManager = "fieldManager_example"; // String | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + String fieldValidation = "fieldValidation_example"; // String | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + Boolean force = true; // Boolean | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + try { + V1alpha1ClusterTrustBundle result = apiInstance.patchClusterTrustBundle(name, body) + .pretty(pretty) + .dryRun(dryRun) + .fieldManager(fieldManager) + .fieldValidation(fieldValidation) + .force(force) + .execute(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling CertificatesV1alpha1Api#patchClusterTrustBundle"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **name** | **String**| name of the ClusterTrustBundle | | +| **body** | **V1Patch**| | | +| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | +| **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | +| **fieldManager** | **String**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] | +| **fieldValidation** | **String**| fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] | +| **force** | **Boolean**| Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] | + +### Return type + +[**V1alpha1ClusterTrustBundle**](V1alpha1ClusterTrustBundle.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | +| **201** | Created | - | +| **401** | Unauthorized | - | + + +# **patchNamespacedPodCertificateRequest** +> V1alpha1PodCertificateRequest patchNamespacedPodCertificateRequest(name, namespace, body).pretty(pretty).dryRun(dryRun).fieldManager(fieldManager).fieldValidation(fieldValidation).force(force).execute(); + + + +partially update the specified PodCertificateRequest + +### Example +```java +// Import classes: +import io.kubernetes.client.openapi.ApiClient; +import io.kubernetes.client.openapi.ApiException; +import io.kubernetes.client.openapi.Configuration; +import io.kubernetes.client.openapi.auth.*; +import io.kubernetes.client.openapi.models.*; +import io.kubernetes.client.openapi.apis.CertificatesV1alpha1Api; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost/"); + + // Configure API key authorization: BearerToken + ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); + BearerToken.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //BearerToken.setApiKeyPrefix("Token"); + + CertificatesV1alpha1Api apiInstance = new CertificatesV1alpha1Api(defaultClient); + String name = "name_example"; // String | name of the PodCertificateRequest + String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects + V1Patch body = new V1Patch(); // V1Patch | + String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + String fieldManager = "fieldManager_example"; // String | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + String fieldValidation = "fieldValidation_example"; // String | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + Boolean force = true; // Boolean | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + try { + V1alpha1PodCertificateRequest result = apiInstance.patchNamespacedPodCertificateRequest(name, namespace, body) + .pretty(pretty) + .dryRun(dryRun) + .fieldManager(fieldManager) + .fieldValidation(fieldValidation) + .force(force) + .execute(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling CertificatesV1alpha1Api#patchNamespacedPodCertificateRequest"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **name** | **String**| name of the PodCertificateRequest | | +| **namespace** | **String**| object name and auth scope, such as for teams and projects | | +| **body** | **V1Patch**| | | +| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | +| **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | +| **fieldManager** | **String**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] | +| **fieldValidation** | **String**| fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] | +| **force** | **Boolean**| Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] | + +### Return type + +[**V1alpha1PodCertificateRequest**](V1alpha1PodCertificateRequest.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | +| **201** | Created | - | +| **401** | Unauthorized | - | + + +# **patchNamespacedPodCertificateRequestStatus** +> V1alpha1PodCertificateRequest patchNamespacedPodCertificateRequestStatus(name, namespace, body).pretty(pretty).dryRun(dryRun).fieldManager(fieldManager).fieldValidation(fieldValidation).force(force).execute(); + + + +partially update status of the specified PodCertificateRequest ### Example ```java @@ -129,27 +1200,25 @@ public class Example { //BearerToken.setApiKeyPrefix("Token"); CertificatesV1alpha1Api apiInstance = new CertificatesV1alpha1Api(defaultClient); - String name = "name_example"; // String | name of the ClusterTrustBundle + String name = "name_example"; // String | name of the PodCertificateRequest + String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects + V1Patch body = new V1Patch(); // V1Patch | String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - Integer gracePeriodSeconds = 56; // Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - Boolean ignoreStoreReadErrorWithClusterBreakingPotential = true; // Boolean | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it - Boolean orphanDependents = true; // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - String propagationPolicy = "propagationPolicy_example"; // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - V1DeleteOptions body = new V1DeleteOptions(); // V1DeleteOptions | + String fieldManager = "fieldManager_example"; // String | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + String fieldValidation = "fieldValidation_example"; // String | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + Boolean force = true; // Boolean | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. try { - V1Status result = apiInstance.deleteClusterTrustBundle(name) + V1alpha1PodCertificateRequest result = apiInstance.patchNamespacedPodCertificateRequestStatus(name, namespace, body) .pretty(pretty) .dryRun(dryRun) - .gracePeriodSeconds(gracePeriodSeconds) - .ignoreStoreReadErrorWithClusterBreakingPotential(ignoreStoreReadErrorWithClusterBreakingPotential) - .orphanDependents(orphanDependents) - .propagationPolicy(propagationPolicy) - .body(body) + .fieldManager(fieldManager) + .fieldValidation(fieldValidation) + .force(force) .execute(); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling CertificatesV1alpha1Api#deleteClusterTrustBundle"); + System.err.println("Exception when calling CertificatesV1alpha1Api#patchNamespacedPodCertificateRequestStatus"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -163,18 +1232,18 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **name** | **String**| name of the ClusterTrustBundle | | +| **name** | **String**| name of the PodCertificateRequest | | +| **namespace** | **String**| object name and auth scope, such as for teams and projects | | +| **body** | **V1Patch**| | | | **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | | **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | -| **gracePeriodSeconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] | -| **ignoreStoreReadErrorWithClusterBreakingPotential** | **Boolean**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] | -| **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] | -| **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] | -| **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] | +| **fieldManager** | **String**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] | +| **fieldValidation** | **String**| fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] | +| **force** | **Boolean**| Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] | ### Return type -[**V1Status**](V1Status.md) +[**V1alpha1PodCertificateRequest**](V1alpha1PodCertificateRequest.md) ### Authorization @@ -189,16 +1258,16 @@ public class Example { | Status code | Description | Response headers | |-------------|-------------|------------------| | **200** | OK | - | -| **202** | Accepted | - | +| **201** | Created | - | | **401** | Unauthorized | - | - -# **deleteCollectionClusterTrustBundle** -> V1Status deleteCollectionClusterTrustBundle().pretty(pretty)._continue(_continue).dryRun(dryRun).fieldSelector(fieldSelector).gracePeriodSeconds(gracePeriodSeconds).ignoreStoreReadErrorWithClusterBreakingPotential(ignoreStoreReadErrorWithClusterBreakingPotential).labelSelector(labelSelector).limit(limit).orphanDependents(orphanDependents).propagationPolicy(propagationPolicy).resourceVersion(resourceVersion).resourceVersionMatch(resourceVersionMatch).sendInitialEvents(sendInitialEvents).timeoutSeconds(timeoutSeconds).body(body).execute(); + +# **readClusterTrustBundle** +> V1alpha1ClusterTrustBundle readClusterTrustBundle(name).pretty(pretty).execute(); -delete collection of ClusterTrustBundle +read the specified ClusterTrustBundle ### Example ```java @@ -222,42 +1291,15 @@ public class Example { //BearerToken.setApiKeyPrefix("Token"); CertificatesV1alpha1Api apiInstance = new CertificatesV1alpha1Api(defaultClient); + String name = "name_example"; // String | name of the ClusterTrustBundle String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - Integer gracePeriodSeconds = 56; // Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - Boolean ignoreStoreReadErrorWithClusterBreakingPotential = true; // Boolean | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it - String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. - Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - Boolean orphanDependents = true; // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - String propagationPolicy = "propagationPolicy_example"; // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - String resourceVersion = "resourceVersion_example"; // String | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - String resourceVersionMatch = "resourceVersionMatch_example"; // String | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - Boolean sendInitialEvents = true; // Boolean | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - V1DeleteOptions body = new V1DeleteOptions(); // V1DeleteOptions | try { - V1Status result = apiInstance.deleteCollectionClusterTrustBundle() + V1alpha1ClusterTrustBundle result = apiInstance.readClusterTrustBundle(name) .pretty(pretty) - ._continue(_continue) - .dryRun(dryRun) - .fieldSelector(fieldSelector) - .gracePeriodSeconds(gracePeriodSeconds) - .ignoreStoreReadErrorWithClusterBreakingPotential(ignoreStoreReadErrorWithClusterBreakingPotential) - .labelSelector(labelSelector) - .limit(limit) - .orphanDependents(orphanDependents) - .propagationPolicy(propagationPolicy) - .resourceVersion(resourceVersion) - .resourceVersionMatch(resourceVersionMatch) - .sendInitialEvents(sendInitialEvents) - .timeoutSeconds(timeoutSeconds) - .body(body) .execute(); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling CertificatesV1alpha1Api#deleteCollectionClusterTrustBundle"); + System.err.println("Exception when calling CertificatesV1alpha1Api#readClusterTrustBundle"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -271,25 +1313,12 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| +| **name** | **String**| name of the ClusterTrustBundle | | | **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | -| **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] | -| **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | -| **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] | -| **gracePeriodSeconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] | -| **ignoreStoreReadErrorWithClusterBreakingPotential** | **Boolean**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] | -| **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] | -| **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] | -| **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] | -| **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] | -| **resourceVersion** | **String**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] | -| **resourceVersionMatch** | **String**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] | -| **sendInitialEvents** | **Boolean**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] | -| **timeoutSeconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] | -| **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] | ### Return type -[**V1Status**](V1Status.md) +[**V1alpha1ClusterTrustBundle**](V1alpha1ClusterTrustBundle.md) ### Authorization @@ -297,7 +1326,7 @@ public class Example { ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -306,13 +1335,13 @@ public class Example { | **200** | OK | - | | **401** | Unauthorized | - | - -# **getAPIResources** -> V1APIResourceList getAPIResources().execute(); + +# **readNamespacedPodCertificateRequest** +> V1alpha1PodCertificateRequest readNamespacedPodCertificateRequest(name, namespace).pretty(pretty).execute(); -get available resources +read the specified PodCertificateRequest ### Example ```java @@ -336,12 +1365,16 @@ public class Example { //BearerToken.setApiKeyPrefix("Token"); CertificatesV1alpha1Api apiInstance = new CertificatesV1alpha1Api(defaultClient); + String name = "name_example"; // String | name of the PodCertificateRequest + String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects + String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). try { - V1APIResourceList result = apiInstance.getAPIResources() + V1alpha1PodCertificateRequest result = apiInstance.readNamespacedPodCertificateRequest(name, namespace) + .pretty(pretty) .execute(); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling CertificatesV1alpha1Api#getAPIResources"); + System.err.println("Exception when calling CertificatesV1alpha1Api#readNamespacedPodCertificateRequest"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -352,11 +1385,16 @@ public class Example { ``` ### Parameters -This endpoint does not need any parameter. + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **name** | **String**| name of the PodCertificateRequest | | +| **namespace** | **String**| object name and auth scope, such as for teams and projects | | +| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | ### Return type -[**V1APIResourceList**](V1APIResourceList.md) +[**V1alpha1PodCertificateRequest**](V1alpha1PodCertificateRequest.md) ### Authorization @@ -373,13 +1411,13 @@ This endpoint does not need any parameter. | **200** | OK | - | | **401** | Unauthorized | - | - -# **listClusterTrustBundle** -> V1alpha1ClusterTrustBundleList listClusterTrustBundle().pretty(pretty).allowWatchBookmarks(allowWatchBookmarks)._continue(_continue).fieldSelector(fieldSelector).labelSelector(labelSelector).limit(limit).resourceVersion(resourceVersion).resourceVersionMatch(resourceVersionMatch).sendInitialEvents(sendInitialEvents).timeoutSeconds(timeoutSeconds).watch(watch).execute(); + +# **readNamespacedPodCertificateRequestStatus** +> V1alpha1PodCertificateRequest readNamespacedPodCertificateRequestStatus(name, namespace).pretty(pretty).execute(); -list or watch objects of kind ClusterTrustBundle +read status of the specified PodCertificateRequest ### Example ```java @@ -403,34 +1441,16 @@ public class Example { //BearerToken.setApiKeyPrefix("Token"); CertificatesV1alpha1Api apiInstance = new CertificatesV1alpha1Api(defaultClient); + String name = "name_example"; // String | name of the PodCertificateRequest + String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - Boolean allowWatchBookmarks = true; // Boolean | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. - Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - String resourceVersion = "resourceVersion_example"; // String | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - String resourceVersionMatch = "resourceVersionMatch_example"; // String | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - Boolean sendInitialEvents = true; // Boolean | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1alpha1ClusterTrustBundleList result = apiInstance.listClusterTrustBundle() + V1alpha1PodCertificateRequest result = apiInstance.readNamespacedPodCertificateRequestStatus(name, namespace) .pretty(pretty) - .allowWatchBookmarks(allowWatchBookmarks) - ._continue(_continue) - .fieldSelector(fieldSelector) - .labelSelector(labelSelector) - .limit(limit) - .resourceVersion(resourceVersion) - .resourceVersionMatch(resourceVersionMatch) - .sendInitialEvents(sendInitialEvents) - .timeoutSeconds(timeoutSeconds) - .watch(watch) .execute(); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling CertificatesV1alpha1Api#listClusterTrustBundle"); + System.err.println("Exception when calling CertificatesV1alpha1Api#readNamespacedPodCertificateRequestStatus"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -444,21 +1464,13 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| +| **name** | **String**| name of the PodCertificateRequest | | +| **namespace** | **String**| object name and auth scope, such as for teams and projects | | | **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | -| **allowWatchBookmarks** | **Boolean**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] | -| **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] | -| **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] | -| **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] | -| **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] | -| **resourceVersion** | **String**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] | -| **resourceVersionMatch** | **String**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] | -| **sendInitialEvents** | **Boolean**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] | -| **timeoutSeconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] | -| **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] | ### Return type -[**V1alpha1ClusterTrustBundleList**](V1alpha1ClusterTrustBundleList.md) +[**V1alpha1PodCertificateRequest**](V1alpha1PodCertificateRequest.md) ### Authorization @@ -467,7 +1479,7 @@ public class Example { ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details | Status code | Description | Response headers | @@ -475,13 +1487,13 @@ public class Example { | **200** | OK | - | | **401** | Unauthorized | - | - -# **patchClusterTrustBundle** -> V1alpha1ClusterTrustBundle patchClusterTrustBundle(name, body).pretty(pretty).dryRun(dryRun).fieldManager(fieldManager).fieldValidation(fieldValidation).force(force).execute(); + +# **replaceClusterTrustBundle** +> V1alpha1ClusterTrustBundle replaceClusterTrustBundle(name, body).pretty(pretty).dryRun(dryRun).fieldManager(fieldManager).fieldValidation(fieldValidation).execute(); -partially update the specified ClusterTrustBundle +replace the specified ClusterTrustBundle ### Example ```java @@ -506,23 +1518,21 @@ public class Example { CertificatesV1alpha1Api apiInstance = new CertificatesV1alpha1Api(defaultClient); String name = "name_example"; // String | name of the ClusterTrustBundle - V1Patch body = new V1Patch(); // V1Patch | + V1alpha1ClusterTrustBundle body = new V1alpha1ClusterTrustBundle(); // V1alpha1ClusterTrustBundle | String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - String fieldManager = "fieldManager_example"; // String | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + String fieldManager = "fieldManager_example"; // String | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. String fieldValidation = "fieldValidation_example"; // String | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - Boolean force = true; // Boolean | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. try { - V1alpha1ClusterTrustBundle result = apiInstance.patchClusterTrustBundle(name, body) + V1alpha1ClusterTrustBundle result = apiInstance.replaceClusterTrustBundle(name, body) .pretty(pretty) .dryRun(dryRun) .fieldManager(fieldManager) .fieldValidation(fieldValidation) - .force(force) .execute(); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling CertificatesV1alpha1Api#patchClusterTrustBundle"); + System.err.println("Exception when calling CertificatesV1alpha1Api#replaceClusterTrustBundle"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -537,12 +1547,11 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **name** | **String**| name of the ClusterTrustBundle | | -| **body** | **V1Patch**| | | +| **body** | [**V1alpha1ClusterTrustBundle**](V1alpha1ClusterTrustBundle.md)| | | | **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | | **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | -| **fieldManager** | **String**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] | +| **fieldManager** | **String**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] | | **fieldValidation** | **String**| fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] | -| **force** | **Boolean**| Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] | ### Return type @@ -564,13 +1573,13 @@ public class Example { | **201** | Created | - | | **401** | Unauthorized | - | - -# **readClusterTrustBundle** -> V1alpha1ClusterTrustBundle readClusterTrustBundle(name).pretty(pretty).execute(); + +# **replaceNamespacedPodCertificateRequest** +> V1alpha1PodCertificateRequest replaceNamespacedPodCertificateRequest(name, namespace, body).pretty(pretty).dryRun(dryRun).fieldManager(fieldManager).fieldValidation(fieldValidation).execute(); -read the specified ClusterTrustBundle +replace the specified PodCertificateRequest ### Example ```java @@ -594,15 +1603,23 @@ public class Example { //BearerToken.setApiKeyPrefix("Token"); CertificatesV1alpha1Api apiInstance = new CertificatesV1alpha1Api(defaultClient); - String name = "name_example"; // String | name of the ClusterTrustBundle + String name = "name_example"; // String | name of the PodCertificateRequest + String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects + V1alpha1PodCertificateRequest body = new V1alpha1PodCertificateRequest(); // V1alpha1PodCertificateRequest | String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + String fieldManager = "fieldManager_example"; // String | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + String fieldValidation = "fieldValidation_example"; // String | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. try { - V1alpha1ClusterTrustBundle result = apiInstance.readClusterTrustBundle(name) + V1alpha1PodCertificateRequest result = apiInstance.replaceNamespacedPodCertificateRequest(name, namespace, body) .pretty(pretty) + .dryRun(dryRun) + .fieldManager(fieldManager) + .fieldValidation(fieldValidation) .execute(); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling CertificatesV1alpha1Api#readClusterTrustBundle"); + System.err.println("Exception when calling CertificatesV1alpha1Api#replaceNamespacedPodCertificateRequest"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -616,12 +1633,17 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **name** | **String**| name of the ClusterTrustBundle | | +| **name** | **String**| name of the PodCertificateRequest | | +| **namespace** | **String**| object name and auth scope, such as for teams and projects | | +| **body** | [**V1alpha1PodCertificateRequest**](V1alpha1PodCertificateRequest.md)| | | | **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | +| **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | +| **fieldManager** | **String**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] | +| **fieldValidation** | **String**| fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] | ### Return type -[**V1alpha1ClusterTrustBundle**](V1alpha1ClusterTrustBundle.md) +[**V1alpha1PodCertificateRequest**](V1alpha1PodCertificateRequest.md) ### Authorization @@ -629,22 +1651,23 @@ public class Example { ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| | **200** | OK | - | +| **201** | Created | - | | **401** | Unauthorized | - | - -# **replaceClusterTrustBundle** -> V1alpha1ClusterTrustBundle replaceClusterTrustBundle(name, body).pretty(pretty).dryRun(dryRun).fieldManager(fieldManager).fieldValidation(fieldValidation).execute(); + +# **replaceNamespacedPodCertificateRequestStatus** +> V1alpha1PodCertificateRequest replaceNamespacedPodCertificateRequestStatus(name, namespace, body).pretty(pretty).dryRun(dryRun).fieldManager(fieldManager).fieldValidation(fieldValidation).execute(); -replace the specified ClusterTrustBundle +replace status of the specified PodCertificateRequest ### Example ```java @@ -668,14 +1691,15 @@ public class Example { //BearerToken.setApiKeyPrefix("Token"); CertificatesV1alpha1Api apiInstance = new CertificatesV1alpha1Api(defaultClient); - String name = "name_example"; // String | name of the ClusterTrustBundle - V1alpha1ClusterTrustBundle body = new V1alpha1ClusterTrustBundle(); // V1alpha1ClusterTrustBundle | + String name = "name_example"; // String | name of the PodCertificateRequest + String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects + V1alpha1PodCertificateRequest body = new V1alpha1PodCertificateRequest(); // V1alpha1PodCertificateRequest | String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed String fieldManager = "fieldManager_example"; // String | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. String fieldValidation = "fieldValidation_example"; // String | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. try { - V1alpha1ClusterTrustBundle result = apiInstance.replaceClusterTrustBundle(name, body) + V1alpha1PodCertificateRequest result = apiInstance.replaceNamespacedPodCertificateRequestStatus(name, namespace, body) .pretty(pretty) .dryRun(dryRun) .fieldManager(fieldManager) @@ -683,7 +1707,7 @@ public class Example { .execute(); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling CertificatesV1alpha1Api#replaceClusterTrustBundle"); + System.err.println("Exception when calling CertificatesV1alpha1Api#replaceNamespacedPodCertificateRequestStatus"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -697,8 +1721,9 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **name** | **String**| name of the ClusterTrustBundle | | -| **body** | [**V1alpha1ClusterTrustBundle**](V1alpha1ClusterTrustBundle.md)| | | +| **name** | **String**| name of the PodCertificateRequest | | +| **namespace** | **String**| object name and auth scope, such as for teams and projects | | +| **body** | [**V1alpha1PodCertificateRequest**](V1alpha1PodCertificateRequest.md)| | | | **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | | **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | | **fieldManager** | **String**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] | @@ -706,7 +1731,7 @@ public class Example { ### Return type -[**V1alpha1ClusterTrustBundle**](V1alpha1ClusterTrustBundle.md) +[**V1alpha1PodCertificateRequest**](V1alpha1PodCertificateRequest.md) ### Authorization diff --git a/kubernetes/docs/V1ResourceClaim.md b/kubernetes/docs/CoreV1ResourceClaim.md similarity index 96% rename from kubernetes/docs/V1ResourceClaim.md rename to kubernetes/docs/CoreV1ResourceClaim.md index 6eea081fca..fe9cb3704a 100644 --- a/kubernetes/docs/V1ResourceClaim.md +++ b/kubernetes/docs/CoreV1ResourceClaim.md @@ -1,6 +1,6 @@ -# V1ResourceClaim +# CoreV1ResourceClaim ResourceClaim references one entry in PodSpec.ResourceClaims. diff --git a/kubernetes/docs/ResourceV1Api.md b/kubernetes/docs/ResourceV1Api.md new file mode 100644 index 0000000000..fc6c55f177 --- /dev/null +++ b/kubernetes/docs/ResourceV1Api.md @@ -0,0 +1,3168 @@ +# ResourceV1Api + +All URIs are relative to *http://localhost* + +| Method | HTTP request | Description | +|------------- | ------------- | -------------| +| [**createDeviceClass**](ResourceV1Api.md#createDeviceClass) | **POST** /apis/resource.k8s.io/v1/deviceclasses | | +| [**createNamespacedResourceClaim**](ResourceV1Api.md#createNamespacedResourceClaim) | **POST** /apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaims | | +| [**createNamespacedResourceClaimTemplate**](ResourceV1Api.md#createNamespacedResourceClaimTemplate) | **POST** /apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaimtemplates | | +| [**createResourceSlice**](ResourceV1Api.md#createResourceSlice) | **POST** /apis/resource.k8s.io/v1/resourceslices | | +| [**deleteCollectionDeviceClass**](ResourceV1Api.md#deleteCollectionDeviceClass) | **DELETE** /apis/resource.k8s.io/v1/deviceclasses | | +| [**deleteCollectionNamespacedResourceClaim**](ResourceV1Api.md#deleteCollectionNamespacedResourceClaim) | **DELETE** /apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaims | | +| [**deleteCollectionNamespacedResourceClaimTemplate**](ResourceV1Api.md#deleteCollectionNamespacedResourceClaimTemplate) | **DELETE** /apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaimtemplates | | +| [**deleteCollectionResourceSlice**](ResourceV1Api.md#deleteCollectionResourceSlice) | **DELETE** /apis/resource.k8s.io/v1/resourceslices | | +| [**deleteDeviceClass**](ResourceV1Api.md#deleteDeviceClass) | **DELETE** /apis/resource.k8s.io/v1/deviceclasses/{name} | | +| [**deleteNamespacedResourceClaim**](ResourceV1Api.md#deleteNamespacedResourceClaim) | **DELETE** /apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaims/{name} | | +| [**deleteNamespacedResourceClaimTemplate**](ResourceV1Api.md#deleteNamespacedResourceClaimTemplate) | **DELETE** /apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaimtemplates/{name} | | +| [**deleteResourceSlice**](ResourceV1Api.md#deleteResourceSlice) | **DELETE** /apis/resource.k8s.io/v1/resourceslices/{name} | | +| [**getAPIResources**](ResourceV1Api.md#getAPIResources) | **GET** /apis/resource.k8s.io/v1/ | | +| [**listDeviceClass**](ResourceV1Api.md#listDeviceClass) | **GET** /apis/resource.k8s.io/v1/deviceclasses | | +| [**listNamespacedResourceClaim**](ResourceV1Api.md#listNamespacedResourceClaim) | **GET** /apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaims | | +| [**listNamespacedResourceClaimTemplate**](ResourceV1Api.md#listNamespacedResourceClaimTemplate) | **GET** /apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaimtemplates | | +| [**listResourceClaimForAllNamespaces**](ResourceV1Api.md#listResourceClaimForAllNamespaces) | **GET** /apis/resource.k8s.io/v1/resourceclaims | | +| [**listResourceClaimTemplateForAllNamespaces**](ResourceV1Api.md#listResourceClaimTemplateForAllNamespaces) | **GET** /apis/resource.k8s.io/v1/resourceclaimtemplates | | +| [**listResourceSlice**](ResourceV1Api.md#listResourceSlice) | **GET** /apis/resource.k8s.io/v1/resourceslices | | +| [**patchDeviceClass**](ResourceV1Api.md#patchDeviceClass) | **PATCH** /apis/resource.k8s.io/v1/deviceclasses/{name} | | +| [**patchNamespacedResourceClaim**](ResourceV1Api.md#patchNamespacedResourceClaim) | **PATCH** /apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaims/{name} | | +| [**patchNamespacedResourceClaimStatus**](ResourceV1Api.md#patchNamespacedResourceClaimStatus) | **PATCH** /apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaims/{name}/status | | +| [**patchNamespacedResourceClaimTemplate**](ResourceV1Api.md#patchNamespacedResourceClaimTemplate) | **PATCH** /apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaimtemplates/{name} | | +| [**patchResourceSlice**](ResourceV1Api.md#patchResourceSlice) | **PATCH** /apis/resource.k8s.io/v1/resourceslices/{name} | | +| [**readDeviceClass**](ResourceV1Api.md#readDeviceClass) | **GET** /apis/resource.k8s.io/v1/deviceclasses/{name} | | +| [**readNamespacedResourceClaim**](ResourceV1Api.md#readNamespacedResourceClaim) | **GET** /apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaims/{name} | | +| [**readNamespacedResourceClaimStatus**](ResourceV1Api.md#readNamespacedResourceClaimStatus) | **GET** /apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaims/{name}/status | | +| [**readNamespacedResourceClaimTemplate**](ResourceV1Api.md#readNamespacedResourceClaimTemplate) | **GET** /apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaimtemplates/{name} | | +| [**readResourceSlice**](ResourceV1Api.md#readResourceSlice) | **GET** /apis/resource.k8s.io/v1/resourceslices/{name} | | +| [**replaceDeviceClass**](ResourceV1Api.md#replaceDeviceClass) | **PUT** /apis/resource.k8s.io/v1/deviceclasses/{name} | | +| [**replaceNamespacedResourceClaim**](ResourceV1Api.md#replaceNamespacedResourceClaim) | **PUT** /apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaims/{name} | | +| [**replaceNamespacedResourceClaimStatus**](ResourceV1Api.md#replaceNamespacedResourceClaimStatus) | **PUT** /apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaims/{name}/status | | +| [**replaceNamespacedResourceClaimTemplate**](ResourceV1Api.md#replaceNamespacedResourceClaimTemplate) | **PUT** /apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaimtemplates/{name} | | +| [**replaceResourceSlice**](ResourceV1Api.md#replaceResourceSlice) | **PUT** /apis/resource.k8s.io/v1/resourceslices/{name} | | + + + +# **createDeviceClass** +> V1DeviceClass createDeviceClass(body).pretty(pretty).dryRun(dryRun).fieldManager(fieldManager).fieldValidation(fieldValidation).execute(); + + + +create a DeviceClass + +### Example +```java +// Import classes: +import io.kubernetes.client.openapi.ApiClient; +import io.kubernetes.client.openapi.ApiException; +import io.kubernetes.client.openapi.Configuration; +import io.kubernetes.client.openapi.auth.*; +import io.kubernetes.client.openapi.models.*; +import io.kubernetes.client.openapi.apis.ResourceV1Api; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost/"); + + // Configure API key authorization: BearerToken + ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); + BearerToken.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //BearerToken.setApiKeyPrefix("Token"); + + ResourceV1Api apiInstance = new ResourceV1Api(defaultClient); + V1DeviceClass body = new V1DeviceClass(); // V1DeviceClass | + String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + String fieldManager = "fieldManager_example"; // String | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + String fieldValidation = "fieldValidation_example"; // String | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + try { + V1DeviceClass result = apiInstance.createDeviceClass(body) + .pretty(pretty) + .dryRun(dryRun) + .fieldManager(fieldManager) + .fieldValidation(fieldValidation) + .execute(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling ResourceV1Api#createDeviceClass"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **body** | [**V1DeviceClass**](V1DeviceClass.md)| | | +| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | +| **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | +| **fieldManager** | **String**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] | +| **fieldValidation** | **String**| fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] | + +### Return type + +[**V1DeviceClass**](V1DeviceClass.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | +| **201** | Created | - | +| **202** | Accepted | - | +| **401** | Unauthorized | - | + + +# **createNamespacedResourceClaim** +> ResourceV1ResourceClaim createNamespacedResourceClaim(namespace, body).pretty(pretty).dryRun(dryRun).fieldManager(fieldManager).fieldValidation(fieldValidation).execute(); + + + +create a ResourceClaim + +### Example +```java +// Import classes: +import io.kubernetes.client.openapi.ApiClient; +import io.kubernetes.client.openapi.ApiException; +import io.kubernetes.client.openapi.Configuration; +import io.kubernetes.client.openapi.auth.*; +import io.kubernetes.client.openapi.models.*; +import io.kubernetes.client.openapi.apis.ResourceV1Api; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost/"); + + // Configure API key authorization: BearerToken + ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); + BearerToken.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //BearerToken.setApiKeyPrefix("Token"); + + ResourceV1Api apiInstance = new ResourceV1Api(defaultClient); + String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects + ResourceV1ResourceClaim body = new ResourceV1ResourceClaim(); // ResourceV1ResourceClaim | + String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + String fieldManager = "fieldManager_example"; // String | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + String fieldValidation = "fieldValidation_example"; // String | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + try { + ResourceV1ResourceClaim result = apiInstance.createNamespacedResourceClaim(namespace, body) + .pretty(pretty) + .dryRun(dryRun) + .fieldManager(fieldManager) + .fieldValidation(fieldValidation) + .execute(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling ResourceV1Api#createNamespacedResourceClaim"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **namespace** | **String**| object name and auth scope, such as for teams and projects | | +| **body** | [**ResourceV1ResourceClaim**](ResourceV1ResourceClaim.md)| | | +| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | +| **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | +| **fieldManager** | **String**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] | +| **fieldValidation** | **String**| fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] | + +### Return type + +[**ResourceV1ResourceClaim**](ResourceV1ResourceClaim.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | +| **201** | Created | - | +| **202** | Accepted | - | +| **401** | Unauthorized | - | + + +# **createNamespacedResourceClaimTemplate** +> V1ResourceClaimTemplate createNamespacedResourceClaimTemplate(namespace, body).pretty(pretty).dryRun(dryRun).fieldManager(fieldManager).fieldValidation(fieldValidation).execute(); + + + +create a ResourceClaimTemplate + +### Example +```java +// Import classes: +import io.kubernetes.client.openapi.ApiClient; +import io.kubernetes.client.openapi.ApiException; +import io.kubernetes.client.openapi.Configuration; +import io.kubernetes.client.openapi.auth.*; +import io.kubernetes.client.openapi.models.*; +import io.kubernetes.client.openapi.apis.ResourceV1Api; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost/"); + + // Configure API key authorization: BearerToken + ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); + BearerToken.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //BearerToken.setApiKeyPrefix("Token"); + + ResourceV1Api apiInstance = new ResourceV1Api(defaultClient); + String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects + V1ResourceClaimTemplate body = new V1ResourceClaimTemplate(); // V1ResourceClaimTemplate | + String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + String fieldManager = "fieldManager_example"; // String | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + String fieldValidation = "fieldValidation_example"; // String | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + try { + V1ResourceClaimTemplate result = apiInstance.createNamespacedResourceClaimTemplate(namespace, body) + .pretty(pretty) + .dryRun(dryRun) + .fieldManager(fieldManager) + .fieldValidation(fieldValidation) + .execute(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling ResourceV1Api#createNamespacedResourceClaimTemplate"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **namespace** | **String**| object name and auth scope, such as for teams and projects | | +| **body** | [**V1ResourceClaimTemplate**](V1ResourceClaimTemplate.md)| | | +| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | +| **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | +| **fieldManager** | **String**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] | +| **fieldValidation** | **String**| fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] | + +### Return type + +[**V1ResourceClaimTemplate**](V1ResourceClaimTemplate.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | +| **201** | Created | - | +| **202** | Accepted | - | +| **401** | Unauthorized | - | + + +# **createResourceSlice** +> V1ResourceSlice createResourceSlice(body).pretty(pretty).dryRun(dryRun).fieldManager(fieldManager).fieldValidation(fieldValidation).execute(); + + + +create a ResourceSlice + +### Example +```java +// Import classes: +import io.kubernetes.client.openapi.ApiClient; +import io.kubernetes.client.openapi.ApiException; +import io.kubernetes.client.openapi.Configuration; +import io.kubernetes.client.openapi.auth.*; +import io.kubernetes.client.openapi.models.*; +import io.kubernetes.client.openapi.apis.ResourceV1Api; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost/"); + + // Configure API key authorization: BearerToken + ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); + BearerToken.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //BearerToken.setApiKeyPrefix("Token"); + + ResourceV1Api apiInstance = new ResourceV1Api(defaultClient); + V1ResourceSlice body = new V1ResourceSlice(); // V1ResourceSlice | + String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + String fieldManager = "fieldManager_example"; // String | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + String fieldValidation = "fieldValidation_example"; // String | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + try { + V1ResourceSlice result = apiInstance.createResourceSlice(body) + .pretty(pretty) + .dryRun(dryRun) + .fieldManager(fieldManager) + .fieldValidation(fieldValidation) + .execute(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling ResourceV1Api#createResourceSlice"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **body** | [**V1ResourceSlice**](V1ResourceSlice.md)| | | +| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | +| **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | +| **fieldManager** | **String**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] | +| **fieldValidation** | **String**| fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] | + +### Return type + +[**V1ResourceSlice**](V1ResourceSlice.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | +| **201** | Created | - | +| **202** | Accepted | - | +| **401** | Unauthorized | - | + + +# **deleteCollectionDeviceClass** +> V1Status deleteCollectionDeviceClass().pretty(pretty)._continue(_continue).dryRun(dryRun).fieldSelector(fieldSelector).gracePeriodSeconds(gracePeriodSeconds).ignoreStoreReadErrorWithClusterBreakingPotential(ignoreStoreReadErrorWithClusterBreakingPotential).labelSelector(labelSelector).limit(limit).orphanDependents(orphanDependents).propagationPolicy(propagationPolicy).resourceVersion(resourceVersion).resourceVersionMatch(resourceVersionMatch).sendInitialEvents(sendInitialEvents).timeoutSeconds(timeoutSeconds).body(body).execute(); + + + +delete collection of DeviceClass + +### Example +```java +// Import classes: +import io.kubernetes.client.openapi.ApiClient; +import io.kubernetes.client.openapi.ApiException; +import io.kubernetes.client.openapi.Configuration; +import io.kubernetes.client.openapi.auth.*; +import io.kubernetes.client.openapi.models.*; +import io.kubernetes.client.openapi.apis.ResourceV1Api; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost/"); + + // Configure API key authorization: BearerToken + ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); + BearerToken.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //BearerToken.setApiKeyPrefix("Token"); + + ResourceV1Api apiInstance = new ResourceV1Api(defaultClient); + String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. + Integer gracePeriodSeconds = 56; // Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + Boolean ignoreStoreReadErrorWithClusterBreakingPotential = true; // Boolean | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. + Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + Boolean orphanDependents = true; // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + String propagationPolicy = "propagationPolicy_example"; // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + String resourceVersion = "resourceVersion_example"; // String | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + String resourceVersionMatch = "resourceVersionMatch_example"; // String | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + Boolean sendInitialEvents = true; // Boolean | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + V1DeleteOptions body = new V1DeleteOptions(); // V1DeleteOptions | + try { + V1Status result = apiInstance.deleteCollectionDeviceClass() + .pretty(pretty) + ._continue(_continue) + .dryRun(dryRun) + .fieldSelector(fieldSelector) + .gracePeriodSeconds(gracePeriodSeconds) + .ignoreStoreReadErrorWithClusterBreakingPotential(ignoreStoreReadErrorWithClusterBreakingPotential) + .labelSelector(labelSelector) + .limit(limit) + .orphanDependents(orphanDependents) + .propagationPolicy(propagationPolicy) + .resourceVersion(resourceVersion) + .resourceVersionMatch(resourceVersionMatch) + .sendInitialEvents(sendInitialEvents) + .timeoutSeconds(timeoutSeconds) + .body(body) + .execute(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling ResourceV1Api#deleteCollectionDeviceClass"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | +| **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] | +| **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | +| **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] | +| **gracePeriodSeconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] | +| **ignoreStoreReadErrorWithClusterBreakingPotential** | **Boolean**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] | +| **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] | +| **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] | +| **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] | +| **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] | +| **resourceVersion** | **String**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] | +| **resourceVersionMatch** | **String**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] | +| **sendInitialEvents** | **Boolean**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] | +| **timeoutSeconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] | +| **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] | + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | +| **401** | Unauthorized | - | + + +# **deleteCollectionNamespacedResourceClaim** +> V1Status deleteCollectionNamespacedResourceClaim(namespace).pretty(pretty)._continue(_continue).dryRun(dryRun).fieldSelector(fieldSelector).gracePeriodSeconds(gracePeriodSeconds).ignoreStoreReadErrorWithClusterBreakingPotential(ignoreStoreReadErrorWithClusterBreakingPotential).labelSelector(labelSelector).limit(limit).orphanDependents(orphanDependents).propagationPolicy(propagationPolicy).resourceVersion(resourceVersion).resourceVersionMatch(resourceVersionMatch).sendInitialEvents(sendInitialEvents).timeoutSeconds(timeoutSeconds).body(body).execute(); + + + +delete collection of ResourceClaim + +### Example +```java +// Import classes: +import io.kubernetes.client.openapi.ApiClient; +import io.kubernetes.client.openapi.ApiException; +import io.kubernetes.client.openapi.Configuration; +import io.kubernetes.client.openapi.auth.*; +import io.kubernetes.client.openapi.models.*; +import io.kubernetes.client.openapi.apis.ResourceV1Api; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost/"); + + // Configure API key authorization: BearerToken + ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); + BearerToken.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //BearerToken.setApiKeyPrefix("Token"); + + ResourceV1Api apiInstance = new ResourceV1Api(defaultClient); + String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects + String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. + Integer gracePeriodSeconds = 56; // Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + Boolean ignoreStoreReadErrorWithClusterBreakingPotential = true; // Boolean | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. + Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + Boolean orphanDependents = true; // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + String propagationPolicy = "propagationPolicy_example"; // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + String resourceVersion = "resourceVersion_example"; // String | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + String resourceVersionMatch = "resourceVersionMatch_example"; // String | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + Boolean sendInitialEvents = true; // Boolean | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + V1DeleteOptions body = new V1DeleteOptions(); // V1DeleteOptions | + try { + V1Status result = apiInstance.deleteCollectionNamespacedResourceClaim(namespace) + .pretty(pretty) + ._continue(_continue) + .dryRun(dryRun) + .fieldSelector(fieldSelector) + .gracePeriodSeconds(gracePeriodSeconds) + .ignoreStoreReadErrorWithClusterBreakingPotential(ignoreStoreReadErrorWithClusterBreakingPotential) + .labelSelector(labelSelector) + .limit(limit) + .orphanDependents(orphanDependents) + .propagationPolicy(propagationPolicy) + .resourceVersion(resourceVersion) + .resourceVersionMatch(resourceVersionMatch) + .sendInitialEvents(sendInitialEvents) + .timeoutSeconds(timeoutSeconds) + .body(body) + .execute(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling ResourceV1Api#deleteCollectionNamespacedResourceClaim"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **namespace** | **String**| object name and auth scope, such as for teams and projects | | +| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | +| **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] | +| **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | +| **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] | +| **gracePeriodSeconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] | +| **ignoreStoreReadErrorWithClusterBreakingPotential** | **Boolean**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] | +| **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] | +| **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] | +| **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] | +| **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] | +| **resourceVersion** | **String**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] | +| **resourceVersionMatch** | **String**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] | +| **sendInitialEvents** | **Boolean**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] | +| **timeoutSeconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] | +| **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] | + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | +| **401** | Unauthorized | - | + + +# **deleteCollectionNamespacedResourceClaimTemplate** +> V1Status deleteCollectionNamespacedResourceClaimTemplate(namespace).pretty(pretty)._continue(_continue).dryRun(dryRun).fieldSelector(fieldSelector).gracePeriodSeconds(gracePeriodSeconds).ignoreStoreReadErrorWithClusterBreakingPotential(ignoreStoreReadErrorWithClusterBreakingPotential).labelSelector(labelSelector).limit(limit).orphanDependents(orphanDependents).propagationPolicy(propagationPolicy).resourceVersion(resourceVersion).resourceVersionMatch(resourceVersionMatch).sendInitialEvents(sendInitialEvents).timeoutSeconds(timeoutSeconds).body(body).execute(); + + + +delete collection of ResourceClaimTemplate + +### Example +```java +// Import classes: +import io.kubernetes.client.openapi.ApiClient; +import io.kubernetes.client.openapi.ApiException; +import io.kubernetes.client.openapi.Configuration; +import io.kubernetes.client.openapi.auth.*; +import io.kubernetes.client.openapi.models.*; +import io.kubernetes.client.openapi.apis.ResourceV1Api; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost/"); + + // Configure API key authorization: BearerToken + ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); + BearerToken.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //BearerToken.setApiKeyPrefix("Token"); + + ResourceV1Api apiInstance = new ResourceV1Api(defaultClient); + String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects + String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. + Integer gracePeriodSeconds = 56; // Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + Boolean ignoreStoreReadErrorWithClusterBreakingPotential = true; // Boolean | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. + Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + Boolean orphanDependents = true; // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + String propagationPolicy = "propagationPolicy_example"; // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + String resourceVersion = "resourceVersion_example"; // String | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + String resourceVersionMatch = "resourceVersionMatch_example"; // String | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + Boolean sendInitialEvents = true; // Boolean | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + V1DeleteOptions body = new V1DeleteOptions(); // V1DeleteOptions | + try { + V1Status result = apiInstance.deleteCollectionNamespacedResourceClaimTemplate(namespace) + .pretty(pretty) + ._continue(_continue) + .dryRun(dryRun) + .fieldSelector(fieldSelector) + .gracePeriodSeconds(gracePeriodSeconds) + .ignoreStoreReadErrorWithClusterBreakingPotential(ignoreStoreReadErrorWithClusterBreakingPotential) + .labelSelector(labelSelector) + .limit(limit) + .orphanDependents(orphanDependents) + .propagationPolicy(propagationPolicy) + .resourceVersion(resourceVersion) + .resourceVersionMatch(resourceVersionMatch) + .sendInitialEvents(sendInitialEvents) + .timeoutSeconds(timeoutSeconds) + .body(body) + .execute(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling ResourceV1Api#deleteCollectionNamespacedResourceClaimTemplate"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **namespace** | **String**| object name and auth scope, such as for teams and projects | | +| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | +| **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] | +| **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | +| **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] | +| **gracePeriodSeconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] | +| **ignoreStoreReadErrorWithClusterBreakingPotential** | **Boolean**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] | +| **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] | +| **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] | +| **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] | +| **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] | +| **resourceVersion** | **String**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] | +| **resourceVersionMatch** | **String**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] | +| **sendInitialEvents** | **Boolean**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] | +| **timeoutSeconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] | +| **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] | + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | +| **401** | Unauthorized | - | + + +# **deleteCollectionResourceSlice** +> V1Status deleteCollectionResourceSlice().pretty(pretty)._continue(_continue).dryRun(dryRun).fieldSelector(fieldSelector).gracePeriodSeconds(gracePeriodSeconds).ignoreStoreReadErrorWithClusterBreakingPotential(ignoreStoreReadErrorWithClusterBreakingPotential).labelSelector(labelSelector).limit(limit).orphanDependents(orphanDependents).propagationPolicy(propagationPolicy).resourceVersion(resourceVersion).resourceVersionMatch(resourceVersionMatch).sendInitialEvents(sendInitialEvents).timeoutSeconds(timeoutSeconds).body(body).execute(); + + + +delete collection of ResourceSlice + +### Example +```java +// Import classes: +import io.kubernetes.client.openapi.ApiClient; +import io.kubernetes.client.openapi.ApiException; +import io.kubernetes.client.openapi.Configuration; +import io.kubernetes.client.openapi.auth.*; +import io.kubernetes.client.openapi.models.*; +import io.kubernetes.client.openapi.apis.ResourceV1Api; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost/"); + + // Configure API key authorization: BearerToken + ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); + BearerToken.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //BearerToken.setApiKeyPrefix("Token"); + + ResourceV1Api apiInstance = new ResourceV1Api(defaultClient); + String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. + Integer gracePeriodSeconds = 56; // Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + Boolean ignoreStoreReadErrorWithClusterBreakingPotential = true; // Boolean | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. + Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + Boolean orphanDependents = true; // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + String propagationPolicy = "propagationPolicy_example"; // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + String resourceVersion = "resourceVersion_example"; // String | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + String resourceVersionMatch = "resourceVersionMatch_example"; // String | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + Boolean sendInitialEvents = true; // Boolean | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + V1DeleteOptions body = new V1DeleteOptions(); // V1DeleteOptions | + try { + V1Status result = apiInstance.deleteCollectionResourceSlice() + .pretty(pretty) + ._continue(_continue) + .dryRun(dryRun) + .fieldSelector(fieldSelector) + .gracePeriodSeconds(gracePeriodSeconds) + .ignoreStoreReadErrorWithClusterBreakingPotential(ignoreStoreReadErrorWithClusterBreakingPotential) + .labelSelector(labelSelector) + .limit(limit) + .orphanDependents(orphanDependents) + .propagationPolicy(propagationPolicy) + .resourceVersion(resourceVersion) + .resourceVersionMatch(resourceVersionMatch) + .sendInitialEvents(sendInitialEvents) + .timeoutSeconds(timeoutSeconds) + .body(body) + .execute(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling ResourceV1Api#deleteCollectionResourceSlice"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | +| **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] | +| **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | +| **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] | +| **gracePeriodSeconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] | +| **ignoreStoreReadErrorWithClusterBreakingPotential** | **Boolean**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] | +| **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] | +| **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] | +| **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] | +| **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] | +| **resourceVersion** | **String**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] | +| **resourceVersionMatch** | **String**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] | +| **sendInitialEvents** | **Boolean**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] | +| **timeoutSeconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] | +| **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] | + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | +| **401** | Unauthorized | - | + + +# **deleteDeviceClass** +> V1DeviceClass deleteDeviceClass(name).pretty(pretty).dryRun(dryRun).gracePeriodSeconds(gracePeriodSeconds).ignoreStoreReadErrorWithClusterBreakingPotential(ignoreStoreReadErrorWithClusterBreakingPotential).orphanDependents(orphanDependents).propagationPolicy(propagationPolicy).body(body).execute(); + + + +delete a DeviceClass + +### Example +```java +// Import classes: +import io.kubernetes.client.openapi.ApiClient; +import io.kubernetes.client.openapi.ApiException; +import io.kubernetes.client.openapi.Configuration; +import io.kubernetes.client.openapi.auth.*; +import io.kubernetes.client.openapi.models.*; +import io.kubernetes.client.openapi.apis.ResourceV1Api; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost/"); + + // Configure API key authorization: BearerToken + ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); + BearerToken.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //BearerToken.setApiKeyPrefix("Token"); + + ResourceV1Api apiInstance = new ResourceV1Api(defaultClient); + String name = "name_example"; // String | name of the DeviceClass + String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + Integer gracePeriodSeconds = 56; // Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + Boolean ignoreStoreReadErrorWithClusterBreakingPotential = true; // Boolean | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + Boolean orphanDependents = true; // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + String propagationPolicy = "propagationPolicy_example"; // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + V1DeleteOptions body = new V1DeleteOptions(); // V1DeleteOptions | + try { + V1DeviceClass result = apiInstance.deleteDeviceClass(name) + .pretty(pretty) + .dryRun(dryRun) + .gracePeriodSeconds(gracePeriodSeconds) + .ignoreStoreReadErrorWithClusterBreakingPotential(ignoreStoreReadErrorWithClusterBreakingPotential) + .orphanDependents(orphanDependents) + .propagationPolicy(propagationPolicy) + .body(body) + .execute(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling ResourceV1Api#deleteDeviceClass"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **name** | **String**| name of the DeviceClass | | +| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | +| **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | +| **gracePeriodSeconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] | +| **ignoreStoreReadErrorWithClusterBreakingPotential** | **Boolean**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] | +| **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] | +| **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] | +| **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] | + +### Return type + +[**V1DeviceClass**](V1DeviceClass.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | +| **202** | Accepted | - | +| **401** | Unauthorized | - | + + +# **deleteNamespacedResourceClaim** +> ResourceV1ResourceClaim deleteNamespacedResourceClaim(name, namespace).pretty(pretty).dryRun(dryRun).gracePeriodSeconds(gracePeriodSeconds).ignoreStoreReadErrorWithClusterBreakingPotential(ignoreStoreReadErrorWithClusterBreakingPotential).orphanDependents(orphanDependents).propagationPolicy(propagationPolicy).body(body).execute(); + + + +delete a ResourceClaim + +### Example +```java +// Import classes: +import io.kubernetes.client.openapi.ApiClient; +import io.kubernetes.client.openapi.ApiException; +import io.kubernetes.client.openapi.Configuration; +import io.kubernetes.client.openapi.auth.*; +import io.kubernetes.client.openapi.models.*; +import io.kubernetes.client.openapi.apis.ResourceV1Api; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost/"); + + // Configure API key authorization: BearerToken + ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); + BearerToken.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //BearerToken.setApiKeyPrefix("Token"); + + ResourceV1Api apiInstance = new ResourceV1Api(defaultClient); + String name = "name_example"; // String | name of the ResourceClaim + String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects + String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + Integer gracePeriodSeconds = 56; // Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + Boolean ignoreStoreReadErrorWithClusterBreakingPotential = true; // Boolean | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + Boolean orphanDependents = true; // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + String propagationPolicy = "propagationPolicy_example"; // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + V1DeleteOptions body = new V1DeleteOptions(); // V1DeleteOptions | + try { + ResourceV1ResourceClaim result = apiInstance.deleteNamespacedResourceClaim(name, namespace) + .pretty(pretty) + .dryRun(dryRun) + .gracePeriodSeconds(gracePeriodSeconds) + .ignoreStoreReadErrorWithClusterBreakingPotential(ignoreStoreReadErrorWithClusterBreakingPotential) + .orphanDependents(orphanDependents) + .propagationPolicy(propagationPolicy) + .body(body) + .execute(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling ResourceV1Api#deleteNamespacedResourceClaim"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **name** | **String**| name of the ResourceClaim | | +| **namespace** | **String**| object name and auth scope, such as for teams and projects | | +| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | +| **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | +| **gracePeriodSeconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] | +| **ignoreStoreReadErrorWithClusterBreakingPotential** | **Boolean**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] | +| **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] | +| **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] | +| **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] | + +### Return type + +[**ResourceV1ResourceClaim**](ResourceV1ResourceClaim.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | +| **202** | Accepted | - | +| **401** | Unauthorized | - | + + +# **deleteNamespacedResourceClaimTemplate** +> V1ResourceClaimTemplate deleteNamespacedResourceClaimTemplate(name, namespace).pretty(pretty).dryRun(dryRun).gracePeriodSeconds(gracePeriodSeconds).ignoreStoreReadErrorWithClusterBreakingPotential(ignoreStoreReadErrorWithClusterBreakingPotential).orphanDependents(orphanDependents).propagationPolicy(propagationPolicy).body(body).execute(); + + + +delete a ResourceClaimTemplate + +### Example +```java +// Import classes: +import io.kubernetes.client.openapi.ApiClient; +import io.kubernetes.client.openapi.ApiException; +import io.kubernetes.client.openapi.Configuration; +import io.kubernetes.client.openapi.auth.*; +import io.kubernetes.client.openapi.models.*; +import io.kubernetes.client.openapi.apis.ResourceV1Api; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost/"); + + // Configure API key authorization: BearerToken + ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); + BearerToken.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //BearerToken.setApiKeyPrefix("Token"); + + ResourceV1Api apiInstance = new ResourceV1Api(defaultClient); + String name = "name_example"; // String | name of the ResourceClaimTemplate + String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects + String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + Integer gracePeriodSeconds = 56; // Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + Boolean ignoreStoreReadErrorWithClusterBreakingPotential = true; // Boolean | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + Boolean orphanDependents = true; // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + String propagationPolicy = "propagationPolicy_example"; // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + V1DeleteOptions body = new V1DeleteOptions(); // V1DeleteOptions | + try { + V1ResourceClaimTemplate result = apiInstance.deleteNamespacedResourceClaimTemplate(name, namespace) + .pretty(pretty) + .dryRun(dryRun) + .gracePeriodSeconds(gracePeriodSeconds) + .ignoreStoreReadErrorWithClusterBreakingPotential(ignoreStoreReadErrorWithClusterBreakingPotential) + .orphanDependents(orphanDependents) + .propagationPolicy(propagationPolicy) + .body(body) + .execute(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling ResourceV1Api#deleteNamespacedResourceClaimTemplate"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **name** | **String**| name of the ResourceClaimTemplate | | +| **namespace** | **String**| object name and auth scope, such as for teams and projects | | +| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | +| **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | +| **gracePeriodSeconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] | +| **ignoreStoreReadErrorWithClusterBreakingPotential** | **Boolean**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] | +| **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] | +| **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] | +| **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] | + +### Return type + +[**V1ResourceClaimTemplate**](V1ResourceClaimTemplate.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | +| **202** | Accepted | - | +| **401** | Unauthorized | - | + + +# **deleteResourceSlice** +> V1ResourceSlice deleteResourceSlice(name).pretty(pretty).dryRun(dryRun).gracePeriodSeconds(gracePeriodSeconds).ignoreStoreReadErrorWithClusterBreakingPotential(ignoreStoreReadErrorWithClusterBreakingPotential).orphanDependents(orphanDependents).propagationPolicy(propagationPolicy).body(body).execute(); + + + +delete a ResourceSlice + +### Example +```java +// Import classes: +import io.kubernetes.client.openapi.ApiClient; +import io.kubernetes.client.openapi.ApiException; +import io.kubernetes.client.openapi.Configuration; +import io.kubernetes.client.openapi.auth.*; +import io.kubernetes.client.openapi.models.*; +import io.kubernetes.client.openapi.apis.ResourceV1Api; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost/"); + + // Configure API key authorization: BearerToken + ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); + BearerToken.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //BearerToken.setApiKeyPrefix("Token"); + + ResourceV1Api apiInstance = new ResourceV1Api(defaultClient); + String name = "name_example"; // String | name of the ResourceSlice + String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + Integer gracePeriodSeconds = 56; // Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + Boolean ignoreStoreReadErrorWithClusterBreakingPotential = true; // Boolean | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + Boolean orphanDependents = true; // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + String propagationPolicy = "propagationPolicy_example"; // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + V1DeleteOptions body = new V1DeleteOptions(); // V1DeleteOptions | + try { + V1ResourceSlice result = apiInstance.deleteResourceSlice(name) + .pretty(pretty) + .dryRun(dryRun) + .gracePeriodSeconds(gracePeriodSeconds) + .ignoreStoreReadErrorWithClusterBreakingPotential(ignoreStoreReadErrorWithClusterBreakingPotential) + .orphanDependents(orphanDependents) + .propagationPolicy(propagationPolicy) + .body(body) + .execute(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling ResourceV1Api#deleteResourceSlice"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **name** | **String**| name of the ResourceSlice | | +| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | +| **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | +| **gracePeriodSeconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] | +| **ignoreStoreReadErrorWithClusterBreakingPotential** | **Boolean**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] | +| **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] | +| **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] | +| **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] | + +### Return type + +[**V1ResourceSlice**](V1ResourceSlice.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | +| **202** | Accepted | - | +| **401** | Unauthorized | - | + + +# **getAPIResources** +> V1APIResourceList getAPIResources().execute(); + + + +get available resources + +### Example +```java +// Import classes: +import io.kubernetes.client.openapi.ApiClient; +import io.kubernetes.client.openapi.ApiException; +import io.kubernetes.client.openapi.Configuration; +import io.kubernetes.client.openapi.auth.*; +import io.kubernetes.client.openapi.models.*; +import io.kubernetes.client.openapi.apis.ResourceV1Api; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost/"); + + // Configure API key authorization: BearerToken + ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); + BearerToken.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //BearerToken.setApiKeyPrefix("Token"); + + ResourceV1Api apiInstance = new ResourceV1Api(defaultClient); + try { + V1APIResourceList result = apiInstance.getAPIResources() + .execute(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling ResourceV1Api#getAPIResources"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**V1APIResourceList**](V1APIResourceList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | +| **401** | Unauthorized | - | + + +# **listDeviceClass** +> V1DeviceClassList listDeviceClass().pretty(pretty).allowWatchBookmarks(allowWatchBookmarks)._continue(_continue).fieldSelector(fieldSelector).labelSelector(labelSelector).limit(limit).resourceVersion(resourceVersion).resourceVersionMatch(resourceVersionMatch).sendInitialEvents(sendInitialEvents).timeoutSeconds(timeoutSeconds).watch(watch).execute(); + + + +list or watch objects of kind DeviceClass + +### Example +```java +// Import classes: +import io.kubernetes.client.openapi.ApiClient; +import io.kubernetes.client.openapi.ApiException; +import io.kubernetes.client.openapi.Configuration; +import io.kubernetes.client.openapi.auth.*; +import io.kubernetes.client.openapi.models.*; +import io.kubernetes.client.openapi.apis.ResourceV1Api; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost/"); + + // Configure API key authorization: BearerToken + ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); + BearerToken.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //BearerToken.setApiKeyPrefix("Token"); + + ResourceV1Api apiInstance = new ResourceV1Api(defaultClient); + String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + Boolean allowWatchBookmarks = true; // Boolean | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. + String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. + Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + String resourceVersion = "resourceVersion_example"; // String | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + String resourceVersionMatch = "resourceVersionMatch_example"; // String | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + Boolean sendInitialEvents = true; // Boolean | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + try { + V1DeviceClassList result = apiInstance.listDeviceClass() + .pretty(pretty) + .allowWatchBookmarks(allowWatchBookmarks) + ._continue(_continue) + .fieldSelector(fieldSelector) + .labelSelector(labelSelector) + .limit(limit) + .resourceVersion(resourceVersion) + .resourceVersionMatch(resourceVersionMatch) + .sendInitialEvents(sendInitialEvents) + .timeoutSeconds(timeoutSeconds) + .watch(watch) + .execute(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling ResourceV1Api#listDeviceClass"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | +| **allowWatchBookmarks** | **Boolean**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] | +| **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] | +| **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] | +| **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] | +| **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] | +| **resourceVersion** | **String**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] | +| **resourceVersionMatch** | **String**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] | +| **sendInitialEvents** | **Boolean**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] | +| **timeoutSeconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] | +| **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] | + +### Return type + +[**V1DeviceClassList**](V1DeviceClassList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | +| **401** | Unauthorized | - | + + +# **listNamespacedResourceClaim** +> V1ResourceClaimList listNamespacedResourceClaim(namespace).pretty(pretty).allowWatchBookmarks(allowWatchBookmarks)._continue(_continue).fieldSelector(fieldSelector).labelSelector(labelSelector).limit(limit).resourceVersion(resourceVersion).resourceVersionMatch(resourceVersionMatch).sendInitialEvents(sendInitialEvents).timeoutSeconds(timeoutSeconds).watch(watch).execute(); + + + +list or watch objects of kind ResourceClaim + +### Example +```java +// Import classes: +import io.kubernetes.client.openapi.ApiClient; +import io.kubernetes.client.openapi.ApiException; +import io.kubernetes.client.openapi.Configuration; +import io.kubernetes.client.openapi.auth.*; +import io.kubernetes.client.openapi.models.*; +import io.kubernetes.client.openapi.apis.ResourceV1Api; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost/"); + + // Configure API key authorization: BearerToken + ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); + BearerToken.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //BearerToken.setApiKeyPrefix("Token"); + + ResourceV1Api apiInstance = new ResourceV1Api(defaultClient); + String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects + String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + Boolean allowWatchBookmarks = true; // Boolean | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. + String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. + Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + String resourceVersion = "resourceVersion_example"; // String | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + String resourceVersionMatch = "resourceVersionMatch_example"; // String | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + Boolean sendInitialEvents = true; // Boolean | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + try { + V1ResourceClaimList result = apiInstance.listNamespacedResourceClaim(namespace) + .pretty(pretty) + .allowWatchBookmarks(allowWatchBookmarks) + ._continue(_continue) + .fieldSelector(fieldSelector) + .labelSelector(labelSelector) + .limit(limit) + .resourceVersion(resourceVersion) + .resourceVersionMatch(resourceVersionMatch) + .sendInitialEvents(sendInitialEvents) + .timeoutSeconds(timeoutSeconds) + .watch(watch) + .execute(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling ResourceV1Api#listNamespacedResourceClaim"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **namespace** | **String**| object name and auth scope, such as for teams and projects | | +| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | +| **allowWatchBookmarks** | **Boolean**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] | +| **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] | +| **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] | +| **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] | +| **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] | +| **resourceVersion** | **String**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] | +| **resourceVersionMatch** | **String**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] | +| **sendInitialEvents** | **Boolean**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] | +| **timeoutSeconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] | +| **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] | + +### Return type + +[**V1ResourceClaimList**](V1ResourceClaimList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | +| **401** | Unauthorized | - | + + +# **listNamespacedResourceClaimTemplate** +> V1ResourceClaimTemplateList listNamespacedResourceClaimTemplate(namespace).pretty(pretty).allowWatchBookmarks(allowWatchBookmarks)._continue(_continue).fieldSelector(fieldSelector).labelSelector(labelSelector).limit(limit).resourceVersion(resourceVersion).resourceVersionMatch(resourceVersionMatch).sendInitialEvents(sendInitialEvents).timeoutSeconds(timeoutSeconds).watch(watch).execute(); + + + +list or watch objects of kind ResourceClaimTemplate + +### Example +```java +// Import classes: +import io.kubernetes.client.openapi.ApiClient; +import io.kubernetes.client.openapi.ApiException; +import io.kubernetes.client.openapi.Configuration; +import io.kubernetes.client.openapi.auth.*; +import io.kubernetes.client.openapi.models.*; +import io.kubernetes.client.openapi.apis.ResourceV1Api; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost/"); + + // Configure API key authorization: BearerToken + ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); + BearerToken.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //BearerToken.setApiKeyPrefix("Token"); + + ResourceV1Api apiInstance = new ResourceV1Api(defaultClient); + String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects + String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + Boolean allowWatchBookmarks = true; // Boolean | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. + String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. + Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + String resourceVersion = "resourceVersion_example"; // String | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + String resourceVersionMatch = "resourceVersionMatch_example"; // String | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + Boolean sendInitialEvents = true; // Boolean | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + try { + V1ResourceClaimTemplateList result = apiInstance.listNamespacedResourceClaimTemplate(namespace) + .pretty(pretty) + .allowWatchBookmarks(allowWatchBookmarks) + ._continue(_continue) + .fieldSelector(fieldSelector) + .labelSelector(labelSelector) + .limit(limit) + .resourceVersion(resourceVersion) + .resourceVersionMatch(resourceVersionMatch) + .sendInitialEvents(sendInitialEvents) + .timeoutSeconds(timeoutSeconds) + .watch(watch) + .execute(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling ResourceV1Api#listNamespacedResourceClaimTemplate"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **namespace** | **String**| object name and auth scope, such as for teams and projects | | +| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | +| **allowWatchBookmarks** | **Boolean**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] | +| **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] | +| **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] | +| **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] | +| **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] | +| **resourceVersion** | **String**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] | +| **resourceVersionMatch** | **String**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] | +| **sendInitialEvents** | **Boolean**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] | +| **timeoutSeconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] | +| **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] | + +### Return type + +[**V1ResourceClaimTemplateList**](V1ResourceClaimTemplateList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | +| **401** | Unauthorized | - | + + +# **listResourceClaimForAllNamespaces** +> V1ResourceClaimList listResourceClaimForAllNamespaces().allowWatchBookmarks(allowWatchBookmarks)._continue(_continue).fieldSelector(fieldSelector).labelSelector(labelSelector).limit(limit).pretty(pretty).resourceVersion(resourceVersion).resourceVersionMatch(resourceVersionMatch).sendInitialEvents(sendInitialEvents).timeoutSeconds(timeoutSeconds).watch(watch).execute(); + + + +list or watch objects of kind ResourceClaim + +### Example +```java +// Import classes: +import io.kubernetes.client.openapi.ApiClient; +import io.kubernetes.client.openapi.ApiException; +import io.kubernetes.client.openapi.Configuration; +import io.kubernetes.client.openapi.auth.*; +import io.kubernetes.client.openapi.models.*; +import io.kubernetes.client.openapi.apis.ResourceV1Api; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost/"); + + // Configure API key authorization: BearerToken + ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); + BearerToken.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //BearerToken.setApiKeyPrefix("Token"); + + ResourceV1Api apiInstance = new ResourceV1Api(defaultClient); + Boolean allowWatchBookmarks = true; // Boolean | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. + String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. + Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + String resourceVersion = "resourceVersion_example"; // String | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + String resourceVersionMatch = "resourceVersionMatch_example"; // String | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + Boolean sendInitialEvents = true; // Boolean | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + try { + V1ResourceClaimList result = apiInstance.listResourceClaimForAllNamespaces() + .allowWatchBookmarks(allowWatchBookmarks) + ._continue(_continue) + .fieldSelector(fieldSelector) + .labelSelector(labelSelector) + .limit(limit) + .pretty(pretty) + .resourceVersion(resourceVersion) + .resourceVersionMatch(resourceVersionMatch) + .sendInitialEvents(sendInitialEvents) + .timeoutSeconds(timeoutSeconds) + .watch(watch) + .execute(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling ResourceV1Api#listResourceClaimForAllNamespaces"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **allowWatchBookmarks** | **Boolean**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] | +| **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] | +| **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] | +| **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] | +| **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] | +| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | +| **resourceVersion** | **String**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] | +| **resourceVersionMatch** | **String**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] | +| **sendInitialEvents** | **Boolean**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] | +| **timeoutSeconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] | +| **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] | + +### Return type + +[**V1ResourceClaimList**](V1ResourceClaimList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | +| **401** | Unauthorized | - | + + +# **listResourceClaimTemplateForAllNamespaces** +> V1ResourceClaimTemplateList listResourceClaimTemplateForAllNamespaces().allowWatchBookmarks(allowWatchBookmarks)._continue(_continue).fieldSelector(fieldSelector).labelSelector(labelSelector).limit(limit).pretty(pretty).resourceVersion(resourceVersion).resourceVersionMatch(resourceVersionMatch).sendInitialEvents(sendInitialEvents).timeoutSeconds(timeoutSeconds).watch(watch).execute(); + + + +list or watch objects of kind ResourceClaimTemplate + +### Example +```java +// Import classes: +import io.kubernetes.client.openapi.ApiClient; +import io.kubernetes.client.openapi.ApiException; +import io.kubernetes.client.openapi.Configuration; +import io.kubernetes.client.openapi.auth.*; +import io.kubernetes.client.openapi.models.*; +import io.kubernetes.client.openapi.apis.ResourceV1Api; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost/"); + + // Configure API key authorization: BearerToken + ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); + BearerToken.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //BearerToken.setApiKeyPrefix("Token"); + + ResourceV1Api apiInstance = new ResourceV1Api(defaultClient); + Boolean allowWatchBookmarks = true; // Boolean | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. + String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. + Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + String resourceVersion = "resourceVersion_example"; // String | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + String resourceVersionMatch = "resourceVersionMatch_example"; // String | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + Boolean sendInitialEvents = true; // Boolean | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + try { + V1ResourceClaimTemplateList result = apiInstance.listResourceClaimTemplateForAllNamespaces() + .allowWatchBookmarks(allowWatchBookmarks) + ._continue(_continue) + .fieldSelector(fieldSelector) + .labelSelector(labelSelector) + .limit(limit) + .pretty(pretty) + .resourceVersion(resourceVersion) + .resourceVersionMatch(resourceVersionMatch) + .sendInitialEvents(sendInitialEvents) + .timeoutSeconds(timeoutSeconds) + .watch(watch) + .execute(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling ResourceV1Api#listResourceClaimTemplateForAllNamespaces"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **allowWatchBookmarks** | **Boolean**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] | +| **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] | +| **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] | +| **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] | +| **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] | +| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | +| **resourceVersion** | **String**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] | +| **resourceVersionMatch** | **String**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] | +| **sendInitialEvents** | **Boolean**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] | +| **timeoutSeconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] | +| **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] | + +### Return type + +[**V1ResourceClaimTemplateList**](V1ResourceClaimTemplateList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | +| **401** | Unauthorized | - | + + +# **listResourceSlice** +> V1ResourceSliceList listResourceSlice().pretty(pretty).allowWatchBookmarks(allowWatchBookmarks)._continue(_continue).fieldSelector(fieldSelector).labelSelector(labelSelector).limit(limit).resourceVersion(resourceVersion).resourceVersionMatch(resourceVersionMatch).sendInitialEvents(sendInitialEvents).timeoutSeconds(timeoutSeconds).watch(watch).execute(); + + + +list or watch objects of kind ResourceSlice + +### Example +```java +// Import classes: +import io.kubernetes.client.openapi.ApiClient; +import io.kubernetes.client.openapi.ApiException; +import io.kubernetes.client.openapi.Configuration; +import io.kubernetes.client.openapi.auth.*; +import io.kubernetes.client.openapi.models.*; +import io.kubernetes.client.openapi.apis.ResourceV1Api; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost/"); + + // Configure API key authorization: BearerToken + ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); + BearerToken.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //BearerToken.setApiKeyPrefix("Token"); + + ResourceV1Api apiInstance = new ResourceV1Api(defaultClient); + String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + Boolean allowWatchBookmarks = true; // Boolean | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. + String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. + Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + String resourceVersion = "resourceVersion_example"; // String | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + String resourceVersionMatch = "resourceVersionMatch_example"; // String | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + Boolean sendInitialEvents = true; // Boolean | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + try { + V1ResourceSliceList result = apiInstance.listResourceSlice() + .pretty(pretty) + .allowWatchBookmarks(allowWatchBookmarks) + ._continue(_continue) + .fieldSelector(fieldSelector) + .labelSelector(labelSelector) + .limit(limit) + .resourceVersion(resourceVersion) + .resourceVersionMatch(resourceVersionMatch) + .sendInitialEvents(sendInitialEvents) + .timeoutSeconds(timeoutSeconds) + .watch(watch) + .execute(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling ResourceV1Api#listResourceSlice"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | +| **allowWatchBookmarks** | **Boolean**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] | +| **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] | +| **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] | +| **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] | +| **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] | +| **resourceVersion** | **String**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] | +| **resourceVersionMatch** | **String**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] | +| **sendInitialEvents** | **Boolean**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] | +| **timeoutSeconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] | +| **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] | + +### Return type + +[**V1ResourceSliceList**](V1ResourceSliceList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | +| **401** | Unauthorized | - | + + +# **patchDeviceClass** +> V1DeviceClass patchDeviceClass(name, body).pretty(pretty).dryRun(dryRun).fieldManager(fieldManager).fieldValidation(fieldValidation).force(force).execute(); + + + +partially update the specified DeviceClass + +### Example +```java +// Import classes: +import io.kubernetes.client.openapi.ApiClient; +import io.kubernetes.client.openapi.ApiException; +import io.kubernetes.client.openapi.Configuration; +import io.kubernetes.client.openapi.auth.*; +import io.kubernetes.client.openapi.models.*; +import io.kubernetes.client.openapi.apis.ResourceV1Api; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost/"); + + // Configure API key authorization: BearerToken + ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); + BearerToken.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //BearerToken.setApiKeyPrefix("Token"); + + ResourceV1Api apiInstance = new ResourceV1Api(defaultClient); + String name = "name_example"; // String | name of the DeviceClass + V1Patch body = new V1Patch(); // V1Patch | + String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + String fieldManager = "fieldManager_example"; // String | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + String fieldValidation = "fieldValidation_example"; // String | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + Boolean force = true; // Boolean | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + try { + V1DeviceClass result = apiInstance.patchDeviceClass(name, body) + .pretty(pretty) + .dryRun(dryRun) + .fieldManager(fieldManager) + .fieldValidation(fieldValidation) + .force(force) + .execute(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling ResourceV1Api#patchDeviceClass"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **name** | **String**| name of the DeviceClass | | +| **body** | **V1Patch**| | | +| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | +| **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | +| **fieldManager** | **String**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] | +| **fieldValidation** | **String**| fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] | +| **force** | **Boolean**| Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] | + +### Return type + +[**V1DeviceClass**](V1DeviceClass.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | +| **201** | Created | - | +| **401** | Unauthorized | - | + + +# **patchNamespacedResourceClaim** +> ResourceV1ResourceClaim patchNamespacedResourceClaim(name, namespace, body).pretty(pretty).dryRun(dryRun).fieldManager(fieldManager).fieldValidation(fieldValidation).force(force).execute(); + + + +partially update the specified ResourceClaim + +### Example +```java +// Import classes: +import io.kubernetes.client.openapi.ApiClient; +import io.kubernetes.client.openapi.ApiException; +import io.kubernetes.client.openapi.Configuration; +import io.kubernetes.client.openapi.auth.*; +import io.kubernetes.client.openapi.models.*; +import io.kubernetes.client.openapi.apis.ResourceV1Api; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost/"); + + // Configure API key authorization: BearerToken + ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); + BearerToken.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //BearerToken.setApiKeyPrefix("Token"); + + ResourceV1Api apiInstance = new ResourceV1Api(defaultClient); + String name = "name_example"; // String | name of the ResourceClaim + String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects + V1Patch body = new V1Patch(); // V1Patch | + String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + String fieldManager = "fieldManager_example"; // String | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + String fieldValidation = "fieldValidation_example"; // String | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + Boolean force = true; // Boolean | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + try { + ResourceV1ResourceClaim result = apiInstance.patchNamespacedResourceClaim(name, namespace, body) + .pretty(pretty) + .dryRun(dryRun) + .fieldManager(fieldManager) + .fieldValidation(fieldValidation) + .force(force) + .execute(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling ResourceV1Api#patchNamespacedResourceClaim"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **name** | **String**| name of the ResourceClaim | | +| **namespace** | **String**| object name and auth scope, such as for teams and projects | | +| **body** | **V1Patch**| | | +| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | +| **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | +| **fieldManager** | **String**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] | +| **fieldValidation** | **String**| fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] | +| **force** | **Boolean**| Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] | + +### Return type + +[**ResourceV1ResourceClaim**](ResourceV1ResourceClaim.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | +| **201** | Created | - | +| **401** | Unauthorized | - | + + +# **patchNamespacedResourceClaimStatus** +> ResourceV1ResourceClaim patchNamespacedResourceClaimStatus(name, namespace, body).pretty(pretty).dryRun(dryRun).fieldManager(fieldManager).fieldValidation(fieldValidation).force(force).execute(); + + + +partially update status of the specified ResourceClaim + +### Example +```java +// Import classes: +import io.kubernetes.client.openapi.ApiClient; +import io.kubernetes.client.openapi.ApiException; +import io.kubernetes.client.openapi.Configuration; +import io.kubernetes.client.openapi.auth.*; +import io.kubernetes.client.openapi.models.*; +import io.kubernetes.client.openapi.apis.ResourceV1Api; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost/"); + + // Configure API key authorization: BearerToken + ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); + BearerToken.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //BearerToken.setApiKeyPrefix("Token"); + + ResourceV1Api apiInstance = new ResourceV1Api(defaultClient); + String name = "name_example"; // String | name of the ResourceClaim + String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects + V1Patch body = new V1Patch(); // V1Patch | + String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + String fieldManager = "fieldManager_example"; // String | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + String fieldValidation = "fieldValidation_example"; // String | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + Boolean force = true; // Boolean | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + try { + ResourceV1ResourceClaim result = apiInstance.patchNamespacedResourceClaimStatus(name, namespace, body) + .pretty(pretty) + .dryRun(dryRun) + .fieldManager(fieldManager) + .fieldValidation(fieldValidation) + .force(force) + .execute(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling ResourceV1Api#patchNamespacedResourceClaimStatus"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **name** | **String**| name of the ResourceClaim | | +| **namespace** | **String**| object name and auth scope, such as for teams and projects | | +| **body** | **V1Patch**| | | +| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | +| **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | +| **fieldManager** | **String**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] | +| **fieldValidation** | **String**| fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] | +| **force** | **Boolean**| Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] | + +### Return type + +[**ResourceV1ResourceClaim**](ResourceV1ResourceClaim.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | +| **201** | Created | - | +| **401** | Unauthorized | - | + + +# **patchNamespacedResourceClaimTemplate** +> V1ResourceClaimTemplate patchNamespacedResourceClaimTemplate(name, namespace, body).pretty(pretty).dryRun(dryRun).fieldManager(fieldManager).fieldValidation(fieldValidation).force(force).execute(); + + + +partially update the specified ResourceClaimTemplate + +### Example +```java +// Import classes: +import io.kubernetes.client.openapi.ApiClient; +import io.kubernetes.client.openapi.ApiException; +import io.kubernetes.client.openapi.Configuration; +import io.kubernetes.client.openapi.auth.*; +import io.kubernetes.client.openapi.models.*; +import io.kubernetes.client.openapi.apis.ResourceV1Api; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost/"); + + // Configure API key authorization: BearerToken + ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); + BearerToken.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //BearerToken.setApiKeyPrefix("Token"); + + ResourceV1Api apiInstance = new ResourceV1Api(defaultClient); + String name = "name_example"; // String | name of the ResourceClaimTemplate + String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects + V1Patch body = new V1Patch(); // V1Patch | + String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + String fieldManager = "fieldManager_example"; // String | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + String fieldValidation = "fieldValidation_example"; // String | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + Boolean force = true; // Boolean | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + try { + V1ResourceClaimTemplate result = apiInstance.patchNamespacedResourceClaimTemplate(name, namespace, body) + .pretty(pretty) + .dryRun(dryRun) + .fieldManager(fieldManager) + .fieldValidation(fieldValidation) + .force(force) + .execute(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling ResourceV1Api#patchNamespacedResourceClaimTemplate"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **name** | **String**| name of the ResourceClaimTemplate | | +| **namespace** | **String**| object name and auth scope, such as for teams and projects | | +| **body** | **V1Patch**| | | +| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | +| **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | +| **fieldManager** | **String**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] | +| **fieldValidation** | **String**| fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] | +| **force** | **Boolean**| Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] | + +### Return type + +[**V1ResourceClaimTemplate**](V1ResourceClaimTemplate.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | +| **201** | Created | - | +| **401** | Unauthorized | - | + + +# **patchResourceSlice** +> V1ResourceSlice patchResourceSlice(name, body).pretty(pretty).dryRun(dryRun).fieldManager(fieldManager).fieldValidation(fieldValidation).force(force).execute(); + + + +partially update the specified ResourceSlice + +### Example +```java +// Import classes: +import io.kubernetes.client.openapi.ApiClient; +import io.kubernetes.client.openapi.ApiException; +import io.kubernetes.client.openapi.Configuration; +import io.kubernetes.client.openapi.auth.*; +import io.kubernetes.client.openapi.models.*; +import io.kubernetes.client.openapi.apis.ResourceV1Api; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost/"); + + // Configure API key authorization: BearerToken + ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); + BearerToken.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //BearerToken.setApiKeyPrefix("Token"); + + ResourceV1Api apiInstance = new ResourceV1Api(defaultClient); + String name = "name_example"; // String | name of the ResourceSlice + V1Patch body = new V1Patch(); // V1Patch | + String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + String fieldManager = "fieldManager_example"; // String | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + String fieldValidation = "fieldValidation_example"; // String | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + Boolean force = true; // Boolean | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + try { + V1ResourceSlice result = apiInstance.patchResourceSlice(name, body) + .pretty(pretty) + .dryRun(dryRun) + .fieldManager(fieldManager) + .fieldValidation(fieldValidation) + .force(force) + .execute(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling ResourceV1Api#patchResourceSlice"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **name** | **String**| name of the ResourceSlice | | +| **body** | **V1Patch**| | | +| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | +| **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | +| **fieldManager** | **String**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] | +| **fieldValidation** | **String**| fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] | +| **force** | **Boolean**| Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] | + +### Return type + +[**V1ResourceSlice**](V1ResourceSlice.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | +| **201** | Created | - | +| **401** | Unauthorized | - | + + +# **readDeviceClass** +> V1DeviceClass readDeviceClass(name).pretty(pretty).execute(); + + + +read the specified DeviceClass + +### Example +```java +// Import classes: +import io.kubernetes.client.openapi.ApiClient; +import io.kubernetes.client.openapi.ApiException; +import io.kubernetes.client.openapi.Configuration; +import io.kubernetes.client.openapi.auth.*; +import io.kubernetes.client.openapi.models.*; +import io.kubernetes.client.openapi.apis.ResourceV1Api; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost/"); + + // Configure API key authorization: BearerToken + ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); + BearerToken.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //BearerToken.setApiKeyPrefix("Token"); + + ResourceV1Api apiInstance = new ResourceV1Api(defaultClient); + String name = "name_example"; // String | name of the DeviceClass + String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + try { + V1DeviceClass result = apiInstance.readDeviceClass(name) + .pretty(pretty) + .execute(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling ResourceV1Api#readDeviceClass"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **name** | **String**| name of the DeviceClass | | +| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | + +### Return type + +[**V1DeviceClass**](V1DeviceClass.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | +| **401** | Unauthorized | - | + + +# **readNamespacedResourceClaim** +> ResourceV1ResourceClaim readNamespacedResourceClaim(name, namespace).pretty(pretty).execute(); + + + +read the specified ResourceClaim + +### Example +```java +// Import classes: +import io.kubernetes.client.openapi.ApiClient; +import io.kubernetes.client.openapi.ApiException; +import io.kubernetes.client.openapi.Configuration; +import io.kubernetes.client.openapi.auth.*; +import io.kubernetes.client.openapi.models.*; +import io.kubernetes.client.openapi.apis.ResourceV1Api; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost/"); + + // Configure API key authorization: BearerToken + ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); + BearerToken.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //BearerToken.setApiKeyPrefix("Token"); + + ResourceV1Api apiInstance = new ResourceV1Api(defaultClient); + String name = "name_example"; // String | name of the ResourceClaim + String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects + String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + try { + ResourceV1ResourceClaim result = apiInstance.readNamespacedResourceClaim(name, namespace) + .pretty(pretty) + .execute(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling ResourceV1Api#readNamespacedResourceClaim"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **name** | **String**| name of the ResourceClaim | | +| **namespace** | **String**| object name and auth scope, such as for teams and projects | | +| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | + +### Return type + +[**ResourceV1ResourceClaim**](ResourceV1ResourceClaim.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | +| **401** | Unauthorized | - | + + +# **readNamespacedResourceClaimStatus** +> ResourceV1ResourceClaim readNamespacedResourceClaimStatus(name, namespace).pretty(pretty).execute(); + + + +read status of the specified ResourceClaim + +### Example +```java +// Import classes: +import io.kubernetes.client.openapi.ApiClient; +import io.kubernetes.client.openapi.ApiException; +import io.kubernetes.client.openapi.Configuration; +import io.kubernetes.client.openapi.auth.*; +import io.kubernetes.client.openapi.models.*; +import io.kubernetes.client.openapi.apis.ResourceV1Api; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost/"); + + // Configure API key authorization: BearerToken + ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); + BearerToken.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //BearerToken.setApiKeyPrefix("Token"); + + ResourceV1Api apiInstance = new ResourceV1Api(defaultClient); + String name = "name_example"; // String | name of the ResourceClaim + String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects + String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + try { + ResourceV1ResourceClaim result = apiInstance.readNamespacedResourceClaimStatus(name, namespace) + .pretty(pretty) + .execute(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling ResourceV1Api#readNamespacedResourceClaimStatus"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **name** | **String**| name of the ResourceClaim | | +| **namespace** | **String**| object name and auth scope, such as for teams and projects | | +| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | + +### Return type + +[**ResourceV1ResourceClaim**](ResourceV1ResourceClaim.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | +| **401** | Unauthorized | - | + + +# **readNamespacedResourceClaimTemplate** +> V1ResourceClaimTemplate readNamespacedResourceClaimTemplate(name, namespace).pretty(pretty).execute(); + + + +read the specified ResourceClaimTemplate + +### Example +```java +// Import classes: +import io.kubernetes.client.openapi.ApiClient; +import io.kubernetes.client.openapi.ApiException; +import io.kubernetes.client.openapi.Configuration; +import io.kubernetes.client.openapi.auth.*; +import io.kubernetes.client.openapi.models.*; +import io.kubernetes.client.openapi.apis.ResourceV1Api; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost/"); + + // Configure API key authorization: BearerToken + ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); + BearerToken.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //BearerToken.setApiKeyPrefix("Token"); + + ResourceV1Api apiInstance = new ResourceV1Api(defaultClient); + String name = "name_example"; // String | name of the ResourceClaimTemplate + String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects + String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + try { + V1ResourceClaimTemplate result = apiInstance.readNamespacedResourceClaimTemplate(name, namespace) + .pretty(pretty) + .execute(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling ResourceV1Api#readNamespacedResourceClaimTemplate"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **name** | **String**| name of the ResourceClaimTemplate | | +| **namespace** | **String**| object name and auth scope, such as for teams and projects | | +| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | + +### Return type + +[**V1ResourceClaimTemplate**](V1ResourceClaimTemplate.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | +| **401** | Unauthorized | - | + + +# **readResourceSlice** +> V1ResourceSlice readResourceSlice(name).pretty(pretty).execute(); + + + +read the specified ResourceSlice + +### Example +```java +// Import classes: +import io.kubernetes.client.openapi.ApiClient; +import io.kubernetes.client.openapi.ApiException; +import io.kubernetes.client.openapi.Configuration; +import io.kubernetes.client.openapi.auth.*; +import io.kubernetes.client.openapi.models.*; +import io.kubernetes.client.openapi.apis.ResourceV1Api; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost/"); + + // Configure API key authorization: BearerToken + ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); + BearerToken.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //BearerToken.setApiKeyPrefix("Token"); + + ResourceV1Api apiInstance = new ResourceV1Api(defaultClient); + String name = "name_example"; // String | name of the ResourceSlice + String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + try { + V1ResourceSlice result = apiInstance.readResourceSlice(name) + .pretty(pretty) + .execute(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling ResourceV1Api#readResourceSlice"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **name** | **String**| name of the ResourceSlice | | +| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | + +### Return type + +[**V1ResourceSlice**](V1ResourceSlice.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | +| **401** | Unauthorized | - | + + +# **replaceDeviceClass** +> V1DeviceClass replaceDeviceClass(name, body).pretty(pretty).dryRun(dryRun).fieldManager(fieldManager).fieldValidation(fieldValidation).execute(); + + + +replace the specified DeviceClass + +### Example +```java +// Import classes: +import io.kubernetes.client.openapi.ApiClient; +import io.kubernetes.client.openapi.ApiException; +import io.kubernetes.client.openapi.Configuration; +import io.kubernetes.client.openapi.auth.*; +import io.kubernetes.client.openapi.models.*; +import io.kubernetes.client.openapi.apis.ResourceV1Api; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost/"); + + // Configure API key authorization: BearerToken + ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); + BearerToken.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //BearerToken.setApiKeyPrefix("Token"); + + ResourceV1Api apiInstance = new ResourceV1Api(defaultClient); + String name = "name_example"; // String | name of the DeviceClass + V1DeviceClass body = new V1DeviceClass(); // V1DeviceClass | + String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + String fieldManager = "fieldManager_example"; // String | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + String fieldValidation = "fieldValidation_example"; // String | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + try { + V1DeviceClass result = apiInstance.replaceDeviceClass(name, body) + .pretty(pretty) + .dryRun(dryRun) + .fieldManager(fieldManager) + .fieldValidation(fieldValidation) + .execute(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling ResourceV1Api#replaceDeviceClass"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **name** | **String**| name of the DeviceClass | | +| **body** | [**V1DeviceClass**](V1DeviceClass.md)| | | +| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | +| **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | +| **fieldManager** | **String**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] | +| **fieldValidation** | **String**| fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] | + +### Return type + +[**V1DeviceClass**](V1DeviceClass.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | +| **201** | Created | - | +| **401** | Unauthorized | - | + + +# **replaceNamespacedResourceClaim** +> ResourceV1ResourceClaim replaceNamespacedResourceClaim(name, namespace, body).pretty(pretty).dryRun(dryRun).fieldManager(fieldManager).fieldValidation(fieldValidation).execute(); + + + +replace the specified ResourceClaim + +### Example +```java +// Import classes: +import io.kubernetes.client.openapi.ApiClient; +import io.kubernetes.client.openapi.ApiException; +import io.kubernetes.client.openapi.Configuration; +import io.kubernetes.client.openapi.auth.*; +import io.kubernetes.client.openapi.models.*; +import io.kubernetes.client.openapi.apis.ResourceV1Api; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost/"); + + // Configure API key authorization: BearerToken + ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); + BearerToken.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //BearerToken.setApiKeyPrefix("Token"); + + ResourceV1Api apiInstance = new ResourceV1Api(defaultClient); + String name = "name_example"; // String | name of the ResourceClaim + String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects + ResourceV1ResourceClaim body = new ResourceV1ResourceClaim(); // ResourceV1ResourceClaim | + String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + String fieldManager = "fieldManager_example"; // String | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + String fieldValidation = "fieldValidation_example"; // String | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + try { + ResourceV1ResourceClaim result = apiInstance.replaceNamespacedResourceClaim(name, namespace, body) + .pretty(pretty) + .dryRun(dryRun) + .fieldManager(fieldManager) + .fieldValidation(fieldValidation) + .execute(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling ResourceV1Api#replaceNamespacedResourceClaim"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **name** | **String**| name of the ResourceClaim | | +| **namespace** | **String**| object name and auth scope, such as for teams and projects | | +| **body** | [**ResourceV1ResourceClaim**](ResourceV1ResourceClaim.md)| | | +| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | +| **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | +| **fieldManager** | **String**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] | +| **fieldValidation** | **String**| fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] | + +### Return type + +[**ResourceV1ResourceClaim**](ResourceV1ResourceClaim.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | +| **201** | Created | - | +| **401** | Unauthorized | - | + + +# **replaceNamespacedResourceClaimStatus** +> ResourceV1ResourceClaim replaceNamespacedResourceClaimStatus(name, namespace, body).pretty(pretty).dryRun(dryRun).fieldManager(fieldManager).fieldValidation(fieldValidation).execute(); + + + +replace status of the specified ResourceClaim + +### Example +```java +// Import classes: +import io.kubernetes.client.openapi.ApiClient; +import io.kubernetes.client.openapi.ApiException; +import io.kubernetes.client.openapi.Configuration; +import io.kubernetes.client.openapi.auth.*; +import io.kubernetes.client.openapi.models.*; +import io.kubernetes.client.openapi.apis.ResourceV1Api; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost/"); + + // Configure API key authorization: BearerToken + ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); + BearerToken.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //BearerToken.setApiKeyPrefix("Token"); + + ResourceV1Api apiInstance = new ResourceV1Api(defaultClient); + String name = "name_example"; // String | name of the ResourceClaim + String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects + ResourceV1ResourceClaim body = new ResourceV1ResourceClaim(); // ResourceV1ResourceClaim | + String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + String fieldManager = "fieldManager_example"; // String | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + String fieldValidation = "fieldValidation_example"; // String | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + try { + ResourceV1ResourceClaim result = apiInstance.replaceNamespacedResourceClaimStatus(name, namespace, body) + .pretty(pretty) + .dryRun(dryRun) + .fieldManager(fieldManager) + .fieldValidation(fieldValidation) + .execute(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling ResourceV1Api#replaceNamespacedResourceClaimStatus"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **name** | **String**| name of the ResourceClaim | | +| **namespace** | **String**| object name and auth scope, such as for teams and projects | | +| **body** | [**ResourceV1ResourceClaim**](ResourceV1ResourceClaim.md)| | | +| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | +| **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | +| **fieldManager** | **String**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] | +| **fieldValidation** | **String**| fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] | + +### Return type + +[**ResourceV1ResourceClaim**](ResourceV1ResourceClaim.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | +| **201** | Created | - | +| **401** | Unauthorized | - | + + +# **replaceNamespacedResourceClaimTemplate** +> V1ResourceClaimTemplate replaceNamespacedResourceClaimTemplate(name, namespace, body).pretty(pretty).dryRun(dryRun).fieldManager(fieldManager).fieldValidation(fieldValidation).execute(); + + + +replace the specified ResourceClaimTemplate + +### Example +```java +// Import classes: +import io.kubernetes.client.openapi.ApiClient; +import io.kubernetes.client.openapi.ApiException; +import io.kubernetes.client.openapi.Configuration; +import io.kubernetes.client.openapi.auth.*; +import io.kubernetes.client.openapi.models.*; +import io.kubernetes.client.openapi.apis.ResourceV1Api; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost/"); + + // Configure API key authorization: BearerToken + ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); + BearerToken.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //BearerToken.setApiKeyPrefix("Token"); + + ResourceV1Api apiInstance = new ResourceV1Api(defaultClient); + String name = "name_example"; // String | name of the ResourceClaimTemplate + String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects + V1ResourceClaimTemplate body = new V1ResourceClaimTemplate(); // V1ResourceClaimTemplate | + String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + String fieldManager = "fieldManager_example"; // String | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + String fieldValidation = "fieldValidation_example"; // String | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + try { + V1ResourceClaimTemplate result = apiInstance.replaceNamespacedResourceClaimTemplate(name, namespace, body) + .pretty(pretty) + .dryRun(dryRun) + .fieldManager(fieldManager) + .fieldValidation(fieldValidation) + .execute(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling ResourceV1Api#replaceNamespacedResourceClaimTemplate"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **name** | **String**| name of the ResourceClaimTemplate | | +| **namespace** | **String**| object name and auth scope, such as for teams and projects | | +| **body** | [**V1ResourceClaimTemplate**](V1ResourceClaimTemplate.md)| | | +| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | +| **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | +| **fieldManager** | **String**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] | +| **fieldValidation** | **String**| fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] | + +### Return type + +[**V1ResourceClaimTemplate**](V1ResourceClaimTemplate.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | +| **201** | Created | - | +| **401** | Unauthorized | - | + + +# **replaceResourceSlice** +> V1ResourceSlice replaceResourceSlice(name, body).pretty(pretty).dryRun(dryRun).fieldManager(fieldManager).fieldValidation(fieldValidation).execute(); + + + +replace the specified ResourceSlice + +### Example +```java +// Import classes: +import io.kubernetes.client.openapi.ApiClient; +import io.kubernetes.client.openapi.ApiException; +import io.kubernetes.client.openapi.Configuration; +import io.kubernetes.client.openapi.auth.*; +import io.kubernetes.client.openapi.models.*; +import io.kubernetes.client.openapi.apis.ResourceV1Api; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost/"); + + // Configure API key authorization: BearerToken + ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); + BearerToken.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //BearerToken.setApiKeyPrefix("Token"); + + ResourceV1Api apiInstance = new ResourceV1Api(defaultClient); + String name = "name_example"; // String | name of the ResourceSlice + V1ResourceSlice body = new V1ResourceSlice(); // V1ResourceSlice | + String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + String fieldManager = "fieldManager_example"; // String | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + String fieldValidation = "fieldValidation_example"; // String | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + try { + V1ResourceSlice result = apiInstance.replaceResourceSlice(name, body) + .pretty(pretty) + .dryRun(dryRun) + .fieldManager(fieldManager) + .fieldValidation(fieldValidation) + .execute(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling ResourceV1Api#replaceResourceSlice"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **name** | **String**| name of the ResourceSlice | | +| **body** | [**V1ResourceSlice**](V1ResourceSlice.md)| | | +| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | +| **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | +| **fieldManager** | **String**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] | +| **fieldValidation** | **String**| fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] | + +### Return type + +[**V1ResourceSlice**](V1ResourceSlice.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | +| **201** | Created | - | +| **401** | Unauthorized | - | + diff --git a/kubernetes/docs/V1alpha3ResourceClaim.md b/kubernetes/docs/ResourceV1ResourceClaim.md similarity index 86% rename from kubernetes/docs/V1alpha3ResourceClaim.md rename to kubernetes/docs/ResourceV1ResourceClaim.md index e5b91a541d..d2516991af 100644 --- a/kubernetes/docs/V1alpha3ResourceClaim.md +++ b/kubernetes/docs/ResourceV1ResourceClaim.md @@ -1,6 +1,6 @@ -# V1alpha3ResourceClaim +# ResourceV1ResourceClaim ResourceClaim describes a request for access to resources in the cluster, for use by workloads. For example, if a workload needs an accelerator device with specific properties, this is how that request is expressed. The status stanza tracks whether this claim has been satisfied and what specific resources have been allocated. This is an alpha type and requires enabling the DynamicResourceAllocation feature gate. @@ -11,8 +11,8 @@ ResourceClaim describes a request for access to resources in the cluster, for us |**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] | |**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] | |**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] | -|**spec** | [**V1alpha3ResourceClaimSpec**](V1alpha3ResourceClaimSpec.md) | | | -|**status** | [**V1alpha3ResourceClaimStatus**](V1alpha3ResourceClaimStatus.md) | | [optional] | +|**spec** | [**V1ResourceClaimSpec**](V1ResourceClaimSpec.md) | | | +|**status** | [**V1ResourceClaimStatus**](V1ResourceClaimStatus.md) | | [optional] | ## Implemented Interfaces diff --git a/kubernetes/docs/ResourceV1alpha3Api.md b/kubernetes/docs/ResourceV1alpha3Api.md index 59e277670a..2f6d70ecc3 100644 --- a/kubernetes/docs/ResourceV1alpha3Api.md +++ b/kubernetes/docs/ResourceV1alpha3Api.md @@ -4,3153 +4,23 @@ All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| -| [**createDeviceClass**](ResourceV1alpha3Api.md#createDeviceClass) | **POST** /apis/resource.k8s.io/v1alpha3/deviceclasses | | | [**createDeviceTaintRule**](ResourceV1alpha3Api.md#createDeviceTaintRule) | **POST** /apis/resource.k8s.io/v1alpha3/devicetaintrules | | -| [**createNamespacedResourceClaim**](ResourceV1alpha3Api.md#createNamespacedResourceClaim) | **POST** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims | | -| [**createNamespacedResourceClaimTemplate**](ResourceV1alpha3Api.md#createNamespacedResourceClaimTemplate) | **POST** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates | | -| [**createResourceSlice**](ResourceV1alpha3Api.md#createResourceSlice) | **POST** /apis/resource.k8s.io/v1alpha3/resourceslices | | -| [**deleteCollectionDeviceClass**](ResourceV1alpha3Api.md#deleteCollectionDeviceClass) | **DELETE** /apis/resource.k8s.io/v1alpha3/deviceclasses | | | [**deleteCollectionDeviceTaintRule**](ResourceV1alpha3Api.md#deleteCollectionDeviceTaintRule) | **DELETE** /apis/resource.k8s.io/v1alpha3/devicetaintrules | | -| [**deleteCollectionNamespacedResourceClaim**](ResourceV1alpha3Api.md#deleteCollectionNamespacedResourceClaim) | **DELETE** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims | | -| [**deleteCollectionNamespacedResourceClaimTemplate**](ResourceV1alpha3Api.md#deleteCollectionNamespacedResourceClaimTemplate) | **DELETE** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates | | -| [**deleteCollectionResourceSlice**](ResourceV1alpha3Api.md#deleteCollectionResourceSlice) | **DELETE** /apis/resource.k8s.io/v1alpha3/resourceslices | | -| [**deleteDeviceClass**](ResourceV1alpha3Api.md#deleteDeviceClass) | **DELETE** /apis/resource.k8s.io/v1alpha3/deviceclasses/{name} | | | [**deleteDeviceTaintRule**](ResourceV1alpha3Api.md#deleteDeviceTaintRule) | **DELETE** /apis/resource.k8s.io/v1alpha3/devicetaintrules/{name} | | -| [**deleteNamespacedResourceClaim**](ResourceV1alpha3Api.md#deleteNamespacedResourceClaim) | **DELETE** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name} | | -| [**deleteNamespacedResourceClaimTemplate**](ResourceV1alpha3Api.md#deleteNamespacedResourceClaimTemplate) | **DELETE** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates/{name} | | -| [**deleteResourceSlice**](ResourceV1alpha3Api.md#deleteResourceSlice) | **DELETE** /apis/resource.k8s.io/v1alpha3/resourceslices/{name} | | | [**getAPIResources**](ResourceV1alpha3Api.md#getAPIResources) | **GET** /apis/resource.k8s.io/v1alpha3/ | | -| [**listDeviceClass**](ResourceV1alpha3Api.md#listDeviceClass) | **GET** /apis/resource.k8s.io/v1alpha3/deviceclasses | | | [**listDeviceTaintRule**](ResourceV1alpha3Api.md#listDeviceTaintRule) | **GET** /apis/resource.k8s.io/v1alpha3/devicetaintrules | | -| [**listNamespacedResourceClaim**](ResourceV1alpha3Api.md#listNamespacedResourceClaim) | **GET** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims | | -| [**listNamespacedResourceClaimTemplate**](ResourceV1alpha3Api.md#listNamespacedResourceClaimTemplate) | **GET** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates | | -| [**listResourceClaimForAllNamespaces**](ResourceV1alpha3Api.md#listResourceClaimForAllNamespaces) | **GET** /apis/resource.k8s.io/v1alpha3/resourceclaims | | -| [**listResourceClaimTemplateForAllNamespaces**](ResourceV1alpha3Api.md#listResourceClaimTemplateForAllNamespaces) | **GET** /apis/resource.k8s.io/v1alpha3/resourceclaimtemplates | | -| [**listResourceSlice**](ResourceV1alpha3Api.md#listResourceSlice) | **GET** /apis/resource.k8s.io/v1alpha3/resourceslices | | -| [**patchDeviceClass**](ResourceV1alpha3Api.md#patchDeviceClass) | **PATCH** /apis/resource.k8s.io/v1alpha3/deviceclasses/{name} | | | [**patchDeviceTaintRule**](ResourceV1alpha3Api.md#patchDeviceTaintRule) | **PATCH** /apis/resource.k8s.io/v1alpha3/devicetaintrules/{name} | | -| [**patchNamespacedResourceClaim**](ResourceV1alpha3Api.md#patchNamespacedResourceClaim) | **PATCH** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name} | | -| [**patchNamespacedResourceClaimStatus**](ResourceV1alpha3Api.md#patchNamespacedResourceClaimStatus) | **PATCH** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name}/status | | -| [**patchNamespacedResourceClaimTemplate**](ResourceV1alpha3Api.md#patchNamespacedResourceClaimTemplate) | **PATCH** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates/{name} | | -| [**patchResourceSlice**](ResourceV1alpha3Api.md#patchResourceSlice) | **PATCH** /apis/resource.k8s.io/v1alpha3/resourceslices/{name} | | -| [**readDeviceClass**](ResourceV1alpha3Api.md#readDeviceClass) | **GET** /apis/resource.k8s.io/v1alpha3/deviceclasses/{name} | | | [**readDeviceTaintRule**](ResourceV1alpha3Api.md#readDeviceTaintRule) | **GET** /apis/resource.k8s.io/v1alpha3/devicetaintrules/{name} | | -| [**readNamespacedResourceClaim**](ResourceV1alpha3Api.md#readNamespacedResourceClaim) | **GET** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name} | | -| [**readNamespacedResourceClaimStatus**](ResourceV1alpha3Api.md#readNamespacedResourceClaimStatus) | **GET** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name}/status | | -| [**readNamespacedResourceClaimTemplate**](ResourceV1alpha3Api.md#readNamespacedResourceClaimTemplate) | **GET** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates/{name} | | -| [**readResourceSlice**](ResourceV1alpha3Api.md#readResourceSlice) | **GET** /apis/resource.k8s.io/v1alpha3/resourceslices/{name} | | -| [**replaceDeviceClass**](ResourceV1alpha3Api.md#replaceDeviceClass) | **PUT** /apis/resource.k8s.io/v1alpha3/deviceclasses/{name} | | | [**replaceDeviceTaintRule**](ResourceV1alpha3Api.md#replaceDeviceTaintRule) | **PUT** /apis/resource.k8s.io/v1alpha3/devicetaintrules/{name} | | -| [**replaceNamespacedResourceClaim**](ResourceV1alpha3Api.md#replaceNamespacedResourceClaim) | **PUT** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name} | | -| [**replaceNamespacedResourceClaimStatus**](ResourceV1alpha3Api.md#replaceNamespacedResourceClaimStatus) | **PUT** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name}/status | | -| [**replaceNamespacedResourceClaimTemplate**](ResourceV1alpha3Api.md#replaceNamespacedResourceClaimTemplate) | **PUT** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates/{name} | | -| [**replaceResourceSlice**](ResourceV1alpha3Api.md#replaceResourceSlice) | **PUT** /apis/resource.k8s.io/v1alpha3/resourceslices/{name} | | - -# **createDeviceClass** -> V1alpha3DeviceClass createDeviceClass(body).pretty(pretty).dryRun(dryRun).fieldManager(fieldManager).fieldValidation(fieldValidation).execute(); - - - -create a DeviceClass - -### Example -```java -// Import classes: -import io.kubernetes.client.openapi.ApiClient; -import io.kubernetes.client.openapi.ApiException; -import io.kubernetes.client.openapi.Configuration; -import io.kubernetes.client.openapi.auth.*; -import io.kubernetes.client.openapi.models.*; -import io.kubernetes.client.openapi.apis.ResourceV1alpha3Api; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/"); - - // Configure API key authorization: BearerToken - ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); - BearerToken.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //BearerToken.setApiKeyPrefix("Token"); - - ResourceV1alpha3Api apiInstance = new ResourceV1alpha3Api(defaultClient); - V1alpha3DeviceClass body = new V1alpha3DeviceClass(); // V1alpha3DeviceClass | - String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - String fieldManager = "fieldManager_example"; // String | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - String fieldValidation = "fieldValidation_example"; // String | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - try { - V1alpha3DeviceClass result = apiInstance.createDeviceClass(body) - .pretty(pretty) - .dryRun(dryRun) - .fieldManager(fieldManager) - .fieldValidation(fieldValidation) - .execute(); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ResourceV1alpha3Api#createDeviceClass"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **body** | [**V1alpha3DeviceClass**](V1alpha3DeviceClass.md)| | | -| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | -| **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | -| **fieldManager** | **String**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] | -| **fieldValidation** | **String**| fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] | - -### Return type - -[**V1alpha3DeviceClass**](V1alpha3DeviceClass.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | OK | - | -| **201** | Created | - | -| **202** | Accepted | - | -| **401** | Unauthorized | - | - - -# **createDeviceTaintRule** -> V1alpha3DeviceTaintRule createDeviceTaintRule(body).pretty(pretty).dryRun(dryRun).fieldManager(fieldManager).fieldValidation(fieldValidation).execute(); - - - -create a DeviceTaintRule - -### Example -```java -// Import classes: -import io.kubernetes.client.openapi.ApiClient; -import io.kubernetes.client.openapi.ApiException; -import io.kubernetes.client.openapi.Configuration; -import io.kubernetes.client.openapi.auth.*; -import io.kubernetes.client.openapi.models.*; -import io.kubernetes.client.openapi.apis.ResourceV1alpha3Api; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/"); - - // Configure API key authorization: BearerToken - ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); - BearerToken.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //BearerToken.setApiKeyPrefix("Token"); - - ResourceV1alpha3Api apiInstance = new ResourceV1alpha3Api(defaultClient); - V1alpha3DeviceTaintRule body = new V1alpha3DeviceTaintRule(); // V1alpha3DeviceTaintRule | - String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - String fieldManager = "fieldManager_example"; // String | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - String fieldValidation = "fieldValidation_example"; // String | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - try { - V1alpha3DeviceTaintRule result = apiInstance.createDeviceTaintRule(body) - .pretty(pretty) - .dryRun(dryRun) - .fieldManager(fieldManager) - .fieldValidation(fieldValidation) - .execute(); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ResourceV1alpha3Api#createDeviceTaintRule"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **body** | [**V1alpha3DeviceTaintRule**](V1alpha3DeviceTaintRule.md)| | | -| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | -| **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | -| **fieldManager** | **String**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] | -| **fieldValidation** | **String**| fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] | - -### Return type - -[**V1alpha3DeviceTaintRule**](V1alpha3DeviceTaintRule.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | OK | - | -| **201** | Created | - | -| **202** | Accepted | - | -| **401** | Unauthorized | - | - - -# **createNamespacedResourceClaim** -> V1alpha3ResourceClaim createNamespacedResourceClaim(namespace, body).pretty(pretty).dryRun(dryRun).fieldManager(fieldManager).fieldValidation(fieldValidation).execute(); - - - -create a ResourceClaim - -### Example -```java -// Import classes: -import io.kubernetes.client.openapi.ApiClient; -import io.kubernetes.client.openapi.ApiException; -import io.kubernetes.client.openapi.Configuration; -import io.kubernetes.client.openapi.auth.*; -import io.kubernetes.client.openapi.models.*; -import io.kubernetes.client.openapi.apis.ResourceV1alpha3Api; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/"); - - // Configure API key authorization: BearerToken - ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); - BearerToken.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //BearerToken.setApiKeyPrefix("Token"); - - ResourceV1alpha3Api apiInstance = new ResourceV1alpha3Api(defaultClient); - String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects - V1alpha3ResourceClaim body = new V1alpha3ResourceClaim(); // V1alpha3ResourceClaim | - String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - String fieldManager = "fieldManager_example"; // String | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - String fieldValidation = "fieldValidation_example"; // String | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - try { - V1alpha3ResourceClaim result = apiInstance.createNamespacedResourceClaim(namespace, body) - .pretty(pretty) - .dryRun(dryRun) - .fieldManager(fieldManager) - .fieldValidation(fieldValidation) - .execute(); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ResourceV1alpha3Api#createNamespacedResourceClaim"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **namespace** | **String**| object name and auth scope, such as for teams and projects | | -| **body** | [**V1alpha3ResourceClaim**](V1alpha3ResourceClaim.md)| | | -| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | -| **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | -| **fieldManager** | **String**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] | -| **fieldValidation** | **String**| fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] | - -### Return type - -[**V1alpha3ResourceClaim**](V1alpha3ResourceClaim.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | OK | - | -| **201** | Created | - | -| **202** | Accepted | - | -| **401** | Unauthorized | - | - - -# **createNamespacedResourceClaimTemplate** -> V1alpha3ResourceClaimTemplate createNamespacedResourceClaimTemplate(namespace, body).pretty(pretty).dryRun(dryRun).fieldManager(fieldManager).fieldValidation(fieldValidation).execute(); - - - -create a ResourceClaimTemplate - -### Example -```java -// Import classes: -import io.kubernetes.client.openapi.ApiClient; -import io.kubernetes.client.openapi.ApiException; -import io.kubernetes.client.openapi.Configuration; -import io.kubernetes.client.openapi.auth.*; -import io.kubernetes.client.openapi.models.*; -import io.kubernetes.client.openapi.apis.ResourceV1alpha3Api; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/"); - - // Configure API key authorization: BearerToken - ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); - BearerToken.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //BearerToken.setApiKeyPrefix("Token"); - - ResourceV1alpha3Api apiInstance = new ResourceV1alpha3Api(defaultClient); - String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects - V1alpha3ResourceClaimTemplate body = new V1alpha3ResourceClaimTemplate(); // V1alpha3ResourceClaimTemplate | - String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - String fieldManager = "fieldManager_example"; // String | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - String fieldValidation = "fieldValidation_example"; // String | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - try { - V1alpha3ResourceClaimTemplate result = apiInstance.createNamespacedResourceClaimTemplate(namespace, body) - .pretty(pretty) - .dryRun(dryRun) - .fieldManager(fieldManager) - .fieldValidation(fieldValidation) - .execute(); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ResourceV1alpha3Api#createNamespacedResourceClaimTemplate"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **namespace** | **String**| object name and auth scope, such as for teams and projects | | -| **body** | [**V1alpha3ResourceClaimTemplate**](V1alpha3ResourceClaimTemplate.md)| | | -| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | -| **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | -| **fieldManager** | **String**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] | -| **fieldValidation** | **String**| fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] | - -### Return type - -[**V1alpha3ResourceClaimTemplate**](V1alpha3ResourceClaimTemplate.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | OK | - | -| **201** | Created | - | -| **202** | Accepted | - | -| **401** | Unauthorized | - | - - -# **createResourceSlice** -> V1alpha3ResourceSlice createResourceSlice(body).pretty(pretty).dryRun(dryRun).fieldManager(fieldManager).fieldValidation(fieldValidation).execute(); - - - -create a ResourceSlice - -### Example -```java -// Import classes: -import io.kubernetes.client.openapi.ApiClient; -import io.kubernetes.client.openapi.ApiException; -import io.kubernetes.client.openapi.Configuration; -import io.kubernetes.client.openapi.auth.*; -import io.kubernetes.client.openapi.models.*; -import io.kubernetes.client.openapi.apis.ResourceV1alpha3Api; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/"); - - // Configure API key authorization: BearerToken - ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); - BearerToken.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //BearerToken.setApiKeyPrefix("Token"); - - ResourceV1alpha3Api apiInstance = new ResourceV1alpha3Api(defaultClient); - V1alpha3ResourceSlice body = new V1alpha3ResourceSlice(); // V1alpha3ResourceSlice | - String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - String fieldManager = "fieldManager_example"; // String | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - String fieldValidation = "fieldValidation_example"; // String | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - try { - V1alpha3ResourceSlice result = apiInstance.createResourceSlice(body) - .pretty(pretty) - .dryRun(dryRun) - .fieldManager(fieldManager) - .fieldValidation(fieldValidation) - .execute(); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ResourceV1alpha3Api#createResourceSlice"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **body** | [**V1alpha3ResourceSlice**](V1alpha3ResourceSlice.md)| | | -| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | -| **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | -| **fieldManager** | **String**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] | -| **fieldValidation** | **String**| fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] | - -### Return type - -[**V1alpha3ResourceSlice**](V1alpha3ResourceSlice.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | OK | - | -| **201** | Created | - | -| **202** | Accepted | - | -| **401** | Unauthorized | - | - - -# **deleteCollectionDeviceClass** -> V1Status deleteCollectionDeviceClass().pretty(pretty)._continue(_continue).dryRun(dryRun).fieldSelector(fieldSelector).gracePeriodSeconds(gracePeriodSeconds).ignoreStoreReadErrorWithClusterBreakingPotential(ignoreStoreReadErrorWithClusterBreakingPotential).labelSelector(labelSelector).limit(limit).orphanDependents(orphanDependents).propagationPolicy(propagationPolicy).resourceVersion(resourceVersion).resourceVersionMatch(resourceVersionMatch).sendInitialEvents(sendInitialEvents).timeoutSeconds(timeoutSeconds).body(body).execute(); - - - -delete collection of DeviceClass - -### Example -```java -// Import classes: -import io.kubernetes.client.openapi.ApiClient; -import io.kubernetes.client.openapi.ApiException; -import io.kubernetes.client.openapi.Configuration; -import io.kubernetes.client.openapi.auth.*; -import io.kubernetes.client.openapi.models.*; -import io.kubernetes.client.openapi.apis.ResourceV1alpha3Api; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/"); - - // Configure API key authorization: BearerToken - ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); - BearerToken.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //BearerToken.setApiKeyPrefix("Token"); - - ResourceV1alpha3Api apiInstance = new ResourceV1alpha3Api(defaultClient); - String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - Integer gracePeriodSeconds = 56; // Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - Boolean ignoreStoreReadErrorWithClusterBreakingPotential = true; // Boolean | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it - String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. - Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - Boolean orphanDependents = true; // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - String propagationPolicy = "propagationPolicy_example"; // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - String resourceVersion = "resourceVersion_example"; // String | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - String resourceVersionMatch = "resourceVersionMatch_example"; // String | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - Boolean sendInitialEvents = true; // Boolean | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - V1DeleteOptions body = new V1DeleteOptions(); // V1DeleteOptions | - try { - V1Status result = apiInstance.deleteCollectionDeviceClass() - .pretty(pretty) - ._continue(_continue) - .dryRun(dryRun) - .fieldSelector(fieldSelector) - .gracePeriodSeconds(gracePeriodSeconds) - .ignoreStoreReadErrorWithClusterBreakingPotential(ignoreStoreReadErrorWithClusterBreakingPotential) - .labelSelector(labelSelector) - .limit(limit) - .orphanDependents(orphanDependents) - .propagationPolicy(propagationPolicy) - .resourceVersion(resourceVersion) - .resourceVersionMatch(resourceVersionMatch) - .sendInitialEvents(sendInitialEvents) - .timeoutSeconds(timeoutSeconds) - .body(body) - .execute(); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ResourceV1alpha3Api#deleteCollectionDeviceClass"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | -| **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] | -| **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | -| **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] | -| **gracePeriodSeconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] | -| **ignoreStoreReadErrorWithClusterBreakingPotential** | **Boolean**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] | -| **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] | -| **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] | -| **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] | -| **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] | -| **resourceVersion** | **String**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] | -| **resourceVersionMatch** | **String**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] | -| **sendInitialEvents** | **Boolean**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] | -| **timeoutSeconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] | -| **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] | - -### Return type - -[**V1Status**](V1Status.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | OK | - | -| **401** | Unauthorized | - | - - -# **deleteCollectionDeviceTaintRule** -> V1Status deleteCollectionDeviceTaintRule().pretty(pretty)._continue(_continue).dryRun(dryRun).fieldSelector(fieldSelector).gracePeriodSeconds(gracePeriodSeconds).ignoreStoreReadErrorWithClusterBreakingPotential(ignoreStoreReadErrorWithClusterBreakingPotential).labelSelector(labelSelector).limit(limit).orphanDependents(orphanDependents).propagationPolicy(propagationPolicy).resourceVersion(resourceVersion).resourceVersionMatch(resourceVersionMatch).sendInitialEvents(sendInitialEvents).timeoutSeconds(timeoutSeconds).body(body).execute(); - - - -delete collection of DeviceTaintRule - -### Example -```java -// Import classes: -import io.kubernetes.client.openapi.ApiClient; -import io.kubernetes.client.openapi.ApiException; -import io.kubernetes.client.openapi.Configuration; -import io.kubernetes.client.openapi.auth.*; -import io.kubernetes.client.openapi.models.*; -import io.kubernetes.client.openapi.apis.ResourceV1alpha3Api; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/"); - - // Configure API key authorization: BearerToken - ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); - BearerToken.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //BearerToken.setApiKeyPrefix("Token"); - - ResourceV1alpha3Api apiInstance = new ResourceV1alpha3Api(defaultClient); - String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - Integer gracePeriodSeconds = 56; // Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - Boolean ignoreStoreReadErrorWithClusterBreakingPotential = true; // Boolean | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it - String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. - Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - Boolean orphanDependents = true; // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - String propagationPolicy = "propagationPolicy_example"; // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - String resourceVersion = "resourceVersion_example"; // String | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - String resourceVersionMatch = "resourceVersionMatch_example"; // String | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - Boolean sendInitialEvents = true; // Boolean | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - V1DeleteOptions body = new V1DeleteOptions(); // V1DeleteOptions | - try { - V1Status result = apiInstance.deleteCollectionDeviceTaintRule() - .pretty(pretty) - ._continue(_continue) - .dryRun(dryRun) - .fieldSelector(fieldSelector) - .gracePeriodSeconds(gracePeriodSeconds) - .ignoreStoreReadErrorWithClusterBreakingPotential(ignoreStoreReadErrorWithClusterBreakingPotential) - .labelSelector(labelSelector) - .limit(limit) - .orphanDependents(orphanDependents) - .propagationPolicy(propagationPolicy) - .resourceVersion(resourceVersion) - .resourceVersionMatch(resourceVersionMatch) - .sendInitialEvents(sendInitialEvents) - .timeoutSeconds(timeoutSeconds) - .body(body) - .execute(); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ResourceV1alpha3Api#deleteCollectionDeviceTaintRule"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | -| **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] | -| **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | -| **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] | -| **gracePeriodSeconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] | -| **ignoreStoreReadErrorWithClusterBreakingPotential** | **Boolean**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] | -| **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] | -| **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] | -| **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] | -| **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] | -| **resourceVersion** | **String**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] | -| **resourceVersionMatch** | **String**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] | -| **sendInitialEvents** | **Boolean**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] | -| **timeoutSeconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] | -| **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] | - -### Return type - -[**V1Status**](V1Status.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | OK | - | -| **401** | Unauthorized | - | - - -# **deleteCollectionNamespacedResourceClaim** -> V1Status deleteCollectionNamespacedResourceClaim(namespace).pretty(pretty)._continue(_continue).dryRun(dryRun).fieldSelector(fieldSelector).gracePeriodSeconds(gracePeriodSeconds).ignoreStoreReadErrorWithClusterBreakingPotential(ignoreStoreReadErrorWithClusterBreakingPotential).labelSelector(labelSelector).limit(limit).orphanDependents(orphanDependents).propagationPolicy(propagationPolicy).resourceVersion(resourceVersion).resourceVersionMatch(resourceVersionMatch).sendInitialEvents(sendInitialEvents).timeoutSeconds(timeoutSeconds).body(body).execute(); - - - -delete collection of ResourceClaim - -### Example -```java -// Import classes: -import io.kubernetes.client.openapi.ApiClient; -import io.kubernetes.client.openapi.ApiException; -import io.kubernetes.client.openapi.Configuration; -import io.kubernetes.client.openapi.auth.*; -import io.kubernetes.client.openapi.models.*; -import io.kubernetes.client.openapi.apis.ResourceV1alpha3Api; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/"); - - // Configure API key authorization: BearerToken - ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); - BearerToken.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //BearerToken.setApiKeyPrefix("Token"); - - ResourceV1alpha3Api apiInstance = new ResourceV1alpha3Api(defaultClient); - String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects - String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - Integer gracePeriodSeconds = 56; // Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - Boolean ignoreStoreReadErrorWithClusterBreakingPotential = true; // Boolean | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it - String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. - Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - Boolean orphanDependents = true; // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - String propagationPolicy = "propagationPolicy_example"; // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - String resourceVersion = "resourceVersion_example"; // String | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - String resourceVersionMatch = "resourceVersionMatch_example"; // String | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - Boolean sendInitialEvents = true; // Boolean | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - V1DeleteOptions body = new V1DeleteOptions(); // V1DeleteOptions | - try { - V1Status result = apiInstance.deleteCollectionNamespacedResourceClaim(namespace) - .pretty(pretty) - ._continue(_continue) - .dryRun(dryRun) - .fieldSelector(fieldSelector) - .gracePeriodSeconds(gracePeriodSeconds) - .ignoreStoreReadErrorWithClusterBreakingPotential(ignoreStoreReadErrorWithClusterBreakingPotential) - .labelSelector(labelSelector) - .limit(limit) - .orphanDependents(orphanDependents) - .propagationPolicy(propagationPolicy) - .resourceVersion(resourceVersion) - .resourceVersionMatch(resourceVersionMatch) - .sendInitialEvents(sendInitialEvents) - .timeoutSeconds(timeoutSeconds) - .body(body) - .execute(); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ResourceV1alpha3Api#deleteCollectionNamespacedResourceClaim"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **namespace** | **String**| object name and auth scope, such as for teams and projects | | -| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | -| **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] | -| **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | -| **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] | -| **gracePeriodSeconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] | -| **ignoreStoreReadErrorWithClusterBreakingPotential** | **Boolean**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] | -| **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] | -| **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] | -| **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] | -| **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] | -| **resourceVersion** | **String**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] | -| **resourceVersionMatch** | **String**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] | -| **sendInitialEvents** | **Boolean**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] | -| **timeoutSeconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] | -| **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] | - -### Return type - -[**V1Status**](V1Status.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | OK | - | -| **401** | Unauthorized | - | - - -# **deleteCollectionNamespacedResourceClaimTemplate** -> V1Status deleteCollectionNamespacedResourceClaimTemplate(namespace).pretty(pretty)._continue(_continue).dryRun(dryRun).fieldSelector(fieldSelector).gracePeriodSeconds(gracePeriodSeconds).ignoreStoreReadErrorWithClusterBreakingPotential(ignoreStoreReadErrorWithClusterBreakingPotential).labelSelector(labelSelector).limit(limit).orphanDependents(orphanDependents).propagationPolicy(propagationPolicy).resourceVersion(resourceVersion).resourceVersionMatch(resourceVersionMatch).sendInitialEvents(sendInitialEvents).timeoutSeconds(timeoutSeconds).body(body).execute(); - - - -delete collection of ResourceClaimTemplate - -### Example -```java -// Import classes: -import io.kubernetes.client.openapi.ApiClient; -import io.kubernetes.client.openapi.ApiException; -import io.kubernetes.client.openapi.Configuration; -import io.kubernetes.client.openapi.auth.*; -import io.kubernetes.client.openapi.models.*; -import io.kubernetes.client.openapi.apis.ResourceV1alpha3Api; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/"); - - // Configure API key authorization: BearerToken - ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); - BearerToken.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //BearerToken.setApiKeyPrefix("Token"); - - ResourceV1alpha3Api apiInstance = new ResourceV1alpha3Api(defaultClient); - String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects - String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - Integer gracePeriodSeconds = 56; // Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - Boolean ignoreStoreReadErrorWithClusterBreakingPotential = true; // Boolean | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it - String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. - Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - Boolean orphanDependents = true; // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - String propagationPolicy = "propagationPolicy_example"; // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - String resourceVersion = "resourceVersion_example"; // String | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - String resourceVersionMatch = "resourceVersionMatch_example"; // String | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - Boolean sendInitialEvents = true; // Boolean | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - V1DeleteOptions body = new V1DeleteOptions(); // V1DeleteOptions | - try { - V1Status result = apiInstance.deleteCollectionNamespacedResourceClaimTemplate(namespace) - .pretty(pretty) - ._continue(_continue) - .dryRun(dryRun) - .fieldSelector(fieldSelector) - .gracePeriodSeconds(gracePeriodSeconds) - .ignoreStoreReadErrorWithClusterBreakingPotential(ignoreStoreReadErrorWithClusterBreakingPotential) - .labelSelector(labelSelector) - .limit(limit) - .orphanDependents(orphanDependents) - .propagationPolicy(propagationPolicy) - .resourceVersion(resourceVersion) - .resourceVersionMatch(resourceVersionMatch) - .sendInitialEvents(sendInitialEvents) - .timeoutSeconds(timeoutSeconds) - .body(body) - .execute(); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ResourceV1alpha3Api#deleteCollectionNamespacedResourceClaimTemplate"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **namespace** | **String**| object name and auth scope, such as for teams and projects | | -| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | -| **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] | -| **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | -| **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] | -| **gracePeriodSeconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] | -| **ignoreStoreReadErrorWithClusterBreakingPotential** | **Boolean**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] | -| **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] | -| **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] | -| **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] | -| **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] | -| **resourceVersion** | **String**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] | -| **resourceVersionMatch** | **String**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] | -| **sendInitialEvents** | **Boolean**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] | -| **timeoutSeconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] | -| **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] | - -### Return type - -[**V1Status**](V1Status.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | OK | - | -| **401** | Unauthorized | - | - - -# **deleteCollectionResourceSlice** -> V1Status deleteCollectionResourceSlice().pretty(pretty)._continue(_continue).dryRun(dryRun).fieldSelector(fieldSelector).gracePeriodSeconds(gracePeriodSeconds).ignoreStoreReadErrorWithClusterBreakingPotential(ignoreStoreReadErrorWithClusterBreakingPotential).labelSelector(labelSelector).limit(limit).orphanDependents(orphanDependents).propagationPolicy(propagationPolicy).resourceVersion(resourceVersion).resourceVersionMatch(resourceVersionMatch).sendInitialEvents(sendInitialEvents).timeoutSeconds(timeoutSeconds).body(body).execute(); - - - -delete collection of ResourceSlice - -### Example -```java -// Import classes: -import io.kubernetes.client.openapi.ApiClient; -import io.kubernetes.client.openapi.ApiException; -import io.kubernetes.client.openapi.Configuration; -import io.kubernetes.client.openapi.auth.*; -import io.kubernetes.client.openapi.models.*; -import io.kubernetes.client.openapi.apis.ResourceV1alpha3Api; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/"); - - // Configure API key authorization: BearerToken - ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); - BearerToken.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //BearerToken.setApiKeyPrefix("Token"); - - ResourceV1alpha3Api apiInstance = new ResourceV1alpha3Api(defaultClient); - String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - Integer gracePeriodSeconds = 56; // Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - Boolean ignoreStoreReadErrorWithClusterBreakingPotential = true; // Boolean | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it - String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. - Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - Boolean orphanDependents = true; // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - String propagationPolicy = "propagationPolicy_example"; // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - String resourceVersion = "resourceVersion_example"; // String | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - String resourceVersionMatch = "resourceVersionMatch_example"; // String | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - Boolean sendInitialEvents = true; // Boolean | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - V1DeleteOptions body = new V1DeleteOptions(); // V1DeleteOptions | - try { - V1Status result = apiInstance.deleteCollectionResourceSlice() - .pretty(pretty) - ._continue(_continue) - .dryRun(dryRun) - .fieldSelector(fieldSelector) - .gracePeriodSeconds(gracePeriodSeconds) - .ignoreStoreReadErrorWithClusterBreakingPotential(ignoreStoreReadErrorWithClusterBreakingPotential) - .labelSelector(labelSelector) - .limit(limit) - .orphanDependents(orphanDependents) - .propagationPolicy(propagationPolicy) - .resourceVersion(resourceVersion) - .resourceVersionMatch(resourceVersionMatch) - .sendInitialEvents(sendInitialEvents) - .timeoutSeconds(timeoutSeconds) - .body(body) - .execute(); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ResourceV1alpha3Api#deleteCollectionResourceSlice"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | -| **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] | -| **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | -| **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] | -| **gracePeriodSeconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] | -| **ignoreStoreReadErrorWithClusterBreakingPotential** | **Boolean**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] | -| **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] | -| **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] | -| **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] | -| **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] | -| **resourceVersion** | **String**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] | -| **resourceVersionMatch** | **String**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] | -| **sendInitialEvents** | **Boolean**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] | -| **timeoutSeconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] | -| **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] | - -### Return type - -[**V1Status**](V1Status.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | OK | - | -| **401** | Unauthorized | - | - - -# **deleteDeviceClass** -> V1alpha3DeviceClass deleteDeviceClass(name).pretty(pretty).dryRun(dryRun).gracePeriodSeconds(gracePeriodSeconds).ignoreStoreReadErrorWithClusterBreakingPotential(ignoreStoreReadErrorWithClusterBreakingPotential).orphanDependents(orphanDependents).propagationPolicy(propagationPolicy).body(body).execute(); - - - -delete a DeviceClass - -### Example -```java -// Import classes: -import io.kubernetes.client.openapi.ApiClient; -import io.kubernetes.client.openapi.ApiException; -import io.kubernetes.client.openapi.Configuration; -import io.kubernetes.client.openapi.auth.*; -import io.kubernetes.client.openapi.models.*; -import io.kubernetes.client.openapi.apis.ResourceV1alpha3Api; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/"); - - // Configure API key authorization: BearerToken - ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); - BearerToken.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //BearerToken.setApiKeyPrefix("Token"); - - ResourceV1alpha3Api apiInstance = new ResourceV1alpha3Api(defaultClient); - String name = "name_example"; // String | name of the DeviceClass - String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - Integer gracePeriodSeconds = 56; // Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - Boolean ignoreStoreReadErrorWithClusterBreakingPotential = true; // Boolean | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it - Boolean orphanDependents = true; // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - String propagationPolicy = "propagationPolicy_example"; // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - V1DeleteOptions body = new V1DeleteOptions(); // V1DeleteOptions | - try { - V1alpha3DeviceClass result = apiInstance.deleteDeviceClass(name) - .pretty(pretty) - .dryRun(dryRun) - .gracePeriodSeconds(gracePeriodSeconds) - .ignoreStoreReadErrorWithClusterBreakingPotential(ignoreStoreReadErrorWithClusterBreakingPotential) - .orphanDependents(orphanDependents) - .propagationPolicy(propagationPolicy) - .body(body) - .execute(); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ResourceV1alpha3Api#deleteDeviceClass"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **name** | **String**| name of the DeviceClass | | -| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | -| **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | -| **gracePeriodSeconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] | -| **ignoreStoreReadErrorWithClusterBreakingPotential** | **Boolean**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] | -| **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] | -| **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] | -| **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] | - -### Return type - -[**V1alpha3DeviceClass**](V1alpha3DeviceClass.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | OK | - | -| **202** | Accepted | - | -| **401** | Unauthorized | - | - - -# **deleteDeviceTaintRule** -> V1alpha3DeviceTaintRule deleteDeviceTaintRule(name).pretty(pretty).dryRun(dryRun).gracePeriodSeconds(gracePeriodSeconds).ignoreStoreReadErrorWithClusterBreakingPotential(ignoreStoreReadErrorWithClusterBreakingPotential).orphanDependents(orphanDependents).propagationPolicy(propagationPolicy).body(body).execute(); - - - -delete a DeviceTaintRule - -### Example -```java -// Import classes: -import io.kubernetes.client.openapi.ApiClient; -import io.kubernetes.client.openapi.ApiException; -import io.kubernetes.client.openapi.Configuration; -import io.kubernetes.client.openapi.auth.*; -import io.kubernetes.client.openapi.models.*; -import io.kubernetes.client.openapi.apis.ResourceV1alpha3Api; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/"); - - // Configure API key authorization: BearerToken - ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); - BearerToken.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //BearerToken.setApiKeyPrefix("Token"); - - ResourceV1alpha3Api apiInstance = new ResourceV1alpha3Api(defaultClient); - String name = "name_example"; // String | name of the DeviceTaintRule - String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - Integer gracePeriodSeconds = 56; // Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - Boolean ignoreStoreReadErrorWithClusterBreakingPotential = true; // Boolean | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it - Boolean orphanDependents = true; // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - String propagationPolicy = "propagationPolicy_example"; // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - V1DeleteOptions body = new V1DeleteOptions(); // V1DeleteOptions | - try { - V1alpha3DeviceTaintRule result = apiInstance.deleteDeviceTaintRule(name) - .pretty(pretty) - .dryRun(dryRun) - .gracePeriodSeconds(gracePeriodSeconds) - .ignoreStoreReadErrorWithClusterBreakingPotential(ignoreStoreReadErrorWithClusterBreakingPotential) - .orphanDependents(orphanDependents) - .propagationPolicy(propagationPolicy) - .body(body) - .execute(); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ResourceV1alpha3Api#deleteDeviceTaintRule"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **name** | **String**| name of the DeviceTaintRule | | -| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | -| **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | -| **gracePeriodSeconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] | -| **ignoreStoreReadErrorWithClusterBreakingPotential** | **Boolean**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] | -| **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] | -| **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] | -| **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] | - -### Return type - -[**V1alpha3DeviceTaintRule**](V1alpha3DeviceTaintRule.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | OK | - | -| **202** | Accepted | - | -| **401** | Unauthorized | - | - - -# **deleteNamespacedResourceClaim** -> V1alpha3ResourceClaim deleteNamespacedResourceClaim(name, namespace).pretty(pretty).dryRun(dryRun).gracePeriodSeconds(gracePeriodSeconds).ignoreStoreReadErrorWithClusterBreakingPotential(ignoreStoreReadErrorWithClusterBreakingPotential).orphanDependents(orphanDependents).propagationPolicy(propagationPolicy).body(body).execute(); - - - -delete a ResourceClaim - -### Example -```java -// Import classes: -import io.kubernetes.client.openapi.ApiClient; -import io.kubernetes.client.openapi.ApiException; -import io.kubernetes.client.openapi.Configuration; -import io.kubernetes.client.openapi.auth.*; -import io.kubernetes.client.openapi.models.*; -import io.kubernetes.client.openapi.apis.ResourceV1alpha3Api; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/"); - - // Configure API key authorization: BearerToken - ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); - BearerToken.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //BearerToken.setApiKeyPrefix("Token"); - - ResourceV1alpha3Api apiInstance = new ResourceV1alpha3Api(defaultClient); - String name = "name_example"; // String | name of the ResourceClaim - String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects - String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - Integer gracePeriodSeconds = 56; // Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - Boolean ignoreStoreReadErrorWithClusterBreakingPotential = true; // Boolean | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it - Boolean orphanDependents = true; // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - String propagationPolicy = "propagationPolicy_example"; // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - V1DeleteOptions body = new V1DeleteOptions(); // V1DeleteOptions | - try { - V1alpha3ResourceClaim result = apiInstance.deleteNamespacedResourceClaim(name, namespace) - .pretty(pretty) - .dryRun(dryRun) - .gracePeriodSeconds(gracePeriodSeconds) - .ignoreStoreReadErrorWithClusterBreakingPotential(ignoreStoreReadErrorWithClusterBreakingPotential) - .orphanDependents(orphanDependents) - .propagationPolicy(propagationPolicy) - .body(body) - .execute(); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ResourceV1alpha3Api#deleteNamespacedResourceClaim"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **name** | **String**| name of the ResourceClaim | | -| **namespace** | **String**| object name and auth scope, such as for teams and projects | | -| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | -| **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | -| **gracePeriodSeconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] | -| **ignoreStoreReadErrorWithClusterBreakingPotential** | **Boolean**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] | -| **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] | -| **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] | -| **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] | - -### Return type - -[**V1alpha3ResourceClaim**](V1alpha3ResourceClaim.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | OK | - | -| **202** | Accepted | - | -| **401** | Unauthorized | - | - - -# **deleteNamespacedResourceClaimTemplate** -> V1alpha3ResourceClaimTemplate deleteNamespacedResourceClaimTemplate(name, namespace).pretty(pretty).dryRun(dryRun).gracePeriodSeconds(gracePeriodSeconds).ignoreStoreReadErrorWithClusterBreakingPotential(ignoreStoreReadErrorWithClusterBreakingPotential).orphanDependents(orphanDependents).propagationPolicy(propagationPolicy).body(body).execute(); - - - -delete a ResourceClaimTemplate - -### Example -```java -// Import classes: -import io.kubernetes.client.openapi.ApiClient; -import io.kubernetes.client.openapi.ApiException; -import io.kubernetes.client.openapi.Configuration; -import io.kubernetes.client.openapi.auth.*; -import io.kubernetes.client.openapi.models.*; -import io.kubernetes.client.openapi.apis.ResourceV1alpha3Api; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/"); - - // Configure API key authorization: BearerToken - ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); - BearerToken.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //BearerToken.setApiKeyPrefix("Token"); - - ResourceV1alpha3Api apiInstance = new ResourceV1alpha3Api(defaultClient); - String name = "name_example"; // String | name of the ResourceClaimTemplate - String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects - String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - Integer gracePeriodSeconds = 56; // Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - Boolean ignoreStoreReadErrorWithClusterBreakingPotential = true; // Boolean | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it - Boolean orphanDependents = true; // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - String propagationPolicy = "propagationPolicy_example"; // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - V1DeleteOptions body = new V1DeleteOptions(); // V1DeleteOptions | - try { - V1alpha3ResourceClaimTemplate result = apiInstance.deleteNamespacedResourceClaimTemplate(name, namespace) - .pretty(pretty) - .dryRun(dryRun) - .gracePeriodSeconds(gracePeriodSeconds) - .ignoreStoreReadErrorWithClusterBreakingPotential(ignoreStoreReadErrorWithClusterBreakingPotential) - .orphanDependents(orphanDependents) - .propagationPolicy(propagationPolicy) - .body(body) - .execute(); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ResourceV1alpha3Api#deleteNamespacedResourceClaimTemplate"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **name** | **String**| name of the ResourceClaimTemplate | | -| **namespace** | **String**| object name and auth scope, such as for teams and projects | | -| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | -| **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | -| **gracePeriodSeconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] | -| **ignoreStoreReadErrorWithClusterBreakingPotential** | **Boolean**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] | -| **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] | -| **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] | -| **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] | - -### Return type - -[**V1alpha3ResourceClaimTemplate**](V1alpha3ResourceClaimTemplate.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | OK | - | -| **202** | Accepted | - | -| **401** | Unauthorized | - | - - -# **deleteResourceSlice** -> V1alpha3ResourceSlice deleteResourceSlice(name).pretty(pretty).dryRun(dryRun).gracePeriodSeconds(gracePeriodSeconds).ignoreStoreReadErrorWithClusterBreakingPotential(ignoreStoreReadErrorWithClusterBreakingPotential).orphanDependents(orphanDependents).propagationPolicy(propagationPolicy).body(body).execute(); - - - -delete a ResourceSlice - -### Example -```java -// Import classes: -import io.kubernetes.client.openapi.ApiClient; -import io.kubernetes.client.openapi.ApiException; -import io.kubernetes.client.openapi.Configuration; -import io.kubernetes.client.openapi.auth.*; -import io.kubernetes.client.openapi.models.*; -import io.kubernetes.client.openapi.apis.ResourceV1alpha3Api; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/"); - - // Configure API key authorization: BearerToken - ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); - BearerToken.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //BearerToken.setApiKeyPrefix("Token"); - - ResourceV1alpha3Api apiInstance = new ResourceV1alpha3Api(defaultClient); - String name = "name_example"; // String | name of the ResourceSlice - String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - Integer gracePeriodSeconds = 56; // Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - Boolean ignoreStoreReadErrorWithClusterBreakingPotential = true; // Boolean | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it - Boolean orphanDependents = true; // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - String propagationPolicy = "propagationPolicy_example"; // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - V1DeleteOptions body = new V1DeleteOptions(); // V1DeleteOptions | - try { - V1alpha3ResourceSlice result = apiInstance.deleteResourceSlice(name) - .pretty(pretty) - .dryRun(dryRun) - .gracePeriodSeconds(gracePeriodSeconds) - .ignoreStoreReadErrorWithClusterBreakingPotential(ignoreStoreReadErrorWithClusterBreakingPotential) - .orphanDependents(orphanDependents) - .propagationPolicy(propagationPolicy) - .body(body) - .execute(); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ResourceV1alpha3Api#deleteResourceSlice"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **name** | **String**| name of the ResourceSlice | | -| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | -| **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | -| **gracePeriodSeconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] | -| **ignoreStoreReadErrorWithClusterBreakingPotential** | **Boolean**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] | -| **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] | -| **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] | -| **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] | - -### Return type - -[**V1alpha3ResourceSlice**](V1alpha3ResourceSlice.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | OK | - | -| **202** | Accepted | - | -| **401** | Unauthorized | - | - - -# **getAPIResources** -> V1APIResourceList getAPIResources().execute(); - - - -get available resources - -### Example -```java -// Import classes: -import io.kubernetes.client.openapi.ApiClient; -import io.kubernetes.client.openapi.ApiException; -import io.kubernetes.client.openapi.Configuration; -import io.kubernetes.client.openapi.auth.*; -import io.kubernetes.client.openapi.models.*; -import io.kubernetes.client.openapi.apis.ResourceV1alpha3Api; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/"); - - // Configure API key authorization: BearerToken - ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); - BearerToken.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //BearerToken.setApiKeyPrefix("Token"); - - ResourceV1alpha3Api apiInstance = new ResourceV1alpha3Api(defaultClient); - try { - V1APIResourceList result = apiInstance.getAPIResources() - .execute(); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ResourceV1alpha3Api#getAPIResources"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**V1APIResourceList**](V1APIResourceList.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | OK | - | -| **401** | Unauthorized | - | - - -# **listDeviceClass** -> V1alpha3DeviceClassList listDeviceClass().pretty(pretty).allowWatchBookmarks(allowWatchBookmarks)._continue(_continue).fieldSelector(fieldSelector).labelSelector(labelSelector).limit(limit).resourceVersion(resourceVersion).resourceVersionMatch(resourceVersionMatch).sendInitialEvents(sendInitialEvents).timeoutSeconds(timeoutSeconds).watch(watch).execute(); - - - -list or watch objects of kind DeviceClass - -### Example -```java -// Import classes: -import io.kubernetes.client.openapi.ApiClient; -import io.kubernetes.client.openapi.ApiException; -import io.kubernetes.client.openapi.Configuration; -import io.kubernetes.client.openapi.auth.*; -import io.kubernetes.client.openapi.models.*; -import io.kubernetes.client.openapi.apis.ResourceV1alpha3Api; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/"); - - // Configure API key authorization: BearerToken - ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); - BearerToken.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //BearerToken.setApiKeyPrefix("Token"); - - ResourceV1alpha3Api apiInstance = new ResourceV1alpha3Api(defaultClient); - String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - Boolean allowWatchBookmarks = true; // Boolean | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. - Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - String resourceVersion = "resourceVersion_example"; // String | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - String resourceVersionMatch = "resourceVersionMatch_example"; // String | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - Boolean sendInitialEvents = true; // Boolean | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - try { - V1alpha3DeviceClassList result = apiInstance.listDeviceClass() - .pretty(pretty) - .allowWatchBookmarks(allowWatchBookmarks) - ._continue(_continue) - .fieldSelector(fieldSelector) - .labelSelector(labelSelector) - .limit(limit) - .resourceVersion(resourceVersion) - .resourceVersionMatch(resourceVersionMatch) - .sendInitialEvents(sendInitialEvents) - .timeoutSeconds(timeoutSeconds) - .watch(watch) - .execute(); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ResourceV1alpha3Api#listDeviceClass"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | -| **allowWatchBookmarks** | **Boolean**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] | -| **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] | -| **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] | -| **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] | -| **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] | -| **resourceVersion** | **String**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] | -| **resourceVersionMatch** | **String**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] | -| **sendInitialEvents** | **Boolean**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] | -| **timeoutSeconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] | -| **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] | - -### Return type - -[**V1alpha3DeviceClassList**](V1alpha3DeviceClassList.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | OK | - | -| **401** | Unauthorized | - | - - -# **listDeviceTaintRule** -> V1alpha3DeviceTaintRuleList listDeviceTaintRule().pretty(pretty).allowWatchBookmarks(allowWatchBookmarks)._continue(_continue).fieldSelector(fieldSelector).labelSelector(labelSelector).limit(limit).resourceVersion(resourceVersion).resourceVersionMatch(resourceVersionMatch).sendInitialEvents(sendInitialEvents).timeoutSeconds(timeoutSeconds).watch(watch).execute(); - - - -list or watch objects of kind DeviceTaintRule - -### Example -```java -// Import classes: -import io.kubernetes.client.openapi.ApiClient; -import io.kubernetes.client.openapi.ApiException; -import io.kubernetes.client.openapi.Configuration; -import io.kubernetes.client.openapi.auth.*; -import io.kubernetes.client.openapi.models.*; -import io.kubernetes.client.openapi.apis.ResourceV1alpha3Api; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/"); - - // Configure API key authorization: BearerToken - ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); - BearerToken.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //BearerToken.setApiKeyPrefix("Token"); - - ResourceV1alpha3Api apiInstance = new ResourceV1alpha3Api(defaultClient); - String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - Boolean allowWatchBookmarks = true; // Boolean | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. - Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - String resourceVersion = "resourceVersion_example"; // String | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - String resourceVersionMatch = "resourceVersionMatch_example"; // String | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - Boolean sendInitialEvents = true; // Boolean | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - try { - V1alpha3DeviceTaintRuleList result = apiInstance.listDeviceTaintRule() - .pretty(pretty) - .allowWatchBookmarks(allowWatchBookmarks) - ._continue(_continue) - .fieldSelector(fieldSelector) - .labelSelector(labelSelector) - .limit(limit) - .resourceVersion(resourceVersion) - .resourceVersionMatch(resourceVersionMatch) - .sendInitialEvents(sendInitialEvents) - .timeoutSeconds(timeoutSeconds) - .watch(watch) - .execute(); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ResourceV1alpha3Api#listDeviceTaintRule"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | -| **allowWatchBookmarks** | **Boolean**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] | -| **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] | -| **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] | -| **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] | -| **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] | -| **resourceVersion** | **String**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] | -| **resourceVersionMatch** | **String**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] | -| **sendInitialEvents** | **Boolean**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] | -| **timeoutSeconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] | -| **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] | - -### Return type - -[**V1alpha3DeviceTaintRuleList**](V1alpha3DeviceTaintRuleList.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | OK | - | -| **401** | Unauthorized | - | - - -# **listNamespacedResourceClaim** -> V1alpha3ResourceClaimList listNamespacedResourceClaim(namespace).pretty(pretty).allowWatchBookmarks(allowWatchBookmarks)._continue(_continue).fieldSelector(fieldSelector).labelSelector(labelSelector).limit(limit).resourceVersion(resourceVersion).resourceVersionMatch(resourceVersionMatch).sendInitialEvents(sendInitialEvents).timeoutSeconds(timeoutSeconds).watch(watch).execute(); - - - -list or watch objects of kind ResourceClaim - -### Example -```java -// Import classes: -import io.kubernetes.client.openapi.ApiClient; -import io.kubernetes.client.openapi.ApiException; -import io.kubernetes.client.openapi.Configuration; -import io.kubernetes.client.openapi.auth.*; -import io.kubernetes.client.openapi.models.*; -import io.kubernetes.client.openapi.apis.ResourceV1alpha3Api; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/"); - - // Configure API key authorization: BearerToken - ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); - BearerToken.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //BearerToken.setApiKeyPrefix("Token"); - - ResourceV1alpha3Api apiInstance = new ResourceV1alpha3Api(defaultClient); - String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects - String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - Boolean allowWatchBookmarks = true; // Boolean | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. - Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - String resourceVersion = "resourceVersion_example"; // String | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - String resourceVersionMatch = "resourceVersionMatch_example"; // String | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - Boolean sendInitialEvents = true; // Boolean | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - try { - V1alpha3ResourceClaimList result = apiInstance.listNamespacedResourceClaim(namespace) - .pretty(pretty) - .allowWatchBookmarks(allowWatchBookmarks) - ._continue(_continue) - .fieldSelector(fieldSelector) - .labelSelector(labelSelector) - .limit(limit) - .resourceVersion(resourceVersion) - .resourceVersionMatch(resourceVersionMatch) - .sendInitialEvents(sendInitialEvents) - .timeoutSeconds(timeoutSeconds) - .watch(watch) - .execute(); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ResourceV1alpha3Api#listNamespacedResourceClaim"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **namespace** | **String**| object name and auth scope, such as for teams and projects | | -| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | -| **allowWatchBookmarks** | **Boolean**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] | -| **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] | -| **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] | -| **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] | -| **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] | -| **resourceVersion** | **String**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] | -| **resourceVersionMatch** | **String**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] | -| **sendInitialEvents** | **Boolean**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] | -| **timeoutSeconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] | -| **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] | - -### Return type - -[**V1alpha3ResourceClaimList**](V1alpha3ResourceClaimList.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | OK | - | -| **401** | Unauthorized | - | - - -# **listNamespacedResourceClaimTemplate** -> V1alpha3ResourceClaimTemplateList listNamespacedResourceClaimTemplate(namespace).pretty(pretty).allowWatchBookmarks(allowWatchBookmarks)._continue(_continue).fieldSelector(fieldSelector).labelSelector(labelSelector).limit(limit).resourceVersion(resourceVersion).resourceVersionMatch(resourceVersionMatch).sendInitialEvents(sendInitialEvents).timeoutSeconds(timeoutSeconds).watch(watch).execute(); - - - -list or watch objects of kind ResourceClaimTemplate - -### Example -```java -// Import classes: -import io.kubernetes.client.openapi.ApiClient; -import io.kubernetes.client.openapi.ApiException; -import io.kubernetes.client.openapi.Configuration; -import io.kubernetes.client.openapi.auth.*; -import io.kubernetes.client.openapi.models.*; -import io.kubernetes.client.openapi.apis.ResourceV1alpha3Api; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/"); - - // Configure API key authorization: BearerToken - ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); - BearerToken.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //BearerToken.setApiKeyPrefix("Token"); - - ResourceV1alpha3Api apiInstance = new ResourceV1alpha3Api(defaultClient); - String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects - String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - Boolean allowWatchBookmarks = true; // Boolean | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. - Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - String resourceVersion = "resourceVersion_example"; // String | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - String resourceVersionMatch = "resourceVersionMatch_example"; // String | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - Boolean sendInitialEvents = true; // Boolean | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - try { - V1alpha3ResourceClaimTemplateList result = apiInstance.listNamespacedResourceClaimTemplate(namespace) - .pretty(pretty) - .allowWatchBookmarks(allowWatchBookmarks) - ._continue(_continue) - .fieldSelector(fieldSelector) - .labelSelector(labelSelector) - .limit(limit) - .resourceVersion(resourceVersion) - .resourceVersionMatch(resourceVersionMatch) - .sendInitialEvents(sendInitialEvents) - .timeoutSeconds(timeoutSeconds) - .watch(watch) - .execute(); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ResourceV1alpha3Api#listNamespacedResourceClaimTemplate"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **namespace** | **String**| object name and auth scope, such as for teams and projects | | -| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | -| **allowWatchBookmarks** | **Boolean**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] | -| **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] | -| **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] | -| **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] | -| **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] | -| **resourceVersion** | **String**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] | -| **resourceVersionMatch** | **String**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] | -| **sendInitialEvents** | **Boolean**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] | -| **timeoutSeconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] | -| **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] | - -### Return type - -[**V1alpha3ResourceClaimTemplateList**](V1alpha3ResourceClaimTemplateList.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | OK | - | -| **401** | Unauthorized | - | - - -# **listResourceClaimForAllNamespaces** -> V1alpha3ResourceClaimList listResourceClaimForAllNamespaces().allowWatchBookmarks(allowWatchBookmarks)._continue(_continue).fieldSelector(fieldSelector).labelSelector(labelSelector).limit(limit).pretty(pretty).resourceVersion(resourceVersion).resourceVersionMatch(resourceVersionMatch).sendInitialEvents(sendInitialEvents).timeoutSeconds(timeoutSeconds).watch(watch).execute(); - - - -list or watch objects of kind ResourceClaim - -### Example -```java -// Import classes: -import io.kubernetes.client.openapi.ApiClient; -import io.kubernetes.client.openapi.ApiException; -import io.kubernetes.client.openapi.Configuration; -import io.kubernetes.client.openapi.auth.*; -import io.kubernetes.client.openapi.models.*; -import io.kubernetes.client.openapi.apis.ResourceV1alpha3Api; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/"); - - // Configure API key authorization: BearerToken - ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); - BearerToken.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //BearerToken.setApiKeyPrefix("Token"); - - ResourceV1alpha3Api apiInstance = new ResourceV1alpha3Api(defaultClient); - Boolean allowWatchBookmarks = true; // Boolean | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. - Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - String resourceVersion = "resourceVersion_example"; // String | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - String resourceVersionMatch = "resourceVersionMatch_example"; // String | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - Boolean sendInitialEvents = true; // Boolean | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - try { - V1alpha3ResourceClaimList result = apiInstance.listResourceClaimForAllNamespaces() - .allowWatchBookmarks(allowWatchBookmarks) - ._continue(_continue) - .fieldSelector(fieldSelector) - .labelSelector(labelSelector) - .limit(limit) - .pretty(pretty) - .resourceVersion(resourceVersion) - .resourceVersionMatch(resourceVersionMatch) - .sendInitialEvents(sendInitialEvents) - .timeoutSeconds(timeoutSeconds) - .watch(watch) - .execute(); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ResourceV1alpha3Api#listResourceClaimForAllNamespaces"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **allowWatchBookmarks** | **Boolean**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] | -| **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] | -| **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] | -| **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] | -| **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] | -| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | -| **resourceVersion** | **String**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] | -| **resourceVersionMatch** | **String**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] | -| **sendInitialEvents** | **Boolean**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] | -| **timeoutSeconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] | -| **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] | - -### Return type - -[**V1alpha3ResourceClaimList**](V1alpha3ResourceClaimList.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | OK | - | -| **401** | Unauthorized | - | - - -# **listResourceClaimTemplateForAllNamespaces** -> V1alpha3ResourceClaimTemplateList listResourceClaimTemplateForAllNamespaces().allowWatchBookmarks(allowWatchBookmarks)._continue(_continue).fieldSelector(fieldSelector).labelSelector(labelSelector).limit(limit).pretty(pretty).resourceVersion(resourceVersion).resourceVersionMatch(resourceVersionMatch).sendInitialEvents(sendInitialEvents).timeoutSeconds(timeoutSeconds).watch(watch).execute(); - - - -list or watch objects of kind ResourceClaimTemplate - -### Example -```java -// Import classes: -import io.kubernetes.client.openapi.ApiClient; -import io.kubernetes.client.openapi.ApiException; -import io.kubernetes.client.openapi.Configuration; -import io.kubernetes.client.openapi.auth.*; -import io.kubernetes.client.openapi.models.*; -import io.kubernetes.client.openapi.apis.ResourceV1alpha3Api; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/"); - - // Configure API key authorization: BearerToken - ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); - BearerToken.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //BearerToken.setApiKeyPrefix("Token"); - - ResourceV1alpha3Api apiInstance = new ResourceV1alpha3Api(defaultClient); - Boolean allowWatchBookmarks = true; // Boolean | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. - Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - String resourceVersion = "resourceVersion_example"; // String | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - String resourceVersionMatch = "resourceVersionMatch_example"; // String | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - Boolean sendInitialEvents = true; // Boolean | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - try { - V1alpha3ResourceClaimTemplateList result = apiInstance.listResourceClaimTemplateForAllNamespaces() - .allowWatchBookmarks(allowWatchBookmarks) - ._continue(_continue) - .fieldSelector(fieldSelector) - .labelSelector(labelSelector) - .limit(limit) - .pretty(pretty) - .resourceVersion(resourceVersion) - .resourceVersionMatch(resourceVersionMatch) - .sendInitialEvents(sendInitialEvents) - .timeoutSeconds(timeoutSeconds) - .watch(watch) - .execute(); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ResourceV1alpha3Api#listResourceClaimTemplateForAllNamespaces"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **allowWatchBookmarks** | **Boolean**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] | -| **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] | -| **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] | -| **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] | -| **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] | -| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | -| **resourceVersion** | **String**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] | -| **resourceVersionMatch** | **String**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] | -| **sendInitialEvents** | **Boolean**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] | -| **timeoutSeconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] | -| **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] | - -### Return type - -[**V1alpha3ResourceClaimTemplateList**](V1alpha3ResourceClaimTemplateList.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | OK | - | -| **401** | Unauthorized | - | - - -# **listResourceSlice** -> V1alpha3ResourceSliceList listResourceSlice().pretty(pretty).allowWatchBookmarks(allowWatchBookmarks)._continue(_continue).fieldSelector(fieldSelector).labelSelector(labelSelector).limit(limit).resourceVersion(resourceVersion).resourceVersionMatch(resourceVersionMatch).sendInitialEvents(sendInitialEvents).timeoutSeconds(timeoutSeconds).watch(watch).execute(); - - - -list or watch objects of kind ResourceSlice - -### Example -```java -// Import classes: -import io.kubernetes.client.openapi.ApiClient; -import io.kubernetes.client.openapi.ApiException; -import io.kubernetes.client.openapi.Configuration; -import io.kubernetes.client.openapi.auth.*; -import io.kubernetes.client.openapi.models.*; -import io.kubernetes.client.openapi.apis.ResourceV1alpha3Api; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/"); - - // Configure API key authorization: BearerToken - ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); - BearerToken.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //BearerToken.setApiKeyPrefix("Token"); - - ResourceV1alpha3Api apiInstance = new ResourceV1alpha3Api(defaultClient); - String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - Boolean allowWatchBookmarks = true; // Boolean | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. - Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - String resourceVersion = "resourceVersion_example"; // String | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - String resourceVersionMatch = "resourceVersionMatch_example"; // String | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - Boolean sendInitialEvents = true; // Boolean | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - try { - V1alpha3ResourceSliceList result = apiInstance.listResourceSlice() - .pretty(pretty) - .allowWatchBookmarks(allowWatchBookmarks) - ._continue(_continue) - .fieldSelector(fieldSelector) - .labelSelector(labelSelector) - .limit(limit) - .resourceVersion(resourceVersion) - .resourceVersionMatch(resourceVersionMatch) - .sendInitialEvents(sendInitialEvents) - .timeoutSeconds(timeoutSeconds) - .watch(watch) - .execute(); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ResourceV1alpha3Api#listResourceSlice"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | -| **allowWatchBookmarks** | **Boolean**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] | -| **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] | -| **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] | -| **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] | -| **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] | -| **resourceVersion** | **String**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] | -| **resourceVersionMatch** | **String**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] | -| **sendInitialEvents** | **Boolean**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] | -| **timeoutSeconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] | -| **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] | - -### Return type - -[**V1alpha3ResourceSliceList**](V1alpha3ResourceSliceList.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | OK | - | -| **401** | Unauthorized | - | - - -# **patchDeviceClass** -> V1alpha3DeviceClass patchDeviceClass(name, body).pretty(pretty).dryRun(dryRun).fieldManager(fieldManager).fieldValidation(fieldValidation).force(force).execute(); - - - -partially update the specified DeviceClass - -### Example -```java -// Import classes: -import io.kubernetes.client.openapi.ApiClient; -import io.kubernetes.client.openapi.ApiException; -import io.kubernetes.client.openapi.Configuration; -import io.kubernetes.client.openapi.auth.*; -import io.kubernetes.client.openapi.models.*; -import io.kubernetes.client.openapi.apis.ResourceV1alpha3Api; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/"); - - // Configure API key authorization: BearerToken - ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); - BearerToken.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //BearerToken.setApiKeyPrefix("Token"); - - ResourceV1alpha3Api apiInstance = new ResourceV1alpha3Api(defaultClient); - String name = "name_example"; // String | name of the DeviceClass - V1Patch body = new V1Patch(); // V1Patch | - String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - String fieldManager = "fieldManager_example"; // String | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - String fieldValidation = "fieldValidation_example"; // String | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - Boolean force = true; // Boolean | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - try { - V1alpha3DeviceClass result = apiInstance.patchDeviceClass(name, body) - .pretty(pretty) - .dryRun(dryRun) - .fieldManager(fieldManager) - .fieldValidation(fieldValidation) - .force(force) - .execute(); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ResourceV1alpha3Api#patchDeviceClass"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **name** | **String**| name of the DeviceClass | | -| **body** | **V1Patch**| | | -| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | -| **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | -| **fieldManager** | **String**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] | -| **fieldValidation** | **String**| fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] | -| **force** | **Boolean**| Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] | - -### Return type - -[**V1alpha3DeviceClass**](V1alpha3DeviceClass.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | OK | - | -| **201** | Created | - | -| **401** | Unauthorized | - | - - -# **patchDeviceTaintRule** -> V1alpha3DeviceTaintRule patchDeviceTaintRule(name, body).pretty(pretty).dryRun(dryRun).fieldManager(fieldManager).fieldValidation(fieldValidation).force(force).execute(); - - - -partially update the specified DeviceTaintRule - -### Example -```java -// Import classes: -import io.kubernetes.client.openapi.ApiClient; -import io.kubernetes.client.openapi.ApiException; -import io.kubernetes.client.openapi.Configuration; -import io.kubernetes.client.openapi.auth.*; -import io.kubernetes.client.openapi.models.*; -import io.kubernetes.client.openapi.apis.ResourceV1alpha3Api; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/"); - - // Configure API key authorization: BearerToken - ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); - BearerToken.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //BearerToken.setApiKeyPrefix("Token"); - - ResourceV1alpha3Api apiInstance = new ResourceV1alpha3Api(defaultClient); - String name = "name_example"; // String | name of the DeviceTaintRule - V1Patch body = new V1Patch(); // V1Patch | - String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - String fieldManager = "fieldManager_example"; // String | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - String fieldValidation = "fieldValidation_example"; // String | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - Boolean force = true; // Boolean | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - try { - V1alpha3DeviceTaintRule result = apiInstance.patchDeviceTaintRule(name, body) - .pretty(pretty) - .dryRun(dryRun) - .fieldManager(fieldManager) - .fieldValidation(fieldValidation) - .force(force) - .execute(); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ResourceV1alpha3Api#patchDeviceTaintRule"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **name** | **String**| name of the DeviceTaintRule | | -| **body** | **V1Patch**| | | -| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | -| **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | -| **fieldManager** | **String**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] | -| **fieldValidation** | **String**| fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] | -| **force** | **Boolean**| Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] | - -### Return type - -[**V1alpha3DeviceTaintRule**](V1alpha3DeviceTaintRule.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | OK | - | -| **201** | Created | - | -| **401** | Unauthorized | - | - - -# **patchNamespacedResourceClaim** -> V1alpha3ResourceClaim patchNamespacedResourceClaim(name, namespace, body).pretty(pretty).dryRun(dryRun).fieldManager(fieldManager).fieldValidation(fieldValidation).force(force).execute(); - - - -partially update the specified ResourceClaim - -### Example -```java -// Import classes: -import io.kubernetes.client.openapi.ApiClient; -import io.kubernetes.client.openapi.ApiException; -import io.kubernetes.client.openapi.Configuration; -import io.kubernetes.client.openapi.auth.*; -import io.kubernetes.client.openapi.models.*; -import io.kubernetes.client.openapi.apis.ResourceV1alpha3Api; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/"); - - // Configure API key authorization: BearerToken - ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); - BearerToken.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //BearerToken.setApiKeyPrefix("Token"); - - ResourceV1alpha3Api apiInstance = new ResourceV1alpha3Api(defaultClient); - String name = "name_example"; // String | name of the ResourceClaim - String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects - V1Patch body = new V1Patch(); // V1Patch | - String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - String fieldManager = "fieldManager_example"; // String | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - String fieldValidation = "fieldValidation_example"; // String | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - Boolean force = true; // Boolean | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - try { - V1alpha3ResourceClaim result = apiInstance.patchNamespacedResourceClaim(name, namespace, body) - .pretty(pretty) - .dryRun(dryRun) - .fieldManager(fieldManager) - .fieldValidation(fieldValidation) - .force(force) - .execute(); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ResourceV1alpha3Api#patchNamespacedResourceClaim"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **name** | **String**| name of the ResourceClaim | | -| **namespace** | **String**| object name and auth scope, such as for teams and projects | | -| **body** | **V1Patch**| | | -| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | -| **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | -| **fieldManager** | **String**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] | -| **fieldValidation** | **String**| fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] | -| **force** | **Boolean**| Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] | - -### Return type - -[**V1alpha3ResourceClaim**](V1alpha3ResourceClaim.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | OK | - | -| **201** | Created | - | -| **401** | Unauthorized | - | - - -# **patchNamespacedResourceClaimStatus** -> V1alpha3ResourceClaim patchNamespacedResourceClaimStatus(name, namespace, body).pretty(pretty).dryRun(dryRun).fieldManager(fieldManager).fieldValidation(fieldValidation).force(force).execute(); - - - -partially update status of the specified ResourceClaim - -### Example -```java -// Import classes: -import io.kubernetes.client.openapi.ApiClient; -import io.kubernetes.client.openapi.ApiException; -import io.kubernetes.client.openapi.Configuration; -import io.kubernetes.client.openapi.auth.*; -import io.kubernetes.client.openapi.models.*; -import io.kubernetes.client.openapi.apis.ResourceV1alpha3Api; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/"); - - // Configure API key authorization: BearerToken - ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); - BearerToken.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //BearerToken.setApiKeyPrefix("Token"); - - ResourceV1alpha3Api apiInstance = new ResourceV1alpha3Api(defaultClient); - String name = "name_example"; // String | name of the ResourceClaim - String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects - V1Patch body = new V1Patch(); // V1Patch | - String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - String fieldManager = "fieldManager_example"; // String | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - String fieldValidation = "fieldValidation_example"; // String | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - Boolean force = true; // Boolean | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - try { - V1alpha3ResourceClaim result = apiInstance.patchNamespacedResourceClaimStatus(name, namespace, body) - .pretty(pretty) - .dryRun(dryRun) - .fieldManager(fieldManager) - .fieldValidation(fieldValidation) - .force(force) - .execute(); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ResourceV1alpha3Api#patchNamespacedResourceClaimStatus"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **name** | **String**| name of the ResourceClaim | | -| **namespace** | **String**| object name and auth scope, such as for teams and projects | | -| **body** | **V1Patch**| | | -| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | -| **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | -| **fieldManager** | **String**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] | -| **fieldValidation** | **String**| fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] | -| **force** | **Boolean**| Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] | - -### Return type - -[**V1alpha3ResourceClaim**](V1alpha3ResourceClaim.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | OK | - | -| **201** | Created | - | -| **401** | Unauthorized | - | - - -# **patchNamespacedResourceClaimTemplate** -> V1alpha3ResourceClaimTemplate patchNamespacedResourceClaimTemplate(name, namespace, body).pretty(pretty).dryRun(dryRun).fieldManager(fieldManager).fieldValidation(fieldValidation).force(force).execute(); - - - -partially update the specified ResourceClaimTemplate - -### Example -```java -// Import classes: -import io.kubernetes.client.openapi.ApiClient; -import io.kubernetes.client.openapi.ApiException; -import io.kubernetes.client.openapi.Configuration; -import io.kubernetes.client.openapi.auth.*; -import io.kubernetes.client.openapi.models.*; -import io.kubernetes.client.openapi.apis.ResourceV1alpha3Api; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/"); - - // Configure API key authorization: BearerToken - ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); - BearerToken.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //BearerToken.setApiKeyPrefix("Token"); - - ResourceV1alpha3Api apiInstance = new ResourceV1alpha3Api(defaultClient); - String name = "name_example"; // String | name of the ResourceClaimTemplate - String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects - V1Patch body = new V1Patch(); // V1Patch | - String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - String fieldManager = "fieldManager_example"; // String | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - String fieldValidation = "fieldValidation_example"; // String | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - Boolean force = true; // Boolean | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - try { - V1alpha3ResourceClaimTemplate result = apiInstance.patchNamespacedResourceClaimTemplate(name, namespace, body) - .pretty(pretty) - .dryRun(dryRun) - .fieldManager(fieldManager) - .fieldValidation(fieldValidation) - .force(force) - .execute(); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ResourceV1alpha3Api#patchNamespacedResourceClaimTemplate"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **name** | **String**| name of the ResourceClaimTemplate | | -| **namespace** | **String**| object name and auth scope, such as for teams and projects | | -| **body** | **V1Patch**| | | -| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | -| **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | -| **fieldManager** | **String**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] | -| **fieldValidation** | **String**| fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] | -| **force** | **Boolean**| Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] | - -### Return type - -[**V1alpha3ResourceClaimTemplate**](V1alpha3ResourceClaimTemplate.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | OK | - | -| **201** | Created | - | -| **401** | Unauthorized | - | - - -# **patchResourceSlice** -> V1alpha3ResourceSlice patchResourceSlice(name, body).pretty(pretty).dryRun(dryRun).fieldManager(fieldManager).fieldValidation(fieldValidation).force(force).execute(); - - - -partially update the specified ResourceSlice - -### Example -```java -// Import classes: -import io.kubernetes.client.openapi.ApiClient; -import io.kubernetes.client.openapi.ApiException; -import io.kubernetes.client.openapi.Configuration; -import io.kubernetes.client.openapi.auth.*; -import io.kubernetes.client.openapi.models.*; -import io.kubernetes.client.openapi.apis.ResourceV1alpha3Api; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/"); - - // Configure API key authorization: BearerToken - ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); - BearerToken.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //BearerToken.setApiKeyPrefix("Token"); - - ResourceV1alpha3Api apiInstance = new ResourceV1alpha3Api(defaultClient); - String name = "name_example"; // String | name of the ResourceSlice - V1Patch body = new V1Patch(); // V1Patch | - String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - String fieldManager = "fieldManager_example"; // String | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - String fieldValidation = "fieldValidation_example"; // String | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - Boolean force = true; // Boolean | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - try { - V1alpha3ResourceSlice result = apiInstance.patchResourceSlice(name, body) - .pretty(pretty) - .dryRun(dryRun) - .fieldManager(fieldManager) - .fieldValidation(fieldValidation) - .force(force) - .execute(); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ResourceV1alpha3Api#patchResourceSlice"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **name** | **String**| name of the ResourceSlice | | -| **body** | **V1Patch**| | | -| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | -| **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | -| **fieldManager** | **String**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] | -| **fieldValidation** | **String**| fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] | -| **force** | **Boolean**| Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] | - -### Return type - -[**V1alpha3ResourceSlice**](V1alpha3ResourceSlice.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | OK | - | -| **201** | Created | - | -| **401** | Unauthorized | - | - - -# **readDeviceClass** -> V1alpha3DeviceClass readDeviceClass(name).pretty(pretty).execute(); - - - -read the specified DeviceClass - -### Example -```java -// Import classes: -import io.kubernetes.client.openapi.ApiClient; -import io.kubernetes.client.openapi.ApiException; -import io.kubernetes.client.openapi.Configuration; -import io.kubernetes.client.openapi.auth.*; -import io.kubernetes.client.openapi.models.*; -import io.kubernetes.client.openapi.apis.ResourceV1alpha3Api; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/"); - - // Configure API key authorization: BearerToken - ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); - BearerToken.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //BearerToken.setApiKeyPrefix("Token"); - - ResourceV1alpha3Api apiInstance = new ResourceV1alpha3Api(defaultClient); - String name = "name_example"; // String | name of the DeviceClass - String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - try { - V1alpha3DeviceClass result = apiInstance.readDeviceClass(name) - .pretty(pretty) - .execute(); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ResourceV1alpha3Api#readDeviceClass"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **name** | **String**| name of the DeviceClass | | -| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | - -### Return type - -[**V1alpha3DeviceClass**](V1alpha3DeviceClass.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | OK | - | -| **401** | Unauthorized | - | - - -# **readDeviceTaintRule** -> V1alpha3DeviceTaintRule readDeviceTaintRule(name).pretty(pretty).execute(); - - - -read the specified DeviceTaintRule - -### Example -```java -// Import classes: -import io.kubernetes.client.openapi.ApiClient; -import io.kubernetes.client.openapi.ApiException; -import io.kubernetes.client.openapi.Configuration; -import io.kubernetes.client.openapi.auth.*; -import io.kubernetes.client.openapi.models.*; -import io.kubernetes.client.openapi.apis.ResourceV1alpha3Api; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/"); - - // Configure API key authorization: BearerToken - ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); - BearerToken.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //BearerToken.setApiKeyPrefix("Token"); - - ResourceV1alpha3Api apiInstance = new ResourceV1alpha3Api(defaultClient); - String name = "name_example"; // String | name of the DeviceTaintRule - String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - try { - V1alpha3DeviceTaintRule result = apiInstance.readDeviceTaintRule(name) - .pretty(pretty) - .execute(); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ResourceV1alpha3Api#readDeviceTaintRule"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **name** | **String**| name of the DeviceTaintRule | | -| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | - -### Return type - -[**V1alpha3DeviceTaintRule**](V1alpha3DeviceTaintRule.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | OK | - | -| **401** | Unauthorized | - | - - -# **readNamespacedResourceClaim** -> V1alpha3ResourceClaim readNamespacedResourceClaim(name, namespace).pretty(pretty).execute(); - - - -read the specified ResourceClaim - -### Example -```java -// Import classes: -import io.kubernetes.client.openapi.ApiClient; -import io.kubernetes.client.openapi.ApiException; -import io.kubernetes.client.openapi.Configuration; -import io.kubernetes.client.openapi.auth.*; -import io.kubernetes.client.openapi.models.*; -import io.kubernetes.client.openapi.apis.ResourceV1alpha3Api; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/"); - - // Configure API key authorization: BearerToken - ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); - BearerToken.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //BearerToken.setApiKeyPrefix("Token"); - - ResourceV1alpha3Api apiInstance = new ResourceV1alpha3Api(defaultClient); - String name = "name_example"; // String | name of the ResourceClaim - String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects - String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - try { - V1alpha3ResourceClaim result = apiInstance.readNamespacedResourceClaim(name, namespace) - .pretty(pretty) - .execute(); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ResourceV1alpha3Api#readNamespacedResourceClaim"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **name** | **String**| name of the ResourceClaim | | -| **namespace** | **String**| object name and auth scope, such as for teams and projects | | -| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | - -### Return type - -[**V1alpha3ResourceClaim**](V1alpha3ResourceClaim.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | OK | - | -| **401** | Unauthorized | - | - - -# **readNamespacedResourceClaimStatus** -> V1alpha3ResourceClaim readNamespacedResourceClaimStatus(name, namespace).pretty(pretty).execute(); - - - -read status of the specified ResourceClaim - -### Example -```java -// Import classes: -import io.kubernetes.client.openapi.ApiClient; -import io.kubernetes.client.openapi.ApiException; -import io.kubernetes.client.openapi.Configuration; -import io.kubernetes.client.openapi.auth.*; -import io.kubernetes.client.openapi.models.*; -import io.kubernetes.client.openapi.apis.ResourceV1alpha3Api; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/"); - - // Configure API key authorization: BearerToken - ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); - BearerToken.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //BearerToken.setApiKeyPrefix("Token"); - - ResourceV1alpha3Api apiInstance = new ResourceV1alpha3Api(defaultClient); - String name = "name_example"; // String | name of the ResourceClaim - String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects - String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - try { - V1alpha3ResourceClaim result = apiInstance.readNamespacedResourceClaimStatus(name, namespace) - .pretty(pretty) - .execute(); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ResourceV1alpha3Api#readNamespacedResourceClaimStatus"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **name** | **String**| name of the ResourceClaim | | -| **namespace** | **String**| object name and auth scope, such as for teams and projects | | -| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | - -### Return type - -[**V1alpha3ResourceClaim**](V1alpha3ResourceClaim.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | OK | - | -| **401** | Unauthorized | - | - - -# **readNamespacedResourceClaimTemplate** -> V1alpha3ResourceClaimTemplate readNamespacedResourceClaimTemplate(name, namespace).pretty(pretty).execute(); + +# **createDeviceTaintRule** +> V1alpha3DeviceTaintRule createDeviceTaintRule(body).pretty(pretty).dryRun(dryRun).fieldManager(fieldManager).fieldValidation(fieldValidation).execute(); -read the specified ResourceClaimTemplate +create a DeviceTaintRule ### Example ```java @@ -3174,16 +44,21 @@ public class Example { //BearerToken.setApiKeyPrefix("Token"); ResourceV1alpha3Api apiInstance = new ResourceV1alpha3Api(defaultClient); - String name = "name_example"; // String | name of the ResourceClaimTemplate - String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects + V1alpha3DeviceTaintRule body = new V1alpha3DeviceTaintRule(); // V1alpha3DeviceTaintRule | String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + String fieldManager = "fieldManager_example"; // String | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + String fieldValidation = "fieldValidation_example"; // String | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. try { - V1alpha3ResourceClaimTemplate result = apiInstance.readNamespacedResourceClaimTemplate(name, namespace) + V1alpha3DeviceTaintRule result = apiInstance.createDeviceTaintRule(body) .pretty(pretty) + .dryRun(dryRun) + .fieldManager(fieldManager) + .fieldValidation(fieldValidation) .execute(); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling ResourceV1alpha3Api#readNamespacedResourceClaimTemplate"); + System.err.println("Exception when calling ResourceV1alpha3Api#createDeviceTaintRule"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -3197,13 +72,15 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **name** | **String**| name of the ResourceClaimTemplate | | -| **namespace** | **String**| object name and auth scope, such as for teams and projects | | +| **body** | [**V1alpha3DeviceTaintRule**](V1alpha3DeviceTaintRule.md)| | | | **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | +| **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | +| **fieldManager** | **String**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] | +| **fieldValidation** | **String**| fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] | ### Return type -[**V1alpha3ResourceClaimTemplate**](V1alpha3ResourceClaimTemplate.md) +[**V1alpha3DeviceTaintRule**](V1alpha3DeviceTaintRule.md) ### Authorization @@ -3211,22 +88,24 @@ public class Example { ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| | **200** | OK | - | +| **201** | Created | - | +| **202** | Accepted | - | | **401** | Unauthorized | - | - -# **readResourceSlice** -> V1alpha3ResourceSlice readResourceSlice(name).pretty(pretty).execute(); + +# **deleteCollectionDeviceTaintRule** +> V1Status deleteCollectionDeviceTaintRule().pretty(pretty)._continue(_continue).dryRun(dryRun).fieldSelector(fieldSelector).gracePeriodSeconds(gracePeriodSeconds).ignoreStoreReadErrorWithClusterBreakingPotential(ignoreStoreReadErrorWithClusterBreakingPotential).labelSelector(labelSelector).limit(limit).orphanDependents(orphanDependents).propagationPolicy(propagationPolicy).resourceVersion(resourceVersion).resourceVersionMatch(resourceVersionMatch).sendInitialEvents(sendInitialEvents).timeoutSeconds(timeoutSeconds).body(body).execute(); -read the specified ResourceSlice +delete collection of DeviceTaintRule ### Example ```java @@ -3250,15 +129,42 @@ public class Example { //BearerToken.setApiKeyPrefix("Token"); ResourceV1alpha3Api apiInstance = new ResourceV1alpha3Api(defaultClient); - String name = "name_example"; // String | name of the ResourceSlice String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. + Integer gracePeriodSeconds = 56; // Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + Boolean ignoreStoreReadErrorWithClusterBreakingPotential = true; // Boolean | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. + Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + Boolean orphanDependents = true; // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + String propagationPolicy = "propagationPolicy_example"; // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + String resourceVersion = "resourceVersion_example"; // String | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + String resourceVersionMatch = "resourceVersionMatch_example"; // String | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + Boolean sendInitialEvents = true; // Boolean | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + V1DeleteOptions body = new V1DeleteOptions(); // V1DeleteOptions | try { - V1alpha3ResourceSlice result = apiInstance.readResourceSlice(name) + V1Status result = apiInstance.deleteCollectionDeviceTaintRule() .pretty(pretty) + ._continue(_continue) + .dryRun(dryRun) + .fieldSelector(fieldSelector) + .gracePeriodSeconds(gracePeriodSeconds) + .ignoreStoreReadErrorWithClusterBreakingPotential(ignoreStoreReadErrorWithClusterBreakingPotential) + .labelSelector(labelSelector) + .limit(limit) + .orphanDependents(orphanDependents) + .propagationPolicy(propagationPolicy) + .resourceVersion(resourceVersion) + .resourceVersionMatch(resourceVersionMatch) + .sendInitialEvents(sendInitialEvents) + .timeoutSeconds(timeoutSeconds) + .body(body) .execute(); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling ResourceV1alpha3Api#readResourceSlice"); + System.err.println("Exception when calling ResourceV1alpha3Api#deleteCollectionDeviceTaintRule"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -3272,12 +178,25 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **name** | **String**| name of the ResourceSlice | | | **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | +| **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] | +| **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | +| **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] | +| **gracePeriodSeconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] | +| **ignoreStoreReadErrorWithClusterBreakingPotential** | **Boolean**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] | +| **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] | +| **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] | +| **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] | +| **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] | +| **resourceVersion** | **String**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] | +| **resourceVersionMatch** | **String**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] | +| **sendInitialEvents** | **Boolean**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] | +| **timeoutSeconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] | +| **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] | ### Return type -[**V1alpha3ResourceSlice**](V1alpha3ResourceSlice.md) +[**V1Status**](V1Status.md) ### Authorization @@ -3285,7 +204,7 @@ public class Example { ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -3294,13 +213,13 @@ public class Example { | **200** | OK | - | | **401** | Unauthorized | - | - -# **replaceDeviceClass** -> V1alpha3DeviceClass replaceDeviceClass(name, body).pretty(pretty).dryRun(dryRun).fieldManager(fieldManager).fieldValidation(fieldValidation).execute(); + +# **deleteDeviceTaintRule** +> V1alpha3DeviceTaintRule deleteDeviceTaintRule(name).pretty(pretty).dryRun(dryRun).gracePeriodSeconds(gracePeriodSeconds).ignoreStoreReadErrorWithClusterBreakingPotential(ignoreStoreReadErrorWithClusterBreakingPotential).orphanDependents(orphanDependents).propagationPolicy(propagationPolicy).body(body).execute(); -replace the specified DeviceClass +delete a DeviceTaintRule ### Example ```java @@ -3324,22 +243,27 @@ public class Example { //BearerToken.setApiKeyPrefix("Token"); ResourceV1alpha3Api apiInstance = new ResourceV1alpha3Api(defaultClient); - String name = "name_example"; // String | name of the DeviceClass - V1alpha3DeviceClass body = new V1alpha3DeviceClass(); // V1alpha3DeviceClass | + String name = "name_example"; // String | name of the DeviceTaintRule String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - String fieldManager = "fieldManager_example"; // String | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - String fieldValidation = "fieldValidation_example"; // String | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + Integer gracePeriodSeconds = 56; // Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + Boolean ignoreStoreReadErrorWithClusterBreakingPotential = true; // Boolean | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + Boolean orphanDependents = true; // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + String propagationPolicy = "propagationPolicy_example"; // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + V1DeleteOptions body = new V1DeleteOptions(); // V1DeleteOptions | try { - V1alpha3DeviceClass result = apiInstance.replaceDeviceClass(name, body) + V1alpha3DeviceTaintRule result = apiInstance.deleteDeviceTaintRule(name) .pretty(pretty) .dryRun(dryRun) - .fieldManager(fieldManager) - .fieldValidation(fieldValidation) + .gracePeriodSeconds(gracePeriodSeconds) + .ignoreStoreReadErrorWithClusterBreakingPotential(ignoreStoreReadErrorWithClusterBreakingPotential) + .orphanDependents(orphanDependents) + .propagationPolicy(propagationPolicy) + .body(body) .execute(); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling ResourceV1alpha3Api#replaceDeviceClass"); + System.err.println("Exception when calling ResourceV1alpha3Api#deleteDeviceTaintRule"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -3353,16 +277,18 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **name** | **String**| name of the DeviceClass | | -| **body** | [**V1alpha3DeviceClass**](V1alpha3DeviceClass.md)| | | +| **name** | **String**| name of the DeviceTaintRule | | | **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | | **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | -| **fieldManager** | **String**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] | -| **fieldValidation** | **String**| fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] | +| **gracePeriodSeconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] | +| **ignoreStoreReadErrorWithClusterBreakingPotential** | **Boolean**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] | +| **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] | +| **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] | +| **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] | ### Return type -[**V1alpha3DeviceClass**](V1alpha3DeviceClass.md) +[**V1alpha3DeviceTaintRule**](V1alpha3DeviceTaintRule.md) ### Authorization @@ -3377,16 +303,16 @@ public class Example { | Status code | Description | Response headers | |-------------|-------------|------------------| | **200** | OK | - | -| **201** | Created | - | +| **202** | Accepted | - | | **401** | Unauthorized | - | - -# **replaceDeviceTaintRule** -> V1alpha3DeviceTaintRule replaceDeviceTaintRule(name, body).pretty(pretty).dryRun(dryRun).fieldManager(fieldManager).fieldValidation(fieldValidation).execute(); + +# **getAPIResources** +> V1APIResourceList getAPIResources().execute(); -replace the specified DeviceTaintRule +get available resources ### Example ```java @@ -3410,22 +336,12 @@ public class Example { //BearerToken.setApiKeyPrefix("Token"); ResourceV1alpha3Api apiInstance = new ResourceV1alpha3Api(defaultClient); - String name = "name_example"; // String | name of the DeviceTaintRule - V1alpha3DeviceTaintRule body = new V1alpha3DeviceTaintRule(); // V1alpha3DeviceTaintRule | - String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - String fieldManager = "fieldManager_example"; // String | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - String fieldValidation = "fieldValidation_example"; // String | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. try { - V1alpha3DeviceTaintRule result = apiInstance.replaceDeviceTaintRule(name, body) - .pretty(pretty) - .dryRun(dryRun) - .fieldManager(fieldManager) - .fieldValidation(fieldValidation) + V1APIResourceList result = apiInstance.getAPIResources() .execute(); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling ResourceV1alpha3Api#replaceDeviceTaintRule"); + System.err.println("Exception when calling ResourceV1alpha3Api#getAPIResources"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -3436,19 +352,11 @@ public class Example { ``` ### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **name** | **String**| name of the DeviceTaintRule | | -| **body** | [**V1alpha3DeviceTaintRule**](V1alpha3DeviceTaintRule.md)| | | -| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | -| **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | -| **fieldManager** | **String**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] | -| **fieldValidation** | **String**| fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] | +This endpoint does not need any parameter. ### Return type -[**V1alpha3DeviceTaintRule**](V1alpha3DeviceTaintRule.md) +[**V1APIResourceList**](V1APIResourceList.md) ### Authorization @@ -3456,23 +364,22 @@ public class Example { ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| | **200** | OK | - | -| **201** | Created | - | | **401** | Unauthorized | - | - -# **replaceNamespacedResourceClaim** -> V1alpha3ResourceClaim replaceNamespacedResourceClaim(name, namespace, body).pretty(pretty).dryRun(dryRun).fieldManager(fieldManager).fieldValidation(fieldValidation).execute(); + +# **listDeviceTaintRule** +> V1alpha3DeviceTaintRuleList listDeviceTaintRule().pretty(pretty).allowWatchBookmarks(allowWatchBookmarks)._continue(_continue).fieldSelector(fieldSelector).labelSelector(labelSelector).limit(limit).resourceVersion(resourceVersion).resourceVersionMatch(resourceVersionMatch).sendInitialEvents(sendInitialEvents).timeoutSeconds(timeoutSeconds).watch(watch).execute(); -replace the specified ResourceClaim +list or watch objects of kind DeviceTaintRule ### Example ```java @@ -3496,23 +403,34 @@ public class Example { //BearerToken.setApiKeyPrefix("Token"); ResourceV1alpha3Api apiInstance = new ResourceV1alpha3Api(defaultClient); - String name = "name_example"; // String | name of the ResourceClaim - String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects - V1alpha3ResourceClaim body = new V1alpha3ResourceClaim(); // V1alpha3ResourceClaim | String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - String fieldManager = "fieldManager_example"; // String | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - String fieldValidation = "fieldValidation_example"; // String | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + Boolean allowWatchBookmarks = true; // Boolean | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. + String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. + Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + String resourceVersion = "resourceVersion_example"; // String | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + String resourceVersionMatch = "resourceVersionMatch_example"; // String | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + Boolean sendInitialEvents = true; // Boolean | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1alpha3ResourceClaim result = apiInstance.replaceNamespacedResourceClaim(name, namespace, body) + V1alpha3DeviceTaintRuleList result = apiInstance.listDeviceTaintRule() .pretty(pretty) - .dryRun(dryRun) - .fieldManager(fieldManager) - .fieldValidation(fieldValidation) + .allowWatchBookmarks(allowWatchBookmarks) + ._continue(_continue) + .fieldSelector(fieldSelector) + .labelSelector(labelSelector) + .limit(limit) + .resourceVersion(resourceVersion) + .resourceVersionMatch(resourceVersionMatch) + .sendInitialEvents(sendInitialEvents) + .timeoutSeconds(timeoutSeconds) + .watch(watch) .execute(); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling ResourceV1alpha3Api#replaceNamespacedResourceClaim"); + System.err.println("Exception when calling ResourceV1alpha3Api#listDeviceTaintRule"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -3526,17 +444,21 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **name** | **String**| name of the ResourceClaim | | -| **namespace** | **String**| object name and auth scope, such as for teams and projects | | -| **body** | [**V1alpha3ResourceClaim**](V1alpha3ResourceClaim.md)| | | | **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | -| **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | -| **fieldManager** | **String**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] | -| **fieldValidation** | **String**| fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] | +| **allowWatchBookmarks** | **Boolean**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] | +| **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] | +| **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] | +| **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] | +| **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] | +| **resourceVersion** | **String**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] | +| **resourceVersionMatch** | **String**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] | +| **sendInitialEvents** | **Boolean**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] | +| **timeoutSeconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] | +| **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] | ### Return type -[**V1alpha3ResourceClaim**](V1alpha3ResourceClaim.md) +[**V1alpha3DeviceTaintRuleList**](V1alpha3DeviceTaintRuleList.md) ### Authorization @@ -3544,23 +466,22 @@ public class Example { ### HTTP request headers - - **Content-Type**: application/json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| | **200** | OK | - | -| **201** | Created | - | | **401** | Unauthorized | - | - -# **replaceNamespacedResourceClaimStatus** -> V1alpha3ResourceClaim replaceNamespacedResourceClaimStatus(name, namespace, body).pretty(pretty).dryRun(dryRun).fieldManager(fieldManager).fieldValidation(fieldValidation).execute(); + +# **patchDeviceTaintRule** +> V1alpha3DeviceTaintRule patchDeviceTaintRule(name, body).pretty(pretty).dryRun(dryRun).fieldManager(fieldManager).fieldValidation(fieldValidation).force(force).execute(); -replace status of the specified ResourceClaim +partially update the specified DeviceTaintRule ### Example ```java @@ -3584,23 +505,24 @@ public class Example { //BearerToken.setApiKeyPrefix("Token"); ResourceV1alpha3Api apiInstance = new ResourceV1alpha3Api(defaultClient); - String name = "name_example"; // String | name of the ResourceClaim - String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects - V1alpha3ResourceClaim body = new V1alpha3ResourceClaim(); // V1alpha3ResourceClaim | + String name = "name_example"; // String | name of the DeviceTaintRule + V1Patch body = new V1Patch(); // V1Patch | String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - String fieldManager = "fieldManager_example"; // String | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + String fieldManager = "fieldManager_example"; // String | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). String fieldValidation = "fieldValidation_example"; // String | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + Boolean force = true; // Boolean | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. try { - V1alpha3ResourceClaim result = apiInstance.replaceNamespacedResourceClaimStatus(name, namespace, body) + V1alpha3DeviceTaintRule result = apiInstance.patchDeviceTaintRule(name, body) .pretty(pretty) .dryRun(dryRun) .fieldManager(fieldManager) .fieldValidation(fieldValidation) + .force(force) .execute(); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling ResourceV1alpha3Api#replaceNamespacedResourceClaimStatus"); + System.err.println("Exception when calling ResourceV1alpha3Api#patchDeviceTaintRule"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -3614,17 +536,17 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **name** | **String**| name of the ResourceClaim | | -| **namespace** | **String**| object name and auth scope, such as for teams and projects | | -| **body** | [**V1alpha3ResourceClaim**](V1alpha3ResourceClaim.md)| | | +| **name** | **String**| name of the DeviceTaintRule | | +| **body** | **V1Patch**| | | | **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | | **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | -| **fieldManager** | **String**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] | +| **fieldManager** | **String**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] | | **fieldValidation** | **String**| fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] | +| **force** | **Boolean**| Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] | ### Return type -[**V1alpha3ResourceClaim**](V1alpha3ResourceClaim.md) +[**V1alpha3DeviceTaintRule**](V1alpha3DeviceTaintRule.md) ### Authorization @@ -3642,13 +564,13 @@ public class Example { | **201** | Created | - | | **401** | Unauthorized | - | - -# **replaceNamespacedResourceClaimTemplate** -> V1alpha3ResourceClaimTemplate replaceNamespacedResourceClaimTemplate(name, namespace, body).pretty(pretty).dryRun(dryRun).fieldManager(fieldManager).fieldValidation(fieldValidation).execute(); + +# **readDeviceTaintRule** +> V1alpha3DeviceTaintRule readDeviceTaintRule(name).pretty(pretty).execute(); -replace the specified ResourceClaimTemplate +read the specified DeviceTaintRule ### Example ```java @@ -3672,23 +594,15 @@ public class Example { //BearerToken.setApiKeyPrefix("Token"); ResourceV1alpha3Api apiInstance = new ResourceV1alpha3Api(defaultClient); - String name = "name_example"; // String | name of the ResourceClaimTemplate - String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects - V1alpha3ResourceClaimTemplate body = new V1alpha3ResourceClaimTemplate(); // V1alpha3ResourceClaimTemplate | + String name = "name_example"; // String | name of the DeviceTaintRule String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - String fieldManager = "fieldManager_example"; // String | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - String fieldValidation = "fieldValidation_example"; // String | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. try { - V1alpha3ResourceClaimTemplate result = apiInstance.replaceNamespacedResourceClaimTemplate(name, namespace, body) + V1alpha3DeviceTaintRule result = apiInstance.readDeviceTaintRule(name) .pretty(pretty) - .dryRun(dryRun) - .fieldManager(fieldManager) - .fieldValidation(fieldValidation) .execute(); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling ResourceV1alpha3Api#replaceNamespacedResourceClaimTemplate"); + System.err.println("Exception when calling ResourceV1alpha3Api#readDeviceTaintRule"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -3702,17 +616,12 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **name** | **String**| name of the ResourceClaimTemplate | | -| **namespace** | **String**| object name and auth scope, such as for teams and projects | | -| **body** | [**V1alpha3ResourceClaimTemplate**](V1alpha3ResourceClaimTemplate.md)| | | +| **name** | **String**| name of the DeviceTaintRule | | | **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | -| **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | -| **fieldManager** | **String**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] | -| **fieldValidation** | **String**| fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] | ### Return type -[**V1alpha3ResourceClaimTemplate**](V1alpha3ResourceClaimTemplate.md) +[**V1alpha3DeviceTaintRule**](V1alpha3DeviceTaintRule.md) ### Authorization @@ -3720,23 +629,22 @@ public class Example { ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| | **200** | OK | - | -| **201** | Created | - | | **401** | Unauthorized | - | - -# **replaceResourceSlice** -> V1alpha3ResourceSlice replaceResourceSlice(name, body).pretty(pretty).dryRun(dryRun).fieldManager(fieldManager).fieldValidation(fieldValidation).execute(); + +# **replaceDeviceTaintRule** +> V1alpha3DeviceTaintRule replaceDeviceTaintRule(name, body).pretty(pretty).dryRun(dryRun).fieldManager(fieldManager).fieldValidation(fieldValidation).execute(); -replace the specified ResourceSlice +replace the specified DeviceTaintRule ### Example ```java @@ -3760,14 +668,14 @@ public class Example { //BearerToken.setApiKeyPrefix("Token"); ResourceV1alpha3Api apiInstance = new ResourceV1alpha3Api(defaultClient); - String name = "name_example"; // String | name of the ResourceSlice - V1alpha3ResourceSlice body = new V1alpha3ResourceSlice(); // V1alpha3ResourceSlice | + String name = "name_example"; // String | name of the DeviceTaintRule + V1alpha3DeviceTaintRule body = new V1alpha3DeviceTaintRule(); // V1alpha3DeviceTaintRule | String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed String fieldManager = "fieldManager_example"; // String | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. String fieldValidation = "fieldValidation_example"; // String | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. try { - V1alpha3ResourceSlice result = apiInstance.replaceResourceSlice(name, body) + V1alpha3DeviceTaintRule result = apiInstance.replaceDeviceTaintRule(name, body) .pretty(pretty) .dryRun(dryRun) .fieldManager(fieldManager) @@ -3775,7 +683,7 @@ public class Example { .execute(); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling ResourceV1alpha3Api#replaceResourceSlice"); + System.err.println("Exception when calling ResourceV1alpha3Api#replaceDeviceTaintRule"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -3789,8 +697,8 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **name** | **String**| name of the ResourceSlice | | -| **body** | [**V1alpha3ResourceSlice**](V1alpha3ResourceSlice.md)| | | +| **name** | **String**| name of the DeviceTaintRule | | +| **body** | [**V1alpha3DeviceTaintRule**](V1alpha3DeviceTaintRule.md)| | | | **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | | **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | | **fieldManager** | **String**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] | @@ -3798,7 +706,7 @@ public class Example { ### Return type -[**V1alpha3ResourceSlice**](V1alpha3ResourceSlice.md) +[**V1alpha3DeviceTaintRule**](V1alpha3DeviceTaintRule.md) ### Authorization diff --git a/kubernetes/docs/StorageV1Api.md b/kubernetes/docs/StorageV1Api.md index ed4fc0a54a..f193345630 100644 --- a/kubernetes/docs/StorageV1Api.md +++ b/kubernetes/docs/StorageV1Api.md @@ -9,6 +9,7 @@ All URIs are relative to *http://localhost* | [**createNamespacedCSIStorageCapacity**](StorageV1Api.md#createNamespacedCSIStorageCapacity) | **POST** /apis/storage.k8s.io/v1/namespaces/{namespace}/csistoragecapacities | | | [**createStorageClass**](StorageV1Api.md#createStorageClass) | **POST** /apis/storage.k8s.io/v1/storageclasses | | | [**createVolumeAttachment**](StorageV1Api.md#createVolumeAttachment) | **POST** /apis/storage.k8s.io/v1/volumeattachments | | +| [**createVolumeAttributesClass**](StorageV1Api.md#createVolumeAttributesClass) | **POST** /apis/storage.k8s.io/v1/volumeattributesclasses | | | [**deleteCSIDriver**](StorageV1Api.md#deleteCSIDriver) | **DELETE** /apis/storage.k8s.io/v1/csidrivers/{name} | | | [**deleteCSINode**](StorageV1Api.md#deleteCSINode) | **DELETE** /apis/storage.k8s.io/v1/csinodes/{name} | | | [**deleteCollectionCSIDriver**](StorageV1Api.md#deleteCollectionCSIDriver) | **DELETE** /apis/storage.k8s.io/v1/csidrivers | | @@ -16,9 +17,11 @@ All URIs are relative to *http://localhost* | [**deleteCollectionNamespacedCSIStorageCapacity**](StorageV1Api.md#deleteCollectionNamespacedCSIStorageCapacity) | **DELETE** /apis/storage.k8s.io/v1/namespaces/{namespace}/csistoragecapacities | | | [**deleteCollectionStorageClass**](StorageV1Api.md#deleteCollectionStorageClass) | **DELETE** /apis/storage.k8s.io/v1/storageclasses | | | [**deleteCollectionVolumeAttachment**](StorageV1Api.md#deleteCollectionVolumeAttachment) | **DELETE** /apis/storage.k8s.io/v1/volumeattachments | | +| [**deleteCollectionVolumeAttributesClass**](StorageV1Api.md#deleteCollectionVolumeAttributesClass) | **DELETE** /apis/storage.k8s.io/v1/volumeattributesclasses | | | [**deleteNamespacedCSIStorageCapacity**](StorageV1Api.md#deleteNamespacedCSIStorageCapacity) | **DELETE** /apis/storage.k8s.io/v1/namespaces/{namespace}/csistoragecapacities/{name} | | | [**deleteStorageClass**](StorageV1Api.md#deleteStorageClass) | **DELETE** /apis/storage.k8s.io/v1/storageclasses/{name} | | | [**deleteVolumeAttachment**](StorageV1Api.md#deleteVolumeAttachment) | **DELETE** /apis/storage.k8s.io/v1/volumeattachments/{name} | | +| [**deleteVolumeAttributesClass**](StorageV1Api.md#deleteVolumeAttributesClass) | **DELETE** /apis/storage.k8s.io/v1/volumeattributesclasses/{name} | | | [**getAPIResources**](StorageV1Api.md#getAPIResources) | **GET** /apis/storage.k8s.io/v1/ | | | [**listCSIDriver**](StorageV1Api.md#listCSIDriver) | **GET** /apis/storage.k8s.io/v1/csidrivers | | | [**listCSINode**](StorageV1Api.md#listCSINode) | **GET** /apis/storage.k8s.io/v1/csinodes | | @@ -26,24 +29,28 @@ All URIs are relative to *http://localhost* | [**listNamespacedCSIStorageCapacity**](StorageV1Api.md#listNamespacedCSIStorageCapacity) | **GET** /apis/storage.k8s.io/v1/namespaces/{namespace}/csistoragecapacities | | | [**listStorageClass**](StorageV1Api.md#listStorageClass) | **GET** /apis/storage.k8s.io/v1/storageclasses | | | [**listVolumeAttachment**](StorageV1Api.md#listVolumeAttachment) | **GET** /apis/storage.k8s.io/v1/volumeattachments | | +| [**listVolumeAttributesClass**](StorageV1Api.md#listVolumeAttributesClass) | **GET** /apis/storage.k8s.io/v1/volumeattributesclasses | | | [**patchCSIDriver**](StorageV1Api.md#patchCSIDriver) | **PATCH** /apis/storage.k8s.io/v1/csidrivers/{name} | | | [**patchCSINode**](StorageV1Api.md#patchCSINode) | **PATCH** /apis/storage.k8s.io/v1/csinodes/{name} | | | [**patchNamespacedCSIStorageCapacity**](StorageV1Api.md#patchNamespacedCSIStorageCapacity) | **PATCH** /apis/storage.k8s.io/v1/namespaces/{namespace}/csistoragecapacities/{name} | | | [**patchStorageClass**](StorageV1Api.md#patchStorageClass) | **PATCH** /apis/storage.k8s.io/v1/storageclasses/{name} | | | [**patchVolumeAttachment**](StorageV1Api.md#patchVolumeAttachment) | **PATCH** /apis/storage.k8s.io/v1/volumeattachments/{name} | | | [**patchVolumeAttachmentStatus**](StorageV1Api.md#patchVolumeAttachmentStatus) | **PATCH** /apis/storage.k8s.io/v1/volumeattachments/{name}/status | | +| [**patchVolumeAttributesClass**](StorageV1Api.md#patchVolumeAttributesClass) | **PATCH** /apis/storage.k8s.io/v1/volumeattributesclasses/{name} | | | [**readCSIDriver**](StorageV1Api.md#readCSIDriver) | **GET** /apis/storage.k8s.io/v1/csidrivers/{name} | | | [**readCSINode**](StorageV1Api.md#readCSINode) | **GET** /apis/storage.k8s.io/v1/csinodes/{name} | | | [**readNamespacedCSIStorageCapacity**](StorageV1Api.md#readNamespacedCSIStorageCapacity) | **GET** /apis/storage.k8s.io/v1/namespaces/{namespace}/csistoragecapacities/{name} | | | [**readStorageClass**](StorageV1Api.md#readStorageClass) | **GET** /apis/storage.k8s.io/v1/storageclasses/{name} | | | [**readVolumeAttachment**](StorageV1Api.md#readVolumeAttachment) | **GET** /apis/storage.k8s.io/v1/volumeattachments/{name} | | | [**readVolumeAttachmentStatus**](StorageV1Api.md#readVolumeAttachmentStatus) | **GET** /apis/storage.k8s.io/v1/volumeattachments/{name}/status | | +| [**readVolumeAttributesClass**](StorageV1Api.md#readVolumeAttributesClass) | **GET** /apis/storage.k8s.io/v1/volumeattributesclasses/{name} | | | [**replaceCSIDriver**](StorageV1Api.md#replaceCSIDriver) | **PUT** /apis/storage.k8s.io/v1/csidrivers/{name} | | | [**replaceCSINode**](StorageV1Api.md#replaceCSINode) | **PUT** /apis/storage.k8s.io/v1/csinodes/{name} | | | [**replaceNamespacedCSIStorageCapacity**](StorageV1Api.md#replaceNamespacedCSIStorageCapacity) | **PUT** /apis/storage.k8s.io/v1/namespaces/{namespace}/csistoragecapacities/{name} | | | [**replaceStorageClass**](StorageV1Api.md#replaceStorageClass) | **PUT** /apis/storage.k8s.io/v1/storageclasses/{name} | | | [**replaceVolumeAttachment**](StorageV1Api.md#replaceVolumeAttachment) | **PUT** /apis/storage.k8s.io/v1/volumeattachments/{name} | | | [**replaceVolumeAttachmentStatus**](StorageV1Api.md#replaceVolumeAttachmentStatus) | **PUT** /apis/storage.k8s.io/v1/volumeattachments/{name}/status | | +| [**replaceVolumeAttributesClass**](StorageV1Api.md#replaceVolumeAttributesClass) | **PUT** /apis/storage.k8s.io/v1/volumeattributesclasses/{name} | | @@ -473,6 +480,91 @@ public class Example { | **202** | Accepted | - | | **401** | Unauthorized | - | + +# **createVolumeAttributesClass** +> V1VolumeAttributesClass createVolumeAttributesClass(body).pretty(pretty).dryRun(dryRun).fieldManager(fieldManager).fieldValidation(fieldValidation).execute(); + + + +create a VolumeAttributesClass + +### Example +```java +// Import classes: +import io.kubernetes.client.openapi.ApiClient; +import io.kubernetes.client.openapi.ApiException; +import io.kubernetes.client.openapi.Configuration; +import io.kubernetes.client.openapi.auth.*; +import io.kubernetes.client.openapi.models.*; +import io.kubernetes.client.openapi.apis.StorageV1Api; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost/"); + + // Configure API key authorization: BearerToken + ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); + BearerToken.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //BearerToken.setApiKeyPrefix("Token"); + + StorageV1Api apiInstance = new StorageV1Api(defaultClient); + V1VolumeAttributesClass body = new V1VolumeAttributesClass(); // V1VolumeAttributesClass | + String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + String fieldManager = "fieldManager_example"; // String | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + String fieldValidation = "fieldValidation_example"; // String | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + try { + V1VolumeAttributesClass result = apiInstance.createVolumeAttributesClass(body) + .pretty(pretty) + .dryRun(dryRun) + .fieldManager(fieldManager) + .fieldValidation(fieldValidation) + .execute(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling StorageV1Api#createVolumeAttributesClass"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **body** | [**V1VolumeAttributesClass**](V1VolumeAttributesClass.md)| | | +| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | +| **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | +| **fieldManager** | **String**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] | +| **fieldValidation** | **String**| fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] | + +### Return type + +[**V1VolumeAttributesClass**](V1VolumeAttributesClass.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | +| **201** | Created | - | +| **202** | Accepted | - | +| **401** | Unauthorized | - | + # **deleteCSIDriver** > V1CSIDriver deleteCSIDriver(name).pretty(pretty).dryRun(dryRun).gracePeriodSeconds(gracePeriodSeconds).ignoreStoreReadErrorWithClusterBreakingPotential(ignoreStoreReadErrorWithClusterBreakingPotential).orphanDependents(orphanDependents).propagationPolicy(propagationPolicy).body(body).execute(); @@ -1231,6 +1323,120 @@ public class Example { | **200** | OK | - | | **401** | Unauthorized | - | + +# **deleteCollectionVolumeAttributesClass** +> V1Status deleteCollectionVolumeAttributesClass().pretty(pretty)._continue(_continue).dryRun(dryRun).fieldSelector(fieldSelector).gracePeriodSeconds(gracePeriodSeconds).ignoreStoreReadErrorWithClusterBreakingPotential(ignoreStoreReadErrorWithClusterBreakingPotential).labelSelector(labelSelector).limit(limit).orphanDependents(orphanDependents).propagationPolicy(propagationPolicy).resourceVersion(resourceVersion).resourceVersionMatch(resourceVersionMatch).sendInitialEvents(sendInitialEvents).timeoutSeconds(timeoutSeconds).body(body).execute(); + + + +delete collection of VolumeAttributesClass + +### Example +```java +// Import classes: +import io.kubernetes.client.openapi.ApiClient; +import io.kubernetes.client.openapi.ApiException; +import io.kubernetes.client.openapi.Configuration; +import io.kubernetes.client.openapi.auth.*; +import io.kubernetes.client.openapi.models.*; +import io.kubernetes.client.openapi.apis.StorageV1Api; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost/"); + + // Configure API key authorization: BearerToken + ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); + BearerToken.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //BearerToken.setApiKeyPrefix("Token"); + + StorageV1Api apiInstance = new StorageV1Api(defaultClient); + String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. + Integer gracePeriodSeconds = 56; // Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + Boolean ignoreStoreReadErrorWithClusterBreakingPotential = true; // Boolean | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. + Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + Boolean orphanDependents = true; // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + String propagationPolicy = "propagationPolicy_example"; // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + String resourceVersion = "resourceVersion_example"; // String | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + String resourceVersionMatch = "resourceVersionMatch_example"; // String | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + Boolean sendInitialEvents = true; // Boolean | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + V1DeleteOptions body = new V1DeleteOptions(); // V1DeleteOptions | + try { + V1Status result = apiInstance.deleteCollectionVolumeAttributesClass() + .pretty(pretty) + ._continue(_continue) + .dryRun(dryRun) + .fieldSelector(fieldSelector) + .gracePeriodSeconds(gracePeriodSeconds) + .ignoreStoreReadErrorWithClusterBreakingPotential(ignoreStoreReadErrorWithClusterBreakingPotential) + .labelSelector(labelSelector) + .limit(limit) + .orphanDependents(orphanDependents) + .propagationPolicy(propagationPolicy) + .resourceVersion(resourceVersion) + .resourceVersionMatch(resourceVersionMatch) + .sendInitialEvents(sendInitialEvents) + .timeoutSeconds(timeoutSeconds) + .body(body) + .execute(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling StorageV1Api#deleteCollectionVolumeAttributesClass"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | +| **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] | +| **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | +| **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] | +| **gracePeriodSeconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] | +| **ignoreStoreReadErrorWithClusterBreakingPotential** | **Boolean**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] | +| **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] | +| **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] | +| **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] | +| **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] | +| **resourceVersion** | **String**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] | +| **resourceVersionMatch** | **String**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] | +| **sendInitialEvents** | **Boolean**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] | +| **timeoutSeconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] | +| **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] | + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | +| **401** | Unauthorized | - | + # **deleteNamespacedCSIStorageCapacity** > V1Status deleteNamespacedCSIStorageCapacity(name, namespace).pretty(pretty).dryRun(dryRun).gracePeriodSeconds(gracePeriodSeconds).ignoreStoreReadErrorWithClusterBreakingPotential(ignoreStoreReadErrorWithClusterBreakingPotential).orphanDependents(orphanDependents).propagationPolicy(propagationPolicy).body(body).execute(); @@ -1512,6 +1718,99 @@ public class Example { | **202** | Accepted | - | | **401** | Unauthorized | - | + +# **deleteVolumeAttributesClass** +> V1VolumeAttributesClass deleteVolumeAttributesClass(name).pretty(pretty).dryRun(dryRun).gracePeriodSeconds(gracePeriodSeconds).ignoreStoreReadErrorWithClusterBreakingPotential(ignoreStoreReadErrorWithClusterBreakingPotential).orphanDependents(orphanDependents).propagationPolicy(propagationPolicy).body(body).execute(); + + + +delete a VolumeAttributesClass + +### Example +```java +// Import classes: +import io.kubernetes.client.openapi.ApiClient; +import io.kubernetes.client.openapi.ApiException; +import io.kubernetes.client.openapi.Configuration; +import io.kubernetes.client.openapi.auth.*; +import io.kubernetes.client.openapi.models.*; +import io.kubernetes.client.openapi.apis.StorageV1Api; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost/"); + + // Configure API key authorization: BearerToken + ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); + BearerToken.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //BearerToken.setApiKeyPrefix("Token"); + + StorageV1Api apiInstance = new StorageV1Api(defaultClient); + String name = "name_example"; // String | name of the VolumeAttributesClass + String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + Integer gracePeriodSeconds = 56; // Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + Boolean ignoreStoreReadErrorWithClusterBreakingPotential = true; // Boolean | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + Boolean orphanDependents = true; // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + String propagationPolicy = "propagationPolicy_example"; // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + V1DeleteOptions body = new V1DeleteOptions(); // V1DeleteOptions | + try { + V1VolumeAttributesClass result = apiInstance.deleteVolumeAttributesClass(name) + .pretty(pretty) + .dryRun(dryRun) + .gracePeriodSeconds(gracePeriodSeconds) + .ignoreStoreReadErrorWithClusterBreakingPotential(ignoreStoreReadErrorWithClusterBreakingPotential) + .orphanDependents(orphanDependents) + .propagationPolicy(propagationPolicy) + .body(body) + .execute(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling StorageV1Api#deleteVolumeAttributesClass"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **name** | **String**| name of the VolumeAttributesClass | | +| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | +| **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | +| **gracePeriodSeconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] | +| **ignoreStoreReadErrorWithClusterBreakingPotential** | **Boolean**| if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | [optional] | +| **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] | +| **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] | +| **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] | + +### Return type + +[**V1VolumeAttributesClass**](V1VolumeAttributesClass.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | +| **202** | Accepted | - | +| **401** | Unauthorized | - | + # **getAPIResources** > V1APIResourceList getAPIResources().execute(); @@ -1891,7 +2190,111 @@ public class Example { -list or watch objects of kind CSIStorageCapacity +list or watch objects of kind CSIStorageCapacity + +### Example +```java +// Import classes: +import io.kubernetes.client.openapi.ApiClient; +import io.kubernetes.client.openapi.ApiException; +import io.kubernetes.client.openapi.Configuration; +import io.kubernetes.client.openapi.auth.*; +import io.kubernetes.client.openapi.models.*; +import io.kubernetes.client.openapi.apis.StorageV1Api; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost/"); + + // Configure API key authorization: BearerToken + ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); + BearerToken.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //BearerToken.setApiKeyPrefix("Token"); + + StorageV1Api apiInstance = new StorageV1Api(defaultClient); + String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects + String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + Boolean allowWatchBookmarks = true; // Boolean | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. + String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. + Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + String resourceVersion = "resourceVersion_example"; // String | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + String resourceVersionMatch = "resourceVersionMatch_example"; // String | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + Boolean sendInitialEvents = true; // Boolean | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + try { + V1CSIStorageCapacityList result = apiInstance.listNamespacedCSIStorageCapacity(namespace) + .pretty(pretty) + .allowWatchBookmarks(allowWatchBookmarks) + ._continue(_continue) + .fieldSelector(fieldSelector) + .labelSelector(labelSelector) + .limit(limit) + .resourceVersion(resourceVersion) + .resourceVersionMatch(resourceVersionMatch) + .sendInitialEvents(sendInitialEvents) + .timeoutSeconds(timeoutSeconds) + .watch(watch) + .execute(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling StorageV1Api#listNamespacedCSIStorageCapacity"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **namespace** | **String**| object name and auth scope, such as for teams and projects | | +| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | +| **allowWatchBookmarks** | **Boolean**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] | +| **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] | +| **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] | +| **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] | +| **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] | +| **resourceVersion** | **String**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] | +| **resourceVersionMatch** | **String**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] | +| **sendInitialEvents** | **Boolean**| `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] | +| **timeoutSeconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] | +| **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] | + +### Return type + +[**V1CSIStorageCapacityList**](V1CSIStorageCapacityList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | +| **401** | Unauthorized | - | + + +# **listStorageClass** +> V1StorageClassList listStorageClass().pretty(pretty).allowWatchBookmarks(allowWatchBookmarks)._continue(_continue).fieldSelector(fieldSelector).labelSelector(labelSelector).limit(limit).resourceVersion(resourceVersion).resourceVersionMatch(resourceVersionMatch).sendInitialEvents(sendInitialEvents).timeoutSeconds(timeoutSeconds).watch(watch).execute(); + + + +list or watch objects of kind StorageClass ### Example ```java @@ -1915,7 +2318,6 @@ public class Example { //BearerToken.setApiKeyPrefix("Token"); StorageV1Api apiInstance = new StorageV1Api(defaultClient); - String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). Boolean allowWatchBookmarks = true; // Boolean | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. @@ -1928,7 +2330,7 @@ public class Example { Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1CSIStorageCapacityList result = apiInstance.listNamespacedCSIStorageCapacity(namespace) + V1StorageClassList result = apiInstance.listStorageClass() .pretty(pretty) .allowWatchBookmarks(allowWatchBookmarks) ._continue(_continue) @@ -1943,7 +2345,7 @@ public class Example { .execute(); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling StorageV1Api#listNamespacedCSIStorageCapacity"); + System.err.println("Exception when calling StorageV1Api#listStorageClass"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -1957,7 +2359,6 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **namespace** | **String**| object name and auth scope, such as for teams and projects | | | **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | | **allowWatchBookmarks** | **Boolean**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | [optional] | | **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] | @@ -1972,7 +2373,7 @@ public class Example { ### Return type -[**V1CSIStorageCapacityList**](V1CSIStorageCapacityList.md) +[**V1StorageClassList**](V1StorageClassList.md) ### Authorization @@ -1989,13 +2390,13 @@ public class Example { | **200** | OK | - | | **401** | Unauthorized | - | - -# **listStorageClass** -> V1StorageClassList listStorageClass().pretty(pretty).allowWatchBookmarks(allowWatchBookmarks)._continue(_continue).fieldSelector(fieldSelector).labelSelector(labelSelector).limit(limit).resourceVersion(resourceVersion).resourceVersionMatch(resourceVersionMatch).sendInitialEvents(sendInitialEvents).timeoutSeconds(timeoutSeconds).watch(watch).execute(); + +# **listVolumeAttachment** +> V1VolumeAttachmentList listVolumeAttachment().pretty(pretty).allowWatchBookmarks(allowWatchBookmarks)._continue(_continue).fieldSelector(fieldSelector).labelSelector(labelSelector).limit(limit).resourceVersion(resourceVersion).resourceVersionMatch(resourceVersionMatch).sendInitialEvents(sendInitialEvents).timeoutSeconds(timeoutSeconds).watch(watch).execute(); -list or watch objects of kind StorageClass +list or watch objects of kind VolumeAttachment ### Example ```java @@ -2031,7 +2432,7 @@ public class Example { Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1StorageClassList result = apiInstance.listStorageClass() + V1VolumeAttachmentList result = apiInstance.listVolumeAttachment() .pretty(pretty) .allowWatchBookmarks(allowWatchBookmarks) ._continue(_continue) @@ -2046,7 +2447,7 @@ public class Example { .execute(); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling StorageV1Api#listStorageClass"); + System.err.println("Exception when calling StorageV1Api#listVolumeAttachment"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -2074,7 +2475,7 @@ public class Example { ### Return type -[**V1StorageClassList**](V1StorageClassList.md) +[**V1VolumeAttachmentList**](V1VolumeAttachmentList.md) ### Authorization @@ -2091,13 +2492,13 @@ public class Example { | **200** | OK | - | | **401** | Unauthorized | - | - -# **listVolumeAttachment** -> V1VolumeAttachmentList listVolumeAttachment().pretty(pretty).allowWatchBookmarks(allowWatchBookmarks)._continue(_continue).fieldSelector(fieldSelector).labelSelector(labelSelector).limit(limit).resourceVersion(resourceVersion).resourceVersionMatch(resourceVersionMatch).sendInitialEvents(sendInitialEvents).timeoutSeconds(timeoutSeconds).watch(watch).execute(); + +# **listVolumeAttributesClass** +> V1VolumeAttributesClassList listVolumeAttributesClass().pretty(pretty).allowWatchBookmarks(allowWatchBookmarks)._continue(_continue).fieldSelector(fieldSelector).labelSelector(labelSelector).limit(limit).resourceVersion(resourceVersion).resourceVersionMatch(resourceVersionMatch).sendInitialEvents(sendInitialEvents).timeoutSeconds(timeoutSeconds).watch(watch).execute(); -list or watch objects of kind VolumeAttachment +list or watch objects of kind VolumeAttributesClass ### Example ```java @@ -2133,7 +2534,7 @@ public class Example { Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1VolumeAttachmentList result = apiInstance.listVolumeAttachment() + V1VolumeAttributesClassList result = apiInstance.listVolumeAttributesClass() .pretty(pretty) .allowWatchBookmarks(allowWatchBookmarks) ._continue(_continue) @@ -2148,7 +2549,7 @@ public class Example { .execute(); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling StorageV1Api#listVolumeAttachment"); + System.err.println("Exception when calling StorageV1Api#listVolumeAttributesClass"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -2176,7 +2577,7 @@ public class Example { ### Return type -[**V1VolumeAttachmentList**](V1VolumeAttachmentList.md) +[**V1VolumeAttributesClassList**](V1VolumeAttributesClassList.md) ### Authorization @@ -2729,6 +3130,95 @@ public class Example { | **201** | Created | - | | **401** | Unauthorized | - | + +# **patchVolumeAttributesClass** +> V1VolumeAttributesClass patchVolumeAttributesClass(name, body).pretty(pretty).dryRun(dryRun).fieldManager(fieldManager).fieldValidation(fieldValidation).force(force).execute(); + + + +partially update the specified VolumeAttributesClass + +### Example +```java +// Import classes: +import io.kubernetes.client.openapi.ApiClient; +import io.kubernetes.client.openapi.ApiException; +import io.kubernetes.client.openapi.Configuration; +import io.kubernetes.client.openapi.auth.*; +import io.kubernetes.client.openapi.models.*; +import io.kubernetes.client.openapi.apis.StorageV1Api; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost/"); + + // Configure API key authorization: BearerToken + ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); + BearerToken.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //BearerToken.setApiKeyPrefix("Token"); + + StorageV1Api apiInstance = new StorageV1Api(defaultClient); + String name = "name_example"; // String | name of the VolumeAttributesClass + V1Patch body = new V1Patch(); // V1Patch | + String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + String fieldManager = "fieldManager_example"; // String | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + String fieldValidation = "fieldValidation_example"; // String | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + Boolean force = true; // Boolean | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + try { + V1VolumeAttributesClass result = apiInstance.patchVolumeAttributesClass(name, body) + .pretty(pretty) + .dryRun(dryRun) + .fieldManager(fieldManager) + .fieldValidation(fieldValidation) + .force(force) + .execute(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling StorageV1Api#patchVolumeAttributesClass"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **name** | **String**| name of the VolumeAttributesClass | | +| **body** | **V1Patch**| | | +| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | +| **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | +| **fieldManager** | **String**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] | +| **fieldValidation** | **String**| fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] | +| **force** | **Boolean**| Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] | + +### Return type + +[**V1VolumeAttributesClass**](V1VolumeAttributesClass.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | +| **201** | Created | - | +| **401** | Unauthorized | - | + # **readCSIDriver** > V1CSIDriver readCSIDriver(name).pretty(pretty).execute(); @@ -3175,6 +3665,80 @@ public class Example { | **200** | OK | - | | **401** | Unauthorized | - | + +# **readVolumeAttributesClass** +> V1VolumeAttributesClass readVolumeAttributesClass(name).pretty(pretty).execute(); + + + +read the specified VolumeAttributesClass + +### Example +```java +// Import classes: +import io.kubernetes.client.openapi.ApiClient; +import io.kubernetes.client.openapi.ApiException; +import io.kubernetes.client.openapi.Configuration; +import io.kubernetes.client.openapi.auth.*; +import io.kubernetes.client.openapi.models.*; +import io.kubernetes.client.openapi.apis.StorageV1Api; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost/"); + + // Configure API key authorization: BearerToken + ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); + BearerToken.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //BearerToken.setApiKeyPrefix("Token"); + + StorageV1Api apiInstance = new StorageV1Api(defaultClient); + String name = "name_example"; // String | name of the VolumeAttributesClass + String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + try { + V1VolumeAttributesClass result = apiInstance.readVolumeAttributesClass(name) + .pretty(pretty) + .execute(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling StorageV1Api#readVolumeAttributesClass"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **name** | **String**| name of the VolumeAttributesClass | | +| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | + +### Return type + +[**V1VolumeAttributesClass**](V1VolumeAttributesClass.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | +| **401** | Unauthorized | - | + # **replaceCSIDriver** > V1CSIDriver replaceCSIDriver(name, body).pretty(pretty).dryRun(dryRun).fieldManager(fieldManager).fieldValidation(fieldValidation).execute(); @@ -3693,3 +4257,89 @@ public class Example { | **201** | Created | - | | **401** | Unauthorized | - | + +# **replaceVolumeAttributesClass** +> V1VolumeAttributesClass replaceVolumeAttributesClass(name, body).pretty(pretty).dryRun(dryRun).fieldManager(fieldManager).fieldValidation(fieldValidation).execute(); + + + +replace the specified VolumeAttributesClass + +### Example +```java +// Import classes: +import io.kubernetes.client.openapi.ApiClient; +import io.kubernetes.client.openapi.ApiException; +import io.kubernetes.client.openapi.Configuration; +import io.kubernetes.client.openapi.auth.*; +import io.kubernetes.client.openapi.models.*; +import io.kubernetes.client.openapi.apis.StorageV1Api; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost/"); + + // Configure API key authorization: BearerToken + ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); + BearerToken.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //BearerToken.setApiKeyPrefix("Token"); + + StorageV1Api apiInstance = new StorageV1Api(defaultClient); + String name = "name_example"; // String | name of the VolumeAttributesClass + V1VolumeAttributesClass body = new V1VolumeAttributesClass(); // V1VolumeAttributesClass | + String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + String dryRun = "dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + String fieldManager = "fieldManager_example"; // String | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + String fieldValidation = "fieldValidation_example"; // String | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + try { + V1VolumeAttributesClass result = apiInstance.replaceVolumeAttributesClass(name, body) + .pretty(pretty) + .dryRun(dryRun) + .fieldManager(fieldManager) + .fieldValidation(fieldValidation) + .execute(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling StorageV1Api#replaceVolumeAttributesClass"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **name** | **String**| name of the VolumeAttributesClass | | +| **body** | [**V1VolumeAttributesClass**](V1VolumeAttributesClass.md)| | | +| **pretty** | **String**| If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] | +| **dryRun** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] | +| **fieldManager** | **String**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] | +| **fieldValidation** | **String**| fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] | + +### Return type + +[**V1VolumeAttributesClass**](V1VolumeAttributesClass.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | OK | - | +| **201** | Created | - | +| **401** | Unauthorized | - | + diff --git a/kubernetes/docs/V1alpha3AllocatedDeviceStatus.md b/kubernetes/docs/V1AllocatedDeviceStatus.md similarity index 79% rename from kubernetes/docs/V1alpha3AllocatedDeviceStatus.md rename to kubernetes/docs/V1AllocatedDeviceStatus.md index 149891005e..6e6434290a 100644 --- a/kubernetes/docs/V1alpha3AllocatedDeviceStatus.md +++ b/kubernetes/docs/V1AllocatedDeviceStatus.md @@ -1,8 +1,8 @@ -# V1alpha3AllocatedDeviceStatus +# V1AllocatedDeviceStatus -AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it. This may include driver-specific information. +AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it. This may include driver-specific information. The combination of Driver, Pool, Device, and ShareID must match the corresponding key in Status.Allocation.Devices. ## Properties @@ -12,8 +12,9 @@ AllocatedDeviceStatus contains the status of an allocated device, if the driver |**data** | **Object** | Data contains arbitrary driver-specific data. The length of the raw data must be smaller or equal to 10 Ki. | [optional] | |**device** | **String** | Device references one device instance via its name in the driver's resource pool. It must be a DNS label. | | |**driver** | **String** | Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node. Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. | | -|**networkData** | [**V1alpha3NetworkDeviceData**](V1alpha3NetworkDeviceData.md) | | [optional] | +|**networkData** | [**V1NetworkDeviceData**](V1NetworkDeviceData.md) | | [optional] | |**pool** | **String** | This name together with the driver name and the device name field identify which device was allocated (`<driver name>/<pool name>/<device name>`). Must not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes. | | +|**shareID** | **String** | ShareID uniquely identifies an individual allocation share of the device. | [optional] | diff --git a/kubernetes/docs/V1AllocationResult.md b/kubernetes/docs/V1AllocationResult.md new file mode 100644 index 0000000000..7eeca9404e --- /dev/null +++ b/kubernetes/docs/V1AllocationResult.md @@ -0,0 +1,16 @@ + + +# V1AllocationResult + +AllocationResult contains attributes of an allocated resource. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**allocationTimestamp** | **OffsetDateTime** | 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 feature gate. | [optional] | +|**devices** | [**V1DeviceAllocationResult**](V1DeviceAllocationResult.md) | | [optional] | +|**nodeSelector** | [**V1NodeSelector**](V1NodeSelector.md) | | [optional] | + + + diff --git a/kubernetes/docs/V1CELDeviceSelector.md b/kubernetes/docs/V1CELDeviceSelector.md new file mode 100644 index 0000000000..4d042a1aad --- /dev/null +++ b/kubernetes/docs/V1CELDeviceSelector.md @@ -0,0 +1,14 @@ + + +# V1CELDeviceSelector + +CELDeviceSelector contains a CEL expression for selecting a device. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**expression** | **String** | Expression is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort. The expression's input is an object named \"device\", which carries the following properties: - driver (string): the name of the driver which defines this device. - attributes (map[string]object): the device's attributes, grouped by prefix (e.g. device.attributes[\"dra.example.com\"] evaluates to an object with all of the attributes which were prefixed by \"dra.example.com\". - capacity (map[string]object): the device's capacities, grouped by prefix. - allowMultipleAllocations (bool): the allowMultipleAllocations property of the device (v1.34+ with the DRAConsumableCapacity feature enabled). Example: Consider a device with driver=\"dra.example.com\", which exposes two attributes named \"model\" and \"ext.example.com/family\" and which exposes one capacity named \"modules\". This input to this expression would have the following fields: device.driver device.attributes[\"dra.example.com\"].model device.attributes[\"ext.example.com\"].family device.capacity[\"dra.example.com\"].modules The device.driver field can be used to check for a specific driver, either as a high-level precondition (i.e. you only want to consider devices from this driver) or as part of a multi-clause expression that is meant to consider devices from different drivers. The value type of each attribute is defined by the device definition, and users who write these expressions must consult the documentation for their specific drivers. The value type of each capacity is Quantity. If an unknown prefix is used as a lookup in either device.attributes or device.capacity, an empty map will be returned. Any reference to an unknown field will cause an evaluation error and allocation to abort. A robust expression should check for the existence of attributes before referencing them. For ease of use, the cel.bind() function is enabled, and can be used to simplify expressions that access multiple attributes with the same domain. For example: cel.bind(dra, device.attributes[\"dra.example.com\"], dra.someBool && dra.anotherBool) 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. | | + + + diff --git a/kubernetes/docs/V1CSIDriverSpec.md b/kubernetes/docs/V1CSIDriverSpec.md index d75dc6aae7..35bf0ae695 100644 --- a/kubernetes/docs/V1CSIDriverSpec.md +++ b/kubernetes/docs/V1CSIDriverSpec.md @@ -8,9 +8,9 @@ CSIDriverSpec is the specification of a CSIDriver. | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**attachRequired** | **Boolean** | attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the CSIDriverRegistry feature gate is enabled and the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called. This field is immutable. | [optional] | +|**attachRequired** | **Boolean** | attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called. This field is immutable. | [optional] | |**fsGroupPolicy** | **String** | fsGroupPolicy defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details. This field was immutable in Kubernetes < 1.29 and now is mutable. Defaults to ReadWriteOnceWithFSType, which will examine each volume to determine if Kubernetes should modify ownership and permissions of the volume. With the default policy the defined fsGroup will only be applied if a fstype is defined and the volume's access mode contains ReadWriteOnce. | [optional] | -|**nodeAllocatableUpdatePeriodSeconds** | **Long** | nodeAllocatableUpdatePeriodSeconds specifies the interval between periodic updates of the CSINode allocatable capacity for this driver. When set, both periodic updates and updates triggered by capacity-related failures are enabled. If not set, no updates occur (neither periodic nor upon detecting capacity-related failures), and the allocatable.count remains static. The minimum allowed value for this field is 10 seconds. This is an alpha feature and requires the MutableCSINodeAllocatableCount feature gate to be enabled. This field is mutable. | [optional] | +|**nodeAllocatableUpdatePeriodSeconds** | **Long** | nodeAllocatableUpdatePeriodSeconds specifies the interval between periodic updates of the CSINode allocatable capacity for this driver. When set, both periodic updates and updates triggered by capacity-related failures are enabled. If not set, no updates occur (neither periodic nor upon detecting capacity-related failures), and the allocatable.count remains static. The minimum allowed value for this field is 10 seconds. This is a beta feature and requires the MutableCSINodeAllocatableCount feature gate to be enabled. This field is mutable. | [optional] | |**podInfoOnMount** | **Boolean** | podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations, if set to true. If set to false, pod information will not be passed on mount. Default is false. The CSI driver specifies podInfoOnMount as part of driver deployment. If true, Kubelet will pass pod information as VolumeContext in the CSI NodePublishVolume() calls. The CSI driver is responsible for parsing and validating the information passed in as VolumeContext. The following VolumeContext will be passed if podInfoOnMount is set to true. This list might grow, but the prefix will be used. \"csi.storage.k8s.io/pod.name\": pod.Name \"csi.storage.k8s.io/pod.namespace\": pod.Namespace \"csi.storage.k8s.io/pod.uid\": string(pod.UID) \"csi.storage.k8s.io/ephemeral\": \"true\" if the volume is an ephemeral inline volume defined by a CSIVolumeSource, otherwise \"false\" \"csi.storage.k8s.io/ephemeral\" is a new feature in Kubernetes 1.16. It is only required for drivers which support both the \"Persistent\" and \"Ephemeral\" VolumeLifecycleMode. Other drivers can leave pod info disabled and/or ignore this field. As Kubernetes 1.15 doesn't support this field, drivers can only support one mode when deployed on such a cluster and the deployment determines which mode that is, for example via a command line parameter of the driver. This field was immutable in Kubernetes < 1.29 and now is mutable. | [optional] | |**requiresRepublish** | **Boolean** | requiresRepublish indicates the CSI driver wants `NodePublishVolume` being periodically called to reflect any possible change in the mounted volume. This field defaults to false. Note: After a successful initial NodePublishVolume call, subsequent calls to NodePublishVolume should only update the contents of the volume. New mount points will not be seen by a running container. | [optional] | |**seLinuxMount** | **Boolean** | seLinuxMount specifies if the CSI driver supports \"-o context\" mount option. When \"true\", the CSI driver must ensure that all volumes provided by this CSI driver can be mounted separately with different `-o context` options. This is typical for storage backends that provide volumes as filesystems on block devices or as independent shared volumes. Kubernetes will call NodeStage / NodePublish with \"-o context=xyz\" mount option when mounting a ReadWriteOncePod volume used in Pod that has explicitly set SELinux context. In the future, it may be expanded to other volume AccessModes. In any case, Kubernetes will ensure that the volume is mounted only with a single SELinux context. When \"false\", Kubernetes won't pass any special SELinux mount options to the driver. This is typical for volumes that represent subdirectories of a bigger shared filesystem. Default is \"false\". | [optional] | diff --git a/kubernetes/docs/V1CapacityRequestPolicy.md b/kubernetes/docs/V1CapacityRequestPolicy.md new file mode 100644 index 0000000000..07e155fba1 --- /dev/null +++ b/kubernetes/docs/V1CapacityRequestPolicy.md @@ -0,0 +1,16 @@ + + +# V1CapacityRequestPolicy + +CapacityRequestPolicy defines how requests consume device capacity. Must not set more than one ValidRequestValues. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**_default** | **Quantity** | Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. The serialization format is: ``` <quantity> ::= <signedNumber><suffix> (Note that <suffix> may be empty, from the \"\" case in <decimalSI>.) <digit> ::= 0 | 1 | ... | 9 <digits> ::= <digit> | <digit><digits> <number> ::= <digits> | <digits>.<digits> | <digits>. | .<digits> <sign> ::= \"+\" | \"-\" <signedNumber> ::= <number> | <sign><number> <suffix> ::= <binarySI> | <decimalExponent> | <decimalSI> <binarySI> ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) <decimalSI> ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) <decimalExponent> ::= \"e\" <signedNumber> | \"E\" <signedNumber> ``` No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: - No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: - 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation. | [optional] | +|**validRange** | [**V1CapacityRequestPolicyRange**](V1CapacityRequestPolicyRange.md) | | [optional] | +|**validValues** | **List<Quantity>** | ValidValues defines a set of acceptable quantity values in consuming requests. Must not contain more than 10 entries. Must be sorted in ascending order. If this field is set, Default must be defined and it must be included in ValidValues list. If the requested amount does not match any valid value but smaller than some valid values, the scheduler calculates the smallest valid value that is greater than or equal to the request. That is: min(ceil(requestedValue) ∈ validValues), where requestedValue ≤ max(validValues). If the requested amount exceeds all valid values, the request violates the policy, and this device cannot be allocated. | [optional] | + + + diff --git a/kubernetes/docs/V1CapacityRequestPolicyRange.md b/kubernetes/docs/V1CapacityRequestPolicyRange.md new file mode 100644 index 0000000000..a2a3e4bad5 --- /dev/null +++ b/kubernetes/docs/V1CapacityRequestPolicyRange.md @@ -0,0 +1,16 @@ + + +# V1CapacityRequestPolicyRange + +CapacityRequestPolicyRange defines a valid range for consumable capacity values. - If the requested amount is less than Min, it is rounded up to the Min value. - If Step is set and the requested amount is between Min and Max but not aligned with Step, it will be rounded up to the next value equal to Min + (n * Step). - If Step is not set, the requested amount is used as-is if it falls within the range Min to Max (if set). - If the requested or rounded amount exceeds Max (if set), the request does not satisfy the policy, and the device cannot be allocated. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**max** | **Quantity** | Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. The serialization format is: ``` <quantity> ::= <signedNumber><suffix> (Note that <suffix> may be empty, from the \"\" case in <decimalSI>.) <digit> ::= 0 | 1 | ... | 9 <digits> ::= <digit> | <digit><digits> <number> ::= <digits> | <digits>.<digits> | <digits>. | .<digits> <sign> ::= \"+\" | \"-\" <signedNumber> ::= <number> | <sign><number> <suffix> ::= <binarySI> | <decimalExponent> | <decimalSI> <binarySI> ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) <decimalSI> ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) <decimalExponent> ::= \"e\" <signedNumber> | \"E\" <signedNumber> ``` No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: - No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: - 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation. | [optional] | +|**min** | **Quantity** | Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. The serialization format is: ``` <quantity> ::= <signedNumber><suffix> (Note that <suffix> may be empty, from the \"\" case in <decimalSI>.) <digit> ::= 0 | 1 | ... | 9 <digits> ::= <digit> | <digit><digits> <number> ::= <digits> | <digits>.<digits> | <digits>. | .<digits> <sign> ::= \"+\" | \"-\" <signedNumber> ::= <number> | <sign><number> <suffix> ::= <binarySI> | <decimalExponent> | <decimalSI> <binarySI> ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) <decimalSI> ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) <decimalExponent> ::= \"e\" <signedNumber> | \"E\" <signedNumber> ``` No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: - No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: - 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation. | | +|**step** | **Quantity** | Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. The serialization format is: ``` <quantity> ::= <signedNumber><suffix> (Note that <suffix> may be empty, from the \"\" case in <decimalSI>.) <digit> ::= 0 | 1 | ... | 9 <digits> ::= <digit> | <digit><digits> <number> ::= <digits> | <digits>.<digits> | <digits>. | .<digits> <sign> ::= \"+\" | \"-\" <signedNumber> ::= <number> | <sign><number> <suffix> ::= <binarySI> | <decimalExponent> | <decimalSI> <binarySI> ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) <decimalSI> ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) <decimalExponent> ::= \"e\" <signedNumber> | \"E\" <signedNumber> ``` No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: - No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: - 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation. | [optional] | + + + diff --git a/kubernetes/docs/V1CapacityRequirements.md b/kubernetes/docs/V1CapacityRequirements.md new file mode 100644 index 0000000000..c0bb2e4fad --- /dev/null +++ b/kubernetes/docs/V1CapacityRequirements.md @@ -0,0 +1,14 @@ + + +# V1CapacityRequirements + +CapacityRequirements defines the capacity requirements for a specific device request. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**requests** | **Map<String, Quantity>** | Requests represent individual device resource requests for distinct resources, all of which must be provided by the device. This value is used as an additional filtering condition against the available capacity on the device. This is semantically equivalent to a CEL selector with `device.capacity[<domain>].<name>.compareTo(quantity(<request quantity>)) >= 0`. For example, device.capacity['test-driver.cdi.k8s.io'].counters.compareTo(quantity('2')) >= 0. When a requestPolicy is defined, the requested amount is adjusted upward to the nearest valid value based on the policy. If the requested amount cannot be adjusted to a valid value—because it exceeds what the requestPolicy allows— the device is considered ineligible for allocation. For any capacity that is not explicitly requested: - If no requestPolicy is set, the default consumed capacity is equal to the full device capacity (i.e., the whole device is claimed). - If a requestPolicy is set, the default consumed capacity is determined according to that policy. If the device allows multiple allocation, 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. | [optional] | + + + diff --git a/kubernetes/docs/V1Container.md b/kubernetes/docs/V1Container.md index 51c0b52cab..0567441623 100644 --- a/kubernetes/docs/V1Container.md +++ b/kubernetes/docs/V1Container.md @@ -11,7 +11,7 @@ A single application container that you want to run within a pod. |**args** | **List<String>** | Arguments to the entrypoint. The container image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell | [optional] | |**command** | **List<String>** | Entrypoint array. Not executed within a shell. The container image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell | [optional] | |**env** | [**List<V1EnvVar>**](V1EnvVar.md) | List of environment variables to set in the container. Cannot be updated. | [optional] | -|**envFrom** | [**List<V1EnvFromSource>**](V1EnvFromSource.md) | List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. | [optional] | +|**envFrom** | [**List<V1EnvFromSource>**](V1EnvFromSource.md) | List of sources to populate environment variables in the container. The keys defined within a source may consist of any printable ASCII characters except '='. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. | [optional] | |**image** | **String** | Container image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets. | [optional] | |**imagePullPolicy** | **String** | Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images | [optional] | |**lifecycle** | [**V1Lifecycle**](V1Lifecycle.md) | | [optional] | @@ -21,7 +21,8 @@ A single application container that you want to run within a pod. |**readinessProbe** | [**V1Probe**](V1Probe.md) | | [optional] | |**resizePolicy** | [**List<V1ContainerResizePolicy>**](V1ContainerResizePolicy.md) | Resources resize policy for the container. | [optional] | |**resources** | [**V1ResourceRequirements**](V1ResourceRequirements.md) | | [optional] | -|**restartPolicy** | **String** | RestartPolicy defines the restart behavior of individual containers in a pod. This field may only be set for init containers, and the only allowed value is \"Always\". For non-init containers or when this field is not specified, the restart behavior is defined by the Pod's restart policy and the container type. Setting the RestartPolicy as \"Always\" for the init container will have the following effect: this init container will be continually restarted on exit until all regular containers have terminated. Once all regular containers have completed, all init containers with restartPolicy \"Always\" will be shut down. This lifecycle differs from normal init containers and is often referred to as a \"sidecar\" container. Although this init container still starts in the init container sequence, it does not wait for the container to complete before proceeding to the next init container. Instead, the next init container starts immediately after this init container is started, or after any startupProbe has successfully completed. | [optional] | +|**restartPolicy** | **String** | RestartPolicy defines the restart behavior of individual containers in a pod. This overrides the pod-level restart policy. When this field is not specified, the restart behavior is defined by the Pod's restart policy and the container type. Additionally, setting the RestartPolicy as \"Always\" for the init container will have the following effect: this init container will be continually restarted on exit until all regular containers have terminated. Once all regular containers have completed, all init containers with restartPolicy \"Always\" will be shut down. This lifecycle differs from normal init containers and is often referred to as a \"sidecar\" container. Although this init container still starts in the init container sequence, it does not wait for the container to complete before proceeding to the next init container. Instead, the next init container starts immediately after this init container is started, or after any startupProbe has successfully completed. | [optional] | +|**restartPolicyRules** | [**List<V1ContainerRestartRule>**](V1ContainerRestartRule.md) | Represents a list of rules to be checked to determine if the container should be restarted on exit. The rules are evaluated in order. Once a rule matches a container exit condition, the remaining rules are ignored. If no rule matches the container exit condition, the Container-level restart policy determines the whether the container is restarted or not. Constraints on the rules: - At most 20 rules are allowed. - Rules can have the same action. - Identical rules are not forbidden in validations. When rules are specified, container MUST set RestartPolicy explicitly even it if matches the Pod's RestartPolicy. | [optional] | |**securityContext** | [**V1SecurityContext**](V1SecurityContext.md) | | [optional] | |**startupProbe** | [**V1Probe**](V1Probe.md) | | [optional] | |**stdin** | **Boolean** | Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false. | [optional] | diff --git a/kubernetes/docs/V1ContainerExtendedResourceRequest.md b/kubernetes/docs/V1ContainerExtendedResourceRequest.md new file mode 100644 index 0000000000..f3ab5ddaa8 --- /dev/null +++ b/kubernetes/docs/V1ContainerExtendedResourceRequest.md @@ -0,0 +1,16 @@ + + +# V1ContainerExtendedResourceRequest + +ContainerExtendedResourceRequest has the mapping of container name, extended resource name to the device request name. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**containerName** | **String** | The name of the container requesting resources. | | +|**requestName** | **String** | The name of the request in the special ResourceClaim which corresponds to the extended resource. | | +|**resourceName** | **String** | The name of the extended resource in that container which gets backed by DRA. | | + + + diff --git a/kubernetes/docs/V1ContainerRestartRule.md b/kubernetes/docs/V1ContainerRestartRule.md new file mode 100644 index 0000000000..ff742a82ef --- /dev/null +++ b/kubernetes/docs/V1ContainerRestartRule.md @@ -0,0 +1,15 @@ + + +# V1ContainerRestartRule + +ContainerRestartRule describes how a container exit is handled. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**action** | **String** | Specifies the action taken on a container exit if the requirements are satisfied. The only possible value is \"Restart\" to restart the container. | | +|**exitCodes** | [**V1ContainerRestartRuleOnExitCodes**](V1ContainerRestartRuleOnExitCodes.md) | | [optional] | + + + diff --git a/kubernetes/docs/V1ContainerRestartRuleOnExitCodes.md b/kubernetes/docs/V1ContainerRestartRuleOnExitCodes.md new file mode 100644 index 0000000000..6dcf1c926a --- /dev/null +++ b/kubernetes/docs/V1ContainerRestartRuleOnExitCodes.md @@ -0,0 +1,15 @@ + + +# V1ContainerRestartRuleOnExitCodes + +ContainerRestartRuleOnExitCodes describes the condition for handling an exited container based on its exit codes. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**operator** | **String** | Represents the relationship between the container exit code(s) and the specified values. Possible values are: - In: the requirement is satisfied if the container exit code is in the set of specified values. - NotIn: the requirement is satisfied if the container exit code is not in the set of specified values. | | +|**values** | **List<Integer>** | Specifies the set of values to check for container exit codes. At most 255 elements are allowed. | [optional] | + + + diff --git a/kubernetes/docs/V1alpha3Counter.md b/kubernetes/docs/V1Counter.md similarity index 99% rename from kubernetes/docs/V1alpha3Counter.md rename to kubernetes/docs/V1Counter.md index 7094abaa34..f432977a47 100644 --- a/kubernetes/docs/V1alpha3Counter.md +++ b/kubernetes/docs/V1Counter.md @@ -1,6 +1,6 @@ -# V1alpha3Counter +# V1Counter Counter describes a quantity associated with a device. diff --git a/kubernetes/docs/V1CounterSet.md b/kubernetes/docs/V1CounterSet.md new file mode 100644 index 0000000000..98b6b26ed0 --- /dev/null +++ b/kubernetes/docs/V1CounterSet.md @@ -0,0 +1,15 @@ + + +# V1CounterSet + +CounterSet defines a named set of counters that are available to be used by devices defined in the ResourceSlice. The counters are not allocatable by themselves, but can be referenced by devices. When a device is allocated, the portion of counters it uses will no longer be available for use by other devices. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**counters** | [**Map<String, V1Counter>**](V1Counter.md) | 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 in all sets is 32. | | +|**name** | **String** | Name defines the name of the counter set. It must be a DNS label. | | + + + diff --git a/kubernetes/docs/V1Device.md b/kubernetes/docs/V1Device.md new file mode 100644 index 0000000000..cce4149294 --- /dev/null +++ b/kubernetes/docs/V1Device.md @@ -0,0 +1,25 @@ + + +# V1Device + +Device represents one individual hardware instance that can be selected based on its attributes. Besides the name, exactly one field must be set. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**allNodes** | **Boolean** | 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. | [optional] | +|**allowMultipleAllocations** | **Boolean** | 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. | [optional] | +|**attributes** | [**Map<String, V1DeviceAttribute>**](V1DeviceAttribute.md) | 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. | [optional] | +|**bindingConditions** | **List<String>** | BindingConditions defines the conditions for proceeding with binding. All of these conditions must be set in the per-device status conditions with a value of True to proceed with binding the pod to the node while scheduling the pod. The maximum number of binding conditions is 4. The conditions must be a valid condition type string. This is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates. | [optional] | +|**bindingFailureConditions** | **List<String>** | BindingFailureConditions defines the conditions for binding failure. They may be set in the per-device status conditions. If any is set to \"True\", a binding failure occurred. The maximum number of binding failure conditions is 4. The conditions must be a valid condition type string. This is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates. | [optional] | +|**bindsToNode** | **Boolean** | 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 feature gates. | [optional] | +|**capacity** | [**Map<String, V1DeviceCapacity>**](V1DeviceCapacity.md) | 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. | [optional] | +|**consumesCounters** | [**List<V1DeviceCounterConsumption>**](V1DeviceCounterConsumption.md) | ConsumesCounters defines a list of references to sharedCounters and the set of counters that the device will consume from those counter sets. There can only be a single entry per counterSet. The total number of device counter consumption entries must be <= 32. In addition, the total number in the entire ResourceSlice must be <= 1024 (for example, 64 devices with 16 counters each). | [optional] | +|**name** | **String** | Name is unique identifier among all devices managed by the driver in the pool. It must be a DNS label. | | +|**nodeName** | **String** | 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. | [optional] | +|**nodeSelector** | [**V1NodeSelector**](V1NodeSelector.md) | | [optional] | +|**taints** | [**List<V1DeviceTaint>**](V1DeviceTaint.md) | If specified, these are the driver-defined taints. The maximum number of taints is 4. This is an alpha field and requires enabling the DRADeviceTaints feature gate. | [optional] | + + + diff --git a/kubernetes/docs/V1alpha3DeviceAllocationConfiguration.md b/kubernetes/docs/V1DeviceAllocationConfiguration.md similarity index 83% rename from kubernetes/docs/V1alpha3DeviceAllocationConfiguration.md rename to kubernetes/docs/V1DeviceAllocationConfiguration.md index cff2be4e90..fcd158bd92 100644 --- a/kubernetes/docs/V1alpha3DeviceAllocationConfiguration.md +++ b/kubernetes/docs/V1DeviceAllocationConfiguration.md @@ -1,6 +1,6 @@ -# V1alpha3DeviceAllocationConfiguration +# V1DeviceAllocationConfiguration DeviceAllocationConfiguration gets embedded in an AllocationResult. @@ -8,7 +8,7 @@ DeviceAllocationConfiguration gets embedded in an AllocationResult. | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**opaque** | [**V1alpha3OpaqueDeviceConfiguration**](V1alpha3OpaqueDeviceConfiguration.md) | | [optional] | +|**opaque** | [**V1OpaqueDeviceConfiguration**](V1OpaqueDeviceConfiguration.md) | | [optional] | |**requests** | **List<String>** | Requests lists the names of requests where the configuration applies. If empty, its applies to all requests. References to subrequests must include the name of the main request and may include the subrequest using the format <main request>[/<subrequest>]. If just the main request is given, the configuration applies to all subrequests. | [optional] | |**source** | **String** | 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. | | diff --git a/kubernetes/docs/V1DeviceAllocationResult.md b/kubernetes/docs/V1DeviceAllocationResult.md new file mode 100644 index 0000000000..3208ed73da --- /dev/null +++ b/kubernetes/docs/V1DeviceAllocationResult.md @@ -0,0 +1,15 @@ + + +# V1DeviceAllocationResult + +DeviceAllocationResult is the result of allocating devices. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**config** | [**List<V1DeviceAllocationConfiguration>**](V1DeviceAllocationConfiguration.md) | This field is a combination of all the claim and class configuration parameters. Drivers can distinguish between those based on a flag. This includes configuration parameters for drivers which have no allocated devices in the result because it is up to the drivers which configuration parameters they support. They can silently ignore unknown configuration parameters. | [optional] | +|**results** | [**List<V1DeviceRequestAllocationResult>**](V1DeviceRequestAllocationResult.md) | Results lists all allocated devices. | [optional] | + + + diff --git a/kubernetes/docs/V1alpha3DeviceAttribute.md b/kubernetes/docs/V1DeviceAttribute.md similarity index 95% rename from kubernetes/docs/V1alpha3DeviceAttribute.md rename to kubernetes/docs/V1DeviceAttribute.md index 59c1d41390..4547b8c079 100644 --- a/kubernetes/docs/V1alpha3DeviceAttribute.md +++ b/kubernetes/docs/V1DeviceAttribute.md @@ -1,6 +1,6 @@ -# V1alpha3DeviceAttribute +# V1DeviceAttribute DeviceAttribute must have exactly one field set. diff --git a/kubernetes/docs/V1DeviceCapacity.md b/kubernetes/docs/V1DeviceCapacity.md new file mode 100644 index 0000000000..b9325fda91 --- /dev/null +++ b/kubernetes/docs/V1DeviceCapacity.md @@ -0,0 +1,15 @@ + + +# V1DeviceCapacity + +DeviceCapacity describes a quantity associated with a device. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**requestPolicy** | [**V1CapacityRequestPolicy**](V1CapacityRequestPolicy.md) | | [optional] | +|**value** | **Quantity** | Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. The serialization format is: ``` <quantity> ::= <signedNumber><suffix> (Note that <suffix> may be empty, from the \"\" case in <decimalSI>.) <digit> ::= 0 | 1 | ... | 9 <digits> ::= <digit> | <digit><digits> <number> ::= <digits> | <digits>.<digits> | <digits>. | .<digits> <sign> ::= \"+\" | \"-\" <signedNumber> ::= <number> | <sign><number> <suffix> ::= <binarySI> | <decimalExponent> | <decimalSI> <binarySI> ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) <decimalSI> ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) <decimalExponent> ::= \"e\" <signedNumber> | \"E\" <signedNumber> ``` No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: - No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: - 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation. | | + + + diff --git a/kubernetes/docs/V1DeviceClaim.md b/kubernetes/docs/V1DeviceClaim.md new file mode 100644 index 0000000000..7faa441fa8 --- /dev/null +++ b/kubernetes/docs/V1DeviceClaim.md @@ -0,0 +1,16 @@ + + +# V1DeviceClaim + +DeviceClaim defines how to request devices with a ResourceClaim. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**config** | [**List<V1DeviceClaimConfiguration>**](V1DeviceClaimConfiguration.md) | This field holds configuration for multiple potential drivers which could satisfy requests in this claim. It is ignored while allocating the claim. | [optional] | +|**constraints** | [**List<V1DeviceConstraint>**](V1DeviceConstraint.md) | These constraints must be satisfied by the set of devices that get allocated for the claim. | [optional] | +|**requests** | [**List<V1DeviceRequest>**](V1DeviceRequest.md) | Requests represent individual requests for distinct devices which must all be satisfied. If empty, nothing needs to be allocated. | [optional] | + + + diff --git a/kubernetes/docs/V1alpha3DeviceClaimConfiguration.md b/kubernetes/docs/V1DeviceClaimConfiguration.md similarity index 80% rename from kubernetes/docs/V1alpha3DeviceClaimConfiguration.md rename to kubernetes/docs/V1DeviceClaimConfiguration.md index c0706cb1bb..fec6444c00 100644 --- a/kubernetes/docs/V1alpha3DeviceClaimConfiguration.md +++ b/kubernetes/docs/V1DeviceClaimConfiguration.md @@ -1,6 +1,6 @@ -# V1alpha3DeviceClaimConfiguration +# V1DeviceClaimConfiguration DeviceClaimConfiguration is used for configuration parameters in DeviceClaim. @@ -8,7 +8,7 @@ DeviceClaimConfiguration is used for configuration parameters in DeviceClaim. | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**opaque** | [**V1alpha3OpaqueDeviceConfiguration**](V1alpha3OpaqueDeviceConfiguration.md) | | [optional] | +|**opaque** | [**V1OpaqueDeviceConfiguration**](V1OpaqueDeviceConfiguration.md) | | [optional] | |**requests** | **List<String>** | Requests lists the names of requests where the configuration applies. If empty, it applies to all requests. References to subrequests must include the name of the main request and may include the subrequest using the format <main request>[/<subrequest>]. If just the main request is given, the configuration applies to all subrequests. | [optional] | diff --git a/kubernetes/docs/V1alpha3DeviceClass.md b/kubernetes/docs/V1DeviceClass.md similarity index 92% rename from kubernetes/docs/V1alpha3DeviceClass.md rename to kubernetes/docs/V1DeviceClass.md index 4ffce8f3ac..f0ffa5ee67 100644 --- a/kubernetes/docs/V1alpha3DeviceClass.md +++ b/kubernetes/docs/V1DeviceClass.md @@ -1,6 +1,6 @@ -# V1alpha3DeviceClass +# V1DeviceClass DeviceClass is a vendor- or admin-provided resource that contains 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. @@ -11,7 +11,7 @@ DeviceClass is a vendor- or admin-provided resource that contains device configu |**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] | |**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] | |**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] | -|**spec** | [**V1alpha3DeviceClassSpec**](V1alpha3DeviceClassSpec.md) | | | +|**spec** | [**V1DeviceClassSpec**](V1DeviceClassSpec.md) | | | ## Implemented Interfaces diff --git a/kubernetes/docs/V1alpha3DeviceClassConfiguration.md b/kubernetes/docs/V1DeviceClassConfiguration.md similarity index 54% rename from kubernetes/docs/V1alpha3DeviceClassConfiguration.md rename to kubernetes/docs/V1DeviceClassConfiguration.md index 9e77fc2fe5..618512ba04 100644 --- a/kubernetes/docs/V1alpha3DeviceClassConfiguration.md +++ b/kubernetes/docs/V1DeviceClassConfiguration.md @@ -1,6 +1,6 @@ -# V1alpha3DeviceClassConfiguration +# V1DeviceClassConfiguration DeviceClassConfiguration is used in DeviceClass. @@ -8,7 +8,7 @@ DeviceClassConfiguration is used in DeviceClass. | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**opaque** | [**V1alpha3OpaqueDeviceConfiguration**](V1alpha3OpaqueDeviceConfiguration.md) | | [optional] | +|**opaque** | [**V1OpaqueDeviceConfiguration**](V1OpaqueDeviceConfiguration.md) | | [optional] | diff --git a/kubernetes/docs/V1alpha3DeviceClassList.md b/kubernetes/docs/V1DeviceClassList.md similarity index 86% rename from kubernetes/docs/V1alpha3DeviceClassList.md rename to kubernetes/docs/V1DeviceClassList.md index 6da83c989a..5a488af757 100644 --- a/kubernetes/docs/V1alpha3DeviceClassList.md +++ b/kubernetes/docs/V1DeviceClassList.md @@ -1,6 +1,6 @@ -# V1alpha3DeviceClassList +# V1DeviceClassList DeviceClassList is a collection of classes. @@ -9,7 +9,7 @@ DeviceClassList is a collection of classes. | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| |**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] | -|**items** | [**List<V1alpha3DeviceClass>**](V1alpha3DeviceClass.md) | Items is the list of resource classes. | | +|**items** | [**List<V1DeviceClass>**](V1DeviceClass.md) | Items is the list of resource classes. | | |**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] | |**metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] | diff --git a/kubernetes/docs/V1DeviceClassSpec.md b/kubernetes/docs/V1DeviceClassSpec.md new file mode 100644 index 0000000000..0cc21347f6 --- /dev/null +++ b/kubernetes/docs/V1DeviceClassSpec.md @@ -0,0 +1,16 @@ + + +# V1DeviceClassSpec + +DeviceClassSpec is used in a [DeviceClass] to define what can be allocated and how to configure it. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**config** | [**List<V1DeviceClassConfiguration>**](V1DeviceClassConfiguration.md) | 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. | [optional] | +|**extendedResourceName** | **String** | 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. It has the same format as the name of a pod's extended resource. It should be unique among all the device classes in a cluster. If two device classes have the same name, then the class created later is picked to satisfy a pod's extended resource requests. 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. | [optional] | +|**selectors** | [**List<V1DeviceSelector>**](V1DeviceSelector.md) | Each selector must be satisfied by a device which is claimed via this class. | [optional] | + + + diff --git a/kubernetes/docs/V1alpha3DeviceConstraint.md b/kubernetes/docs/V1DeviceConstraint.md similarity index 69% rename from kubernetes/docs/V1alpha3DeviceConstraint.md rename to kubernetes/docs/V1DeviceConstraint.md index b82f9b7f55..e6f4be0393 100644 --- a/kubernetes/docs/V1alpha3DeviceConstraint.md +++ b/kubernetes/docs/V1DeviceConstraint.md @@ -1,6 +1,6 @@ -# V1alpha3DeviceConstraint +# V1DeviceConstraint DeviceConstraint must have exactly one field set besides Requests. @@ -8,6 +8,7 @@ DeviceConstraint must have exactly one field set besides Requests. | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| +|**distinctAttribute** | **String** | DistinctAttribute requires that all devices in question have this attribute and that its type and value are unique across those devices. This acts as the inverse of MatchAttribute. This constraint is used to avoid allocating multiple requests to the same device by ensuring attribute-level differentiation. 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. | [optional] | |**matchAttribute** | **String** | MatchAttribute requires that all devices in question have this attribute and that its type and value are the same across those devices. For example, if you specified \"dra.example.com/numa\" (a hypothetical example!), then only devices in the same NUMA node will be chosen. A device which does not have that attribute will not be chosen. All devices should use a value of the same type for this attribute because that is part of its specification, but if one device doesn't, then it also will not be chosen. Must include the domain qualifier. | [optional] | |**requests** | **List<String>** | Requests is a list of the one or more requests in this claim which must co-satisfy this constraint. If a request is fulfilled by multiple devices, then all of the devices must satisfy the constraint. If this is not specified, this constraint applies to all requests in this claim. References to subrequests must include the name of the main request and may include the subrequest using the format <main request>[/<subrequest>]. If just the main request is given, the constraint applies to all subrequests. | [optional] | diff --git a/kubernetes/docs/V1DeviceCounterConsumption.md b/kubernetes/docs/V1DeviceCounterConsumption.md new file mode 100644 index 0000000000..c858604124 --- /dev/null +++ b/kubernetes/docs/V1DeviceCounterConsumption.md @@ -0,0 +1,15 @@ + + +# V1DeviceCounterConsumption + +DeviceCounterConsumption defines a set of counters that a device will consume from a CounterSet. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**counterSet** | **String** | CounterSet is the name of the set from which the counters defined will be consumed. | | +|**counters** | [**Map<String, V1Counter>**](V1Counter.md) | Counters defines the counters that will be consumed by the device. The maximum number counters in a device is 32. In addition, the maximum number of all counters in all devices is 1024 (for example, 64 devices with 16 counters each). | | + + + diff --git a/kubernetes/docs/V1DeviceRequest.md b/kubernetes/docs/V1DeviceRequest.md new file mode 100644 index 0000000000..8f79dbc9b8 --- /dev/null +++ b/kubernetes/docs/V1DeviceRequest.md @@ -0,0 +1,16 @@ + + +# V1DeviceRequest + +DeviceRequest is a request for devices required for a claim. This is typically a request for a single resource like a device, but can also ask for several identical devices. With FirstAvailable it is also possible to provide a prioritized list of requests. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**exactly** | [**V1ExactDeviceRequest**](V1ExactDeviceRequest.md) | | [optional] | +|**firstAvailable** | [**List<V1DeviceSubRequest>**](V1DeviceSubRequest.md) | FirstAvailable contains subrequests, of which exactly one will be selected by the scheduler. It tries to satisfy them in the order in which they are listed here. So if there are two entries in the list, the scheduler will only check the second one if it determines that the first one can not be used. DRA does not yet implement scoring, so the scheduler will select the first set of devices that satisfies all the requests in the claim. And if the requirements can be satisfied on more than one node, other scheduling features 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. | [optional] | +|**name** | **String** | Name can be used to reference this request in a pod.spec.containers[].resources.claims entry and in a constraint of the claim. References using the name in the DeviceRequest will uniquely identify a request when the Exactly field is set. When the FirstAvailable field is set, a reference to the name of the DeviceRequest will match whatever subrequest is chosen by the scheduler. Must be a DNS label. | | + + + diff --git a/kubernetes/docs/V1DeviceRequestAllocationResult.md b/kubernetes/docs/V1DeviceRequestAllocationResult.md new file mode 100644 index 0000000000..a5af6fd611 --- /dev/null +++ b/kubernetes/docs/V1DeviceRequestAllocationResult.md @@ -0,0 +1,23 @@ + + +# V1DeviceRequestAllocationResult + +DeviceRequestAllocationResult contains the allocation result for one request. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**adminAccess** | **Boolean** | 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 set to false, otherwise it is enabled. | [optional] | +|**bindingConditions** | **List<String>** | 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 feature gates. | [optional] | +|**bindingFailureConditions** | **List<String>** | 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 feature gates. | [optional] | +|**consumedCapacity** | **Map<String, Quantity>** | 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 value based on the device’s requestPolicy if applicable (i.e., may not be less than the requested amount). The total consumed capacity for each device must not exceed the DeviceCapacity's Value. This field is populated only for devices that allow multiple allocations. All capacity entries are included, even if the consumed amount is zero. | [optional] | +|**device** | **String** | Device references one device instance via its name in the driver's resource pool. It must be a DNS label. | | +|**driver** | **String** | Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node. Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. | | +|**pool** | **String** | This name together with the driver name and the device name field identify which device was allocated (`<driver name>/<pool name>/<device name>`). Must not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes. | | +|**request** | **String** | Request is the name of the request in the claim which caused this device to be allocated. If it references a subrequest in the firstAvailable list on a DeviceRequest, this field must include both the name of the main request and the subrequest using the format <main request>/<subrequest>. Multiple devices may have been allocated per request. | | +|**shareID** | **String** | 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. | [optional] | +|**tolerations** | [**List<V1DeviceToleration>**](V1DeviceToleration.md) | 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 feature gate. | [optional] | + + + diff --git a/kubernetes/docs/V1DeviceSelector.md b/kubernetes/docs/V1DeviceSelector.md new file mode 100644 index 0000000000..deb374209b --- /dev/null +++ b/kubernetes/docs/V1DeviceSelector.md @@ -0,0 +1,14 @@ + + +# V1DeviceSelector + +DeviceSelector must have exactly one field set. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**cel** | [**V1CELDeviceSelector**](V1CELDeviceSelector.md) | | [optional] | + + + diff --git a/kubernetes/docs/V1DeviceSubRequest.md b/kubernetes/docs/V1DeviceSubRequest.md new file mode 100644 index 0000000000..6a273e1a47 --- /dev/null +++ b/kubernetes/docs/V1DeviceSubRequest.md @@ -0,0 +1,20 @@ + + +# V1DeviceSubRequest + +DeviceSubRequest describes a request for device provided in the claim.spec.devices.requests[].firstAvailable array. Each is typically a request for a single resource like a device, but can also ask for several identical devices. DeviceSubRequest is similar to ExactDeviceRequest, but doesn't expose the AdminAccess field as that one is only supported when requesting a specific device. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**allocationMode** | **String** | AllocationMode and its related fields define how devices are allocated to satisfy this subrequest. Supported values are: - ExactCount: This request is for a specific number of devices. This is the default. The exact number is provided in the count field. - All: This subrequest is for all of the matching devices in a pool. Allocation will fail if some devices are already allocated, unless adminAccess is requested. If AllocationMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other subrequests must specify this field. More modes may get added in the future. Clients must refuse to handle requests with unknown modes. | [optional] | +|**capacity** | [**V1CapacityRequirements**](V1CapacityRequirements.md) | | [optional] | +|**count** | **Long** | 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. | [optional] | +|**deviceClassName** | **String** | DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this subrequest. A class is required. Which classes are available depends on the cluster. Administrators may use this to restrict which devices may get requested by only installing classes with selectors for permitted devices. If users are free to request anything without restrictions, then administrators can create an empty DeviceClass for users to reference. | | +|**name** | **String** | Name can be used to reference this subrequest in the list of constraints or the list of configurations for the claim. References must use the format <main request>/<subrequest>. Must be a DNS label. | | +|**selectors** | [**List<V1DeviceSelector>**](V1DeviceSelector.md) | 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. | [optional] | +|**tolerations** | [**List<V1DeviceToleration>**](V1DeviceToleration.md) | If specified, the request's tolerations. Tolerations for NoSchedule are required to allocate a device which has a taint with that effect. The same applies to NoExecute. In addition, should any of the allocated devices get tainted with NoExecute after allocation and that effect is not tolerated, then all pods consuming the ResourceClaim get deleted to evict them. The scheduler will not let new pods reserve the claim while it has these tainted devices. Once all pods are evicted, the claim will get deallocated. The maximum number of tolerations is 16. This is an alpha field and requires enabling the DRADeviceTaints feature gate. | [optional] | + + + diff --git a/kubernetes/docs/V1DeviceTaint.md b/kubernetes/docs/V1DeviceTaint.md new file mode 100644 index 0000000000..d7eeed55dd --- /dev/null +++ b/kubernetes/docs/V1DeviceTaint.md @@ -0,0 +1,17 @@ + + +# V1DeviceTaint + +The device this taint is attached to has the \"effect\" on any claim which does not tolerate the taint and, through the claim, to pods using the claim. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**effect** | **String** | The effect of the taint on claims that do not tolerate the taint and through such claims on the pods using them. Valid effects are NoSchedule and NoExecute. PreferNoSchedule as used for nodes is not valid here. | | +|**key** | **String** | The taint key to be applied to a device. Must be a label name. | | +|**timeAdded** | **OffsetDateTime** | TimeAdded represents the time at which the taint was added. Added automatically during create or update if not set. | [optional] | +|**value** | **String** | The taint value corresponding to the taint key. Must be a label value. | [optional] | + + + diff --git a/kubernetes/docs/V1alpha3DeviceToleration.md b/kubernetes/docs/V1DeviceToleration.md similarity index 98% rename from kubernetes/docs/V1alpha3DeviceToleration.md rename to kubernetes/docs/V1DeviceToleration.md index 41d2484404..ee244bcb8a 100644 --- a/kubernetes/docs/V1alpha3DeviceToleration.md +++ b/kubernetes/docs/V1DeviceToleration.md @@ -1,6 +1,6 @@ -# V1alpha3DeviceToleration +# V1DeviceToleration The ResourceClaim this DeviceToleration is attached to tolerates any taint that matches the triple using the matching operator . diff --git a/kubernetes/docs/V1EnvFromSource.md b/kubernetes/docs/V1EnvFromSource.md index b4bd750ab8..31bd2fe641 100644 --- a/kubernetes/docs/V1EnvFromSource.md +++ b/kubernetes/docs/V1EnvFromSource.md @@ -9,7 +9,7 @@ EnvFromSource represents the source of a set of ConfigMaps or Secrets | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| |**configMapRef** | [**V1ConfigMapEnvSource**](V1ConfigMapEnvSource.md) | | [optional] | -|**prefix** | **String** | Optional text to prepend to the name of each environment variable. Must be a C_IDENTIFIER. | [optional] | +|**prefix** | **String** | Optional text to prepend to the name of each environment variable. May consist of any printable ASCII characters except '='. | [optional] | |**secretRef** | [**V1SecretEnvSource**](V1SecretEnvSource.md) | | [optional] | diff --git a/kubernetes/docs/V1EnvVar.md b/kubernetes/docs/V1EnvVar.md index 79a982c0c5..456183171c 100644 --- a/kubernetes/docs/V1EnvVar.md +++ b/kubernetes/docs/V1EnvVar.md @@ -8,7 +8,7 @@ EnvVar represents an environment variable present in a Container. | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**name** | **String** | Name of the environment variable. Must be a C_IDENTIFIER. | | +|**name** | **String** | Name of the environment variable. May consist of any printable ASCII characters except '='. | | |**value** | **String** | Variable references $(VAR_NAME) are expanded using the previously defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to \"\". | [optional] | |**valueFrom** | [**V1EnvVarSource**](V1EnvVarSource.md) | | [optional] | diff --git a/kubernetes/docs/V1EnvVarSource.md b/kubernetes/docs/V1EnvVarSource.md index ddd859842f..c0415528ea 100644 --- a/kubernetes/docs/V1EnvVarSource.md +++ b/kubernetes/docs/V1EnvVarSource.md @@ -10,6 +10,7 @@ EnvVarSource represents a source for the value of an EnvVar. |------------ | ------------- | ------------- | -------------| |**configMapKeyRef** | [**V1ConfigMapKeySelector**](V1ConfigMapKeySelector.md) | | [optional] | |**fieldRef** | [**V1ObjectFieldSelector**](V1ObjectFieldSelector.md) | | [optional] | +|**fileKeyRef** | [**V1FileKeySelector**](V1FileKeySelector.md) | | [optional] | |**resourceFieldRef** | [**V1ResourceFieldSelector**](V1ResourceFieldSelector.md) | | [optional] | |**secretKeyRef** | [**V1SecretKeySelector**](V1SecretKeySelector.md) | | [optional] | diff --git a/kubernetes/docs/V1EphemeralContainer.md b/kubernetes/docs/V1EphemeralContainer.md index 1e93bcb95c..3185b2af82 100644 --- a/kubernetes/docs/V1EphemeralContainer.md +++ b/kubernetes/docs/V1EphemeralContainer.md @@ -11,7 +11,7 @@ An EphemeralContainer is a temporary container that you may add to an existing P |**args** | **List<String>** | Arguments to the entrypoint. The image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell | [optional] | |**command** | **List<String>** | Entrypoint array. Not executed within a shell. The image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell | [optional] | |**env** | [**List<V1EnvVar>**](V1EnvVar.md) | List of environment variables to set in the container. Cannot be updated. | [optional] | -|**envFrom** | [**List<V1EnvFromSource>**](V1EnvFromSource.md) | List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. | [optional] | +|**envFrom** | [**List<V1EnvFromSource>**](V1EnvFromSource.md) | List of sources to populate environment variables in the container. The keys defined within a source may consist of any printable ASCII characters except '='. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. | [optional] | |**image** | **String** | Container image name. More info: https://kubernetes.io/docs/concepts/containers/images | [optional] | |**imagePullPolicy** | **String** | Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images | [optional] | |**lifecycle** | [**V1Lifecycle**](V1Lifecycle.md) | | [optional] | @@ -21,7 +21,8 @@ An EphemeralContainer is a temporary container that you may add to an existing P |**readinessProbe** | [**V1Probe**](V1Probe.md) | | [optional] | |**resizePolicy** | [**List<V1ContainerResizePolicy>**](V1ContainerResizePolicy.md) | Resources resize policy for the container. | [optional] | |**resources** | [**V1ResourceRequirements**](V1ResourceRequirements.md) | | [optional] | -|**restartPolicy** | **String** | Restart policy for the container to manage the restart behavior of each container within a pod. This may only be set for init containers. You cannot set this field on ephemeral containers. | [optional] | +|**restartPolicy** | **String** | Restart policy for the container to manage the restart behavior of each container within a pod. You cannot set this field on ephemeral containers. | [optional] | +|**restartPolicyRules** | [**List<V1ContainerRestartRule>**](V1ContainerRestartRule.md) | Represents a list of rules to be checked to determine if the container should be restarted on exit. You cannot set this field on ephemeral containers. | [optional] | |**securityContext** | [**V1SecurityContext**](V1SecurityContext.md) | | [optional] | |**startupProbe** | [**V1Probe**](V1Probe.md) | | [optional] | |**stdin** | **Boolean** | Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false. | [optional] | diff --git a/kubernetes/docs/V1ExactDeviceRequest.md b/kubernetes/docs/V1ExactDeviceRequest.md new file mode 100644 index 0000000000..51adf6d6af --- /dev/null +++ b/kubernetes/docs/V1ExactDeviceRequest.md @@ -0,0 +1,20 @@ + + +# V1ExactDeviceRequest + +ExactDeviceRequest is a request for one or more identical devices. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**adminAccess** | **Boolean** | AdminAccess indicates that this is a claim for administrative access to the device(s). Claims with AdminAccess are expected to be used for monitoring or other management services for a device. They ignore all ordinary claims to the device with respect to access modes and any resource allocations. This is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled. | [optional] | +|**allocationMode** | **String** | AllocationMode and its related fields define how devices are allocated to satisfy this request. Supported values are: - ExactCount: This request is for a specific number of devices. This is the default. The exact number is provided in the count field. - All: This request is for all of the matching devices in a pool. At least one device must exist on the node for the allocation to succeed. Allocation will fail if some devices are already allocated, unless adminAccess is requested. If AllocationMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other requests must specify this field. More modes may get added in the future. Clients must refuse to handle requests with unknown modes. | [optional] | +|**capacity** | [**V1CapacityRequirements**](V1CapacityRequirements.md) | | [optional] | +|**count** | **Long** | 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. | [optional] | +|**deviceClassName** | **String** | DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this request. A DeviceClassName is required. Administrators may use this to restrict which devices may get requested by only installing classes with selectors for permitted devices. If users are free to request anything without restrictions, then administrators can create an empty DeviceClass for users to reference. | | +|**selectors** | [**List<V1DeviceSelector>**](V1DeviceSelector.md) | Selectors define criteria which must be satisfied by a specific device in order for that device to be considered for this request. All selectors must be satisfied for a device to be considered. | [optional] | +|**tolerations** | [**List<V1DeviceToleration>**](V1DeviceToleration.md) | If specified, the request's tolerations. Tolerations for NoSchedule are required to allocate a device which has a taint with that effect. The same applies to NoExecute. In addition, should any of the allocated devices get tainted with NoExecute after allocation and that effect is not tolerated, then all pods consuming the ResourceClaim get deleted to evict them. The scheduler will not let new pods reserve the claim while it has these tainted devices. Once all pods are evicted, the claim will get deallocated. The maximum number of tolerations is 16. This is an alpha field and requires enabling the DRADeviceTaints feature gate. | [optional] | + + + diff --git a/kubernetes/docs/V1FileKeySelector.md b/kubernetes/docs/V1FileKeySelector.md new file mode 100644 index 0000000000..d87803aa82 --- /dev/null +++ b/kubernetes/docs/V1FileKeySelector.md @@ -0,0 +1,17 @@ + + +# V1FileKeySelector + +FileKeySelector selects a key of the env file. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**key** | **String** | The key within the env file. An invalid key will prevent the pod from starting. The keys defined within a source may consist of any printable ASCII characters except '='. During Alpha stage of the EnvFiles feature gate, the key size is limited to 128 characters. | | +|**optional** | **Boolean** | Specify whether the file or its key must be defined. If the file or key does not exist, then the env var is not published. If optional is set to true and the specified key does not exist, the environment variable will not be set in the Pod's containers. If optional is set to false and the specified key does not exist, an error will be returned during Pod creation. | [optional] | +|**path** | **String** | The path within the volume from which to select the file. Must be relative and may not contain the '..' path or start with '..'. | | +|**volumeName** | **String** | The name of the volume mount containing the env file. | | + + + diff --git a/kubernetes/docs/V1GlusterfsVolumeSource.md b/kubernetes/docs/V1GlusterfsVolumeSource.md index 46fc1a64f3..147bace76c 100644 --- a/kubernetes/docs/V1GlusterfsVolumeSource.md +++ b/kubernetes/docs/V1GlusterfsVolumeSource.md @@ -8,7 +8,7 @@ Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**endpoints** | **String** | endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod | | +|**endpoints** | **String** | endpoints is the endpoint name that details Glusterfs topology. | | |**path** | **String** | path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod | | |**readOnly** | **Boolean** | readOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod | [optional] | diff --git a/kubernetes/docs/V1JobSpec.md b/kubernetes/docs/V1JobSpec.md index c90953b7ff..8f6f8dcd8c 100644 --- a/kubernetes/docs/V1JobSpec.md +++ b/kubernetes/docs/V1JobSpec.md @@ -9,7 +9,7 @@ JobSpec describes how the job execution will look like. | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| |**activeDeadlineSeconds** | **Long** | Specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it; value must be positive integer. If a Job is suspended (at creation or through an update), this timer will effectively be stopped and reset when the Job is resumed again. | [optional] | -|**backoffLimit** | **Integer** | Specifies the number of retries before marking this job failed. Defaults to 6 | [optional] | +|**backoffLimit** | **Integer** | Specifies the number of retries before marking this job failed. Defaults to 6, unless backoffLimitPerIndex (only Indexed Job) is specified. When backoffLimitPerIndex is specified, backoffLimit defaults to 2147483647. | [optional] | |**backoffLimitPerIndex** | **Integer** | Specifies the limit for the number of retries within an index before marking this index as failed. When enabled the number of failures per index is kept in the pod's batch.kubernetes.io/job-index-failure-count annotation. It can only be set when Job's completionMode=Indexed, and the Pod's restart policy is Never. The field is immutable. | [optional] | |**completionMode** | **String** | completionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`. `NonIndexed` means that the Job is considered complete when there have been .spec.completions successfully completed Pods. Each Pod completion is homologous to each other. `Indexed` means that the Pods of a Job get an associated completion index from 0 to (.spec.completions - 1), available in the annotation batch.kubernetes.io/job-completion-index. The Job is considered complete when there is one successfully completed Pod for each index. When value is `Indexed`, .spec.completions must be specified and `.spec.parallelism` must be less than or equal to 10^5. In addition, The Pod name takes the form `$(job-name)-$(index)-$(random-string)`, the Pod hostname takes the form `$(job-name)-$(index)`. More completion modes can be added in the future. If the Job controller observes a mode that it doesn't recognize, which is possible during upgrades due to version skew, the controller skips updates for the Job. | [optional] | |**completions** | **Integer** | Specifies the desired number of successfully finished pods the job should be run with. Setting to null means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ | [optional] | @@ -18,7 +18,7 @@ JobSpec describes how the job execution will look like. |**maxFailedIndexes** | **Integer** | Specifies the maximal number of failed indexes before marking the Job as failed, when backoffLimitPerIndex is set. Once the number of failed indexes exceeds this number the entire Job is marked as Failed and its execution is terminated. When left as null the job continues execution of all of its indexes and is marked with the `Complete` Job condition. It can only be specified when backoffLimitPerIndex is set. It can be null or up to completions. It is required and must be less than or equal to 10^4 when is completions greater than 10^5. | [optional] | |**parallelism** | **Integer** | Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ | [optional] | |**podFailurePolicy** | [**V1PodFailurePolicy**](V1PodFailurePolicy.md) | | [optional] | -|**podReplacementPolicy** | **String** | podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods when they are terminating (has a metadata.deletionTimestamp) or failed. - Failed means to wait until a previously created Pod is fully terminated (has phase Failed or Succeeded) before creating a replacement Pod. When using podFailurePolicy, Failed is the the only allowed value. TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use. This is an beta field. To use this, enable the JobPodReplacementPolicy feature toggle. This is on by default. | [optional] | +|**podReplacementPolicy** | **String** | podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods when they are terminating (has a metadata.deletionTimestamp) or failed. - Failed means to wait until a previously created Pod is fully terminated (has phase Failed or Succeeded) before creating a replacement Pod. When using podFailurePolicy, Failed is the the only allowed value. TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use. | [optional] | |**selector** | [**V1LabelSelector**](V1LabelSelector.md) | | [optional] | |**successPolicy** | [**V1SuccessPolicy**](V1SuccessPolicy.md) | | [optional] | |**suspend** | **Boolean** | suspend specifies whether the Job controller should create Pods or not. If a Job is created with suspend set to true, no Pods are created by the Job controller. If a Job is suspended after creation (i.e. the flag goes from false to true), the Job controller will delete all active Pods associated 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. | [optional] | diff --git a/kubernetes/docs/V1alpha3NetworkDeviceData.md b/kubernetes/docs/V1NetworkDeviceData.md similarity index 91% rename from kubernetes/docs/V1alpha3NetworkDeviceData.md rename to kubernetes/docs/V1NetworkDeviceData.md index 765a521302..615c19bdf8 100644 --- a/kubernetes/docs/V1alpha3NetworkDeviceData.md +++ b/kubernetes/docs/V1NetworkDeviceData.md @@ -1,6 +1,6 @@ -# V1alpha3NetworkDeviceData +# V1NetworkDeviceData NetworkDeviceData provides network-related details for the allocated device. This information may be filled by drivers or other components to configure or identify the device within a network context. @@ -10,7 +10,7 @@ NetworkDeviceData provides network-related details for the allocated device. Thi |------------ | ------------- | ------------- | -------------| |**hardwareAddress** | **String** | HardwareAddress represents the hardware address (e.g. MAC Address) of the device's network interface. Must not be longer than 128 characters. | [optional] | |**interfaceName** | **String** | InterfaceName specifies the name of the network interface associated with the allocated device. This might be the name of a physical or virtual network interface being configured in the pod. Must not be longer than 256 characters. | [optional] | -|**ips** | **List<String>** | IPs lists the network addresses assigned to the device's network interface. This can include both IPv4 and IPv6 addresses. The IPs are in the CIDR notation, which includes both the address and the associated subnet mask. e.g.: \"192.0.2.5/24\" for IPv4 and \"2001:db8::5/64\" for IPv6. Must not contain more than 16 entries. | [optional] | +|**ips** | **List<String>** | IPs lists the network addresses assigned to the device's network interface. This can include both IPv4 and IPv6 addresses. The IPs are in the CIDR notation, which includes both the address and the associated subnet mask. e.g.: \"192.0.2.5/24\" for IPv4 and \"2001:db8::5/64\" for IPv6. | [optional] | diff --git a/kubernetes/docs/V1NetworkPolicySpec.md b/kubernetes/docs/V1NetworkPolicySpec.md index 5bea94c9d0..3fa6356894 100644 --- a/kubernetes/docs/V1NetworkPolicySpec.md +++ b/kubernetes/docs/V1NetworkPolicySpec.md @@ -10,7 +10,7 @@ NetworkPolicySpec provides the specification of a NetworkPolicy |------------ | ------------- | ------------- | -------------| |**egress** | [**List<V1NetworkPolicyEgressRule>**](V1NetworkPolicyEgressRule.md) | egress is a list of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8 | [optional] | |**ingress** | [**List<V1NetworkPolicyIngressRule>**](V1NetworkPolicyIngressRule.md) | ingress is a list of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default) | [optional] | -|**podSelector** | [**V1LabelSelector**](V1LabelSelector.md) | | | +|**podSelector** | [**V1LabelSelector**](V1LabelSelector.md) | | [optional] | |**policyTypes** | **List<String>** | policyTypes is a list of rule types that the NetworkPolicy relates to. Valid options are [\"Ingress\"], [\"Egress\"], or [\"Ingress\", \"Egress\"]. If this field is not specified, it will default based on the existence of ingress or egress rules; policies that contain an egress section are assumed to affect egress, and all policies (whether or not they contain an ingress section) are assumed to affect ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ \"Egress\" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include \"Egress\" (since such a policy would not include an egress section and would otherwise default to just [ \"Ingress\" ]). This field is beta-level in 1.8 | [optional] | diff --git a/kubernetes/docs/V1alpha3OpaqueDeviceConfiguration.md b/kubernetes/docs/V1OpaqueDeviceConfiguration.md similarity index 96% rename from kubernetes/docs/V1alpha3OpaqueDeviceConfiguration.md rename to kubernetes/docs/V1OpaqueDeviceConfiguration.md index d6c15ce679..a39075262e 100644 --- a/kubernetes/docs/V1alpha3OpaqueDeviceConfiguration.md +++ b/kubernetes/docs/V1OpaqueDeviceConfiguration.md @@ -1,6 +1,6 @@ -# V1alpha3OpaqueDeviceConfiguration +# V1OpaqueDeviceConfiguration OpaqueDeviceConfiguration contains configuration parameters for a driver in a format defined by the driver vendor. diff --git a/kubernetes/docs/V1PersistentVolumeClaimSpec.md b/kubernetes/docs/V1PersistentVolumeClaimSpec.md index af7afd635e..cd400138d4 100644 --- a/kubernetes/docs/V1PersistentVolumeClaimSpec.md +++ b/kubernetes/docs/V1PersistentVolumeClaimSpec.md @@ -14,7 +14,7 @@ PersistentVolumeClaimSpec describes the common attributes of storage devices and |**resources** | [**V1VolumeResourceRequirements**](V1VolumeResourceRequirements.md) | | [optional] | |**selector** | [**V1LabelSelector**](V1LabelSelector.md) | | [optional] | |**storageClassName** | **String** | storageClassName is the name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 | [optional] | -|**volumeAttributesClassName** | **String** | volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass will be applied to the claim but it's not allowed to reset this field to empty string once it is set. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass will be set by the persistentvolume controller if it exists. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Beta) Using this field requires the VolumeAttributesClass feature gate to be enabled (off by default). | [optional] | +|**volumeAttributesClassName** | **String** | volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string or nil value indicates that no VolumeAttributesClass will be applied to the claim. If the claim enters an Infeasible error state, this field can be reset to its previous value (including nil) to cancel the modification. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ | [optional] | |**volumeMode** | **String** | volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec. | [optional] | |**volumeName** | **String** | volumeName is the binding reference to the PersistentVolume backing this claim. | [optional] | diff --git a/kubernetes/docs/V1PersistentVolumeClaimStatus.md b/kubernetes/docs/V1PersistentVolumeClaimStatus.md index 74fe0c15c2..c7e9241e7f 100644 --- a/kubernetes/docs/V1PersistentVolumeClaimStatus.md +++ b/kubernetes/docs/V1PersistentVolumeClaimStatus.md @@ -13,7 +13,7 @@ PersistentVolumeClaimStatus is the current status of a persistent volume claim. |**allocatedResources** | **Map<String, Quantity>** | allocatedResources tracks the resources allocated to a PVC including its capacity. Key names follow standard Kubernetes label syntax. Valid values are either: * Un-prefixed keys: - storage - the capacity of the volume. * Custom resources must use implementation-defined prefixed names such as \"example.com/my-custom-resource\" Apart from above values - keys that are unprefixed or have kubernetes.io prefix are considered reserved and hence may not be used. Capacity reported here may be larger than the actual capacity when a volume expansion operation is requested. For storage quota, the larger value from allocatedResources and PVC.spec.resources is used. If allocatedResources is not set, PVC.spec.resources alone is used for quota calculation. If a volume expansion capacity request is lowered, allocatedResources is only lowered if there are no expansion operations in progress and if the actual volume capacity is equal or lower than the requested capacity. A controller that receives PVC update with previously unknown resourceName should ignore the update for the purpose it was designed. For example - a controller that only is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid resources associated with PVC. This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature. | [optional] | |**capacity** | **Map<String, Quantity>** | capacity represents the actual resources of the underlying volume. | [optional] | |**conditions** | [**List<V1PersistentVolumeClaimCondition>**](V1PersistentVolumeClaimCondition.md) | conditions is the current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'Resizing'. | [optional] | -|**currentVolumeAttributesClassName** | **String** | currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using. When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim This is a beta field and requires enabling VolumeAttributesClass feature (off by default). | [optional] | +|**currentVolumeAttributesClassName** | **String** | currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using. When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim | [optional] | |**modifyVolumeStatus** | [**V1ModifyVolumeStatus**](V1ModifyVolumeStatus.md) | | [optional] | |**phase** | **String** | phase represents the current phase of PersistentVolumeClaim. | [optional] | diff --git a/kubernetes/docs/V1PersistentVolumeSpec.md b/kubernetes/docs/V1PersistentVolumeSpec.md index df770c1a74..6c0a5fcad5 100644 --- a/kubernetes/docs/V1PersistentVolumeSpec.md +++ b/kubernetes/docs/V1PersistentVolumeSpec.md @@ -36,7 +36,7 @@ PersistentVolumeSpec is the specification of a persistent volume. |**scaleIO** | [**V1ScaleIOPersistentVolumeSource**](V1ScaleIOPersistentVolumeSource.md) | | [optional] | |**storageClassName** | **String** | storageClassName is the name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass. | [optional] | |**storageos** | [**V1StorageOSPersistentVolumeSource**](V1StorageOSPersistentVolumeSource.md) | | [optional] | -|**volumeAttributesClassName** | **String** | Name of VolumeAttributesClass to which this persistent volume belongs. Empty value is not allowed. When this field is not set, it indicates that this volume does not belong to any VolumeAttributesClass. This field is mutable and can be changed by the CSI driver after a volume has been updated successfully to a new class. For an unbound PersistentVolume, the volumeAttributesClassName will be matched with unbound PersistentVolumeClaims during the binding process. This is a beta field and requires enabling VolumeAttributesClass feature (off by default). | [optional] | +|**volumeAttributesClassName** | **String** | Name of VolumeAttributesClass to which this persistent volume belongs. Empty value is not allowed. When this field is not set, it indicates that this volume does not belong to any VolumeAttributesClass. This field is mutable and can be changed by the CSI driver after a volume has been updated successfully to a new class. For an unbound PersistentVolume, the volumeAttributesClassName will be matched with unbound PersistentVolumeClaims during the binding process. | [optional] | |**volumeMode** | **String** | volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec. | [optional] | |**vsphereVolume** | [**V1VsphereVirtualDiskVolumeSource**](V1VsphereVirtualDiskVolumeSource.md) | | [optional] | diff --git a/kubernetes/docs/V1PodAntiAffinity.md b/kubernetes/docs/V1PodAntiAffinity.md index c329dadf0a..ad3360a0b1 100644 --- a/kubernetes/docs/V1PodAntiAffinity.md +++ b/kubernetes/docs/V1PodAntiAffinity.md @@ -8,7 +8,7 @@ Pod anti affinity is a group of inter pod anti affinity scheduling rules. | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**preferredDuringSchedulingIgnoredDuringExecution** | [**List<V1WeightedPodAffinityTerm>**](V1WeightedPodAffinityTerm.md) | The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. | [optional] | +|**preferredDuringSchedulingIgnoredDuringExecution** | [**List<V1WeightedPodAffinityTerm>**](V1WeightedPodAffinityTerm.md) | The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and subtracting \"weight\" from the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. | [optional] | |**requiredDuringSchedulingIgnoredDuringExecution** | [**List<V1PodAffinityTerm>**](V1PodAffinityTerm.md) | If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. | [optional] | diff --git a/kubernetes/docs/V1PodCertificateProjection.md b/kubernetes/docs/V1PodCertificateProjection.md new file mode 100644 index 0000000000..1596eb36e0 --- /dev/null +++ b/kubernetes/docs/V1PodCertificateProjection.md @@ -0,0 +1,19 @@ + + +# V1PodCertificateProjection + +PodCertificateProjection provides a private key and X.509 certificate in the pod filesystem. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**certificateChainPath** | **String** | Write the certificate chain at this path in the projected volume. Most applications should use credentialBundlePath. When using keyPath 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. | [optional] | +|**credentialBundlePath** | **String** | Write the credential bundle at this path in the projected volume. The credential bundle is a single file that contains multiple PEM blocks. The first PEM block is a PRIVATE KEY block, containing a PKCS#8 private key. The remaining blocks are CERTIFICATE blocks, containing the issued certificate chain from the signer (leaf and any intermediates). Using credentialBundlePath lets your Pod's application code make a single 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. | [optional] | +|**keyPath** | **String** | Write the key at this path in the projected volume. Most applications should use credentialBundlePath. When using keyPath 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. | [optional] | +|**keyType** | **String** | The type of keypair Kubelet will generate for the pod. Valid values are \"RSA3072\", \"RSA4096\", \"ECDSAP256\", \"ECDSAP384\", \"ECDSAP521\", and \"ED25519\". | | +|**maxExpirationSeconds** | **Integer** | maxExpirationSeconds is the maximum lifetime permitted for the certificate. Kubelet copies this value verbatim into the PodCertificateRequests it generates for this projection. If omitted, kube-apiserver will set it to 86400(24 hours). kube-apiserver will reject values shorter than 3600 (1 hour). The maximum allowable value is 7862400 (91 days). The signer implementation is then free to issue a certificate with any lifetime *shorter* than MaxExpirationSeconds, but no shorter than 3600 seconds (1 hour). This constraint is enforced by kube-apiserver. `kubernetes.io` signers will never issue certificates with a lifetime longer than 24 hours. | [optional] | +|**signerName** | **String** | Kubelet's generated CSRs will be addressed to this signer. | | + + + diff --git a/kubernetes/docs/V1PodExtendedResourceClaimStatus.md b/kubernetes/docs/V1PodExtendedResourceClaimStatus.md new file mode 100644 index 0000000000..0d32720007 --- /dev/null +++ b/kubernetes/docs/V1PodExtendedResourceClaimStatus.md @@ -0,0 +1,15 @@ + + +# V1PodExtendedResourceClaimStatus + +PodExtendedResourceClaimStatus is stored in the PodStatus for the extended resource requests backed by DRA. It stores the generated name for the corresponding special ResourceClaim created by the scheduler. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**requestMappings** | [**List<V1ContainerExtendedResourceRequest>**](V1ContainerExtendedResourceRequest.md) | RequestMappings identifies the mapping of <container, extended resource backed by DRA> to device request in the generated ResourceClaim. | | +|**resourceClaimName** | **String** | ResourceClaimName is the name of the ResourceClaim that was generated for the Pod in the namespace of the Pod. | | + + + diff --git a/kubernetes/docs/V1PodSpec.md b/kubernetes/docs/V1PodSpec.md index e6dcd7ef92..133397b42b 100644 --- a/kubernetes/docs/V1PodSpec.md +++ b/kubernetes/docs/V1PodSpec.md @@ -18,10 +18,11 @@ PodSpec is a description of a pod. |**ephemeralContainers** | [**List<V1EphemeralContainer>**](V1EphemeralContainer.md) | List of ephemeral containers run in this pod. Ephemeral containers may be run in an existing pod to perform user-initiated actions such as debugging. This list cannot be specified when creating a pod, and it cannot be modified by updating the pod spec. In order to add an ephemeral container to an existing pod, use the pod's ephemeralcontainers subresource. | [optional] | |**hostAliases** | [**List<V1HostAlias>**](V1HostAlias.md) | HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. | [optional] | |**hostIPC** | **Boolean** | Use the host's ipc namespace. Optional: Default to false. | [optional] | -|**hostNetwork** | **Boolean** | Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false. | [optional] | +|**hostNetwork** | **Boolean** | Host networking requested for this pod. Use the host's network namespace. When using HostNetwork you should specify ports so the scheduler is aware. When `hostNetwork` is true, specified `hostPort` fields in port definitions must match `containerPort`, and unspecified `hostPort` fields in port definitions are defaulted to match `containerPort`. Default to false. | [optional] | |**hostPID** | **Boolean** | Use the host's pid namespace. Optional: Default to false. | [optional] | |**hostUsers** | **Boolean** | 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. | [optional] | |**hostname** | **String** | Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value. | [optional] | +|**hostnameOverride** | **String** | 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. When this field is set to a non-empty string: - It takes precedence over the values set in `hostname` and `subdomain`. - The Pod's hostname will be set to this value. - `setHostnameAsFQDN` must be nil or set to false. - `hostNetwork` must be set to false. 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. | [optional] | |**imagePullSecrets** | [**List<V1LocalObjectReference>**](V1LocalObjectReference.md) | ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod | [optional] | |**initContainers** | [**List<V1Container>**](V1Container.md) | List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/ | [optional] | |**nodeName** | **String** | NodeName indicates in which node this pod is scheduled. If empty, this pod is a candidate for scheduling by the scheduler defined in schedulerName. Once this field is set, the kubelet for this node becomes responsible for the lifecycle of this pod. This field should not be used to express a desire for the pod to be scheduled on a specific node. https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodename | [optional] | diff --git a/kubernetes/docs/V1PodStatus.md b/kubernetes/docs/V1PodStatus.md index eb34c71eda..2462578de6 100644 --- a/kubernetes/docs/V1PodStatus.md +++ b/kubernetes/docs/V1PodStatus.md @@ -11,6 +11,7 @@ PodStatus represents information about the status of a pod. Status may trail the |**conditions** | [**List<V1PodCondition>**](V1PodCondition.md) | Current service state of pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions | [optional] | |**containerStatuses** | [**List<V1ContainerStatus>**](V1ContainerStatus.md) | Statuses of containers in this pod. Each container in the pod should have at most one status in this list, and all statuses should be for containers in the pod. However this is not enforced. If a status for a non-existent container is present in the list, or the list has duplicate names, the behavior of various Kubernetes components is not defined and those statuses might be ignored. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status | [optional] | |**ephemeralContainerStatuses** | [**List<V1ContainerStatus>**](V1ContainerStatus.md) | Statuses for any ephemeral containers that have run in this pod. Each ephemeral container in the pod should have at most one status in this list, and all statuses should be for containers in the pod. However this is not enforced. If a status for a non-existent container is present in the list, or the list has duplicate names, the behavior of various Kubernetes components is not defined and those statuses might be ignored. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status | [optional] | +|**extendedResourceClaimStatus** | [**V1PodExtendedResourceClaimStatus**](V1PodExtendedResourceClaimStatus.md) | | [optional] | |**hostIP** | **String** | hostIP holds the IP address of the host to which the pod is assigned. Empty if the pod has not started yet. A pod can be assigned to a node that has a problem in kubelet which in turns mean that HostIP will not be updated even if there is a node is assigned to pod | [optional] | |**hostIPs** | [**List<V1HostIP>**](V1HostIP.md) | hostIPs holds the IP addresses allocated to the host. If this field is specified, the first entry must match the hostIP field. This list is empty if the pod has not started yet. A pod can be assigned to a node that has a problem in kubelet which in turns means that HostIPs will not be updated even if there is a node is assigned to this pod. | [optional] | |**initContainerStatuses** | [**List<V1ContainerStatus>**](V1ContainerStatus.md) | Statuses of init containers in this pod. The most recent successful non-restartable init container will have ready = true, the most recently started container will have startTime set. Each init container in the pod should have at most one status in this list, and all statuses should be for containers in the pod. However this is not enforced. If a status for a non-existent container is present in the list, or the list has duplicate names, the behavior of various Kubernetes components is not defined and those statuses might be ignored. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#pod-and-container-status | [optional] | diff --git a/kubernetes/docs/V1alpha3ResourceClaimConsumerReference.md b/kubernetes/docs/V1ResourceClaimConsumerReference.md similarity index 95% rename from kubernetes/docs/V1alpha3ResourceClaimConsumerReference.md rename to kubernetes/docs/V1ResourceClaimConsumerReference.md index 5ff8fc07e4..e6f512c271 100644 --- a/kubernetes/docs/V1alpha3ResourceClaimConsumerReference.md +++ b/kubernetes/docs/V1ResourceClaimConsumerReference.md @@ -1,6 +1,6 @@ -# V1alpha3ResourceClaimConsumerReference +# V1ResourceClaimConsumerReference ResourceClaimConsumerReference contains enough information to let you locate the consumer of a ResourceClaim. The user must be a resource in the same namespace as the ResourceClaim. diff --git a/kubernetes/docs/V1alpha3ResourceClaimList.md b/kubernetes/docs/V1ResourceClaimList.md similarity index 86% rename from kubernetes/docs/V1alpha3ResourceClaimList.md rename to kubernetes/docs/V1ResourceClaimList.md index 68e9813504..6522197cc0 100644 --- a/kubernetes/docs/V1alpha3ResourceClaimList.md +++ b/kubernetes/docs/V1ResourceClaimList.md @@ -1,6 +1,6 @@ -# V1alpha3ResourceClaimList +# V1ResourceClaimList ResourceClaimList is a collection of claims. @@ -9,7 +9,7 @@ ResourceClaimList is a collection of claims. | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| |**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] | -|**items** | [**List<V1alpha3ResourceClaim>**](V1alpha3ResourceClaim.md) | Items is the list of resource claims. | | +|**items** | [**List<ResourceV1ResourceClaim>**](ResourceV1ResourceClaim.md) | Items is the list of resource claims. | | |**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] | |**metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] | diff --git a/kubernetes/docs/V1alpha3ResourceClaimSpec.md b/kubernetes/docs/V1ResourceClaimSpec.md similarity index 65% rename from kubernetes/docs/V1alpha3ResourceClaimSpec.md rename to kubernetes/docs/V1ResourceClaimSpec.md index e9fb49a5ba..d13f78224d 100644 --- a/kubernetes/docs/V1alpha3ResourceClaimSpec.md +++ b/kubernetes/docs/V1ResourceClaimSpec.md @@ -1,6 +1,6 @@ -# V1alpha3ResourceClaimSpec +# V1ResourceClaimSpec ResourceClaimSpec defines what is being requested in a ResourceClaim and how to configure it. @@ -8,7 +8,7 @@ ResourceClaimSpec defines what is being requested in a ResourceClaim and how to | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**devices** | [**V1alpha3DeviceClaim**](V1alpha3DeviceClaim.md) | | [optional] | +|**devices** | [**V1DeviceClaim**](V1DeviceClaim.md) | | [optional] | diff --git a/kubernetes/docs/V1ResourceClaimStatus.md b/kubernetes/docs/V1ResourceClaimStatus.md new file mode 100644 index 0000000000..0cf08f1641 --- /dev/null +++ b/kubernetes/docs/V1ResourceClaimStatus.md @@ -0,0 +1,16 @@ + + +# V1ResourceClaimStatus + +ResourceClaimStatus tracks whether the resource has been allocated and what the result of that was. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**allocation** | [**V1AllocationResult**](V1AllocationResult.md) | | [optional] | +|**devices** | [**List<V1AllocatedDeviceStatus>**](V1AllocatedDeviceStatus.md) | Devices contains the status of each device allocated for this claim, as reported by the driver. This can include driver-specific information. Entries are owned by their respective drivers. | [optional] | +|**reservedFor** | [**List<V1ResourceClaimConsumerReference>**](V1ResourceClaimConsumerReference.md) | ReservedFor indicates which entities are currently allowed to use the claim. A Pod which references a ResourceClaim which is not reserved for that Pod will not be started. A claim that is in use or might be in use because it has been reserved must not get deallocated. In a cluster with multiple scheduler instances, two pods might get scheduled concurrently by different schedulers. When they reference the same ResourceClaim which already has reached its maximum number of consumers, only one pod can be scheduled. Both schedulers try to add their pod to the claim.status.reservedFor field, but only the update that reaches the API server first gets stored. The other one fails with an error and the scheduler which issued it knows that it must put the pod back into the queue, waiting for the ResourceClaim to become usable again. There can be at most 256 such reservations. This may get increased in the future, but not reduced. | [optional] | + + + diff --git a/kubernetes/docs/V1alpha3ResourceClaimTemplate.md b/kubernetes/docs/V1ResourceClaimTemplate.md similarity index 89% rename from kubernetes/docs/V1alpha3ResourceClaimTemplate.md rename to kubernetes/docs/V1ResourceClaimTemplate.md index 5032dcb47d..8657b2e719 100644 --- a/kubernetes/docs/V1alpha3ResourceClaimTemplate.md +++ b/kubernetes/docs/V1ResourceClaimTemplate.md @@ -1,6 +1,6 @@ -# V1alpha3ResourceClaimTemplate +# V1ResourceClaimTemplate ResourceClaimTemplate is used to produce ResourceClaim objects. This is an alpha type and requires enabling the DynamicResourceAllocation feature gate. @@ -11,7 +11,7 @@ ResourceClaimTemplate is used to produce ResourceClaim objects. This is an alph |**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] | |**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] | |**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] | -|**spec** | [**V1alpha3ResourceClaimTemplateSpec**](V1alpha3ResourceClaimTemplateSpec.md) | | | +|**spec** | [**V1ResourceClaimTemplateSpec**](V1ResourceClaimTemplateSpec.md) | | | ## Implemented Interfaces diff --git a/kubernetes/docs/V1alpha3ResourceClaimTemplateList.md b/kubernetes/docs/V1ResourceClaimTemplateList.md similarity index 84% rename from kubernetes/docs/V1alpha3ResourceClaimTemplateList.md rename to kubernetes/docs/V1ResourceClaimTemplateList.md index e1899dac1f..08808e82d1 100644 --- a/kubernetes/docs/V1alpha3ResourceClaimTemplateList.md +++ b/kubernetes/docs/V1ResourceClaimTemplateList.md @@ -1,6 +1,6 @@ -# V1alpha3ResourceClaimTemplateList +# V1ResourceClaimTemplateList ResourceClaimTemplateList is a collection of claim templates. @@ -9,7 +9,7 @@ ResourceClaimTemplateList is a collection of claim templates. | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| |**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] | -|**items** | [**List<V1alpha3ResourceClaimTemplate>**](V1alpha3ResourceClaimTemplate.md) | Items is the list of resource claim templates. | | +|**items** | [**List<V1ResourceClaimTemplate>**](V1ResourceClaimTemplate.md) | Items is the list of resource claim templates. | | |**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] | |**metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] | diff --git a/kubernetes/docs/V1alpha3ResourceClaimTemplateSpec.md b/kubernetes/docs/V1ResourceClaimTemplateSpec.md similarity index 69% rename from kubernetes/docs/V1alpha3ResourceClaimTemplateSpec.md rename to kubernetes/docs/V1ResourceClaimTemplateSpec.md index 94d02c8ad7..7919a13bdf 100644 --- a/kubernetes/docs/V1alpha3ResourceClaimTemplateSpec.md +++ b/kubernetes/docs/V1ResourceClaimTemplateSpec.md @@ -1,6 +1,6 @@ -# V1alpha3ResourceClaimTemplateSpec +# V1ResourceClaimTemplateSpec ResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim. @@ -9,7 +9,7 @@ ResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim. | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| |**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] | -|**spec** | [**V1alpha3ResourceClaimSpec**](V1alpha3ResourceClaimSpec.md) | | | +|**spec** | [**V1ResourceClaimSpec**](V1ResourceClaimSpec.md) | | | diff --git a/kubernetes/docs/V1alpha3ResourcePool.md b/kubernetes/docs/V1ResourcePool.md similarity index 98% rename from kubernetes/docs/V1alpha3ResourcePool.md rename to kubernetes/docs/V1ResourcePool.md index b68a11602b..bab3e82ed5 100644 --- a/kubernetes/docs/V1alpha3ResourcePool.md +++ b/kubernetes/docs/V1ResourcePool.md @@ -1,6 +1,6 @@ -# V1alpha3ResourcePool +# V1ResourcePool ResourcePool describes the pool that ResourceSlices belong to. diff --git a/kubernetes/docs/V1ResourceRequirements.md b/kubernetes/docs/V1ResourceRequirements.md index 29f077e454..53ec2ee6c8 100644 --- a/kubernetes/docs/V1ResourceRequirements.md +++ b/kubernetes/docs/V1ResourceRequirements.md @@ -8,7 +8,7 @@ ResourceRequirements describes the compute resource requirements. | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**claims** | [**List<V1ResourceClaim>**](V1ResourceClaim.md) | Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. This field is immutable. It can only be set for containers. | [optional] | +|**claims** | [**List<CoreV1ResourceClaim>**](CoreV1ResourceClaim.md) | Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. This field depends on the DynamicResourceAllocation feature gate. This field is immutable. It can only be set for containers. | [optional] | |**limits** | **Map<String, Quantity>** | Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ | [optional] | |**requests** | **Map<String, Quantity>** | Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ | [optional] | diff --git a/kubernetes/docs/V1alpha3ResourceSlice.md b/kubernetes/docs/V1ResourceSlice.md similarity index 95% rename from kubernetes/docs/V1alpha3ResourceSlice.md rename to kubernetes/docs/V1ResourceSlice.md index 3194708af2..79f8b3293f 100644 --- a/kubernetes/docs/V1alpha3ResourceSlice.md +++ b/kubernetes/docs/V1ResourceSlice.md @@ -1,6 +1,6 @@ -# V1alpha3ResourceSlice +# V1ResourceSlice ResourceSlice represents one or more resources in a pool of similar resources, managed by a common driver. A pool may span more than one ResourceSlice, and exactly how many ResourceSlices comprise a pool is determined by the driver. At the moment, the only supported resources are devices with attributes and capacities. Each device in a given pool, regardless of how many ResourceSlices, must have a unique name. The ResourceSlice in which a device gets published may change over time. The unique identifier for a device is the tuple , , . Whenever a driver needs to update a pool, it increments the pool.Spec.Pool.Generation number and updates all ResourceSlices with that new number and new resource definitions. A consumer must only use ResourceSlices with the highest generation number and ignore all others. When allocating all resources in a pool matching certain criteria or when looking for the best solution among several different alternatives, a consumer should check the number of ResourceSlices in a pool (included in each ResourceSlice) to determine whether its view of a pool is complete and if not, should wait until the driver has completed updating the pool. For resources that are not local to a node, the node name is not set. Instead, the driver may use a node selector to specify where the devices are available. This is an alpha type and requires enabling the DynamicResourceAllocation feature gate. @@ -11,7 +11,7 @@ ResourceSlice represents one or more resources in a pool of similar resources, m |**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] | |**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] | |**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] | -|**spec** | [**V1alpha3ResourceSliceSpec**](V1alpha3ResourceSliceSpec.md) | | | +|**spec** | [**V1ResourceSliceSpec**](V1ResourceSliceSpec.md) | | | ## Implemented Interfaces diff --git a/kubernetes/docs/V1alpha3ResourceSliceList.md b/kubernetes/docs/V1ResourceSliceList.md similarity index 86% rename from kubernetes/docs/V1alpha3ResourceSliceList.md rename to kubernetes/docs/V1ResourceSliceList.md index 717f435446..0fc73ddad3 100644 --- a/kubernetes/docs/V1alpha3ResourceSliceList.md +++ b/kubernetes/docs/V1ResourceSliceList.md @@ -1,6 +1,6 @@ -# V1alpha3ResourceSliceList +# V1ResourceSliceList ResourceSliceList is a collection of ResourceSlices. @@ -9,7 +9,7 @@ ResourceSliceList is a collection of ResourceSlices. | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| |**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] | -|**items** | [**List<V1alpha3ResourceSlice>**](V1alpha3ResourceSlice.md) | Items is the list of resource ResourceSlices. | | +|**items** | [**List<V1ResourceSlice>**](V1ResourceSlice.md) | Items is the list of resource ResourceSlices. | | |**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] | |**metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] | diff --git a/kubernetes/docs/V1alpha3ResourceSliceSpec.md b/kubernetes/docs/V1ResourceSliceSpec.md similarity index 74% rename from kubernetes/docs/V1alpha3ResourceSliceSpec.md rename to kubernetes/docs/V1ResourceSliceSpec.md index c7a291c06a..dfd97fb6db 100644 --- a/kubernetes/docs/V1alpha3ResourceSliceSpec.md +++ b/kubernetes/docs/V1ResourceSliceSpec.md @@ -1,6 +1,6 @@ -# V1alpha3ResourceSliceSpec +# V1ResourceSliceSpec ResourceSliceSpec contains the information published by the driver in one ResourceSlice. @@ -9,13 +9,13 @@ ResourceSliceSpec contains the information published by the driver in one Resour | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| |**allNodes** | **Boolean** | AllNodes indicates that all nodes have access to the resources in the pool. Exactly one of NodeName, NodeSelector, AllNodes, and PerDeviceNodeSelection must be set. | [optional] | -|**devices** | [**List<V1alpha3Device>**](V1alpha3Device.md) | Devices lists some or all of the devices in this pool. Must not have more than 128 entries. | [optional] | +|**devices** | [**List<V1Device>**](V1Device.md) | Devices lists some or all of the devices in this pool. Must not have more than 128 entries. | [optional] | |**driver** | **String** | Driver identifies the DRA driver providing the capacity information. A field selector can be used to list only ResourceSlice objects with a certain driver name. Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. This field is immutable. | | |**nodeName** | **String** | NodeName identifies the node which provides the resources in this pool. A field selector can be used to list only ResourceSlice objects belonging to a certain node. This field can be used to limit access from nodes to ResourceSlices with the same node name. It also indicates to autoscalers that adding new nodes of the same type as some old node might also make new resources available. Exactly one of NodeName, NodeSelector, AllNodes, and PerDeviceNodeSelection must be set. This field is immutable. | [optional] | |**nodeSelector** | [**V1NodeSelector**](V1NodeSelector.md) | | [optional] | |**perDeviceNodeSelection** | **Boolean** | PerDeviceNodeSelection defines whether the access from nodes to resources in the pool is set on the ResourceSlice level or on each device. If it is set to true, every device defined the ResourceSlice must specify this individually. Exactly one of NodeName, NodeSelector, AllNodes, and PerDeviceNodeSelection must be set. | [optional] | -|**pool** | [**V1alpha3ResourcePool**](V1alpha3ResourcePool.md) | | | -|**sharedCounters** | [**List<V1alpha3CounterSet>**](V1alpha3CounterSet.md) | SharedCounters defines a list of counter sets, each of which has a name and a list of counters available. The names of the SharedCounters must be unique in the ResourceSlice. The maximum number of SharedCounters is 32. | [optional] | +|**pool** | [**V1ResourcePool**](V1ResourcePool.md) | | | +|**sharedCounters** | [**List<V1CounterSet>**](V1CounterSet.md) | SharedCounters defines a list of counter sets, each of which has a name and a list of counters available. The names of the SharedCounters must be unique in the ResourceSlice. The maximum number of counters in all sets is 32. | [optional] | diff --git a/kubernetes/docs/V1SuccessPolicy.md b/kubernetes/docs/V1SuccessPolicy.md index 2a69aa79b0..603e12e4e7 100644 --- a/kubernetes/docs/V1SuccessPolicy.md +++ b/kubernetes/docs/V1SuccessPolicy.md @@ -8,7 +8,7 @@ SuccessPolicy describes when a Job can be declared as succeeded based on the suc | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**rules** | [**List<V1SuccessPolicyRule>**](V1SuccessPolicyRule.md) | rules represents the list of alternative rules for the declaring the Jobs as successful before `.status.succeeded >= .spec.completions`. Once any of the rules are met, the \"SucceededCriteriaMet\" condition is added, and the lingering pods are removed. The terminal state for such a Job has the \"Complete\" condition. Additionally, these rules are evaluated in order; Once the Job meets one of the rules, other rules are ignored. At most 20 elements are allowed. | | +|**rules** | [**List<V1SuccessPolicyRule>**](V1SuccessPolicyRule.md) | rules represents the list of alternative rules for the declaring the Jobs as successful before `.status.succeeded >= .spec.completions`. Once any of the rules are met, the \"SuccessCriteriaMet\" condition is added, and the lingering pods are removed. The terminal state for such a Job has the \"Complete\" condition. Additionally, these rules are evaluated in order; Once the Job meets one of the rules, other rules are ignored. At most 20 elements are allowed. | | diff --git a/kubernetes/docs/V1Taint.md b/kubernetes/docs/V1Taint.md index d6606eea07..25d9db0e29 100644 --- a/kubernetes/docs/V1Taint.md +++ b/kubernetes/docs/V1Taint.md @@ -10,7 +10,7 @@ The node this Taint is attached to has the \"effect\" on any pod that does not t |------------ | ------------- | ------------- | -------------| |**effect** | **String** | Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute. | | |**key** | **String** | Required. The taint key to be applied to a node. | | -|**timeAdded** | **OffsetDateTime** | TimeAdded represents the time at which the taint was added. It is only written for NoExecute taints. | [optional] | +|**timeAdded** | **OffsetDateTime** | TimeAdded represents the time at which the taint was added. | [optional] | |**value** | **String** | The taint value corresponding to the taint key. | [optional] | diff --git a/kubernetes/docs/V1VolumeAttributesClass.md b/kubernetes/docs/V1VolumeAttributesClass.md new file mode 100644 index 0000000000..a5fb09699a --- /dev/null +++ b/kubernetes/docs/V1VolumeAttributesClass.md @@ -0,0 +1,22 @@ + + +# V1VolumeAttributesClass + +VolumeAttributesClass represents a specification of mutable volume attributes defined by the CSI driver. The class can be specified during dynamic provisioning of PersistentVolumeClaims, and changed in the PersistentVolumeClaim spec after provisioning. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] | +|**driverName** | **String** | Name of the CSI driver This field is immutable. | | +|**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] | +|**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] | +|**parameters** | **Map<String, String>** | parameters hold volume attributes defined by the CSI driver. These values are opaque to the Kubernetes and are passed directly to the CSI driver. The underlying storage provider supports changing these attributes on an existing volume, however the parameters field itself is immutable. To invoke a volume update, a new VolumeAttributesClass should be created with new parameters, and the PersistentVolumeClaim should be updated to reference the new VolumeAttributesClass. This field is required and must contain at least one key/value pair. The keys cannot be empty, and the maximum number of parameters is 512, with a cumulative max size of 256K. If the CSI driver rejects invalid parameters, the target PersistentVolumeClaim will be set to an \"Infeasible\" state in the modifyVolumeStatus field. | [optional] | + + +## Implemented Interfaces + +* io.kubernetes.client.common.KubernetesObject + + diff --git a/kubernetes/docs/V1VolumeAttributesClassList.md b/kubernetes/docs/V1VolumeAttributesClassList.md new file mode 100644 index 0000000000..9154b12f02 --- /dev/null +++ b/kubernetes/docs/V1VolumeAttributesClassList.md @@ -0,0 +1,21 @@ + + +# V1VolumeAttributesClassList + +VolumeAttributesClassList is a collection of VolumeAttributesClass objects. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] | +|**items** | [**List<V1VolumeAttributesClass>**](V1VolumeAttributesClass.md) | items is the list of VolumeAttributesClass objects. | | +|**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] | +|**metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] | + + +## Implemented Interfaces + +* io.kubernetes.client.common.KubernetesListObject + + diff --git a/kubernetes/docs/V1VolumeError.md b/kubernetes/docs/V1VolumeError.md index bdd6ca7306..72838aef5f 100644 --- a/kubernetes/docs/V1VolumeError.md +++ b/kubernetes/docs/V1VolumeError.md @@ -8,7 +8,7 @@ VolumeError captures an error encountered during a volume operation. | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**errorCode** | **Integer** | errorCode is a numeric gRPC code representing the error encountered during Attach or Detach operations. This is an optional, alpha field that requires the MutableCSINodeAllocatableCount feature gate being enabled to be set. | [optional] | +|**errorCode** | **Integer** | errorCode is a numeric gRPC code representing the error encountered during Attach or Detach operations. This is an optional, beta field that requires the MutableCSINodeAllocatableCount feature gate being enabled to be set. | [optional] | |**message** | **String** | message represents the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information. | [optional] | |**time** | **OffsetDateTime** | time represents the time the error was encountered. | [optional] | diff --git a/kubernetes/docs/V1VolumeProjection.md b/kubernetes/docs/V1VolumeProjection.md index 4d73128d80..4fba00b3d2 100644 --- a/kubernetes/docs/V1VolumeProjection.md +++ b/kubernetes/docs/V1VolumeProjection.md @@ -11,6 +11,7 @@ Projection that may be projected along with other supported volume types. Exactl |**clusterTrustBundle** | [**V1ClusterTrustBundleProjection**](V1ClusterTrustBundleProjection.md) | | [optional] | |**configMap** | [**V1ConfigMapProjection**](V1ConfigMapProjection.md) | | [optional] | |**downwardAPI** | [**V1DownwardAPIProjection**](V1DownwardAPIProjection.md) | | [optional] | +|**podCertificate** | [**V1PodCertificateProjection**](V1PodCertificateProjection.md) | | [optional] | |**secret** | [**V1SecretProjection**](V1SecretProjection.md) | | [optional] | |**serviceAccountToken** | [**V1ServiceAccountTokenProjection**](V1ServiceAccountTokenProjection.md) | | [optional] | diff --git a/kubernetes/docs/V1beta1ValidatingAdmissionPolicy.md b/kubernetes/docs/V1alpha1PodCertificateRequest.md similarity index 69% rename from kubernetes/docs/V1beta1ValidatingAdmissionPolicy.md rename to kubernetes/docs/V1alpha1PodCertificateRequest.md index 29f16dc432..673e7cd0c1 100644 --- a/kubernetes/docs/V1beta1ValidatingAdmissionPolicy.md +++ b/kubernetes/docs/V1alpha1PodCertificateRequest.md @@ -1,8 +1,8 @@ -# V1beta1ValidatingAdmissionPolicy +# V1alpha1PodCertificateRequest -ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it. +PodCertificateRequest encodes a pod requesting a certificate from a given signer. Kubelets use this API to implement podCertificate projected volumes ## Properties @@ -11,8 +11,8 @@ ValidatingAdmissionPolicy describes the definition of an admission validation po |**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] | |**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] | |**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] | -|**spec** | [**V1beta1ValidatingAdmissionPolicySpec**](V1beta1ValidatingAdmissionPolicySpec.md) | | [optional] | -|**status** | [**V1beta1ValidatingAdmissionPolicyStatus**](V1beta1ValidatingAdmissionPolicyStatus.md) | | [optional] | +|**spec** | [**V1alpha1PodCertificateRequestSpec**](V1alpha1PodCertificateRequestSpec.md) | | | +|**status** | [**V1alpha1PodCertificateRequestStatus**](V1alpha1PodCertificateRequestStatus.md) | | [optional] | ## Implemented Interfaces diff --git a/kubernetes/docs/V1alpha1PodCertificateRequestList.md b/kubernetes/docs/V1alpha1PodCertificateRequestList.md new file mode 100644 index 0000000000..e4a336f1bc --- /dev/null +++ b/kubernetes/docs/V1alpha1PodCertificateRequestList.md @@ -0,0 +1,21 @@ + + +# V1alpha1PodCertificateRequestList + +PodCertificateRequestList is a collection of PodCertificateRequest objects + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] | +|**items** | [**List<V1alpha1PodCertificateRequest>**](V1alpha1PodCertificateRequest.md) | items is a collection of PodCertificateRequest objects | | +|**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] | +|**metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] | + + +## Implemented Interfaces + +* io.kubernetes.client.common.KubernetesListObject + + diff --git a/kubernetes/docs/V1alpha1PodCertificateRequestSpec.md b/kubernetes/docs/V1alpha1PodCertificateRequestSpec.md new file mode 100644 index 0000000000..016a71fe8c --- /dev/null +++ b/kubernetes/docs/V1alpha1PodCertificateRequestSpec.md @@ -0,0 +1,23 @@ + + +# V1alpha1PodCertificateRequestSpec + +PodCertificateRequestSpec describes the certificate request. All fields are immutable after creation. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**maxExpirationSeconds** | **Integer** | maxExpirationSeconds is the maximum lifetime permitted for the certificate. If omitted, kube-apiserver will set it to 86400(24 hours). kube-apiserver will reject values shorter than 3600 (1 hour). The maximum allowable value is 7862400 (91 days). The signer implementation is then free to issue a certificate with any lifetime *shorter* than MaxExpirationSeconds, but no shorter than 3600 seconds (1 hour). This constraint is enforced by kube-apiserver. `kubernetes.io` signers will never issue certificates with a lifetime longer than 24 hours. | [optional] | +|**nodeName** | **String** | nodeName is the name of the node the pod is assigned to. | | +|**nodeUID** | **String** | nodeUID is the UID of the node the pod is assigned to. | | +|**pkixPublicKey** | **byte[]** | pkixPublicKey is the PKIX-serialized public key the signer will issue the certificate to. The key must be one of RSA3072, RSA4096, ECDSAP256, ECDSAP384, ECDSAP521, or ED25519. Note that this list may be expanded in the future. Signer implementations do not need to support all key types supported by kube-apiserver and kubelet. If a signer does not support the key type used for a given PodCertificateRequest, it must deny the request by setting a status.conditions entry with a type of \"Denied\" and a reason of \"UnsupportedKeyType\". It may also suggest a key type that it does support in the message field. | | +|**podName** | **String** | podName is the name of the pod into which the certificate will be mounted. | | +|**podUID** | **String** | podUID is the UID of the pod into which the certificate will be mounted. | | +|**proofOfPossession** | **byte[]** | proofOfPossession proves that the requesting kubelet holds the private key corresponding to pkixPublicKey. It is contructed by signing the ASCII bytes of the pod's UID using `pkixPublicKey`. kube-apiserver validates the proof of possession during creation of the PodCertificateRequest. If the key is an RSA key, then the signature is over the ASCII bytes of the pod UID, using RSASSA-PSS from RFC 8017 (as implemented by the golang function crypto/rsa.SignPSS with nil options). If the key is an ECDSA key, then the signature is as described by [SEC 1, Version 2.0](https://www.secg.org/sec1-v2.pdf) (as implemented by the golang library function crypto/ecdsa.SignASN1) If the key is an ED25519 key, the the signature is as described by the [ED25519 Specification](https://ed25519.cr.yp.to/) (as implemented by the golang library crypto/ed25519.Sign). | | +|**serviceAccountName** | **String** | serviceAccountName is the name of the service account the pod is running as. | | +|**serviceAccountUID** | **String** | serviceAccountUID is the UID of the service account the pod is running as. | | +|**signerName** | **String** | signerName indicates the requested signer. All signer names beginning with `kubernetes.io` are reserved for use by the Kubernetes project. There is currently one well-known signer documented by the Kubernetes project, `kubernetes.io/kube-apiserver-client-pod`, which will issue client certificates understood by kube-apiserver. It is currently unimplemented. | | + + + diff --git a/kubernetes/docs/V1alpha1PodCertificateRequestStatus.md b/kubernetes/docs/V1alpha1PodCertificateRequestStatus.md new file mode 100644 index 0000000000..ea98b03ffd --- /dev/null +++ b/kubernetes/docs/V1alpha1PodCertificateRequestStatus.md @@ -0,0 +1,18 @@ + + +# V1alpha1PodCertificateRequestStatus + +PodCertificateRequestStatus describes the status of the request, and holds the certificate data if the request is issued. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**beginRefreshAt** | **OffsetDateTime** | beginRefreshAt is the time at which the kubelet should begin trying to refresh the certificate. This field is set via the /status subresource, and must be set at the same time as certificateChain. Once populated, this field is immutable. This field is only a hint. Kubelet may start refreshing before or after this time if necessary. | [optional] | +|**certificateChain** | **String** | certificateChain is populated with an issued certificate by the signer. This field is set via the /status subresource. Once populated, this field is immutable. If the certificate signing request is denied, a condition of type \"Denied\" is added and this field remains empty. If the signer cannot issue the certificate, a condition of type \"Failed\" is added and this field remains empty. Validation requirements: 1. certificateChain must consist of one or more PEM-formatted certificates. 2. Each entry must be a valid PEM-wrapped, DER-encoded ASN.1 Certificate as described in section 4 of RFC5280. If more than one block is present, and the definition of the requested spec.signerName does not indicate otherwise, the first block is the issued certificate, and subsequent blocks should be treated as intermediate certificates and presented in TLS handshakes. When projecting the chain into a pod volume, kubelet will drop any data in-between the PEM blocks, as well as any PEM block headers. | [optional] | +|**conditions** | [**List<V1Condition>**](V1Condition.md) | conditions applied to the request. The types \"Issued\", \"Denied\", and \"Failed\" have special handling. At most one of these conditions may be present, and they must have status \"True\". If the request is denied with `Reason=UnsupportedKeyType`, the signer may suggest a key type that will work in the message field. | [optional] | +|**notAfter** | **OffsetDateTime** | notAfter is the time at which the certificate expires. The value must be the same as the notAfter value in the leaf certificate in certificateChain. This field is set via the /status subresource. Once populated, it is immutable. The signer must set this field at the same time it sets certificateChain. | [optional] | +|**notBefore** | **OffsetDateTime** | notBefore is the time at which the certificate becomes valid. The value must be the same as the notBefore value in the leaf certificate in certificateChain. This field is set via the /status subresource. Once populated, it is immutable. The signer must set this field at the same time it sets certificateChain. | [optional] | + + + diff --git a/kubernetes/docs/V1alpha3AllocationResult.md b/kubernetes/docs/V1alpha3AllocationResult.md deleted file mode 100644 index ed2dda5703..0000000000 --- a/kubernetes/docs/V1alpha3AllocationResult.md +++ /dev/null @@ -1,15 +0,0 @@ - - -# V1alpha3AllocationResult - -AllocationResult contains attributes of an allocated resource. - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**devices** | [**V1alpha3DeviceAllocationResult**](V1alpha3DeviceAllocationResult.md) | | [optional] | -|**nodeSelector** | [**V1NodeSelector**](V1NodeSelector.md) | | [optional] | - - - diff --git a/kubernetes/docs/V1alpha3BasicDevice.md b/kubernetes/docs/V1alpha3BasicDevice.md deleted file mode 100644 index 270679641a..0000000000 --- a/kubernetes/docs/V1alpha3BasicDevice.md +++ /dev/null @@ -1,20 +0,0 @@ - - -# V1alpha3BasicDevice - -BasicDevice defines one device instance. - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**allNodes** | **Boolean** | 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. | [optional] | -|**attributes** | [**Map<String, V1alpha3DeviceAttribute>**](V1alpha3DeviceAttribute.md) | 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. | [optional] | -|**capacity** | **Map<String, Quantity>** | 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. | [optional] | -|**consumesCounters** | [**List<V1alpha3DeviceCounterConsumption>**](V1alpha3DeviceCounterConsumption.md) | ConsumesCounters defines a list of references to sharedCounters and the set of counters that the device will consume from those counter sets. There can only be a single entry per counterSet. The total number of device counter consumption entries must be <= 32. In addition, the total number in the entire ResourceSlice must be <= 1024 (for example, 64 devices with 16 counters each). | [optional] | -|**nodeName** | **String** | 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. | [optional] | -|**nodeSelector** | [**V1NodeSelector**](V1NodeSelector.md) | | [optional] | -|**taints** | [**List<V1alpha3DeviceTaint>**](V1alpha3DeviceTaint.md) | If specified, these are the driver-defined taints. The maximum number of taints is 4. This is an alpha field and requires enabling the DRADeviceTaints feature gate. | [optional] | - - - diff --git a/kubernetes/docs/V1alpha3CounterSet.md b/kubernetes/docs/V1alpha3CounterSet.md deleted file mode 100644 index 58effdda48..0000000000 --- a/kubernetes/docs/V1alpha3CounterSet.md +++ /dev/null @@ -1,15 +0,0 @@ - - -# V1alpha3CounterSet - -CounterSet defines a named set of counters that are available to be used by devices defined in the ResourceSlice. The counters are not allocatable by themselves, but can be referenced by devices. When a device is allocated, the portion of counters it uses will no longer be available for use by other devices. - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**counters** | [**Map<String, V1alpha3Counter>**](V1alpha3Counter.md) | Counters defines the counters that will be consumed by the device. The name of each counter must be unique in that set and must be a DNS label. To ensure this uniqueness, capacities defined by the vendor must be listed without the driver name as domain prefix in their name. All others must be listed with their domain prefix. The maximum number of counters is 32. | | -|**name** | **String** | CounterSet is the name of the set from which the counters defined will be consumed. | | - - - diff --git a/kubernetes/docs/V1alpha3Device.md b/kubernetes/docs/V1alpha3Device.md deleted file mode 100644 index 2396043b0c..0000000000 --- a/kubernetes/docs/V1alpha3Device.md +++ /dev/null @@ -1,15 +0,0 @@ - - -# V1alpha3Device - -Device represents one individual hardware instance that can be selected based on its attributes. Besides the name, exactly one field must be set. - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**basic** | [**V1alpha3BasicDevice**](V1alpha3BasicDevice.md) | | [optional] | -|**name** | **String** | Name is unique identifier among all devices managed by the driver in the pool. It must be a DNS label. | | - - - diff --git a/kubernetes/docs/V1alpha3DeviceAllocationResult.md b/kubernetes/docs/V1alpha3DeviceAllocationResult.md deleted file mode 100644 index 9dede565a8..0000000000 --- a/kubernetes/docs/V1alpha3DeviceAllocationResult.md +++ /dev/null @@ -1,15 +0,0 @@ - - -# V1alpha3DeviceAllocationResult - -DeviceAllocationResult is the result of allocating devices. - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**config** | [**List<V1alpha3DeviceAllocationConfiguration>**](V1alpha3DeviceAllocationConfiguration.md) | This field is a combination of all the claim and class configuration parameters. Drivers can distinguish between those based on a flag. This includes configuration parameters for drivers which have no allocated devices in the result because it is up to the drivers which configuration parameters they support. They can silently ignore unknown configuration parameters. | [optional] | -|**results** | [**List<V1alpha3DeviceRequestAllocationResult>**](V1alpha3DeviceRequestAllocationResult.md) | Results lists all allocated devices. | [optional] | - - - diff --git a/kubernetes/docs/V1alpha3DeviceClaim.md b/kubernetes/docs/V1alpha3DeviceClaim.md deleted file mode 100644 index f4bceb223f..0000000000 --- a/kubernetes/docs/V1alpha3DeviceClaim.md +++ /dev/null @@ -1,16 +0,0 @@ - - -# V1alpha3DeviceClaim - -DeviceClaim defines how to request devices with a ResourceClaim. - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**config** | [**List<V1alpha3DeviceClaimConfiguration>**](V1alpha3DeviceClaimConfiguration.md) | This field holds configuration for multiple potential drivers which could satisfy requests in this claim. It is ignored while allocating the claim. | [optional] | -|**constraints** | [**List<V1alpha3DeviceConstraint>**](V1alpha3DeviceConstraint.md) | These constraints must be satisfied by the set of devices that get allocated for the claim. | [optional] | -|**requests** | [**List<V1alpha3DeviceRequest>**](V1alpha3DeviceRequest.md) | Requests represent individual requests for distinct devices which must all be satisfied. If empty, nothing needs to be allocated. | [optional] | - - - diff --git a/kubernetes/docs/V1alpha3DeviceClassSpec.md b/kubernetes/docs/V1alpha3DeviceClassSpec.md deleted file mode 100644 index 0743dc4c9a..0000000000 --- a/kubernetes/docs/V1alpha3DeviceClassSpec.md +++ /dev/null @@ -1,15 +0,0 @@ - - -# V1alpha3DeviceClassSpec - -DeviceClassSpec is used in a [DeviceClass] to define what can be allocated and how to configure it. - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**config** | [**List<V1alpha3DeviceClassConfiguration>**](V1alpha3DeviceClassConfiguration.md) | 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. | [optional] | -|**selectors** | [**List<V1alpha3DeviceSelector>**](V1alpha3DeviceSelector.md) | Each selector must be satisfied by a device which is claimed via this class. | [optional] | - - - diff --git a/kubernetes/docs/V1alpha3DeviceCounterConsumption.md b/kubernetes/docs/V1alpha3DeviceCounterConsumption.md deleted file mode 100644 index 0b1650560f..0000000000 --- a/kubernetes/docs/V1alpha3DeviceCounterConsumption.md +++ /dev/null @@ -1,15 +0,0 @@ - - -# V1alpha3DeviceCounterConsumption - -DeviceCounterConsumption defines a set of counters that a device will consume from a CounterSet. - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**counterSet** | **String** | CounterSet defines the set from which the counters defined will be consumed. | | -|**counters** | [**Map<String, V1alpha3Counter>**](V1alpha3Counter.md) | Counters defines the Counter that will be consumed by the device. The maximum number counters in a device is 32. In addition, the maximum number of all counters in all devices is 1024 (for example, 64 devices with 16 counters each). | | - - - diff --git a/kubernetes/docs/V1alpha3DeviceRequest.md b/kubernetes/docs/V1alpha3DeviceRequest.md deleted file mode 100644 index d9465c3d49..0000000000 --- a/kubernetes/docs/V1alpha3DeviceRequest.md +++ /dev/null @@ -1,21 +0,0 @@ - - -# V1alpha3DeviceRequest - -DeviceRequest is a request for devices required for a claim. This is typically a request for a single resource like a device, but can also ask for several identical devices. - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**adminAccess** | **Boolean** | AdminAccess indicates that this is a claim for administrative access to the device(s). Claims with AdminAccess are expected to be used for monitoring or other management services for a device. They ignore all ordinary claims to the device with respect to access modes and any resource allocations. This field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list. This is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled. | [optional] | -|**allocationMode** | **String** | AllocationMode and its related fields define how devices are allocated to satisfy this request. Supported values are: - ExactCount: This request is for a specific number of devices. This is the default. The exact number is provided in the count field. - All: This request is for all of the matching devices in a pool. At least one device must exist on the node for the allocation to succeed. Allocation will fail if some devices are already allocated, unless adminAccess is requested. If AllocationMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other requests must specify this field. This field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list. More modes may get added in the future. Clients must refuse to handle requests with unknown modes. | [optional] | -|**count** | **Long** | 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. This field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list. | [optional] | -|**deviceClassName** | **String** | DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this request. A class is required if no subrequests are specified in the firstAvailable list and no class can be set if subrequests are specified in the firstAvailable list. Which classes are available depends on the cluster. Administrators may use this to restrict which devices may get requested by only installing classes with selectors for permitted devices. If users are free to request anything without restrictions, then administrators can create an empty DeviceClass for users to reference. | [optional] | -|**firstAvailable** | [**List<V1alpha3DeviceSubRequest>**](V1alpha3DeviceSubRequest.md) | FirstAvailable contains subrequests, of which exactly one will be satisfied by the scheduler to satisfy this request. It tries to satisfy them in the order in which they are listed here. So if there are two entries in the list, the scheduler will only check the second one if it determines that the first one cannot be used. This field may only be set in the entries of DeviceClaim.Requests. DRA does not yet implement scoring, so the scheduler will select the first set of devices that satisfies all the requests in the claim. And if the requirements can be satisfied on more than one node, other scheduling features 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. | [optional] | -|**name** | **String** | Name can be used to reference this request in a pod.spec.containers[].resources.claims entry and in a constraint of the claim. Must be a DNS label. | | -|**selectors** | [**List<V1alpha3DeviceSelector>**](V1alpha3DeviceSelector.md) | Selectors define criteria which must be satisfied by a specific device in order for that device to be considered for this request. All selectors must be satisfied for a device to be considered. This field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list. | [optional] | -|**tolerations** | [**List<V1alpha3DeviceToleration>**](V1alpha3DeviceToleration.md) | If specified, the request's tolerations. Tolerations for NoSchedule are required to allocate a device which has a taint with that effect. The same applies to NoExecute. In addition, should any of the allocated devices get tainted with NoExecute after allocation and that effect is not tolerated, then all pods consuming the ResourceClaim get deleted to evict them. The scheduler will not let new pods reserve the claim while it has these tainted devices. Once all pods are evicted, the claim will get deallocated. The maximum number of tolerations is 16. This field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list. This is an alpha field and requires enabling the DRADeviceTaints feature gate. | [optional] | - - - diff --git a/kubernetes/docs/V1alpha3DeviceRequestAllocationResult.md b/kubernetes/docs/V1alpha3DeviceRequestAllocationResult.md deleted file mode 100644 index 1d5cbcc561..0000000000 --- a/kubernetes/docs/V1alpha3DeviceRequestAllocationResult.md +++ /dev/null @@ -1,19 +0,0 @@ - - -# V1alpha3DeviceRequestAllocationResult - -DeviceRequestAllocationResult contains the allocation result for one request. - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**adminAccess** | **Boolean** | 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 set to false, otherwise it is enabled. | [optional] | -|**device** | **String** | Device references one device instance via its name in the driver's resource pool. It must be a DNS label. | | -|**driver** | **String** | Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node. Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. | | -|**pool** | **String** | This name together with the driver name and the device name field identify which device was allocated (`<driver name>/<pool name>/<device name>`). Must not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes. | | -|**request** | **String** | Request is the name of the request in the claim which caused this device to be allocated. If it references a subrequest in the firstAvailable list on a DeviceRequest, this field must include both the name of the main request and the subrequest using the format <main request>/<subrequest>. Multiple devices may have been allocated per request. | | -|**tolerations** | [**List<V1alpha3DeviceToleration>**](V1alpha3DeviceToleration.md) | 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 feature gate. | [optional] | - - - diff --git a/kubernetes/docs/V1alpha3DeviceSubRequest.md b/kubernetes/docs/V1alpha3DeviceSubRequest.md deleted file mode 100644 index 7a82b83764..0000000000 --- a/kubernetes/docs/V1alpha3DeviceSubRequest.md +++ /dev/null @@ -1,19 +0,0 @@ - - -# V1alpha3DeviceSubRequest - -DeviceSubRequest describes a request for device provided in the claim.spec.devices.requests[].firstAvailable array. Each is typically a request for a single resource like a device, but can also ask for several identical devices. DeviceSubRequest is similar to Request, but doesn't expose the AdminAccess or FirstAvailable fields, as those can only be set on the top-level request. AdminAccess is not supported for requests with a prioritized list, and recursive FirstAvailable fields are not supported. - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**allocationMode** | **String** | AllocationMode and its related fields define how devices are allocated to satisfy this request. Supported values are: - ExactCount: This request is for a specific number of devices. This is the default. The exact number is provided in the count field. - All: This request is for all of the matching devices in a pool. Allocation will fail if some devices are already allocated, unless adminAccess is requested. If AllocationMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other requests must specify this field. More modes may get added in the future. Clients must refuse to handle requests with unknown modes. | [optional] | -|**count** | **Long** | 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. | [optional] | -|**deviceClassName** | **String** | DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this subrequest. A class is required. Which classes are available depends on the cluster. Administrators may use this to restrict which devices may get requested by only installing classes with selectors for permitted devices. If users are free to request anything without restrictions, then administrators can create an empty DeviceClass for users to reference. | | -|**name** | **String** | Name can be used to reference this subrequest in the list of constraints or the list of configurations for the claim. References must use the format <main request>/<subrequest>. Must be a DNS label. | | -|**selectors** | [**List<V1alpha3DeviceSelector>**](V1alpha3DeviceSelector.md) | Selectors define criteria which must be satisfied by a specific device in order for that device to be considered for this request. All selectors must be satisfied for a device to be considered. | [optional] | -|**tolerations** | [**List<V1alpha3DeviceToleration>**](V1alpha3DeviceToleration.md) | If specified, the request's tolerations. Tolerations for NoSchedule are required to allocate a device which has a taint with that effect. The same applies to NoExecute. In addition, should any of the allocated devices get tainted with NoExecute after allocation and that effect is not tolerated, then all pods consuming the ResourceClaim get deleted to evict them. The scheduler will not let new pods reserve the claim while it has these tainted devices. Once all pods are evicted, the claim will get deallocated. The maximum number of tolerations is 16. This is an alpha field and requires enabling the DRADeviceTaints feature gate. | [optional] | - - - diff --git a/kubernetes/docs/V1alpha3ResourceClaimStatus.md b/kubernetes/docs/V1alpha3ResourceClaimStatus.md deleted file mode 100644 index 6f1542048b..0000000000 --- a/kubernetes/docs/V1alpha3ResourceClaimStatus.md +++ /dev/null @@ -1,16 +0,0 @@ - - -# V1alpha3ResourceClaimStatus - -ResourceClaimStatus tracks whether the resource has been allocated and what the result of that was. - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**allocation** | [**V1alpha3AllocationResult**](V1alpha3AllocationResult.md) | | [optional] | -|**devices** | [**List<V1alpha3AllocatedDeviceStatus>**](V1alpha3AllocatedDeviceStatus.md) | Devices contains the status of each device allocated for this claim, as reported by the driver. This can include driver-specific information. Entries are owned by their respective drivers. | [optional] | -|**reservedFor** | [**List<V1alpha3ResourceClaimConsumerReference>**](V1alpha3ResourceClaimConsumerReference.md) | ReservedFor indicates which entities are currently allowed to use the claim. A Pod which references a ResourceClaim which is not reserved for that Pod will not be started. A claim that is in use or might be in use because it has been reserved must not get deallocated. In a cluster with multiple scheduler instances, two pods might get scheduled concurrently by different schedulers. When they reference the same ResourceClaim which already has reached its maximum number of consumers, only one pod can be scheduled. Both schedulers try to add their pod to the claim.status.reservedFor field, but only the update that reaches the API server first gets stored. The other one fails with an error and the scheduler which issued it knows that it must put the pod back into the queue, waiting for the ResourceClaim to become usable again. There can be at most 256 such reservations. This may get increased in the future, but not reduced. | [optional] | - - - diff --git a/kubernetes/docs/V1beta1AllocatedDeviceStatus.md b/kubernetes/docs/V1beta1AllocatedDeviceStatus.md index c6409f2801..86688c2a89 100644 --- a/kubernetes/docs/V1beta1AllocatedDeviceStatus.md +++ b/kubernetes/docs/V1beta1AllocatedDeviceStatus.md @@ -2,7 +2,7 @@ # V1beta1AllocatedDeviceStatus -AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it. This may include driver-specific information. +AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it. This may include driver-specific information. The combination of Driver, Pool, Device, and ShareID must match the corresponding key in Status.Allocation.Devices. ## Properties @@ -14,6 +14,7 @@ AllocatedDeviceStatus contains the status of an allocated device, if the driver |**driver** | **String** | Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node. Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. | | |**networkData** | [**V1beta1NetworkDeviceData**](V1beta1NetworkDeviceData.md) | | [optional] | |**pool** | **String** | This name together with the driver name and the device name field identify which device was allocated (`<driver name>/<pool name>/<device name>`). Must not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes. | | +|**shareID** | **String** | ShareID uniquely identifies an individual allocation share of the device. | [optional] | diff --git a/kubernetes/docs/V1beta1AllocationResult.md b/kubernetes/docs/V1beta1AllocationResult.md index a2eba25b97..d094a9fcd4 100644 --- a/kubernetes/docs/V1beta1AllocationResult.md +++ b/kubernetes/docs/V1beta1AllocationResult.md @@ -8,6 +8,7 @@ AllocationResult contains attributes of an allocated resource. | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| +|**allocationTimestamp** | **OffsetDateTime** | 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 feature gate. | [optional] | |**devices** | [**V1beta1DeviceAllocationResult**](V1beta1DeviceAllocationResult.md) | | [optional] | |**nodeSelector** | [**V1NodeSelector**](V1NodeSelector.md) | | [optional] | diff --git a/kubernetes/docs/V1beta1ApplyConfiguration.md b/kubernetes/docs/V1beta1ApplyConfiguration.md new file mode 100644 index 0000000000..c3828b36aa --- /dev/null +++ b/kubernetes/docs/V1beta1ApplyConfiguration.md @@ -0,0 +1,14 @@ + + +# V1beta1ApplyConfiguration + +ApplyConfiguration defines the desired configuration values of an object. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**expression** | **String** | 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.<fieldName>' - CEL type of object field (such as 'Object.spec') - 'Object.<fieldName1>.<fieldName2>...<fieldNameN>` - 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. | [optional] | + + + diff --git a/kubernetes/docs/V1beta1AuditAnnotation.md b/kubernetes/docs/V1beta1AuditAnnotation.md deleted file mode 100644 index 0e6556c238..0000000000 --- a/kubernetes/docs/V1beta1AuditAnnotation.md +++ /dev/null @@ -1,15 +0,0 @@ - - -# V1beta1AuditAnnotation - -AuditAnnotation describes how to produce an audit annotation for an API request. - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**key** | **String** | key specifies the audit annotation key. The audit annotation keys of a ValidatingAdmissionPolicy must be unique. The key must be a qualified name ([A-Za-z0-9][-A-Za-z0-9_.]*) no more than 63 bytes in length. The key is combined with the resource name of the ValidatingAdmissionPolicy to construct an audit annotation key: \"{ValidatingAdmissionPolicy name}/{key}\". If an admission webhook uses the same resource name as this ValidatingAdmissionPolicy and the same audit annotation key, the annotation key will be identical. In this case, the first annotation written with the key will be included in the audit event and all subsequent annotations with the same key will be discarded. Required. | | -|**valueExpression** | **String** | valueExpression represents the expression which is evaluated by CEL to produce an audit annotation value. The expression must evaluate to either a string or null value. If the expression evaluates to a string, the audit annotation is included with the string value. If the expression evaluates to null or empty string the audit annotation will be omitted. The valueExpression may be no longer than 5kb in length. If the result of the valueExpression is more than 10kb in length, it will be truncated to 10kb. If multiple ValidatingAdmissionPolicyBinding resources match an API request, then the valueExpression will be evaluated for each binding. All unique values produced by the valueExpressions will be joined together in a comma-separated list. Required. | | - - - diff --git a/kubernetes/docs/V1beta1BasicDevice.md b/kubernetes/docs/V1beta1BasicDevice.md index a6a2a42bf2..c5eb0b896c 100644 --- a/kubernetes/docs/V1beta1BasicDevice.md +++ b/kubernetes/docs/V1beta1BasicDevice.md @@ -9,7 +9,11 @@ BasicDevice defines one device instance. | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| |**allNodes** | **Boolean** | 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. | [optional] | +|**allowMultipleAllocations** | **Boolean** | 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. | [optional] | |**attributes** | [**Map<String, V1beta1DeviceAttribute>**](V1beta1DeviceAttribute.md) | 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. | [optional] | +|**bindingConditions** | **List<String>** | BindingConditions defines the conditions for proceeding with binding. All of these conditions must be set in the per-device status conditions with a value of True to proceed with binding the pod to the node while scheduling the pod. The maximum number of binding conditions is 4. The conditions must be a valid condition type string. This is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates. | [optional] | +|**bindingFailureConditions** | **List<String>** | BindingFailureConditions defines the conditions for binding failure. They may be set in the per-device status conditions. If any is true, a binding failure occurred. The maximum number of binding failure conditions is 4. The conditions must be a valid condition type string. This is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates. | [optional] | +|**bindsToNode** | **Boolean** | 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 feature gates. | [optional] | |**capacity** | [**Map<String, V1beta1DeviceCapacity>**](V1beta1DeviceCapacity.md) | 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. | [optional] | |**consumesCounters** | [**List<V1beta1DeviceCounterConsumption>**](V1beta1DeviceCounterConsumption.md) | ConsumesCounters defines a list of references to sharedCounters and the set of counters that the device will consume from those counter sets. There can only be a single entry per counterSet. The total number of device counter consumption entries must be <= 32. In addition, the total number in the entire ResourceSlice must be <= 1024 (for example, 64 devices with 16 counters each). | [optional] | |**nodeName** | **String** | 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. | [optional] | diff --git a/kubernetes/docs/V1beta1CELDeviceSelector.md b/kubernetes/docs/V1beta1CELDeviceSelector.md index 5ddf588fdc..5f0476abec 100644 --- a/kubernetes/docs/V1beta1CELDeviceSelector.md +++ b/kubernetes/docs/V1beta1CELDeviceSelector.md @@ -8,7 +8,7 @@ CELDeviceSelector contains a CEL expression for selecting a device. | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**expression** | **String** | Expression is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort. The expression's input is an object named \"device\", which carries the following properties: - driver (string): the name of the driver which defines this device. - attributes (map[string]object): the device's attributes, grouped by prefix (e.g. device.attributes[\"dra.example.com\"] evaluates to an object with all of the attributes which were prefixed by \"dra.example.com\". - capacity (map[string]object): the device's capacities, grouped by prefix. Example: Consider a device with driver=\"dra.example.com\", which exposes two attributes named \"model\" and \"ext.example.com/family\" and which exposes one capacity named \"modules\". This input to this expression would have the following fields: device.driver device.attributes[\"dra.example.com\"].model device.attributes[\"ext.example.com\"].family device.capacity[\"dra.example.com\"].modules The device.driver field can be used to check for a specific driver, either as a high-level precondition (i.e. you only want to consider devices from this driver) or as part of a multi-clause expression that is meant to consider devices from different drivers. The value type of each attribute is defined by the device definition, and users who write these expressions must consult the documentation for their specific drivers. The value type of each capacity is Quantity. If an unknown prefix is used as a lookup in either device.attributes or device.capacity, an empty map will be returned. Any reference to an unknown field will cause an evaluation error and allocation to abort. A robust expression should check for the existence of attributes before referencing them. For ease of use, the cel.bind() function is enabled, and can be used to simplify expressions that access multiple attributes with the same domain. For example: cel.bind(dra, device.attributes[\"dra.example.com\"], dra.someBool && dra.anotherBool) 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** | Expression is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort. The expression's input is an object named \"device\", which carries the following properties: - driver (string): the name of the driver which defines this device. - attributes (map[string]object): the device's attributes, grouped by prefix (e.g. device.attributes[\"dra.example.com\"] evaluates to an object with all of the attributes which were prefixed by \"dra.example.com\". - capacity (map[string]object): the device's capacities, grouped by prefix. - allowMultipleAllocations (bool): the allowMultipleAllocations property of the device (v1.34+ with the DRAConsumableCapacity feature enabled). Example: Consider a device with driver=\"dra.example.com\", which exposes two attributes named \"model\" and \"ext.example.com/family\" and which exposes one capacity named \"modules\". This input to this expression would have the following fields: device.driver device.attributes[\"dra.example.com\"].model device.attributes[\"ext.example.com\"].family device.capacity[\"dra.example.com\"].modules The device.driver field can be used to check for a specific driver, either as a high-level precondition (i.e. you only want to consider devices from this driver) or as part of a multi-clause expression that is meant to consider devices from different drivers. The value type of each attribute is defined by the device definition, and users who write these expressions must consult the documentation for their specific drivers. The value type of each capacity is Quantity. If an unknown prefix is used as a lookup in either device.attributes or device.capacity, an empty map will be returned. Any reference to an unknown field will cause an evaluation error and allocation to abort. A robust expression should check for the existence of attributes before referencing them. For ease of use, the cel.bind() function is enabled, and can be used to simplify expressions that access multiple attributes with the same domain. For example: cel.bind(dra, device.attributes[\"dra.example.com\"], dra.someBool && dra.anotherBool) 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. | | diff --git a/kubernetes/docs/V1beta1CapacityRequestPolicy.md b/kubernetes/docs/V1beta1CapacityRequestPolicy.md new file mode 100644 index 0000000000..f307f629dc --- /dev/null +++ b/kubernetes/docs/V1beta1CapacityRequestPolicy.md @@ -0,0 +1,16 @@ + + +# V1beta1CapacityRequestPolicy + +CapacityRequestPolicy defines how requests consume device capacity. Must not set more than one ValidRequestValues. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**_default** | **Quantity** | Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. The serialization format is: ``` <quantity> ::= <signedNumber><suffix> (Note that <suffix> may be empty, from the \"\" case in <decimalSI>.) <digit> ::= 0 | 1 | ... | 9 <digits> ::= <digit> | <digit><digits> <number> ::= <digits> | <digits>.<digits> | <digits>. | .<digits> <sign> ::= \"+\" | \"-\" <signedNumber> ::= <number> | <sign><number> <suffix> ::= <binarySI> | <decimalExponent> | <decimalSI> <binarySI> ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) <decimalSI> ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) <decimalExponent> ::= \"e\" <signedNumber> | \"E\" <signedNumber> ``` No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: - No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: - 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation. | [optional] | +|**validRange** | [**V1beta1CapacityRequestPolicyRange**](V1beta1CapacityRequestPolicyRange.md) | | [optional] | +|**validValues** | **List<Quantity>** | ValidValues defines a set of acceptable quantity values in consuming requests. Must not contain more than 10 entries. Must be sorted in ascending order. If this field is set, Default must be defined and it must be included in ValidValues list. If the requested amount does not match any valid value but smaller than some valid values, the scheduler calculates the smallest valid value that is greater than or equal to the request. That is: min(ceil(requestedValue) ∈ validValues), where requestedValue ≤ max(validValues). If the requested amount exceeds all valid values, the request violates the policy, and this device cannot be allocated. | [optional] | + + + diff --git a/kubernetes/docs/V1beta1CapacityRequestPolicyRange.md b/kubernetes/docs/V1beta1CapacityRequestPolicyRange.md new file mode 100644 index 0000000000..e9340ba156 --- /dev/null +++ b/kubernetes/docs/V1beta1CapacityRequestPolicyRange.md @@ -0,0 +1,16 @@ + + +# V1beta1CapacityRequestPolicyRange + +CapacityRequestPolicyRange defines a valid range for consumable capacity values. - If the requested amount is less than Min, it is rounded up to the Min value. - If Step is set and the requested amount is between Min and Max but not aligned with Step, it will be rounded up to the next value equal to Min + (n * Step). - If Step is not set, the requested amount is used as-is if it falls within the range Min to Max (if set). - If the requested or rounded amount exceeds Max (if set), the request does not satisfy the policy, and the device cannot be allocated. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**max** | **Quantity** | Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. The serialization format is: ``` <quantity> ::= <signedNumber><suffix> (Note that <suffix> may be empty, from the \"\" case in <decimalSI>.) <digit> ::= 0 | 1 | ... | 9 <digits> ::= <digit> | <digit><digits> <number> ::= <digits> | <digits>.<digits> | <digits>. | .<digits> <sign> ::= \"+\" | \"-\" <signedNumber> ::= <number> | <sign><number> <suffix> ::= <binarySI> | <decimalExponent> | <decimalSI> <binarySI> ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) <decimalSI> ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) <decimalExponent> ::= \"e\" <signedNumber> | \"E\" <signedNumber> ``` No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: - No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: - 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation. | [optional] | +|**min** | **Quantity** | Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. The serialization format is: ``` <quantity> ::= <signedNumber><suffix> (Note that <suffix> may be empty, from the \"\" case in <decimalSI>.) <digit> ::= 0 | 1 | ... | 9 <digits> ::= <digit> | <digit><digits> <number> ::= <digits> | <digits>.<digits> | <digits>. | .<digits> <sign> ::= \"+\" | \"-\" <signedNumber> ::= <number> | <sign><number> <suffix> ::= <binarySI> | <decimalExponent> | <decimalSI> <binarySI> ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) <decimalSI> ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) <decimalExponent> ::= \"e\" <signedNumber> | \"E\" <signedNumber> ``` No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: - No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: - 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation. | | +|**step** | **Quantity** | Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. The serialization format is: ``` <quantity> ::= <signedNumber><suffix> (Note that <suffix> may be empty, from the \"\" case in <decimalSI>.) <digit> ::= 0 | 1 | ... | 9 <digits> ::= <digit> | <digit><digits> <number> ::= <digits> | <digits>.<digits> | <digits>. | .<digits> <sign> ::= \"+\" | \"-\" <signedNumber> ::= <number> | <sign><number> <suffix> ::= <binarySI> | <decimalExponent> | <decimalSI> <binarySI> ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) <decimalSI> ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) <decimalExponent> ::= \"e\" <signedNumber> | \"E\" <signedNumber> ``` No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: - No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: - 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation. | [optional] | + + + diff --git a/kubernetes/docs/V1beta1CapacityRequirements.md b/kubernetes/docs/V1beta1CapacityRequirements.md new file mode 100644 index 0000000000..b9ec685e7c --- /dev/null +++ b/kubernetes/docs/V1beta1CapacityRequirements.md @@ -0,0 +1,14 @@ + + +# V1beta1CapacityRequirements + +CapacityRequirements defines the capacity requirements for a specific device request. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**requests** | **Map<String, Quantity>** | Requests represent individual device resource requests for distinct resources, all of which must be provided by the device. This value is used as an additional filtering condition against the available capacity on the device. This is semantically equivalent to a CEL selector with `device.capacity[<domain>].<name>.compareTo(quantity(<request quantity>)) >= 0`. For example, device.capacity['test-driver.cdi.k8s.io'].counters.compareTo(quantity('2')) >= 0. When a requestPolicy is defined, the requested amount is adjusted upward to the nearest valid value based on the policy. If the requested amount cannot be adjusted to a valid value—because it exceeds what the requestPolicy allows— the device is considered ineligible for allocation. For any capacity that is not explicitly requested: - If no requestPolicy is set, the default consumed capacity is equal to the full device capacity (i.e., the whole device is claimed). - If a requestPolicy is set, the default consumed capacity is determined according to that policy. If the device allows multiple allocation, 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. | [optional] | + + + diff --git a/kubernetes/docs/V1beta1DeviceCapacity.md b/kubernetes/docs/V1beta1DeviceCapacity.md index 288de55ce2..48db842276 100644 --- a/kubernetes/docs/V1beta1DeviceCapacity.md +++ b/kubernetes/docs/V1beta1DeviceCapacity.md @@ -8,6 +8,7 @@ DeviceCapacity describes a quantity associated with a device. | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| +|**requestPolicy** | [**V1beta1CapacityRequestPolicy**](V1beta1CapacityRequestPolicy.md) | | [optional] | |**value** | **Quantity** | Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. The serialization format is: ``` <quantity> ::= <signedNumber><suffix> (Note that <suffix> may be empty, from the \"\" case in <decimalSI>.) <digit> ::= 0 | 1 | ... | 9 <digits> ::= <digit> | <digit><digits> <number> ::= <digits> | <digits>.<digits> | <digits>. | .<digits> <sign> ::= \"+\" | \"-\" <signedNumber> ::= <number> | <sign><number> <suffix> ::= <binarySI> | <decimalExponent> | <decimalSI> <binarySI> ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) <decimalSI> ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) <decimalExponent> ::= \"e\" <signedNumber> | \"E\" <signedNumber> ``` No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: - No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: - 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation. | | diff --git a/kubernetes/docs/V1beta1DeviceClassSpec.md b/kubernetes/docs/V1beta1DeviceClassSpec.md index b1e4077732..dd1447fa9e 100644 --- a/kubernetes/docs/V1beta1DeviceClassSpec.md +++ b/kubernetes/docs/V1beta1DeviceClassSpec.md @@ -9,6 +9,7 @@ DeviceClassSpec is used in a [DeviceClass] to define what can be allocated and h | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| |**config** | [**List<V1beta1DeviceClassConfiguration>**](V1beta1DeviceClassConfiguration.md) | 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. | [optional] | +|**extendedResourceName** | **String** | 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. It has the same format as the name of a pod's extended resource. It should be unique among all the device classes in a cluster. If two device classes have the same name, then the class created later is picked to satisfy a pod's extended resource requests. 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. | [optional] | |**selectors** | [**List<V1beta1DeviceSelector>**](V1beta1DeviceSelector.md) | Each selector must be satisfied by a device which is claimed via this class. | [optional] | diff --git a/kubernetes/docs/V1beta1DeviceConstraint.md b/kubernetes/docs/V1beta1DeviceConstraint.md index 91a33893d3..61643f6568 100644 --- a/kubernetes/docs/V1beta1DeviceConstraint.md +++ b/kubernetes/docs/V1beta1DeviceConstraint.md @@ -8,6 +8,7 @@ DeviceConstraint must have exactly one field set besides Requests. | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| +|**distinctAttribute** | **String** | DistinctAttribute requires that all devices in question have this attribute and that its type and value are unique across those devices. This acts as the inverse of MatchAttribute. This constraint is used to avoid allocating multiple requests to the same device by ensuring attribute-level differentiation. 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. | [optional] | |**matchAttribute** | **String** | MatchAttribute requires that all devices in question have this attribute and that its type and value are the same across those devices. For example, if you specified \"dra.example.com/numa\" (a hypothetical example!), then only devices in the same NUMA node will be chosen. A device which does not have that attribute will not be chosen. All devices should use a value of the same type for this attribute because that is part of its specification, but if one device doesn't, then it also will not be chosen. Must include the domain qualifier. | [optional] | |**requests** | **List<String>** | Requests is a list of the one or more requests in this claim which must co-satisfy this constraint. If a request is fulfilled by multiple devices, then all of the devices must satisfy the constraint. If this is not specified, this constraint applies to all requests in this claim. References to subrequests must include the name of the main request and may include the subrequest using the format <main request>[/<subrequest>]. If just the main request is given, the constraint applies to all subrequests. | [optional] | diff --git a/kubernetes/docs/V1beta1DeviceRequest.md b/kubernetes/docs/V1beta1DeviceRequest.md index 7dd0138e5c..1038f6039d 100644 --- a/kubernetes/docs/V1beta1DeviceRequest.md +++ b/kubernetes/docs/V1beta1DeviceRequest.md @@ -10,6 +10,7 @@ DeviceRequest is a request for devices required for a claim. This is typically a |------------ | ------------- | ------------- | -------------| |**adminAccess** | **Boolean** | AdminAccess indicates that this is a claim for administrative access to the device(s). Claims with AdminAccess are expected to be used for monitoring or other management services for a device. They ignore all ordinary claims to the device with respect to access modes and any resource allocations. This field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list. This is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled. | [optional] | |**allocationMode** | **String** | AllocationMode and its related fields define how devices are allocated to satisfy this request. Supported values are: - ExactCount: This request is for a specific number of devices. This is the default. The exact number is provided in the count field. - All: This request is for all of the matching devices in a pool. At least one device must exist on the node for the allocation to succeed. Allocation will fail if some devices are already allocated, unless adminAccess is requested. If AllocationMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other requests must specify this field. This field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list. More modes may get added in the future. Clients must refuse to handle requests with unknown modes. | [optional] | +|**capacity** | [**V1beta1CapacityRequirements**](V1beta1CapacityRequirements.md) | | [optional] | |**count** | **Long** | 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. This field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list. | [optional] | |**deviceClassName** | **String** | DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this request. A class is required if no subrequests are specified in the firstAvailable list and no class can be set if subrequests are specified in the firstAvailable list. Which classes are available depends on the cluster. Administrators may use this to restrict which devices may get requested by only installing classes with selectors for permitted devices. If users are free to request anything without restrictions, then administrators can create an empty DeviceClass for users to reference. | [optional] | |**firstAvailable** | [**List<V1beta1DeviceSubRequest>**](V1beta1DeviceSubRequest.md) | FirstAvailable contains subrequests, of which exactly one will be satisfied by the scheduler to satisfy this request. It tries to satisfy them in the order in which they are listed here. So if there are two entries in the list, the scheduler will only check the second one if it determines that the first one cannot be used. This field may only be set in the entries of DeviceClaim.Requests. DRA does not yet implement scoring, so the scheduler will select the first set of devices that satisfies all the requests in the claim. And if the requirements can be satisfied on more than one node, other scheduling features 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. | [optional] | diff --git a/kubernetes/docs/V1beta1DeviceRequestAllocationResult.md b/kubernetes/docs/V1beta1DeviceRequestAllocationResult.md index 6027936ea4..c1bd395caf 100644 --- a/kubernetes/docs/V1beta1DeviceRequestAllocationResult.md +++ b/kubernetes/docs/V1beta1DeviceRequestAllocationResult.md @@ -9,10 +9,14 @@ DeviceRequestAllocationResult contains the allocation result for one request. | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| |**adminAccess** | **Boolean** | 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 set to false, otherwise it is enabled. | [optional] | +|**bindingConditions** | **List<String>** | 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 feature gates. | [optional] | +|**bindingFailureConditions** | **List<String>** | 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 feature gates. | [optional] | +|**consumedCapacity** | **Map<String, Quantity>** | 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 value based on the device’s requestPolicy if applicable (i.e., may not be less than the requested amount). The total consumed capacity for each device must not exceed the DeviceCapacity's Value. This field is populated only for devices that allow multiple allocations. All capacity entries are included, even if the consumed amount is zero. | [optional] | |**device** | **String** | Device references one device instance via its name in the driver's resource pool. It must be a DNS label. | | |**driver** | **String** | Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node. Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. | | |**pool** | **String** | This name together with the driver name and the device name field identify which device was allocated (`<driver name>/<pool name>/<device name>`). Must not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes. | | |**request** | **String** | Request is the name of the request in the claim which caused this device to be allocated. If it references a subrequest in the firstAvailable list on a DeviceRequest, this field must include both the name of the main request and the subrequest using the format <main request>/<subrequest>. Multiple devices may have been allocated per request. | | +|**shareID** | **String** | 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. | [optional] | |**tolerations** | [**List<V1beta1DeviceToleration>**](V1beta1DeviceToleration.md) | 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 feature gate. | [optional] | diff --git a/kubernetes/docs/V1beta1DeviceSubRequest.md b/kubernetes/docs/V1beta1DeviceSubRequest.md index 32cd6a003a..7484eb8b0b 100644 --- a/kubernetes/docs/V1beta1DeviceSubRequest.md +++ b/kubernetes/docs/V1beta1DeviceSubRequest.md @@ -9,6 +9,7 @@ DeviceSubRequest describes a request for device provided in the claim.spec.devic | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| |**allocationMode** | **String** | AllocationMode and its related fields define how devices are allocated to satisfy this subrequest. Supported values are: - ExactCount: This request is for a specific number of devices. This is the default. The exact number is provided in the count field. - All: This subrequest is for all of the matching devices in a pool. Allocation will fail if some devices are already allocated, unless adminAccess is requested. If AllocationMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other subrequests must specify this field. More modes may get added in the future. Clients must refuse to handle requests with unknown modes. | [optional] | +|**capacity** | [**V1beta1CapacityRequirements**](V1beta1CapacityRequirements.md) | | [optional] | |**count** | **Long** | 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. | [optional] | |**deviceClassName** | **String** | DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this subrequest. A class is required. Which classes are available depends on the cluster. Administrators may use this to restrict which devices may get requested by only installing classes with selectors for permitted devices. If users are free to request anything without restrictions, then administrators can create an empty DeviceClass for users to reference. | | |**name** | **String** | Name can be used to reference this subrequest in the list of constraints or the list of configurations for the claim. References must use the format <main request>/<subrequest>. Must be a DNS label. | | diff --git a/kubernetes/docs/V1beta1ExpressionWarning.md b/kubernetes/docs/V1beta1ExpressionWarning.md deleted file mode 100644 index e48d360e3c..0000000000 --- a/kubernetes/docs/V1beta1ExpressionWarning.md +++ /dev/null @@ -1,15 +0,0 @@ - - -# V1beta1ExpressionWarning - -ExpressionWarning is a warning information that targets a specific expression. - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**fieldRef** | **String** | The path to the field that refers the expression. For example, the reference to the expression of the first item of validations is \"spec.validations[0].expression\" | | -|**warning** | **String** | 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. | | - - - diff --git a/kubernetes/docs/V1beta1JSONPatch.md b/kubernetes/docs/V1beta1JSONPatch.md new file mode 100644 index 0000000000..a7343849d1 --- /dev/null +++ b/kubernetes/docs/V1beta1JSONPatch.md @@ -0,0 +1,14 @@ + + +# V1beta1JSONPatch + +JSONPatch defines a JSON Patch. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**expression** | **String** | 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.<fieldName>' - CEL type of object field (such as 'Object.spec') - 'Object.<fieldName1>.<fieldName2>...<fieldNameN>` - 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. | [optional] | + + + diff --git a/kubernetes/docs/V1beta1MutatingAdmissionPolicy.md b/kubernetes/docs/V1beta1MutatingAdmissionPolicy.md new file mode 100644 index 0000000000..b9b546a232 --- /dev/null +++ b/kubernetes/docs/V1beta1MutatingAdmissionPolicy.md @@ -0,0 +1,21 @@ + + +# V1beta1MutatingAdmissionPolicy + +MutatingAdmissionPolicy describes the definition of an admission mutation policy that mutates the object coming into admission chain. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] | +|**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] | +|**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] | +|**spec** | [**V1beta1MutatingAdmissionPolicySpec**](V1beta1MutatingAdmissionPolicySpec.md) | | [optional] | + + +## Implemented Interfaces + +* io.kubernetes.client.common.KubernetesObject + + diff --git a/kubernetes/docs/V1beta1MutatingAdmissionPolicyBinding.md b/kubernetes/docs/V1beta1MutatingAdmissionPolicyBinding.md new file mode 100644 index 0000000000..5e123d7f3e --- /dev/null +++ b/kubernetes/docs/V1beta1MutatingAdmissionPolicyBinding.md @@ -0,0 +1,21 @@ + + +# V1beta1MutatingAdmissionPolicyBinding + +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. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] | +|**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] | +|**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] | +|**spec** | [**V1beta1MutatingAdmissionPolicyBindingSpec**](V1beta1MutatingAdmissionPolicyBindingSpec.md) | | [optional] | + + +## Implemented Interfaces + +* io.kubernetes.client.common.KubernetesObject + + diff --git a/kubernetes/docs/V1beta1MutatingAdmissionPolicyBindingList.md b/kubernetes/docs/V1beta1MutatingAdmissionPolicyBindingList.md new file mode 100644 index 0000000000..0433620277 --- /dev/null +++ b/kubernetes/docs/V1beta1MutatingAdmissionPolicyBindingList.md @@ -0,0 +1,21 @@ + + +# V1beta1MutatingAdmissionPolicyBindingList + +MutatingAdmissionPolicyBindingList is a list of MutatingAdmissionPolicyBinding. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] | +|**items** | [**List<V1beta1MutatingAdmissionPolicyBinding>**](V1beta1MutatingAdmissionPolicyBinding.md) | List of PolicyBinding. | | +|**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] | +|**metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] | + + +## Implemented Interfaces + +* io.kubernetes.client.common.KubernetesListObject + + diff --git a/kubernetes/docs/V1beta1MutatingAdmissionPolicyBindingSpec.md b/kubernetes/docs/V1beta1MutatingAdmissionPolicyBindingSpec.md new file mode 100644 index 0000000000..29959f54b1 --- /dev/null +++ b/kubernetes/docs/V1beta1MutatingAdmissionPolicyBindingSpec.md @@ -0,0 +1,16 @@ + + +# V1beta1MutatingAdmissionPolicyBindingSpec + +MutatingAdmissionPolicyBindingSpec is the specification of the MutatingAdmissionPolicyBinding. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**matchResources** | [**V1beta1MatchResources**](V1beta1MatchResources.md) | | [optional] | +|**paramRef** | [**V1beta1ParamRef**](V1beta1ParamRef.md) | | [optional] | +|**policyName** | **String** | 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. | [optional] | + + + diff --git a/kubernetes/docs/V1beta1MutatingAdmissionPolicyList.md b/kubernetes/docs/V1beta1MutatingAdmissionPolicyList.md new file mode 100644 index 0000000000..bac386412d --- /dev/null +++ b/kubernetes/docs/V1beta1MutatingAdmissionPolicyList.md @@ -0,0 +1,21 @@ + + +# V1beta1MutatingAdmissionPolicyList + +MutatingAdmissionPolicyList is a list of MutatingAdmissionPolicy. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] | +|**items** | [**List<V1beta1MutatingAdmissionPolicy>**](V1beta1MutatingAdmissionPolicy.md) | List of ValidatingAdmissionPolicy. | | +|**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] | +|**metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] | + + +## Implemented Interfaces + +* io.kubernetes.client.common.KubernetesListObject + + diff --git a/kubernetes/docs/V1beta1MutatingAdmissionPolicySpec.md b/kubernetes/docs/V1beta1MutatingAdmissionPolicySpec.md new file mode 100644 index 0000000000..500301073c --- /dev/null +++ b/kubernetes/docs/V1beta1MutatingAdmissionPolicySpec.md @@ -0,0 +1,20 @@ + + +# V1beta1MutatingAdmissionPolicySpec + +MutatingAdmissionPolicySpec is the specification of the desired behavior of the admission policy. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**failurePolicy** | **String** | 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. | [optional] | +|**matchConditions** | [**List<V1beta1MatchCondition>**](V1beta1MatchCondition.md) | 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 | [optional] | +|**matchConstraints** | [**V1beta1MatchResources**](V1beta1MatchResources.md) | | [optional] | +|**mutations** | [**List<V1beta1Mutation>**](V1beta1Mutation.md) | 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. | [optional] | +|**paramKind** | [**V1beta1ParamKind**](V1beta1ParamKind.md) | | [optional] | +|**reinvocationPolicy** | **String** | 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. | [optional] | +|**variables** | [**List<V1beta1Variable>**](V1beta1Variable.md) | 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. | [optional] | + + + diff --git a/kubernetes/docs/V1beta1Mutation.md b/kubernetes/docs/V1beta1Mutation.md new file mode 100644 index 0000000000..b0bcdade81 --- /dev/null +++ b/kubernetes/docs/V1beta1Mutation.md @@ -0,0 +1,16 @@ + + +# V1beta1Mutation + +Mutation specifies the CEL expression which is used to apply the Mutation. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**applyConfiguration** | [**V1beta1ApplyConfiguration**](V1beta1ApplyConfiguration.md) | | [optional] | +|**jsonPatch** | [**V1beta1JSONPatch**](V1beta1JSONPatch.md) | | [optional] | +|**patchType** | **String** | patchType indicates the patch strategy used. Allowed values are \"ApplyConfiguration\" and \"JSONPatch\". Required. | | + + + diff --git a/kubernetes/docs/V1beta1TypeChecking.md b/kubernetes/docs/V1beta1TypeChecking.md deleted file mode 100644 index fcf890950c..0000000000 --- a/kubernetes/docs/V1beta1TypeChecking.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# V1beta1TypeChecking - -TypeChecking contains results of type checking the expressions in the ValidatingAdmissionPolicy - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**expressionWarnings** | [**List<V1beta1ExpressionWarning>**](V1beta1ExpressionWarning.md) | The type checking warnings for each expression. | [optional] | - - - diff --git a/kubernetes/docs/V1beta1ValidatingAdmissionPolicyBinding.md b/kubernetes/docs/V1beta1ValidatingAdmissionPolicyBinding.md deleted file mode 100644 index 41baa1ec36..0000000000 --- a/kubernetes/docs/V1beta1ValidatingAdmissionPolicyBinding.md +++ /dev/null @@ -1,21 +0,0 @@ - - -# V1beta1ValidatingAdmissionPolicyBinding - -ValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources. ValidatingAdmissionPolicyBinding and parameter CRDs 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. The CEL expressions of a policy must have a computed CEL cost below the maximum CEL budget. Each evaluation of the policy is given an independent CEL cost budget. Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget. - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] | -|**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] | -|**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] | -|**spec** | [**V1beta1ValidatingAdmissionPolicyBindingSpec**](V1beta1ValidatingAdmissionPolicyBindingSpec.md) | | [optional] | - - -## Implemented Interfaces - -* io.kubernetes.client.common.KubernetesObject - - diff --git a/kubernetes/docs/V1beta1ValidatingAdmissionPolicyBindingList.md b/kubernetes/docs/V1beta1ValidatingAdmissionPolicyBindingList.md deleted file mode 100644 index 84922833b6..0000000000 --- a/kubernetes/docs/V1beta1ValidatingAdmissionPolicyBindingList.md +++ /dev/null @@ -1,21 +0,0 @@ - - -# V1beta1ValidatingAdmissionPolicyBindingList - -ValidatingAdmissionPolicyBindingList is a list of ValidatingAdmissionPolicyBinding. - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] | -|**items** | [**List<V1beta1ValidatingAdmissionPolicyBinding>**](V1beta1ValidatingAdmissionPolicyBinding.md) | List of PolicyBinding. | | -|**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] | -|**metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] | - - -## Implemented Interfaces - -* io.kubernetes.client.common.KubernetesListObject - - diff --git a/kubernetes/docs/V1beta1ValidatingAdmissionPolicyBindingSpec.md b/kubernetes/docs/V1beta1ValidatingAdmissionPolicyBindingSpec.md deleted file mode 100644 index eb770be336..0000000000 --- a/kubernetes/docs/V1beta1ValidatingAdmissionPolicyBindingSpec.md +++ /dev/null @@ -1,17 +0,0 @@ - - -# V1beta1ValidatingAdmissionPolicyBindingSpec - -ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding. - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**matchResources** | [**V1beta1MatchResources**](V1beta1MatchResources.md) | | [optional] | -|**paramRef** | [**V1beta1ParamRef**](V1beta1ParamRef.md) | | [optional] | -|**policyName** | **String** | 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. | [optional] | -|**validationActions** | **List<String>** | validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions. Failures defined by the ValidatingAdmissionPolicy's FailurePolicy are enforced according to these actions only if the FailurePolicy is set to Fail, otherwise the failures are ignored. This includes compilation errors, runtime errors and misconfigurations of the policy. validationActions is declared as a set of action values. Order does not matter. validationActions may not contain duplicates of the same action. The supported actions values are: \"Deny\" specifies that a validation failure results in a denied request. \"Warn\" specifies that a validation failure is reported to the request client in HTTP Warning headers, with a warning code of 299. Warnings can be sent both for allowed or denied admission responses. \"Audit\" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `\"validation.policy.admission.k8s.io/validation_failure\": \"[{\\\"message\\\": \\\"Invalid value\\\", {\\\"policy\\\": \\\"policy.example.com\\\", {\\\"binding\\\": \\\"policybinding.example.com\\\", {\\\"expressionIndex\\\": \\\"1\\\", {\\\"validationActions\\\": [\\\"Audit\\\"]}]\"` Clients should expect to handle additional values by ignoring any values not recognized. \"Deny\" and \"Warn\" may not be used together since this combination needlessly duplicates the validation failure both in the API response body and the HTTP warning headers. Required. | [optional] | - - - diff --git a/kubernetes/docs/V1beta1ValidatingAdmissionPolicyList.md b/kubernetes/docs/V1beta1ValidatingAdmissionPolicyList.md deleted file mode 100644 index 2a5bd91006..0000000000 --- a/kubernetes/docs/V1beta1ValidatingAdmissionPolicyList.md +++ /dev/null @@ -1,21 +0,0 @@ - - -# V1beta1ValidatingAdmissionPolicyList - -ValidatingAdmissionPolicyList is a list of ValidatingAdmissionPolicy. - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] | -|**items** | [**List<V1beta1ValidatingAdmissionPolicy>**](V1beta1ValidatingAdmissionPolicy.md) | List of ValidatingAdmissionPolicy. | | -|**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] | -|**metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] | - - -## Implemented Interfaces - -* io.kubernetes.client.common.KubernetesListObject - - diff --git a/kubernetes/docs/V1beta1ValidatingAdmissionPolicySpec.md b/kubernetes/docs/V1beta1ValidatingAdmissionPolicySpec.md deleted file mode 100644 index e6595ad77e..0000000000 --- a/kubernetes/docs/V1beta1ValidatingAdmissionPolicySpec.md +++ /dev/null @@ -1,20 +0,0 @@ - - -# V1beta1ValidatingAdmissionPolicySpec - -ValidatingAdmissionPolicySpec is the specification of the desired behavior of the AdmissionPolicy. - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**auditAnnotations** | [**List<V1beta1AuditAnnotation>**](V1beta1AuditAnnotation.md) | auditAnnotations contains CEL expressions which are used to produce audit annotations for the audit event of the API request. validations and auditAnnotations may not both be empty; a least one of validations or auditAnnotations is required. | [optional] | -|**failurePolicy** | **String** | 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 spec.paramKind refers to a non-existent Kind. A binding is invalid if spec.paramRef.name refers to a non-existent resource. failurePolicy does not define how validations that evaluate to false are handled. When failurePolicy is set to Fail, ValidatingAdmissionPolicyBinding validationActions define how failures are enforced. Allowed values are Ignore or Fail. Defaults to Fail. | [optional] | -|**matchConditions** | [**List<V1beta1MatchCondition>**](V1beta1MatchCondition.md) | 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. 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 | [optional] | -|**matchConstraints** | [**V1beta1MatchResources**](V1beta1MatchResources.md) | | [optional] | -|**paramKind** | [**V1beta1ParamKind**](V1beta1ParamKind.md) | | [optional] | -|**validations** | [**List<V1beta1Validation>**](V1beta1Validation.md) | 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. | [optional] | -|**variables** | [**List<V1beta1Variable>**](V1beta1Variable.md) | 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. | [optional] | - - - diff --git a/kubernetes/docs/V1beta1ValidatingAdmissionPolicyStatus.md b/kubernetes/docs/V1beta1ValidatingAdmissionPolicyStatus.md deleted file mode 100644 index d389e47080..0000000000 --- a/kubernetes/docs/V1beta1ValidatingAdmissionPolicyStatus.md +++ /dev/null @@ -1,16 +0,0 @@ - - -# V1beta1ValidatingAdmissionPolicyStatus - -ValidatingAdmissionPolicyStatus represents the status of an admission validation policy. - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**conditions** | [**List<V1Condition>**](V1Condition.md) | The conditions represent the latest available observations of a policy's current state. | [optional] | -|**observedGeneration** | **Long** | The generation observed by the controller. | [optional] | -|**typeChecking** | [**V1beta1TypeChecking**](V1beta1TypeChecking.md) | | [optional] | - - - diff --git a/kubernetes/docs/V1beta1Validation.md b/kubernetes/docs/V1beta1Validation.md deleted file mode 100644 index 16bae0ba96..0000000000 --- a/kubernetes/docs/V1beta1Validation.md +++ /dev/null @@ -1,17 +0,0 @@ - - -# V1beta1Validation - -Validation specifies the CEL expression which is used to apply the validation. - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**expression** | **String** | 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: - '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. Accessible property names are escaped according to the following rules when accessed in the expression: - '__' escapes to '__underscores__' - '.' escapes to '__dot__' - '-' escapes to '__dash__' - '/' escapes to '__slash__' - Property names that exactly match a CEL RESERVED keyword escape to '__{keyword}__'. The keywords are: \"true\", \"false\", \"null\", \"in\", \"as\", \"break\", \"const\", \"continue\", \"else\", \"for\", \"function\", \"if\", \"import\", \"let\", \"loop\", \"package\", \"namespace\", \"return\". Examples: - Expression accessing a property named \"namespace\": {\"Expression\": \"object.__namespace__ > 0\"} - Expression accessing a property named \"x-prop\": {\"Expression\": \"object.x__dash__prop > 0\"} - Expression accessing a property named \"redact__d\": {\"Expression\": \"object.redact__underscores__d > 0\"} Equality on arrays with list type of 'set' or 'map' ignores element order, i.e. [1, 2] == [2, 1]. Concatenation on arrays with x-kubernetes-list-type use the semantics of the list type: - 'set': `X + Y` performs a union where the array positions of all elements in `X` are preserved and non-intersecting elements in `Y` are appended, retaining their partial order. - 'map': `X + Y` performs a merge where the array positions of all keys in `X` are preserved but the values are overwritten by values in `Y` when the key sets of `X` and `Y` intersect. Elements in `Y` with non-intersecting keys are appended, retaining their partial order. Required. | | -|**message** | **String** | 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\" If the Expression contains line breaks. Message is required. The message must not contain line breaks. If unset, the message is \"failed Expression: {Expression}\". | [optional] | -|**messageExpression** | **String** | messageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. Since messageExpression is used as a failure message, it must evaluate to a string. If both message and messageExpression are present on a validation, then messageExpression will be used if validation fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged. messageExpression has access to all the same variables as the `expression` except for 'authorizer' and 'authorizer.requestResource'. Example: \"object.x must be less than max (\"+string(params.max)+\")\" | [optional] | -|**reason** | **String** | 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. The currently supported reasons are: \"Unauthorized\", \"Forbidden\", \"Invalid\", \"RequestEntityTooLarge\". If not set, StatusReasonInvalid is used in the response to the client. | [optional] | - - - diff --git a/kubernetes/docs/V1beta2AllocatedDeviceStatus.md b/kubernetes/docs/V1beta2AllocatedDeviceStatus.md index b646dfb6c8..81f79b1104 100644 --- a/kubernetes/docs/V1beta2AllocatedDeviceStatus.md +++ b/kubernetes/docs/V1beta2AllocatedDeviceStatus.md @@ -2,7 +2,7 @@ # V1beta2AllocatedDeviceStatus -AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it. This may include driver-specific information. +AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it. This may include driver-specific information. The combination of Driver, Pool, Device, and ShareID must match the corresponding key in Status.Allocation.Devices. ## Properties @@ -14,6 +14,7 @@ AllocatedDeviceStatus contains the status of an allocated device, if the driver |**driver** | **String** | Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node. Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. | | |**networkData** | [**V1beta2NetworkDeviceData**](V1beta2NetworkDeviceData.md) | | [optional] | |**pool** | **String** | This name together with the driver name and the device name field identify which device was allocated (`<driver name>/<pool name>/<device name>`). Must not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes. | | +|**shareID** | **String** | ShareID uniquely identifies an individual allocation share of the device. | [optional] | diff --git a/kubernetes/docs/V1beta2AllocationResult.md b/kubernetes/docs/V1beta2AllocationResult.md index 8537175181..65feb5be58 100644 --- a/kubernetes/docs/V1beta2AllocationResult.md +++ b/kubernetes/docs/V1beta2AllocationResult.md @@ -8,6 +8,7 @@ AllocationResult contains attributes of an allocated resource. | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| +|**allocationTimestamp** | **OffsetDateTime** | 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 feature gate. | [optional] | |**devices** | [**V1beta2DeviceAllocationResult**](V1beta2DeviceAllocationResult.md) | | [optional] | |**nodeSelector** | [**V1NodeSelector**](V1NodeSelector.md) | | [optional] | diff --git a/kubernetes/docs/V1beta2CELDeviceSelector.md b/kubernetes/docs/V1beta2CELDeviceSelector.md index 57720e6280..486c15c920 100644 --- a/kubernetes/docs/V1beta2CELDeviceSelector.md +++ b/kubernetes/docs/V1beta2CELDeviceSelector.md @@ -8,7 +8,7 @@ CELDeviceSelector contains a CEL expression for selecting a device. | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**expression** | **String** | Expression is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort. The expression's input is an object named \"device\", which carries the following properties: - driver (string): the name of the driver which defines this device. - attributes (map[string]object): the device's attributes, grouped by prefix (e.g. device.attributes[\"dra.example.com\"] evaluates to an object with all of the attributes which were prefixed by \"dra.example.com\". - capacity (map[string]object): the device's capacities, grouped by prefix. Example: Consider a device with driver=\"dra.example.com\", which exposes two attributes named \"model\" and \"ext.example.com/family\" and which exposes one capacity named \"modules\". This input to this expression would have the following fields: device.driver device.attributes[\"dra.example.com\"].model device.attributes[\"ext.example.com\"].family device.capacity[\"dra.example.com\"].modules The device.driver field can be used to check for a specific driver, either as a high-level precondition (i.e. you only want to consider devices from this driver) or as part of a multi-clause expression that is meant to consider devices from different drivers. The value type of each attribute is defined by the device definition, and users who write these expressions must consult the documentation for their specific drivers. The value type of each capacity is Quantity. If an unknown prefix is used as a lookup in either device.attributes or device.capacity, an empty map will be returned. Any reference to an unknown field will cause an evaluation error and allocation to abort. A robust expression should check for the existence of attributes before referencing them. For ease of use, the cel.bind() function is enabled, and can be used to simplify expressions that access multiple attributes with the same domain. For example: cel.bind(dra, device.attributes[\"dra.example.com\"], dra.someBool && dra.anotherBool) 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** | Expression is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort. The expression's input is an object named \"device\", which carries the following properties: - driver (string): the name of the driver which defines this device. - attributes (map[string]object): the device's attributes, grouped by prefix (e.g. device.attributes[\"dra.example.com\"] evaluates to an object with all of the attributes which were prefixed by \"dra.example.com\". - capacity (map[string]object): the device's capacities, grouped by prefix. - allowMultipleAllocations (bool): the allowMultipleAllocations property of the device (v1.34+ with the DRAConsumableCapacity feature enabled). Example: Consider a device with driver=\"dra.example.com\", which exposes two attributes named \"model\" and \"ext.example.com/family\" and which exposes one capacity named \"modules\". This input to this expression would have the following fields: device.driver device.attributes[\"dra.example.com\"].model device.attributes[\"ext.example.com\"].family device.capacity[\"dra.example.com\"].modules The device.driver field can be used to check for a specific driver, either as a high-level precondition (i.e. you only want to consider devices from this driver) or as part of a multi-clause expression that is meant to consider devices from different drivers. The value type of each attribute is defined by the device definition, and users who write these expressions must consult the documentation for their specific drivers. The value type of each capacity is Quantity. If an unknown prefix is used as a lookup in either device.attributes or device.capacity, an empty map will be returned. Any reference to an unknown field will cause an evaluation error and allocation to abort. A robust expression should check for the existence of attributes before referencing them. For ease of use, the cel.bind() function is enabled, and can be used to simplify expressions that access multiple attributes with the same domain. For example: cel.bind(dra, device.attributes[\"dra.example.com\"], dra.someBool && dra.anotherBool) 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. | | diff --git a/kubernetes/docs/V1beta2CapacityRequestPolicy.md b/kubernetes/docs/V1beta2CapacityRequestPolicy.md new file mode 100644 index 0000000000..3b54f59c2c --- /dev/null +++ b/kubernetes/docs/V1beta2CapacityRequestPolicy.md @@ -0,0 +1,16 @@ + + +# V1beta2CapacityRequestPolicy + +CapacityRequestPolicy defines how requests consume device capacity. Must not set more than one ValidRequestValues. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**_default** | **Quantity** | Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. The serialization format is: ``` <quantity> ::= <signedNumber><suffix> (Note that <suffix> may be empty, from the \"\" case in <decimalSI>.) <digit> ::= 0 | 1 | ... | 9 <digits> ::= <digit> | <digit><digits> <number> ::= <digits> | <digits>.<digits> | <digits>. | .<digits> <sign> ::= \"+\" | \"-\" <signedNumber> ::= <number> | <sign><number> <suffix> ::= <binarySI> | <decimalExponent> | <decimalSI> <binarySI> ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) <decimalSI> ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) <decimalExponent> ::= \"e\" <signedNumber> | \"E\" <signedNumber> ``` No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: - No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: - 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation. | [optional] | +|**validRange** | [**V1beta2CapacityRequestPolicyRange**](V1beta2CapacityRequestPolicyRange.md) | | [optional] | +|**validValues** | **List<Quantity>** | ValidValues defines a set of acceptable quantity values in consuming requests. Must not contain more than 10 entries. Must be sorted in ascending order. If this field is set, Default must be defined and it must be included in ValidValues list. If the requested amount does not match any valid value but smaller than some valid values, the scheduler calculates the smallest valid value that is greater than or equal to the request. That is: min(ceil(requestedValue) ∈ validValues), where requestedValue ≤ max(validValues). If the requested amount exceeds all valid values, the request violates the policy, and this device cannot be allocated. | [optional] | + + + diff --git a/kubernetes/docs/V1beta2CapacityRequestPolicyRange.md b/kubernetes/docs/V1beta2CapacityRequestPolicyRange.md new file mode 100644 index 0000000000..c4dfeea8a9 --- /dev/null +++ b/kubernetes/docs/V1beta2CapacityRequestPolicyRange.md @@ -0,0 +1,16 @@ + + +# V1beta2CapacityRequestPolicyRange + +CapacityRequestPolicyRange defines a valid range for consumable capacity values. - If the requested amount is less than Min, it is rounded up to the Min value. - If Step is set and the requested amount is between Min and Max but not aligned with Step, it will be rounded up to the next value equal to Min + (n * Step). - If Step is not set, the requested amount is used as-is if it falls within the range Min to Max (if set). - If the requested or rounded amount exceeds Max (if set), the request does not satisfy the policy, and the device cannot be allocated. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**max** | **Quantity** | Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. The serialization format is: ``` <quantity> ::= <signedNumber><suffix> (Note that <suffix> may be empty, from the \"\" case in <decimalSI>.) <digit> ::= 0 | 1 | ... | 9 <digits> ::= <digit> | <digit><digits> <number> ::= <digits> | <digits>.<digits> | <digits>. | .<digits> <sign> ::= \"+\" | \"-\" <signedNumber> ::= <number> | <sign><number> <suffix> ::= <binarySI> | <decimalExponent> | <decimalSI> <binarySI> ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) <decimalSI> ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) <decimalExponent> ::= \"e\" <signedNumber> | \"E\" <signedNumber> ``` No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: - No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: - 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation. | [optional] | +|**min** | **Quantity** | Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. The serialization format is: ``` <quantity> ::= <signedNumber><suffix> (Note that <suffix> may be empty, from the \"\" case in <decimalSI>.) <digit> ::= 0 | 1 | ... | 9 <digits> ::= <digit> | <digit><digits> <number> ::= <digits> | <digits>.<digits> | <digits>. | .<digits> <sign> ::= \"+\" | \"-\" <signedNumber> ::= <number> | <sign><number> <suffix> ::= <binarySI> | <decimalExponent> | <decimalSI> <binarySI> ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) <decimalSI> ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) <decimalExponent> ::= \"e\" <signedNumber> | \"E\" <signedNumber> ``` No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: - No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: - 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation. | | +|**step** | **Quantity** | Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. The serialization format is: ``` <quantity> ::= <signedNumber><suffix> (Note that <suffix> may be empty, from the \"\" case in <decimalSI>.) <digit> ::= 0 | 1 | ... | 9 <digits> ::= <digit> | <digit><digits> <number> ::= <digits> | <digits>.<digits> | <digits>. | .<digits> <sign> ::= \"+\" | \"-\" <signedNumber> ::= <number> | <sign><number> <suffix> ::= <binarySI> | <decimalExponent> | <decimalSI> <binarySI> ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) <decimalSI> ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) <decimalExponent> ::= \"e\" <signedNumber> | \"E\" <signedNumber> ``` No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: - No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: - 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation. | [optional] | + + + diff --git a/kubernetes/docs/V1beta2CapacityRequirements.md b/kubernetes/docs/V1beta2CapacityRequirements.md new file mode 100644 index 0000000000..ca92735e83 --- /dev/null +++ b/kubernetes/docs/V1beta2CapacityRequirements.md @@ -0,0 +1,14 @@ + + +# V1beta2CapacityRequirements + +CapacityRequirements defines the capacity requirements for a specific device request. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**requests** | **Map<String, Quantity>** | Requests represent individual device resource requests for distinct resources, all of which must be provided by the device. This value is used as an additional filtering condition against the available capacity on the device. This is semantically equivalent to a CEL selector with `device.capacity[<domain>].<name>.compareTo(quantity(<request quantity>)) >= 0`. For example, device.capacity['test-driver.cdi.k8s.io'].counters.compareTo(quantity('2')) >= 0. When a requestPolicy is defined, the requested amount is adjusted upward to the nearest valid value based on the policy. If the requested amount cannot be adjusted to a valid value—because it exceeds what the requestPolicy allows— the device is considered ineligible for allocation. For any capacity that is not explicitly requested: - If no requestPolicy is set, the default consumed capacity is equal to the full device capacity (i.e., the whole device is claimed). - If a requestPolicy is set, the default consumed capacity is determined according to that policy. If the device allows multiple allocation, 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. | [optional] | + + + diff --git a/kubernetes/docs/V1beta2Device.md b/kubernetes/docs/V1beta2Device.md index d09ecf46b0..b76a9a508d 100644 --- a/kubernetes/docs/V1beta2Device.md +++ b/kubernetes/docs/V1beta2Device.md @@ -9,7 +9,11 @@ Device represents one individual hardware instance that can be selected based on | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| |**allNodes** | **Boolean** | 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. | [optional] | +|**allowMultipleAllocations** | **Boolean** | 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. | [optional] | |**attributes** | [**Map<String, V1beta2DeviceAttribute>**](V1beta2DeviceAttribute.md) | 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. | [optional] | +|**bindingConditions** | **List<String>** | BindingConditions defines the conditions for proceeding with binding. All of these conditions must be set in the per-device status conditions with a value of True to proceed with binding the pod to the node while scheduling the pod. The maximum number of binding conditions is 4. The conditions must be a valid condition type string. This is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates. | [optional] | +|**bindingFailureConditions** | **List<String>** | BindingFailureConditions defines the conditions for binding failure. They may be set in the per-device status conditions. If any is set to \"True\", a binding failure occurred. The maximum number of binding failure conditions is 4. The conditions must be a valid condition type string. This is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates. | [optional] | +|**bindsToNode** | **Boolean** | 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 feature gates. | [optional] | |**capacity** | [**Map<String, V1beta2DeviceCapacity>**](V1beta2DeviceCapacity.md) | 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. | [optional] | |**consumesCounters** | [**List<V1beta2DeviceCounterConsumption>**](V1beta2DeviceCounterConsumption.md) | ConsumesCounters defines a list of references to sharedCounters and the set of counters that the device will consume from those counter sets. There can only be a single entry per counterSet. The total number of device counter consumption entries must be <= 32. In addition, the total number in the entire ResourceSlice must be <= 1024 (for example, 64 devices with 16 counters each). | [optional] | |**name** | **String** | Name is unique identifier among all devices managed by the driver in the pool. It must be a DNS label. | | diff --git a/kubernetes/docs/V1beta2DeviceCapacity.md b/kubernetes/docs/V1beta2DeviceCapacity.md index 28b1861146..0065cdb6fb 100644 --- a/kubernetes/docs/V1beta2DeviceCapacity.md +++ b/kubernetes/docs/V1beta2DeviceCapacity.md @@ -8,6 +8,7 @@ DeviceCapacity describes a quantity associated with a device. | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| +|**requestPolicy** | [**V1beta2CapacityRequestPolicy**](V1beta2CapacityRequestPolicy.md) | | [optional] | |**value** | **Quantity** | Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. The serialization format is: ``` <quantity> ::= <signedNumber><suffix> (Note that <suffix> may be empty, from the \"\" case in <decimalSI>.) <digit> ::= 0 | 1 | ... | 9 <digits> ::= <digit> | <digit><digits> <number> ::= <digits> | <digits>.<digits> | <digits>. | .<digits> <sign> ::= \"+\" | \"-\" <signedNumber> ::= <number> | <sign><number> <suffix> ::= <binarySI> | <decimalExponent> | <decimalSI> <binarySI> ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) <decimalSI> ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) <decimalExponent> ::= \"e\" <signedNumber> | \"E\" <signedNumber> ``` No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: - No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: - 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation. | | diff --git a/kubernetes/docs/V1beta2DeviceClassSpec.md b/kubernetes/docs/V1beta2DeviceClassSpec.md index f773215a2f..c27afbaa08 100644 --- a/kubernetes/docs/V1beta2DeviceClassSpec.md +++ b/kubernetes/docs/V1beta2DeviceClassSpec.md @@ -9,6 +9,7 @@ DeviceClassSpec is used in a [DeviceClass] to define what can be allocated and h | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| |**config** | [**List<V1beta2DeviceClassConfiguration>**](V1beta2DeviceClassConfiguration.md) | 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. | [optional] | +|**extendedResourceName** | **String** | 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. It has the same format as the name of a pod's extended resource. It should be unique among all the device classes in a cluster. If two device classes have the same name, then the class created later is picked to satisfy a pod's extended resource requests. 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. | [optional] | |**selectors** | [**List<V1beta2DeviceSelector>**](V1beta2DeviceSelector.md) | Each selector must be satisfied by a device which is claimed via this class. | [optional] | diff --git a/kubernetes/docs/V1beta2DeviceConstraint.md b/kubernetes/docs/V1beta2DeviceConstraint.md index 32d403d306..12a32935c3 100644 --- a/kubernetes/docs/V1beta2DeviceConstraint.md +++ b/kubernetes/docs/V1beta2DeviceConstraint.md @@ -8,6 +8,7 @@ DeviceConstraint must have exactly one field set besides Requests. | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| +|**distinctAttribute** | **String** | DistinctAttribute requires that all devices in question have this attribute and that its type and value are unique across those devices. This acts as the inverse of MatchAttribute. This constraint is used to avoid allocating multiple requests to the same device by ensuring attribute-level differentiation. 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. | [optional] | |**matchAttribute** | **String** | MatchAttribute requires that all devices in question have this attribute and that its type and value are the same across those devices. For example, if you specified \"dra.example.com/numa\" (a hypothetical example!), then only devices in the same NUMA node will be chosen. A device which does not have that attribute will not be chosen. All devices should use a value of the same type for this attribute because that is part of its specification, but if one device doesn't, then it also will not be chosen. Must include the domain qualifier. | [optional] | |**requests** | **List<String>** | Requests is a list of the one or more requests in this claim which must co-satisfy this constraint. If a request is fulfilled by multiple devices, then all of the devices must satisfy the constraint. If this is not specified, this constraint applies to all requests in this claim. References to subrequests must include the name of the main request and may include the subrequest using the format <main request>[/<subrequest>]. If just the main request is given, the constraint applies to all subrequests. | [optional] | diff --git a/kubernetes/docs/V1beta2DeviceRequestAllocationResult.md b/kubernetes/docs/V1beta2DeviceRequestAllocationResult.md index e08d915dbf..c10dfd07ae 100644 --- a/kubernetes/docs/V1beta2DeviceRequestAllocationResult.md +++ b/kubernetes/docs/V1beta2DeviceRequestAllocationResult.md @@ -9,10 +9,14 @@ DeviceRequestAllocationResult contains the allocation result for one request. | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| |**adminAccess** | **Boolean** | 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 set to false, otherwise it is enabled. | [optional] | +|**bindingConditions** | **List<String>** | 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 feature gates. | [optional] | +|**bindingFailureConditions** | **List<String>** | 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 feature gates. | [optional] | +|**consumedCapacity** | **Map<String, Quantity>** | 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 value based on the device’s requestPolicy if applicable (i.e., may not be less than the requested amount). The total consumed capacity for each device must not exceed the DeviceCapacity's Value. This field is populated only for devices that allow multiple allocations. All capacity entries are included, even if the consumed amount is zero. | [optional] | |**device** | **String** | Device references one device instance via its name in the driver's resource pool. It must be a DNS label. | | |**driver** | **String** | Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node. Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. | | |**pool** | **String** | This name together with the driver name and the device name field identify which device was allocated (`<driver name>/<pool name>/<device name>`). Must not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes. | | |**request** | **String** | Request is the name of the request in the claim which caused this device to be allocated. If it references a subrequest in the firstAvailable list on a DeviceRequest, this field must include both the name of the main request and the subrequest using the format <main request>/<subrequest>. Multiple devices may have been allocated per request. | | +|**shareID** | **String** | 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. | [optional] | |**tolerations** | [**List<V1beta2DeviceToleration>**](V1beta2DeviceToleration.md) | 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 feature gate. | [optional] | diff --git a/kubernetes/docs/V1beta2DeviceSubRequest.md b/kubernetes/docs/V1beta2DeviceSubRequest.md index 33c93583f3..92f0007c4c 100644 --- a/kubernetes/docs/V1beta2DeviceSubRequest.md +++ b/kubernetes/docs/V1beta2DeviceSubRequest.md @@ -9,6 +9,7 @@ DeviceSubRequest describes a request for device provided in the claim.spec.devic | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| |**allocationMode** | **String** | AllocationMode and its related fields define how devices are allocated to satisfy this subrequest. Supported values are: - ExactCount: This request is for a specific number of devices. This is the default. The exact number is provided in the count field. - All: This subrequest is for all of the matching devices in a pool. Allocation will fail if some devices are already allocated, unless adminAccess is requested. If AllocationMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other subrequests must specify this field. More modes may get added in the future. Clients must refuse to handle requests with unknown modes. | [optional] | +|**capacity** | [**V1beta2CapacityRequirements**](V1beta2CapacityRequirements.md) | | [optional] | |**count** | **Long** | 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. | [optional] | |**deviceClassName** | **String** | DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this subrequest. A class is required. Which classes are available depends on the cluster. Administrators may use this to restrict which devices may get requested by only installing classes with selectors for permitted devices. If users are free to request anything without restrictions, then administrators can create an empty DeviceClass for users to reference. | | |**name** | **String** | Name can be used to reference this subrequest in the list of constraints or the list of configurations for the claim. References must use the format <main request>/<subrequest>. Must be a DNS label. | | diff --git a/kubernetes/docs/V1beta2ExactDeviceRequest.md b/kubernetes/docs/V1beta2ExactDeviceRequest.md index 2e6e9977b9..4eb463f794 100644 --- a/kubernetes/docs/V1beta2ExactDeviceRequest.md +++ b/kubernetes/docs/V1beta2ExactDeviceRequest.md @@ -10,6 +10,7 @@ ExactDeviceRequest is a request for one or more identical devices. |------------ | ------------- | ------------- | -------------| |**adminAccess** | **Boolean** | AdminAccess indicates that this is a claim for administrative access to the device(s). Claims with AdminAccess are expected to be used for monitoring or other management services for a device. They ignore all ordinary claims to the device with respect to access modes and any resource allocations. This is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled. | [optional] | |**allocationMode** | **String** | AllocationMode and its related fields define how devices are allocated to satisfy this request. Supported values are: - ExactCount: This request is for a specific number of devices. This is the default. The exact number is provided in the count field. - All: This request is for all of the matching devices in a pool. At least one device must exist on the node for the allocation to succeed. Allocation will fail if some devices are already allocated, unless adminAccess is requested. If AllocationMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other requests must specify this field. More modes may get added in the future. Clients must refuse to handle requests with unknown modes. | [optional] | +|**capacity** | [**V1beta2CapacityRequirements**](V1beta2CapacityRequirements.md) | | [optional] | |**count** | **Long** | 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. | [optional] | |**deviceClassName** | **String** | DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this request. A DeviceClassName is required. Administrators may use this to restrict which devices may get requested by only installing classes with selectors for permitted devices. If users are free to request anything without restrictions, then administrators can create an empty DeviceClass for users to reference. | | |**selectors** | [**List<V1beta2DeviceSelector>**](V1beta2DeviceSelector.md) | Selectors define criteria which must be satisfied by a specific device in order for that device to be considered for this request. All selectors must be satisfied for a device to be considered. | [optional] | diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/ApiCallback.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/ApiCallback.java index 4ee3eea705..3c9269768d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/ApiCallback.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/ApiCallback.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi; import java.io.IOException; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/ApiClient.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/ApiClient.java index d5d3fd68c2..020095d7b0 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/ApiClient.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/ApiClient.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi; import okhttp3.*; @@ -1431,10 +1432,10 @@ public String guessContentTypeFromFile(File file) { /** * Add a Content-Disposition Header for the given key and file to the MultipartBody Builder. * - * @param mpBuilder MultipartBody.Builder + * @param mpBuilder MultipartBody.Builder * @param key The key of the Header element * @param file The file to add to the Header - */ + */ private void addPartToMultiPartBuilder(MultipartBody.Builder mpBuilder, String key, File file) { Headers partHeaders = Headers.of("Content-Disposition", "form-data; name=\"" + key + "\"; filename=\"" + file.getName() + "\""); MediaType mediaType = MediaType.parse(guessContentTypeFromFile(file)); diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/ApiException.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/ApiException.java index f903690774..25a81feb38 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/ApiException.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/ApiException.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi; import java.util.Map; @@ -20,7 +21,7 @@ *

ApiException class.

*/ @SuppressWarnings("serial") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class ApiException extends Exception { private static final long serialVersionUID = 1L; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/ApiResponse.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/ApiResponse.java index 1b03e38975..52f5becda8 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/ApiResponse.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/ApiResponse.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi; import java.util.List; @@ -58,7 +59,7 @@ public int getStatusCode() { /** *

Get the headers.

* - * @return a {@link java.util.Map} of headers + * @return a {@link java.util.Map} of headers */ public Map> getHeaders() { return headers; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/Configuration.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/Configuration.java index 88a3d9e2b2..815197d417 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/Configuration.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/Configuration.java @@ -1,22 +1,23 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi; import java.util.Objects; import java.util.concurrent.atomic.AtomicReference; import java.util.function.Supplier; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class Configuration { public static final String VERSION = "25.0.0-SNAPSHOT"; @@ -59,4 +60,4 @@ public static void setApiClientFactory(Supplier factory) { private Configuration() { } -} +} \ No newline at end of file diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/GzipRequestInterceptor.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/GzipRequestInterceptor.java index ec4cfbb653..0cf9561b1e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/GzipRequestInterceptor.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/GzipRequestInterceptor.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi; import okhttp3.*; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/JSON.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/JSON.java index a5ef315e66..f2536b2a9f 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/JSON.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/JSON.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi; import com.google.gson.Gson; @@ -23,9 +24,6 @@ import io.gsonfire.GsonFireBuilder; import io.gsonfire.TypeSelector; -import io.kubernetes.client.gson.V1MetadataExclusionStrategy; -import io.kubernetes.client.gson.V1StatusPreProcessor; -import io.kubernetes.client.openapi.models.V1Status; import okio.ByteString; import java.io.IOException; @@ -40,9 +38,6 @@ import java.time.LocalDate; import java.time.OffsetDateTime; import java.time.format.DateTimeFormatter; -import java.time.format.DateTimeFormatterBuilder; -import java.time.format.DateTimeParseException; -import java.time.temporal.ChronoField; import java.util.Date; import java.util.Locale; import java.util.Map; @@ -57,20 +52,9 @@ public class JSON { private static Gson gson; private static boolean isLenientOnJson = false; - - private static final DateTimeFormatter RFC3339MICRO_FORMATTER = - new DateTimeFormatterBuilder() - .parseDefaulting(ChronoField.OFFSET_SECONDS, 0) - .append(DateTimeFormatter.ofPattern("yyyy-MM-dd'T'HH:mm:ss")) - .optionalStart() - .appendFraction(ChronoField.NANO_OF_SECOND, 6, 6, true) - .optionalEnd() - .appendLiteral("Z") - .toFormatter(); - private static DateTypeAdapter dateTypeAdapter = new DateTypeAdapter(); private static SqlDateTypeAdapter sqlDateTypeAdapter = new SqlDateTypeAdapter(); - private static OffsetDateTimeTypeAdapter offsetDateTimeTypeAdapter = new OffsetDateTimeTypeAdapter(RFC3339MICRO_FORMATTER); + private static OffsetDateTimeTypeAdapter offsetDateTimeTypeAdapter = new OffsetDateTimeTypeAdapter(); private static LocalDateTypeAdapter localDateTypeAdapter = new LocalDateTypeAdapter(); private static ByteArrayAdapter byteArrayAdapter = new ByteArrayAdapter(); @@ -78,11 +62,8 @@ public class JSON { public static GsonBuilder createGson() { GsonFireBuilder fireBuilder = new GsonFireBuilder() ; - GsonBuilder builder = - fireBuilder - .registerPreProcessor(V1Status.class, new V1StatusPreProcessor()) - .createGsonBuilder(); - return builder.setExclusionStrategies(new V1MetadataExclusionStrategy()); + GsonBuilder builder = fireBuilder.createGsonBuilder(); + return builder; } private static String getDiscriminatorValue(JsonElement readElement, String discriminatorField) { @@ -125,12 +106,14 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.CoreV1Event.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.CoreV1EventList.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.CoreV1EventSeries.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.CoreV1ResourceClaim.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.DiscoveryV1EndpointPort.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.EventsV1Event.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.EventsV1EventList.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.EventsV1EventSeries.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.FlowcontrolV1Subject.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.RbacV1Subject.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.ResourceV1ResourceClaim.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.StorageV1TokenRequest.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1APIGroup.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1APIGroupList.CustomTypeAdapterFactory()); @@ -145,6 +128,8 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1AWSElasticBlockStoreVolumeSource.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1Affinity.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1AggregationRule.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1AllocatedDeviceStatus.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1AllocationResult.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1AppArmorProfile.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1AttachedVolume.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1AuditAnnotation.CustomTypeAdapterFactory()); @@ -153,6 +138,7 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1AzureFileVolumeSource.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1Binding.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1BoundObjectReference.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1CELDeviceSelector.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1CSIDriver.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1CSIDriverList.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1CSIDriverSpec.CustomTypeAdapterFactory()); @@ -165,6 +151,9 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1CSIStorageCapacityList.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1CSIVolumeSource.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1Capabilities.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1CapacityRequestPolicy.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1CapacityRequestPolicyRange.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1CapacityRequirements.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1CephFSPersistentVolumeSource.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1CephFSVolumeSource.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1CertificateSigningRequest.CustomTypeAdapterFactory()); @@ -192,9 +181,12 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1ConfigMapProjection.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1ConfigMapVolumeSource.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1Container.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1ContainerExtendedResourceRequest.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1ContainerImage.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1ContainerPort.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1ContainerResizePolicy.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1ContainerRestartRule.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1ContainerRestartRuleOnExitCodes.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1ContainerState.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1ContainerStateRunning.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1ContainerStateTerminated.CustomTypeAdapterFactory()); @@ -203,6 +195,8 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1ContainerUser.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1ControllerRevision.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1ControllerRevisionList.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1Counter.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1CounterSet.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1CronJob.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1CronJobList.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1CronJobSpec.CustomTypeAdapterFactory()); @@ -234,6 +228,25 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1DeploymentSpec.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1DeploymentStatus.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1DeploymentStrategy.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1Device.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1DeviceAllocationConfiguration.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1DeviceAllocationResult.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1DeviceAttribute.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1DeviceCapacity.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1DeviceClaim.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1DeviceClaimConfiguration.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1DeviceClass.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1DeviceClassConfiguration.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1DeviceClassList.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1DeviceClassSpec.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1DeviceConstraint.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1DeviceCounterConsumption.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1DeviceRequest.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1DeviceRequestAllocationResult.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1DeviceSelector.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1DeviceSubRequest.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1DeviceTaint.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1DeviceToleration.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1DownwardAPIProjection.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1DownwardAPIVolumeFile.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1DownwardAPIVolumeSource.CustomTypeAdapterFactory()); @@ -254,6 +267,7 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1EphemeralVolumeSource.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1EventSource.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1Eviction.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1ExactDeviceRequest.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1ExecAction.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1ExemptPriorityLevelConfiguration.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1ExpressionWarning.CustomTypeAdapterFactory()); @@ -261,6 +275,7 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1FCVolumeSource.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1FieldSelectorAttributes.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1FieldSelectorRequirement.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1FileKeySelector.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1FlexPersistentVolumeSource.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1FlexVolumeSource.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1FlockerVolumeSource.CustomTypeAdapterFactory()); @@ -355,6 +370,7 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1NamespaceList.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1NamespaceSpec.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1NamespaceStatus.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1NetworkDeviceData.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1NetworkPolicy.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1NetworkPolicyEgressRule.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1NetworkPolicyIngressRule.CustomTypeAdapterFactory()); @@ -386,6 +402,7 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1ObjectFieldSelector.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1ObjectMeta.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1ObjectReference.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1OpaqueDeviceConfiguration.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1Overhead.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1OwnerReference.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1ParamKind.CustomTypeAdapterFactory()); @@ -407,6 +424,7 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1PodAffinity.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1PodAffinityTerm.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1PodAntiAffinity.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1PodCertificateProjection.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1PodCondition.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1PodDNSConfig.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1PodDNSConfigOption.CustomTypeAdapterFactory()); @@ -414,6 +432,7 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1PodDisruptionBudgetList.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1PodDisruptionBudgetSpec.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1PodDisruptionBudgetStatus.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1PodExtendedResourceClaimStatus.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1PodFailurePolicy.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1PodFailurePolicyOnExitCodesRequirement.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1PodFailurePolicyOnPodConditionsPattern.CustomTypeAdapterFactory()); @@ -462,16 +481,26 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1ReplicationControllerSpec.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1ReplicationControllerStatus.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1ResourceAttributes.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1ResourceClaim.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1ResourceClaimConsumerReference.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1ResourceClaimList.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1ResourceClaimSpec.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1ResourceClaimStatus.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1ResourceClaimTemplate.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1ResourceClaimTemplateList.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1ResourceClaimTemplateSpec.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1ResourceFieldSelector.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1ResourceHealth.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1ResourcePolicyRule.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1ResourcePool.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1ResourceQuota.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1ResourceQuotaList.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1ResourceQuotaSpec.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1ResourceQuotaStatus.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1ResourceRequirements.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1ResourceRule.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1ResourceSlice.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1ResourceSliceList.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1ResourceSliceSpec.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1ResourceStatus.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1Role.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1RoleBinding.CustomTypeAdapterFactory()); @@ -584,6 +613,8 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1VolumeAttachmentSource.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1VolumeAttachmentSpec.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1VolumeAttachmentStatus.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1VolumeAttributesClass.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1VolumeAttributesClassList.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1VolumeDevice.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1VolumeError.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1VolumeMount.CustomTypeAdapterFactory()); @@ -616,6 +647,10 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1alpha1NamedRuleWithOperations.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1alpha1ParamKind.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1alpha1ParamRef.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1alpha1PodCertificateRequest.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1alpha1PodCertificateRequestList.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1alpha1PodCertificateRequestSpec.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1alpha1PodCertificateRequestStatus.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1alpha1ServerStorageVersion.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1alpha1StorageVersion.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1alpha1StorageVersionCondition.CustomTypeAdapterFactory()); @@ -631,53 +666,21 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1alpha2LeaseCandidate.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1alpha2LeaseCandidateList.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1alpha2LeaseCandidateSpec.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1alpha3AllocatedDeviceStatus.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1alpha3AllocationResult.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1alpha3BasicDevice.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1alpha3CELDeviceSelector.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1alpha3Counter.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1alpha3CounterSet.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1alpha3Device.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1alpha3DeviceAllocationConfiguration.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1alpha3DeviceAllocationResult.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1alpha3DeviceAttribute.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1alpha3DeviceClaim.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1alpha3DeviceClaimConfiguration.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1alpha3DeviceClass.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1alpha3DeviceClassConfiguration.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1alpha3DeviceClassList.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1alpha3DeviceClassSpec.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1alpha3DeviceConstraint.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1alpha3DeviceCounterConsumption.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1alpha3DeviceRequest.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1alpha3DeviceRequestAllocationResult.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1alpha3DeviceSelector.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1alpha3DeviceSubRequest.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1alpha3DeviceTaint.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1alpha3DeviceTaintRule.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1alpha3DeviceTaintRuleList.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1alpha3DeviceTaintRuleSpec.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1alpha3DeviceTaintSelector.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1alpha3DeviceToleration.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1alpha3NetworkDeviceData.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1alpha3OpaqueDeviceConfiguration.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1alpha3ResourceClaim.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1alpha3ResourceClaimConsumerReference.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1alpha3ResourceClaimList.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1alpha3ResourceClaimSpec.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1alpha3ResourceClaimStatus.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1alpha3ResourceClaimTemplate.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1alpha3ResourceClaimTemplateList.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1alpha3ResourceClaimTemplateSpec.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1alpha3ResourcePool.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1alpha3ResourceSlice.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1alpha3ResourceSliceList.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1alpha3ResourceSliceSpec.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1beta1AllocatedDeviceStatus.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1beta1AllocationResult.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1beta1AuditAnnotation.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1beta1ApplyConfiguration.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1beta1BasicDevice.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1beta1CELDeviceSelector.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1beta1CapacityRequestPolicy.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1beta1CapacityRequestPolicyRange.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1beta1CapacityRequirements.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1beta1ClusterTrustBundle.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1beta1ClusterTrustBundleList.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1beta1ClusterTrustBundleSpec.CustomTypeAdapterFactory()); @@ -702,15 +705,22 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1beta1DeviceSubRequest.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1beta1DeviceTaint.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1beta1DeviceToleration.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1beta1ExpressionWarning.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1beta1IPAddress.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1beta1IPAddressList.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1beta1IPAddressSpec.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1beta1JSONPatch.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1beta1LeaseCandidate.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1beta1LeaseCandidateList.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1beta1LeaseCandidateSpec.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1beta1MatchCondition.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1beta1MatchResources.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1beta1MutatingAdmissionPolicy.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1beta1MutatingAdmissionPolicyBinding.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1beta1MutatingAdmissionPolicyBindingList.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1beta1MutatingAdmissionPolicyBindingSpec.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1beta1MutatingAdmissionPolicyList.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1beta1MutatingAdmissionPolicySpec.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1beta1Mutation.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1beta1NamedRuleWithOperations.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1beta1NetworkDeviceData.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1beta1OpaqueDeviceConfiguration.CustomTypeAdapterFactory()); @@ -733,21 +743,15 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1beta1ServiceCIDRList.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1beta1ServiceCIDRSpec.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1beta1ServiceCIDRStatus.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1beta1TypeChecking.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1beta1ValidatingAdmissionPolicy.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1beta1ValidatingAdmissionPolicyBinding.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1beta1ValidatingAdmissionPolicyBindingList.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1beta1ValidatingAdmissionPolicyBindingSpec.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1beta1ValidatingAdmissionPolicyList.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1beta1ValidatingAdmissionPolicySpec.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1beta1ValidatingAdmissionPolicyStatus.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1beta1Validation.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1beta1Variable.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1beta1VolumeAttributesClass.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1beta1VolumeAttributesClassList.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1beta2AllocatedDeviceStatus.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1beta2AllocationResult.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1beta2CELDeviceSelector.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1beta2CapacityRequestPolicy.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1beta2CapacityRequestPolicyRange.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1beta2CapacityRequirements.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1beta2Counter.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1beta2CounterSet.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new io.kubernetes.client.openapi.models.V1beta2Device.CustomTypeAdapterFactory()); @@ -903,14 +907,11 @@ public static class ByteArrayAdapter extends TypeAdapter { @Override public void write(JsonWriter out, byte[] value) throws IOException { - boolean oldHtmlSafe = out.isHtmlSafe(); - out.setHtmlSafe(false); if (value == null) { out.nullValue(); } else { out.value(ByteString.of(value).base64()); } - out.setHtmlSafe(oldHtmlSafe); } @Override @@ -966,12 +967,7 @@ public OffsetDateTime read(JsonReader in) throws IOException { if (date.endsWith("+0000")) { date = date.substring(0, date.length()-5) + "Z"; } - try { - return OffsetDateTime.parse(date, formatter); - } catch (DateTimeParseException e) { - // backward-compatibility for ISO8601 timestamp format - return OffsetDateTime.parse(date, DateTimeFormatter.ISO_OFFSET_DATE_TIME); - } + return OffsetDateTime.parse(date, formatter); } } } diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/Pair.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/Pair.java index 7bd3eefcee..21f1ff0b5c 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/Pair.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/Pair.java @@ -1,18 +1,19 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class Pair { private String name = ""; private String value = ""; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/ProgressRequestBody.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/ProgressRequestBody.java index 9f03aa6f25..78f16ff777 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/ProgressRequestBody.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/ProgressRequestBody.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi; import okhttp3.MediaType; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/ProgressResponseBody.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/ProgressResponseBody.java index ae03d657b5..46d2af36f4 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/ProgressResponseBody.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/ProgressResponseBody.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi; import okhttp3.MediaType; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/ServerConfiguration.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/ServerConfiguration.java index 3669228191..36e6aecf09 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/ServerConfiguration.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/ServerConfiguration.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi; import java.util.Map; @@ -17,7 +18,7 @@ /** * Representing a Server configuration. */ -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class ServerConfiguration { public String URL; public String description; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/ServerVariable.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/ServerVariable.java index c99fcf98e7..3c817ad687 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/ServerVariable.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/ServerVariable.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi; import java.util.HashSet; @@ -17,7 +18,7 @@ /** * Representing a Server Variable for server URL template substitution. */ -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class ServerVariable { public String description; public String defaultValue; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/StringUtil.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/StringUtil.java index bd43105e74..90afec323e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/StringUtil.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/StringUtil.java @@ -1,21 +1,22 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi; import java.util.Collection; import java.util.Iterator; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AdmissionregistrationApi.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AdmissionregistrationApi.java index 3b6665ec78..4b8c47f08b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AdmissionregistrationApi.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AdmissionregistrationApi.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.apis; import io.kubernetes.client.openapi.ApiCallback; @@ -212,7 +213,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws } /** - * + * * get information of a group * @return APIgetAPIGroupRequest * @http.response.details diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AdmissionregistrationV1Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AdmissionregistrationV1Api.java index 57e7f2999a..9e31078388 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AdmissionregistrationV1Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AdmissionregistrationV1Api.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.apis; import io.kubernetes.client.openapi.ApiCallback; @@ -305,7 +306,7 @@ public okhttp3.Call executeAsync(final ApiCallback } /** - * + * * create a ValidatingAdmissionPolicy * @param body (required) * @return APIcreateValidatingAdmissionPolicyRequest @@ -785,7 +786,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of MutatingWebhookConfiguration * @return APIdeleteCollectionMutatingWebhookConfigurationRequest * @http.response.details @@ -1814,7 +1815,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of ValidatingAdmissionPolicy * @return APIdeleteCollectionValidatingAdmissionPolicyRequest * @http.response.details @@ -2207,7 +2208,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of ValidatingAdmissionPolicyBinding * @return APIdeleteCollectionValidatingAdmissionPolicyBindingRequest * @http.response.details @@ -2600,7 +2601,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of ValidatingWebhookConfiguration * @return APIdeleteCollectionValidatingWebhookConfigurationRequest * @http.response.details @@ -2878,7 +2879,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete a MutatingWebhookConfiguration * @param name name of the MutatingWebhookConfiguration (required) * @return APIdeleteMutatingWebhookConfigurationRequest @@ -3158,7 +3159,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete a ValidatingAdmissionPolicy * @param name name of the ValidatingAdmissionPolicy (required) * @return APIdeleteValidatingAdmissionPolicyRequest @@ -3438,7 +3439,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete a ValidatingAdmissionPolicyBinding * @param name name of the ValidatingAdmissionPolicyBinding (required) * @return APIdeleteValidatingAdmissionPolicyBindingRequest @@ -3718,7 +3719,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete a ValidatingWebhookConfiguration * @param name name of the ValidatingWebhookConfiguration (required) * @return APIdeleteValidatingWebhookConfigurationRequest @@ -3876,7 +3877,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) } /** - * + * * get available resources * @return APIgetAPIResourcesRequest * @http.response.details @@ -4211,7 +4212,7 @@ public okhttp3.Call executeAsync(final ApiCallback } /** - * + * * partially update the specified ValidatingAdmissionPolicy * @param name name of the ValidatingAdmissionPolicy (required) * @param body (required) @@ -5996,7 +5997,7 @@ public okhttp3.Call executeAsync(final ApiCallback } /** - * + * * partially update status of the specified ValidatingAdmissionPolicy * @param name name of the ValidatingAdmissionPolicy (required) * @param body (required) @@ -6518,7 +6519,7 @@ public okhttp3.Call executeAsync(final ApiCallback } /** - * + * * read the specified ValidatingAdmissionPolicy * @param name name of the ValidatingAdmissionPolicy (required) * @return APIreadValidatingAdmissionPolicyRequest @@ -7066,7 +7067,7 @@ public okhttp3.Call executeAsync(final ApiCallback } /** - * + * * read status of the specified ValidatingAdmissionPolicy * @param name name of the ValidatingAdmissionPolicy (required) * @return APIreadValidatingAdmissionPolicyStatusRequest @@ -7430,7 +7431,7 @@ public okhttp3.Call executeAsync(final ApiCallback } /** - * + * * replace the specified ValidatingAdmissionPolicy * @param name name of the ValidatingAdmissionPolicy (required) * @param body (required) @@ -8163,7 +8164,7 @@ public okhttp3.Call executeAsync(final ApiCallback } /** - * + * * replace status of the specified ValidatingAdmissionPolicy * @param name name of the ValidatingAdmissionPolicy (required) * @param body (required) @@ -8653,7 +8654,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of MutatingAdmissionPolicy * @return APIdeleteCollectionMutatingAdmissionPolicyRequest * @http.response.details @@ -1330,7 +1331,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of MutatingAdmissionPolicyBinding * @return APIdeleteCollectionMutatingAdmissionPolicyBindingRequest * @http.response.details @@ -1608,7 +1609,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete a MutatingAdmissionPolicy * @param name name of the MutatingAdmissionPolicy (required) * @return APIdeleteMutatingAdmissionPolicyRequest @@ -1888,7 +1889,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete a MutatingAdmissionPolicyBinding * @param name name of the MutatingAdmissionPolicyBinding (required) * @return APIdeleteMutatingAdmissionPolicyBindingRequest @@ -2046,7 +2047,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) } /** - * + * * get available resources * @return APIgetAPIResourcesRequest * @http.response.details @@ -2381,7 +2382,7 @@ public okhttp3.Call executeAsync(final ApiCallback localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -143,34 +144,34 @@ private okhttp3.Call createValidatingAdmissionPolicyCall(@jakarta.annotation.Non } @SuppressWarnings("rawtypes") - private okhttp3.Call createValidatingAdmissionPolicyValidateBeforeCall(@jakarta.annotation.Nonnull V1beta1ValidatingAdmissionPolicy body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + private okhttp3.Call createMutatingAdmissionPolicyValidateBeforeCall(@jakarta.annotation.Nonnull V1beta1MutatingAdmissionPolicy body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling createValidatingAdmissionPolicy(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling createMutatingAdmissionPolicy(Async)"); } - return createValidatingAdmissionPolicyCall(body, pretty, dryRun, fieldManager, fieldValidation, _callback); + return createMutatingAdmissionPolicyCall(body, pretty, dryRun, fieldManager, fieldValidation, _callback); } - private ApiResponse createValidatingAdmissionPolicyWithHttpInfo(@jakarta.annotation.Nonnull V1beta1ValidatingAdmissionPolicy body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation) throws ApiException { - okhttp3.Call localVarCall = createValidatingAdmissionPolicyValidateBeforeCall(body, pretty, dryRun, fieldManager, fieldValidation, null); - Type localVarReturnType = new TypeToken(){}.getType(); + private ApiResponse createMutatingAdmissionPolicyWithHttpInfo(@jakarta.annotation.Nonnull V1beta1MutatingAdmissionPolicy body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation) throws ApiException { + okhttp3.Call localVarCall = createMutatingAdmissionPolicyValidateBeforeCall(body, pretty, dryRun, fieldManager, fieldValidation, null); + Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } - private okhttp3.Call createValidatingAdmissionPolicyAsync(@jakarta.annotation.Nonnull V1beta1ValidatingAdmissionPolicy body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + private okhttp3.Call createMutatingAdmissionPolicyAsync(@jakarta.annotation.Nonnull V1beta1MutatingAdmissionPolicy body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = createValidatingAdmissionPolicyValidateBeforeCall(body, pretty, dryRun, fieldManager, fieldValidation, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); + okhttp3.Call localVarCall = createMutatingAdmissionPolicyValidateBeforeCall(body, pretty, dryRun, fieldManager, fieldValidation, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } - public class APIcreateValidatingAdmissionPolicyRequest { + public class APIcreateMutatingAdmissionPolicyRequest { @jakarta.annotation.Nonnull - private final V1beta1ValidatingAdmissionPolicy body; + private final V1beta1MutatingAdmissionPolicy body; @jakarta.annotation.Nullable private String pretty; @jakarta.annotation.Nullable @@ -180,16 +181,16 @@ public class APIcreateValidatingAdmissionPolicyRequest { @jakarta.annotation.Nullable private String fieldValidation; - private APIcreateValidatingAdmissionPolicyRequest(@jakarta.annotation.Nonnull V1beta1ValidatingAdmissionPolicy body) { + private APIcreateMutatingAdmissionPolicyRequest(@jakarta.annotation.Nonnull V1beta1MutatingAdmissionPolicy body) { this.body = body; } /** * Set pretty * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIcreateValidatingAdmissionPolicyRequest + * @return APIcreateMutatingAdmissionPolicyRequest */ - public APIcreateValidatingAdmissionPolicyRequest pretty(@jakarta.annotation.Nullable String pretty) { + public APIcreateMutatingAdmissionPolicyRequest pretty(@jakarta.annotation.Nullable String pretty) { this.pretty = pretty; return this; } @@ -197,9 +198,9 @@ public APIcreateValidatingAdmissionPolicyRequest pretty(@jakarta.annotation.Null /** * Set dryRun * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) - * @return APIcreateValidatingAdmissionPolicyRequest + * @return APIcreateMutatingAdmissionPolicyRequest */ - public APIcreateValidatingAdmissionPolicyRequest dryRun(@jakarta.annotation.Nullable String dryRun) { + public APIcreateMutatingAdmissionPolicyRequest dryRun(@jakarta.annotation.Nullable String dryRun) { this.dryRun = dryRun; return this; } @@ -207,9 +208,9 @@ public APIcreateValidatingAdmissionPolicyRequest dryRun(@jakarta.annotation.Null /** * Set fieldManager * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) - * @return APIcreateValidatingAdmissionPolicyRequest + * @return APIcreateMutatingAdmissionPolicyRequest */ - public APIcreateValidatingAdmissionPolicyRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { + public APIcreateMutatingAdmissionPolicyRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { this.fieldManager = fieldManager; return this; } @@ -217,15 +218,15 @@ public APIcreateValidatingAdmissionPolicyRequest fieldManager(@jakarta.annotatio /** * Set fieldValidation * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) - * @return APIcreateValidatingAdmissionPolicyRequest + * @return APIcreateMutatingAdmissionPolicyRequest */ - public APIcreateValidatingAdmissionPolicyRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { + public APIcreateMutatingAdmissionPolicyRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { this.fieldValidation = fieldValidation; return this; } /** - * Build call for createValidatingAdmissionPolicy + * Build call for createMutatingAdmissionPolicy * @param _callback ApiCallback API callback * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -240,12 +241,12 @@ public APIcreateValidatingAdmissionPolicyRequest fieldValidation(@jakarta.annota */ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return createValidatingAdmissionPolicyCall(body, pretty, dryRun, fieldManager, fieldValidation, _callback); + return createMutatingAdmissionPolicyCall(body, pretty, dryRun, fieldManager, fieldValidation, _callback); } /** - * Execute createValidatingAdmissionPolicy request - * @return V1beta1ValidatingAdmissionPolicy + * Execute createMutatingAdmissionPolicy request + * @return V1beta1MutatingAdmissionPolicy * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -257,14 +258,14 @@ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
401 Unauthorized -
*/ - public V1beta1ValidatingAdmissionPolicy execute() throws ApiException { - ApiResponse localVarResp = createValidatingAdmissionPolicyWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation); + public V1beta1MutatingAdmissionPolicy execute() throws ApiException { + ApiResponse localVarResp = createMutatingAdmissionPolicyWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation); return localVarResp.getData(); } /** - * Execute createValidatingAdmissionPolicy request with HTTP info returned - * @return ApiResponse<V1beta1ValidatingAdmissionPolicy> + * Execute createMutatingAdmissionPolicy request with HTTP info returned + * @return ApiResponse<V1beta1MutatingAdmissionPolicy> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -276,12 +277,12 @@ public V1beta1ValidatingAdmissionPolicy execute() throws ApiException {
401 Unauthorized -
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return createValidatingAdmissionPolicyWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation); + public ApiResponse executeWithHttpInfo() throws ApiException { + return createMutatingAdmissionPolicyWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation); } /** - * Execute createValidatingAdmissionPolicy request (asynchronously) + * Execute createMutatingAdmissionPolicy request (asynchronously) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -295,16 +296,16 @@ public ApiResponse executeWithHttpInfo() throw 401 Unauthorized - */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return createValidatingAdmissionPolicyAsync(body, pretty, dryRun, fieldManager, fieldValidation, _callback); + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return createMutatingAdmissionPolicyAsync(body, pretty, dryRun, fieldManager, fieldValidation, _callback); } } /** - * - * create a ValidatingAdmissionPolicy + * + * create a MutatingAdmissionPolicy * @param body (required) - * @return APIcreateValidatingAdmissionPolicyRequest + * @return APIcreateMutatingAdmissionPolicyRequest * @http.response.details @@ -315,10 +316,10 @@ public okhttp3.Call executeAsync(final ApiCallback
Response Details
401 Unauthorized -
*/ - public APIcreateValidatingAdmissionPolicyRequest createValidatingAdmissionPolicy(@jakarta.annotation.Nonnull V1beta1ValidatingAdmissionPolicy body) { - return new APIcreateValidatingAdmissionPolicyRequest(body); + public APIcreateMutatingAdmissionPolicyRequest createMutatingAdmissionPolicy(@jakarta.annotation.Nonnull V1beta1MutatingAdmissionPolicy body) { + return new APIcreateMutatingAdmissionPolicyRequest(body); } - private okhttp3.Call createValidatingAdmissionPolicyBindingCall(@jakarta.annotation.Nonnull V1beta1ValidatingAdmissionPolicyBinding body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + private okhttp3.Call createMutatingAdmissionPolicyBindingCall(@jakarta.annotation.Nonnull V1beta1MutatingAdmissionPolicyBinding body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -335,7 +336,7 @@ private okhttp3.Call createValidatingAdmissionPolicyBindingCall(@jakarta.annotat Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicybindings"; + String localVarPath = "/apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicybindings"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -383,34 +384,34 @@ private okhttp3.Call createValidatingAdmissionPolicyBindingCall(@jakarta.annotat } @SuppressWarnings("rawtypes") - private okhttp3.Call createValidatingAdmissionPolicyBindingValidateBeforeCall(@jakarta.annotation.Nonnull V1beta1ValidatingAdmissionPolicyBinding body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + private okhttp3.Call createMutatingAdmissionPolicyBindingValidateBeforeCall(@jakarta.annotation.Nonnull V1beta1MutatingAdmissionPolicyBinding body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling createValidatingAdmissionPolicyBinding(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling createMutatingAdmissionPolicyBinding(Async)"); } - return createValidatingAdmissionPolicyBindingCall(body, pretty, dryRun, fieldManager, fieldValidation, _callback); + return createMutatingAdmissionPolicyBindingCall(body, pretty, dryRun, fieldManager, fieldValidation, _callback); } - private ApiResponse createValidatingAdmissionPolicyBindingWithHttpInfo(@jakarta.annotation.Nonnull V1beta1ValidatingAdmissionPolicyBinding body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation) throws ApiException { - okhttp3.Call localVarCall = createValidatingAdmissionPolicyBindingValidateBeforeCall(body, pretty, dryRun, fieldManager, fieldValidation, null); - Type localVarReturnType = new TypeToken(){}.getType(); + private ApiResponse createMutatingAdmissionPolicyBindingWithHttpInfo(@jakarta.annotation.Nonnull V1beta1MutatingAdmissionPolicyBinding body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation) throws ApiException { + okhttp3.Call localVarCall = createMutatingAdmissionPolicyBindingValidateBeforeCall(body, pretty, dryRun, fieldManager, fieldValidation, null); + Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } - private okhttp3.Call createValidatingAdmissionPolicyBindingAsync(@jakarta.annotation.Nonnull V1beta1ValidatingAdmissionPolicyBinding body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + private okhttp3.Call createMutatingAdmissionPolicyBindingAsync(@jakarta.annotation.Nonnull V1beta1MutatingAdmissionPolicyBinding body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = createValidatingAdmissionPolicyBindingValidateBeforeCall(body, pretty, dryRun, fieldManager, fieldValidation, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); + okhttp3.Call localVarCall = createMutatingAdmissionPolicyBindingValidateBeforeCall(body, pretty, dryRun, fieldManager, fieldValidation, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } - public class APIcreateValidatingAdmissionPolicyBindingRequest { + public class APIcreateMutatingAdmissionPolicyBindingRequest { @jakarta.annotation.Nonnull - private final V1beta1ValidatingAdmissionPolicyBinding body; + private final V1beta1MutatingAdmissionPolicyBinding body; @jakarta.annotation.Nullable private String pretty; @jakarta.annotation.Nullable @@ -420,16 +421,16 @@ public class APIcreateValidatingAdmissionPolicyBindingRequest { @jakarta.annotation.Nullable private String fieldValidation; - private APIcreateValidatingAdmissionPolicyBindingRequest(@jakarta.annotation.Nonnull V1beta1ValidatingAdmissionPolicyBinding body) { + private APIcreateMutatingAdmissionPolicyBindingRequest(@jakarta.annotation.Nonnull V1beta1MutatingAdmissionPolicyBinding body) { this.body = body; } /** * Set pretty * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIcreateValidatingAdmissionPolicyBindingRequest + * @return APIcreateMutatingAdmissionPolicyBindingRequest */ - public APIcreateValidatingAdmissionPolicyBindingRequest pretty(@jakarta.annotation.Nullable String pretty) { + public APIcreateMutatingAdmissionPolicyBindingRequest pretty(@jakarta.annotation.Nullable String pretty) { this.pretty = pretty; return this; } @@ -437,9 +438,9 @@ public APIcreateValidatingAdmissionPolicyBindingRequest pretty(@jakarta.annotati /** * Set dryRun * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) - * @return APIcreateValidatingAdmissionPolicyBindingRequest + * @return APIcreateMutatingAdmissionPolicyBindingRequest */ - public APIcreateValidatingAdmissionPolicyBindingRequest dryRun(@jakarta.annotation.Nullable String dryRun) { + public APIcreateMutatingAdmissionPolicyBindingRequest dryRun(@jakarta.annotation.Nullable String dryRun) { this.dryRun = dryRun; return this; } @@ -447,9 +448,9 @@ public APIcreateValidatingAdmissionPolicyBindingRequest dryRun(@jakarta.annotati /** * Set fieldManager * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) - * @return APIcreateValidatingAdmissionPolicyBindingRequest + * @return APIcreateMutatingAdmissionPolicyBindingRequest */ - public APIcreateValidatingAdmissionPolicyBindingRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { + public APIcreateMutatingAdmissionPolicyBindingRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { this.fieldManager = fieldManager; return this; } @@ -457,15 +458,15 @@ public APIcreateValidatingAdmissionPolicyBindingRequest fieldManager(@jakarta.an /** * Set fieldValidation * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) - * @return APIcreateValidatingAdmissionPolicyBindingRequest + * @return APIcreateMutatingAdmissionPolicyBindingRequest */ - public APIcreateValidatingAdmissionPolicyBindingRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { + public APIcreateMutatingAdmissionPolicyBindingRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { this.fieldValidation = fieldValidation; return this; } /** - * Build call for createValidatingAdmissionPolicyBinding + * Build call for createMutatingAdmissionPolicyBinding * @param _callback ApiCallback API callback * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -480,12 +481,12 @@ public APIcreateValidatingAdmissionPolicyBindingRequest fieldValidation(@jakarta */ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return createValidatingAdmissionPolicyBindingCall(body, pretty, dryRun, fieldManager, fieldValidation, _callback); + return createMutatingAdmissionPolicyBindingCall(body, pretty, dryRun, fieldManager, fieldValidation, _callback); } /** - * Execute createValidatingAdmissionPolicyBinding request - * @return V1beta1ValidatingAdmissionPolicyBinding + * Execute createMutatingAdmissionPolicyBinding request + * @return V1beta1MutatingAdmissionPolicyBinding * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -497,14 +498,14 @@ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
401 Unauthorized -
*/ - public V1beta1ValidatingAdmissionPolicyBinding execute() throws ApiException { - ApiResponse localVarResp = createValidatingAdmissionPolicyBindingWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation); + public V1beta1MutatingAdmissionPolicyBinding execute() throws ApiException { + ApiResponse localVarResp = createMutatingAdmissionPolicyBindingWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation); return localVarResp.getData(); } /** - * Execute createValidatingAdmissionPolicyBinding request with HTTP info returned - * @return ApiResponse<V1beta1ValidatingAdmissionPolicyBinding> + * Execute createMutatingAdmissionPolicyBinding request with HTTP info returned + * @return ApiResponse<V1beta1MutatingAdmissionPolicyBinding> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -516,12 +517,12 @@ public V1beta1ValidatingAdmissionPolicyBinding execute() throws ApiException {
401 Unauthorized -
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return createValidatingAdmissionPolicyBindingWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation); + public ApiResponse executeWithHttpInfo() throws ApiException { + return createMutatingAdmissionPolicyBindingWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation); } /** - * Execute createValidatingAdmissionPolicyBinding request (asynchronously) + * Execute createMutatingAdmissionPolicyBinding request (asynchronously) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -535,16 +536,16 @@ public ApiResponse executeWithHttpInfo( 401 Unauthorized - */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return createValidatingAdmissionPolicyBindingAsync(body, pretty, dryRun, fieldManager, fieldValidation, _callback); + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return createMutatingAdmissionPolicyBindingAsync(body, pretty, dryRun, fieldManager, fieldValidation, _callback); } } /** - * - * create a ValidatingAdmissionPolicyBinding + * + * create a MutatingAdmissionPolicyBinding * @param body (required) - * @return APIcreateValidatingAdmissionPolicyBindingRequest + * @return APIcreateMutatingAdmissionPolicyBindingRequest * @http.response.details @@ -555,10 +556,10 @@ public okhttp3.Call executeAsync(final ApiCallback
Response Details
401 Unauthorized -
*/ - public APIcreateValidatingAdmissionPolicyBindingRequest createValidatingAdmissionPolicyBinding(@jakarta.annotation.Nonnull V1beta1ValidatingAdmissionPolicyBinding body) { - return new APIcreateValidatingAdmissionPolicyBindingRequest(body); + public APIcreateMutatingAdmissionPolicyBindingRequest createMutatingAdmissionPolicyBinding(@jakarta.annotation.Nonnull V1beta1MutatingAdmissionPolicyBinding body) { + return new APIcreateMutatingAdmissionPolicyBindingRequest(body); } - private okhttp3.Call deleteCollectionValidatingAdmissionPolicyCall(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { + private okhttp3.Call deleteCollectionMutatingAdmissionPolicyCall(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -575,7 +576,7 @@ private okhttp3.Call deleteCollectionValidatingAdmissionPolicyCall(@jakarta.anno Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicies"; + String localVarPath = "/apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicies"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -663,27 +664,27 @@ private okhttp3.Call deleteCollectionValidatingAdmissionPolicyCall(@jakarta.anno } @SuppressWarnings("rawtypes") - private okhttp3.Call deleteCollectionValidatingAdmissionPolicyValidateBeforeCall(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { - return deleteCollectionValidatingAdmissionPolicyCall(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _callback); + private okhttp3.Call deleteCollectionMutatingAdmissionPolicyValidateBeforeCall(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { + return deleteCollectionMutatingAdmissionPolicyCall(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _callback); } - private ApiResponse deleteCollectionValidatingAdmissionPolicyWithHttpInfo(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable V1DeleteOptions body) throws ApiException { - okhttp3.Call localVarCall = deleteCollectionValidatingAdmissionPolicyValidateBeforeCall(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, null); + private ApiResponse deleteCollectionMutatingAdmissionPolicyWithHttpInfo(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable V1DeleteOptions body) throws ApiException { + okhttp3.Call localVarCall = deleteCollectionMutatingAdmissionPolicyValidateBeforeCall(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } - private okhttp3.Call deleteCollectionValidatingAdmissionPolicyAsync(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { + private okhttp3.Call deleteCollectionMutatingAdmissionPolicyAsync(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = deleteCollectionValidatingAdmissionPolicyValidateBeforeCall(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _callback); + okhttp3.Call localVarCall = deleteCollectionMutatingAdmissionPolicyValidateBeforeCall(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } - public class APIdeleteCollectionValidatingAdmissionPolicyRequest { + public class APIdeleteCollectionMutatingAdmissionPolicyRequest { @jakarta.annotation.Nullable private String pretty; @jakarta.annotation.Nullable @@ -715,15 +716,15 @@ public class APIdeleteCollectionValidatingAdmissionPolicyRequest { @jakarta.annotation.Nullable private V1DeleteOptions body; - private APIdeleteCollectionValidatingAdmissionPolicyRequest() { + private APIdeleteCollectionMutatingAdmissionPolicyRequest() { } /** * Set pretty * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIdeleteCollectionValidatingAdmissionPolicyRequest + * @return APIdeleteCollectionMutatingAdmissionPolicyRequest */ - public APIdeleteCollectionValidatingAdmissionPolicyRequest pretty(@jakarta.annotation.Nullable String pretty) { + public APIdeleteCollectionMutatingAdmissionPolicyRequest pretty(@jakarta.annotation.Nullable String pretty) { this.pretty = pretty; return this; } @@ -731,9 +732,9 @@ public APIdeleteCollectionValidatingAdmissionPolicyRequest pretty(@jakarta.annot /** * Set _continue * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) - * @return APIdeleteCollectionValidatingAdmissionPolicyRequest + * @return APIdeleteCollectionMutatingAdmissionPolicyRequest */ - public APIdeleteCollectionValidatingAdmissionPolicyRequest _continue(@jakarta.annotation.Nullable String _continue) { + public APIdeleteCollectionMutatingAdmissionPolicyRequest _continue(@jakarta.annotation.Nullable String _continue) { this._continue = _continue; return this; } @@ -741,9 +742,9 @@ public APIdeleteCollectionValidatingAdmissionPolicyRequest _continue(@jakarta.an /** * Set dryRun * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) - * @return APIdeleteCollectionValidatingAdmissionPolicyRequest + * @return APIdeleteCollectionMutatingAdmissionPolicyRequest */ - public APIdeleteCollectionValidatingAdmissionPolicyRequest dryRun(@jakarta.annotation.Nullable String dryRun) { + public APIdeleteCollectionMutatingAdmissionPolicyRequest dryRun(@jakarta.annotation.Nullable String dryRun) { this.dryRun = dryRun; return this; } @@ -751,9 +752,9 @@ public APIdeleteCollectionValidatingAdmissionPolicyRequest dryRun(@jakarta.annot /** * Set fieldSelector * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @return APIdeleteCollectionValidatingAdmissionPolicyRequest + * @return APIdeleteCollectionMutatingAdmissionPolicyRequest */ - public APIdeleteCollectionValidatingAdmissionPolicyRequest fieldSelector(@jakarta.annotation.Nullable String fieldSelector) { + public APIdeleteCollectionMutatingAdmissionPolicyRequest fieldSelector(@jakarta.annotation.Nullable String fieldSelector) { this.fieldSelector = fieldSelector; return this; } @@ -761,9 +762,9 @@ public APIdeleteCollectionValidatingAdmissionPolicyRequest fieldSelector(@jakart /** * Set gracePeriodSeconds * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) - * @return APIdeleteCollectionValidatingAdmissionPolicyRequest + * @return APIdeleteCollectionMutatingAdmissionPolicyRequest */ - public APIdeleteCollectionValidatingAdmissionPolicyRequest gracePeriodSeconds(@jakarta.annotation.Nullable Integer gracePeriodSeconds) { + public APIdeleteCollectionMutatingAdmissionPolicyRequest gracePeriodSeconds(@jakarta.annotation.Nullable Integer gracePeriodSeconds) { this.gracePeriodSeconds = gracePeriodSeconds; return this; } @@ -771,9 +772,9 @@ public APIdeleteCollectionValidatingAdmissionPolicyRequest gracePeriodSeconds(@j /** * Set ignoreStoreReadErrorWithClusterBreakingPotential * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) - * @return APIdeleteCollectionValidatingAdmissionPolicyRequest + * @return APIdeleteCollectionMutatingAdmissionPolicyRequest */ - public APIdeleteCollectionValidatingAdmissionPolicyRequest ignoreStoreReadErrorWithClusterBreakingPotential(@jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential) { + public APIdeleteCollectionMutatingAdmissionPolicyRequest ignoreStoreReadErrorWithClusterBreakingPotential(@jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential) { this.ignoreStoreReadErrorWithClusterBreakingPotential = ignoreStoreReadErrorWithClusterBreakingPotential; return this; } @@ -781,9 +782,9 @@ public APIdeleteCollectionValidatingAdmissionPolicyRequest ignoreStoreReadErrorW /** * Set labelSelector * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) - * @return APIdeleteCollectionValidatingAdmissionPolicyRequest + * @return APIdeleteCollectionMutatingAdmissionPolicyRequest */ - public APIdeleteCollectionValidatingAdmissionPolicyRequest labelSelector(@jakarta.annotation.Nullable String labelSelector) { + public APIdeleteCollectionMutatingAdmissionPolicyRequest labelSelector(@jakarta.annotation.Nullable String labelSelector) { this.labelSelector = labelSelector; return this; } @@ -791,9 +792,9 @@ public APIdeleteCollectionValidatingAdmissionPolicyRequest labelSelector(@jakart /** * Set limit * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) - * @return APIdeleteCollectionValidatingAdmissionPolicyRequest + * @return APIdeleteCollectionMutatingAdmissionPolicyRequest */ - public APIdeleteCollectionValidatingAdmissionPolicyRequest limit(@jakarta.annotation.Nullable Integer limit) { + public APIdeleteCollectionMutatingAdmissionPolicyRequest limit(@jakarta.annotation.Nullable Integer limit) { this.limit = limit; return this; } @@ -801,9 +802,9 @@ public APIdeleteCollectionValidatingAdmissionPolicyRequest limit(@jakarta.annota /** * Set orphanDependents * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) - * @return APIdeleteCollectionValidatingAdmissionPolicyRequest + * @return APIdeleteCollectionMutatingAdmissionPolicyRequest */ - public APIdeleteCollectionValidatingAdmissionPolicyRequest orphanDependents(@jakarta.annotation.Nullable Boolean orphanDependents) { + public APIdeleteCollectionMutatingAdmissionPolicyRequest orphanDependents(@jakarta.annotation.Nullable Boolean orphanDependents) { this.orphanDependents = orphanDependents; return this; } @@ -811,9 +812,9 @@ public APIdeleteCollectionValidatingAdmissionPolicyRequest orphanDependents(@jak /** * Set propagationPolicy * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) - * @return APIdeleteCollectionValidatingAdmissionPolicyRequest + * @return APIdeleteCollectionMutatingAdmissionPolicyRequest */ - public APIdeleteCollectionValidatingAdmissionPolicyRequest propagationPolicy(@jakarta.annotation.Nullable String propagationPolicy) { + public APIdeleteCollectionMutatingAdmissionPolicyRequest propagationPolicy(@jakarta.annotation.Nullable String propagationPolicy) { this.propagationPolicy = propagationPolicy; return this; } @@ -821,9 +822,9 @@ public APIdeleteCollectionValidatingAdmissionPolicyRequest propagationPolicy(@ja /** * Set resourceVersion * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) - * @return APIdeleteCollectionValidatingAdmissionPolicyRequest + * @return APIdeleteCollectionMutatingAdmissionPolicyRequest */ - public APIdeleteCollectionValidatingAdmissionPolicyRequest resourceVersion(@jakarta.annotation.Nullable String resourceVersion) { + public APIdeleteCollectionMutatingAdmissionPolicyRequest resourceVersion(@jakarta.annotation.Nullable String resourceVersion) { this.resourceVersion = resourceVersion; return this; } @@ -831,9 +832,9 @@ public APIdeleteCollectionValidatingAdmissionPolicyRequest resourceVersion(@jaka /** * Set resourceVersionMatch * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) - * @return APIdeleteCollectionValidatingAdmissionPolicyRequest + * @return APIdeleteCollectionMutatingAdmissionPolicyRequest */ - public APIdeleteCollectionValidatingAdmissionPolicyRequest resourceVersionMatch(@jakarta.annotation.Nullable String resourceVersionMatch) { + public APIdeleteCollectionMutatingAdmissionPolicyRequest resourceVersionMatch(@jakarta.annotation.Nullable String resourceVersionMatch) { this.resourceVersionMatch = resourceVersionMatch; return this; } @@ -841,9 +842,9 @@ public APIdeleteCollectionValidatingAdmissionPolicyRequest resourceVersionMatch( /** * Set sendInitialEvents * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) - * @return APIdeleteCollectionValidatingAdmissionPolicyRequest + * @return APIdeleteCollectionMutatingAdmissionPolicyRequest */ - public APIdeleteCollectionValidatingAdmissionPolicyRequest sendInitialEvents(@jakarta.annotation.Nullable Boolean sendInitialEvents) { + public APIdeleteCollectionMutatingAdmissionPolicyRequest sendInitialEvents(@jakarta.annotation.Nullable Boolean sendInitialEvents) { this.sendInitialEvents = sendInitialEvents; return this; } @@ -851,9 +852,9 @@ public APIdeleteCollectionValidatingAdmissionPolicyRequest sendInitialEvents(@ja /** * Set timeoutSeconds * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) - * @return APIdeleteCollectionValidatingAdmissionPolicyRequest + * @return APIdeleteCollectionMutatingAdmissionPolicyRequest */ - public APIdeleteCollectionValidatingAdmissionPolicyRequest timeoutSeconds(@jakarta.annotation.Nullable Integer timeoutSeconds) { + public APIdeleteCollectionMutatingAdmissionPolicyRequest timeoutSeconds(@jakarta.annotation.Nullable Integer timeoutSeconds) { this.timeoutSeconds = timeoutSeconds; return this; } @@ -861,15 +862,15 @@ public APIdeleteCollectionValidatingAdmissionPolicyRequest timeoutSeconds(@jakar /** * Set body * @param body (optional) - * @return APIdeleteCollectionValidatingAdmissionPolicyRequest + * @return APIdeleteCollectionMutatingAdmissionPolicyRequest */ - public APIdeleteCollectionValidatingAdmissionPolicyRequest body(@jakarta.annotation.Nullable V1DeleteOptions body) { + public APIdeleteCollectionMutatingAdmissionPolicyRequest body(@jakarta.annotation.Nullable V1DeleteOptions body) { this.body = body; return this; } /** - * Build call for deleteCollectionValidatingAdmissionPolicy + * Build call for deleteCollectionMutatingAdmissionPolicy * @param _callback ApiCallback API callback * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -882,11 +883,11 @@ public APIdeleteCollectionValidatingAdmissionPolicyRequest body(@jakarta.annotat */ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return deleteCollectionValidatingAdmissionPolicyCall(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _callback); + return deleteCollectionMutatingAdmissionPolicyCall(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _callback); } /** - * Execute deleteCollectionValidatingAdmissionPolicy request + * Execute deleteCollectionMutatingAdmissionPolicy request * @return V1Status * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -898,12 +899,12 @@ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { */ public V1Status execute() throws ApiException { - ApiResponse localVarResp = deleteCollectionValidatingAdmissionPolicyWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body); + ApiResponse localVarResp = deleteCollectionMutatingAdmissionPolicyWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body); return localVarResp.getData(); } /** - * Execute deleteCollectionValidatingAdmissionPolicy request with HTTP info returned + * Execute deleteCollectionMutatingAdmissionPolicy request with HTTP info returned * @return ApiResponse<V1Status> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -915,11 +916,11 @@ public V1Status execute() throws ApiException { */ public ApiResponse executeWithHttpInfo() throws ApiException { - return deleteCollectionValidatingAdmissionPolicyWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body); + return deleteCollectionMutatingAdmissionPolicyWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body); } /** - * Execute deleteCollectionValidatingAdmissionPolicy request (asynchronously) + * Execute deleteCollectionMutatingAdmissionPolicy request (asynchronously) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -932,14 +933,14 @@ public ApiResponse executeWithHttpInfo() throws ApiException { */ public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return deleteCollectionValidatingAdmissionPolicyAsync(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _callback); + return deleteCollectionMutatingAdmissionPolicyAsync(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _callback); } } /** - * - * delete collection of ValidatingAdmissionPolicy - * @return APIdeleteCollectionValidatingAdmissionPolicyRequest + * + * delete collection of MutatingAdmissionPolicy + * @return APIdeleteCollectionMutatingAdmissionPolicyRequest * @http.response.details @@ -948,10 +949,10 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A
Response Details
401 Unauthorized -
*/ - public APIdeleteCollectionValidatingAdmissionPolicyRequest deleteCollectionValidatingAdmissionPolicy() { - return new APIdeleteCollectionValidatingAdmissionPolicyRequest(); + public APIdeleteCollectionMutatingAdmissionPolicyRequest deleteCollectionMutatingAdmissionPolicy() { + return new APIdeleteCollectionMutatingAdmissionPolicyRequest(); } - private okhttp3.Call deleteCollectionValidatingAdmissionPolicyBindingCall(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { + private okhttp3.Call deleteCollectionMutatingAdmissionPolicyBindingCall(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -968,7 +969,7 @@ private okhttp3.Call deleteCollectionValidatingAdmissionPolicyBindingCall(@jakar Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicybindings"; + String localVarPath = "/apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicybindings"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -1056,27 +1057,27 @@ private okhttp3.Call deleteCollectionValidatingAdmissionPolicyBindingCall(@jakar } @SuppressWarnings("rawtypes") - private okhttp3.Call deleteCollectionValidatingAdmissionPolicyBindingValidateBeforeCall(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { - return deleteCollectionValidatingAdmissionPolicyBindingCall(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _callback); + private okhttp3.Call deleteCollectionMutatingAdmissionPolicyBindingValidateBeforeCall(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { + return deleteCollectionMutatingAdmissionPolicyBindingCall(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _callback); } - private ApiResponse deleteCollectionValidatingAdmissionPolicyBindingWithHttpInfo(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable V1DeleteOptions body) throws ApiException { - okhttp3.Call localVarCall = deleteCollectionValidatingAdmissionPolicyBindingValidateBeforeCall(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, null); + private ApiResponse deleteCollectionMutatingAdmissionPolicyBindingWithHttpInfo(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable V1DeleteOptions body) throws ApiException { + okhttp3.Call localVarCall = deleteCollectionMutatingAdmissionPolicyBindingValidateBeforeCall(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } - private okhttp3.Call deleteCollectionValidatingAdmissionPolicyBindingAsync(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { + private okhttp3.Call deleteCollectionMutatingAdmissionPolicyBindingAsync(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = deleteCollectionValidatingAdmissionPolicyBindingValidateBeforeCall(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _callback); + okhttp3.Call localVarCall = deleteCollectionMutatingAdmissionPolicyBindingValidateBeforeCall(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } - public class APIdeleteCollectionValidatingAdmissionPolicyBindingRequest { + public class APIdeleteCollectionMutatingAdmissionPolicyBindingRequest { @jakarta.annotation.Nullable private String pretty; @jakarta.annotation.Nullable @@ -1108,15 +1109,15 @@ public class APIdeleteCollectionValidatingAdmissionPolicyBindingRequest { @jakarta.annotation.Nullable private V1DeleteOptions body; - private APIdeleteCollectionValidatingAdmissionPolicyBindingRequest() { + private APIdeleteCollectionMutatingAdmissionPolicyBindingRequest() { } /** * Set pretty * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIdeleteCollectionValidatingAdmissionPolicyBindingRequest + * @return APIdeleteCollectionMutatingAdmissionPolicyBindingRequest */ - public APIdeleteCollectionValidatingAdmissionPolicyBindingRequest pretty(@jakarta.annotation.Nullable String pretty) { + public APIdeleteCollectionMutatingAdmissionPolicyBindingRequest pretty(@jakarta.annotation.Nullable String pretty) { this.pretty = pretty; return this; } @@ -1124,9 +1125,9 @@ public APIdeleteCollectionValidatingAdmissionPolicyBindingRequest pretty(@jakart /** * Set _continue * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) - * @return APIdeleteCollectionValidatingAdmissionPolicyBindingRequest + * @return APIdeleteCollectionMutatingAdmissionPolicyBindingRequest */ - public APIdeleteCollectionValidatingAdmissionPolicyBindingRequest _continue(@jakarta.annotation.Nullable String _continue) { + public APIdeleteCollectionMutatingAdmissionPolicyBindingRequest _continue(@jakarta.annotation.Nullable String _continue) { this._continue = _continue; return this; } @@ -1134,9 +1135,9 @@ public APIdeleteCollectionValidatingAdmissionPolicyBindingRequest _continue(@jak /** * Set dryRun * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) - * @return APIdeleteCollectionValidatingAdmissionPolicyBindingRequest + * @return APIdeleteCollectionMutatingAdmissionPolicyBindingRequest */ - public APIdeleteCollectionValidatingAdmissionPolicyBindingRequest dryRun(@jakarta.annotation.Nullable String dryRun) { + public APIdeleteCollectionMutatingAdmissionPolicyBindingRequest dryRun(@jakarta.annotation.Nullable String dryRun) { this.dryRun = dryRun; return this; } @@ -1144,9 +1145,9 @@ public APIdeleteCollectionValidatingAdmissionPolicyBindingRequest dryRun(@jakart /** * Set fieldSelector * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @return APIdeleteCollectionValidatingAdmissionPolicyBindingRequest + * @return APIdeleteCollectionMutatingAdmissionPolicyBindingRequest */ - public APIdeleteCollectionValidatingAdmissionPolicyBindingRequest fieldSelector(@jakarta.annotation.Nullable String fieldSelector) { + public APIdeleteCollectionMutatingAdmissionPolicyBindingRequest fieldSelector(@jakarta.annotation.Nullable String fieldSelector) { this.fieldSelector = fieldSelector; return this; } @@ -1154,9 +1155,9 @@ public APIdeleteCollectionValidatingAdmissionPolicyBindingRequest fieldSelector( /** * Set gracePeriodSeconds * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) - * @return APIdeleteCollectionValidatingAdmissionPolicyBindingRequest + * @return APIdeleteCollectionMutatingAdmissionPolicyBindingRequest */ - public APIdeleteCollectionValidatingAdmissionPolicyBindingRequest gracePeriodSeconds(@jakarta.annotation.Nullable Integer gracePeriodSeconds) { + public APIdeleteCollectionMutatingAdmissionPolicyBindingRequest gracePeriodSeconds(@jakarta.annotation.Nullable Integer gracePeriodSeconds) { this.gracePeriodSeconds = gracePeriodSeconds; return this; } @@ -1164,9 +1165,9 @@ public APIdeleteCollectionValidatingAdmissionPolicyBindingRequest gracePeriodSec /** * Set ignoreStoreReadErrorWithClusterBreakingPotential * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) - * @return APIdeleteCollectionValidatingAdmissionPolicyBindingRequest + * @return APIdeleteCollectionMutatingAdmissionPolicyBindingRequest */ - public APIdeleteCollectionValidatingAdmissionPolicyBindingRequest ignoreStoreReadErrorWithClusterBreakingPotential(@jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential) { + public APIdeleteCollectionMutatingAdmissionPolicyBindingRequest ignoreStoreReadErrorWithClusterBreakingPotential(@jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential) { this.ignoreStoreReadErrorWithClusterBreakingPotential = ignoreStoreReadErrorWithClusterBreakingPotential; return this; } @@ -1174,9 +1175,9 @@ public APIdeleteCollectionValidatingAdmissionPolicyBindingRequest ignoreStoreRea /** * Set labelSelector * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) - * @return APIdeleteCollectionValidatingAdmissionPolicyBindingRequest + * @return APIdeleteCollectionMutatingAdmissionPolicyBindingRequest */ - public APIdeleteCollectionValidatingAdmissionPolicyBindingRequest labelSelector(@jakarta.annotation.Nullable String labelSelector) { + public APIdeleteCollectionMutatingAdmissionPolicyBindingRequest labelSelector(@jakarta.annotation.Nullable String labelSelector) { this.labelSelector = labelSelector; return this; } @@ -1184,9 +1185,9 @@ public APIdeleteCollectionValidatingAdmissionPolicyBindingRequest labelSelector( /** * Set limit * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) - * @return APIdeleteCollectionValidatingAdmissionPolicyBindingRequest + * @return APIdeleteCollectionMutatingAdmissionPolicyBindingRequest */ - public APIdeleteCollectionValidatingAdmissionPolicyBindingRequest limit(@jakarta.annotation.Nullable Integer limit) { + public APIdeleteCollectionMutatingAdmissionPolicyBindingRequest limit(@jakarta.annotation.Nullable Integer limit) { this.limit = limit; return this; } @@ -1194,9 +1195,9 @@ public APIdeleteCollectionValidatingAdmissionPolicyBindingRequest limit(@jakarta /** * Set orphanDependents * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) - * @return APIdeleteCollectionValidatingAdmissionPolicyBindingRequest + * @return APIdeleteCollectionMutatingAdmissionPolicyBindingRequest */ - public APIdeleteCollectionValidatingAdmissionPolicyBindingRequest orphanDependents(@jakarta.annotation.Nullable Boolean orphanDependents) { + public APIdeleteCollectionMutatingAdmissionPolicyBindingRequest orphanDependents(@jakarta.annotation.Nullable Boolean orphanDependents) { this.orphanDependents = orphanDependents; return this; } @@ -1204,9 +1205,9 @@ public APIdeleteCollectionValidatingAdmissionPolicyBindingRequest orphanDependen /** * Set propagationPolicy * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) - * @return APIdeleteCollectionValidatingAdmissionPolicyBindingRequest + * @return APIdeleteCollectionMutatingAdmissionPolicyBindingRequest */ - public APIdeleteCollectionValidatingAdmissionPolicyBindingRequest propagationPolicy(@jakarta.annotation.Nullable String propagationPolicy) { + public APIdeleteCollectionMutatingAdmissionPolicyBindingRequest propagationPolicy(@jakarta.annotation.Nullable String propagationPolicy) { this.propagationPolicy = propagationPolicy; return this; } @@ -1214,9 +1215,9 @@ public APIdeleteCollectionValidatingAdmissionPolicyBindingRequest propagationPol /** * Set resourceVersion * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) - * @return APIdeleteCollectionValidatingAdmissionPolicyBindingRequest + * @return APIdeleteCollectionMutatingAdmissionPolicyBindingRequest */ - public APIdeleteCollectionValidatingAdmissionPolicyBindingRequest resourceVersion(@jakarta.annotation.Nullable String resourceVersion) { + public APIdeleteCollectionMutatingAdmissionPolicyBindingRequest resourceVersion(@jakarta.annotation.Nullable String resourceVersion) { this.resourceVersion = resourceVersion; return this; } @@ -1224,9 +1225,9 @@ public APIdeleteCollectionValidatingAdmissionPolicyBindingRequest resourceVersio /** * Set resourceVersionMatch * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) - * @return APIdeleteCollectionValidatingAdmissionPolicyBindingRequest + * @return APIdeleteCollectionMutatingAdmissionPolicyBindingRequest */ - public APIdeleteCollectionValidatingAdmissionPolicyBindingRequest resourceVersionMatch(@jakarta.annotation.Nullable String resourceVersionMatch) { + public APIdeleteCollectionMutatingAdmissionPolicyBindingRequest resourceVersionMatch(@jakarta.annotation.Nullable String resourceVersionMatch) { this.resourceVersionMatch = resourceVersionMatch; return this; } @@ -1234,9 +1235,9 @@ public APIdeleteCollectionValidatingAdmissionPolicyBindingRequest resourceVersio /** * Set sendInitialEvents * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) - * @return APIdeleteCollectionValidatingAdmissionPolicyBindingRequest + * @return APIdeleteCollectionMutatingAdmissionPolicyBindingRequest */ - public APIdeleteCollectionValidatingAdmissionPolicyBindingRequest sendInitialEvents(@jakarta.annotation.Nullable Boolean sendInitialEvents) { + public APIdeleteCollectionMutatingAdmissionPolicyBindingRequest sendInitialEvents(@jakarta.annotation.Nullable Boolean sendInitialEvents) { this.sendInitialEvents = sendInitialEvents; return this; } @@ -1244,9 +1245,9 @@ public APIdeleteCollectionValidatingAdmissionPolicyBindingRequest sendInitialEve /** * Set timeoutSeconds * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) - * @return APIdeleteCollectionValidatingAdmissionPolicyBindingRequest + * @return APIdeleteCollectionMutatingAdmissionPolicyBindingRequest */ - public APIdeleteCollectionValidatingAdmissionPolicyBindingRequest timeoutSeconds(@jakarta.annotation.Nullable Integer timeoutSeconds) { + public APIdeleteCollectionMutatingAdmissionPolicyBindingRequest timeoutSeconds(@jakarta.annotation.Nullable Integer timeoutSeconds) { this.timeoutSeconds = timeoutSeconds; return this; } @@ -1254,15 +1255,15 @@ public APIdeleteCollectionValidatingAdmissionPolicyBindingRequest timeoutSeconds /** * Set body * @param body (optional) - * @return APIdeleteCollectionValidatingAdmissionPolicyBindingRequest + * @return APIdeleteCollectionMutatingAdmissionPolicyBindingRequest */ - public APIdeleteCollectionValidatingAdmissionPolicyBindingRequest body(@jakarta.annotation.Nullable V1DeleteOptions body) { + public APIdeleteCollectionMutatingAdmissionPolicyBindingRequest body(@jakarta.annotation.Nullable V1DeleteOptions body) { this.body = body; return this; } /** - * Build call for deleteCollectionValidatingAdmissionPolicyBinding + * Build call for deleteCollectionMutatingAdmissionPolicyBinding * @param _callback ApiCallback API callback * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -1275,11 +1276,11 @@ public APIdeleteCollectionValidatingAdmissionPolicyBindingRequest body(@jakarta. */ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return deleteCollectionValidatingAdmissionPolicyBindingCall(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _callback); + return deleteCollectionMutatingAdmissionPolicyBindingCall(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _callback); } /** - * Execute deleteCollectionValidatingAdmissionPolicyBinding request + * Execute deleteCollectionMutatingAdmissionPolicyBinding request * @return V1Status * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -1291,12 +1292,12 @@ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { */ public V1Status execute() throws ApiException { - ApiResponse localVarResp = deleteCollectionValidatingAdmissionPolicyBindingWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body); + ApiResponse localVarResp = deleteCollectionMutatingAdmissionPolicyBindingWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body); return localVarResp.getData(); } /** - * Execute deleteCollectionValidatingAdmissionPolicyBinding request with HTTP info returned + * Execute deleteCollectionMutatingAdmissionPolicyBinding request with HTTP info returned * @return ApiResponse<V1Status> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -1308,11 +1309,11 @@ public V1Status execute() throws ApiException { */ public ApiResponse executeWithHttpInfo() throws ApiException { - return deleteCollectionValidatingAdmissionPolicyBindingWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body); + return deleteCollectionMutatingAdmissionPolicyBindingWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body); } /** - * Execute deleteCollectionValidatingAdmissionPolicyBinding request (asynchronously) + * Execute deleteCollectionMutatingAdmissionPolicyBinding request (asynchronously) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -1325,14 +1326,14 @@ public ApiResponse executeWithHttpInfo() throws ApiException { */ public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return deleteCollectionValidatingAdmissionPolicyBindingAsync(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _callback); + return deleteCollectionMutatingAdmissionPolicyBindingAsync(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _callback); } } /** - * - * delete collection of ValidatingAdmissionPolicyBinding - * @return APIdeleteCollectionValidatingAdmissionPolicyBindingRequest + * + * delete collection of MutatingAdmissionPolicyBinding + * @return APIdeleteCollectionMutatingAdmissionPolicyBindingRequest * @http.response.details @@ -1341,10 +1342,10 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A
Response Details
401 Unauthorized -
*/ - public APIdeleteCollectionValidatingAdmissionPolicyBindingRequest deleteCollectionValidatingAdmissionPolicyBinding() { - return new APIdeleteCollectionValidatingAdmissionPolicyBindingRequest(); + public APIdeleteCollectionMutatingAdmissionPolicyBindingRequest deleteCollectionMutatingAdmissionPolicyBinding() { + return new APIdeleteCollectionMutatingAdmissionPolicyBindingRequest(); } - private okhttp3.Call deleteValidatingAdmissionPolicyCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { + private okhttp3.Call deleteMutatingAdmissionPolicyCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -1361,7 +1362,7 @@ private okhttp3.Call deleteValidatingAdmissionPolicyCall(@jakarta.annotation.Non Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicies/{name}" + String localVarPath = "/apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicies/{name}" .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); @@ -1418,32 +1419,32 @@ private okhttp3.Call deleteValidatingAdmissionPolicyCall(@jakarta.annotation.Non } @SuppressWarnings("rawtypes") - private okhttp3.Call deleteValidatingAdmissionPolicyValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { + private okhttp3.Call deleteMutatingAdmissionPolicyValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling deleteValidatingAdmissionPolicy(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling deleteMutatingAdmissionPolicy(Async)"); } - return deleteValidatingAdmissionPolicyCall(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); + return deleteMutatingAdmissionPolicyCall(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); } - private ApiResponse deleteValidatingAdmissionPolicyWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body) throws ApiException { - okhttp3.Call localVarCall = deleteValidatingAdmissionPolicyValidateBeforeCall(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, null); + private ApiResponse deleteMutatingAdmissionPolicyWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body) throws ApiException { + okhttp3.Call localVarCall = deleteMutatingAdmissionPolicyValidateBeforeCall(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } - private okhttp3.Call deleteValidatingAdmissionPolicyAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { + private okhttp3.Call deleteMutatingAdmissionPolicyAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = deleteValidatingAdmissionPolicyValidateBeforeCall(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); + okhttp3.Call localVarCall = deleteMutatingAdmissionPolicyValidateBeforeCall(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } - public class APIdeleteValidatingAdmissionPolicyRequest { + public class APIdeleteMutatingAdmissionPolicyRequest { @jakarta.annotation.Nonnull private final String name; @jakarta.annotation.Nullable @@ -1461,16 +1462,16 @@ public class APIdeleteValidatingAdmissionPolicyRequest { @jakarta.annotation.Nullable private V1DeleteOptions body; - private APIdeleteValidatingAdmissionPolicyRequest(@jakarta.annotation.Nonnull String name) { + private APIdeleteMutatingAdmissionPolicyRequest(@jakarta.annotation.Nonnull String name) { this.name = name; } /** * Set pretty * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIdeleteValidatingAdmissionPolicyRequest + * @return APIdeleteMutatingAdmissionPolicyRequest */ - public APIdeleteValidatingAdmissionPolicyRequest pretty(@jakarta.annotation.Nullable String pretty) { + public APIdeleteMutatingAdmissionPolicyRequest pretty(@jakarta.annotation.Nullable String pretty) { this.pretty = pretty; return this; } @@ -1478,9 +1479,9 @@ public APIdeleteValidatingAdmissionPolicyRequest pretty(@jakarta.annotation.Null /** * Set dryRun * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) - * @return APIdeleteValidatingAdmissionPolicyRequest + * @return APIdeleteMutatingAdmissionPolicyRequest */ - public APIdeleteValidatingAdmissionPolicyRequest dryRun(@jakarta.annotation.Nullable String dryRun) { + public APIdeleteMutatingAdmissionPolicyRequest dryRun(@jakarta.annotation.Nullable String dryRun) { this.dryRun = dryRun; return this; } @@ -1488,9 +1489,9 @@ public APIdeleteValidatingAdmissionPolicyRequest dryRun(@jakarta.annotation.Null /** * Set gracePeriodSeconds * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) - * @return APIdeleteValidatingAdmissionPolicyRequest + * @return APIdeleteMutatingAdmissionPolicyRequest */ - public APIdeleteValidatingAdmissionPolicyRequest gracePeriodSeconds(@jakarta.annotation.Nullable Integer gracePeriodSeconds) { + public APIdeleteMutatingAdmissionPolicyRequest gracePeriodSeconds(@jakarta.annotation.Nullable Integer gracePeriodSeconds) { this.gracePeriodSeconds = gracePeriodSeconds; return this; } @@ -1498,9 +1499,9 @@ public APIdeleteValidatingAdmissionPolicyRequest gracePeriodSeconds(@jakarta.ann /** * Set ignoreStoreReadErrorWithClusterBreakingPotential * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) - * @return APIdeleteValidatingAdmissionPolicyRequest + * @return APIdeleteMutatingAdmissionPolicyRequest */ - public APIdeleteValidatingAdmissionPolicyRequest ignoreStoreReadErrorWithClusterBreakingPotential(@jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential) { + public APIdeleteMutatingAdmissionPolicyRequest ignoreStoreReadErrorWithClusterBreakingPotential(@jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential) { this.ignoreStoreReadErrorWithClusterBreakingPotential = ignoreStoreReadErrorWithClusterBreakingPotential; return this; } @@ -1508,9 +1509,9 @@ public APIdeleteValidatingAdmissionPolicyRequest ignoreStoreReadErrorWithCluster /** * Set orphanDependents * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) - * @return APIdeleteValidatingAdmissionPolicyRequest + * @return APIdeleteMutatingAdmissionPolicyRequest */ - public APIdeleteValidatingAdmissionPolicyRequest orphanDependents(@jakarta.annotation.Nullable Boolean orphanDependents) { + public APIdeleteMutatingAdmissionPolicyRequest orphanDependents(@jakarta.annotation.Nullable Boolean orphanDependents) { this.orphanDependents = orphanDependents; return this; } @@ -1518,9 +1519,9 @@ public APIdeleteValidatingAdmissionPolicyRequest orphanDependents(@jakarta.annot /** * Set propagationPolicy * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) - * @return APIdeleteValidatingAdmissionPolicyRequest + * @return APIdeleteMutatingAdmissionPolicyRequest */ - public APIdeleteValidatingAdmissionPolicyRequest propagationPolicy(@jakarta.annotation.Nullable String propagationPolicy) { + public APIdeleteMutatingAdmissionPolicyRequest propagationPolicy(@jakarta.annotation.Nullable String propagationPolicy) { this.propagationPolicy = propagationPolicy; return this; } @@ -1528,15 +1529,15 @@ public APIdeleteValidatingAdmissionPolicyRequest propagationPolicy(@jakarta.anno /** * Set body * @param body (optional) - * @return APIdeleteValidatingAdmissionPolicyRequest + * @return APIdeleteMutatingAdmissionPolicyRequest */ - public APIdeleteValidatingAdmissionPolicyRequest body(@jakarta.annotation.Nullable V1DeleteOptions body) { + public APIdeleteMutatingAdmissionPolicyRequest body(@jakarta.annotation.Nullable V1DeleteOptions body) { this.body = body; return this; } /** - * Build call for deleteValidatingAdmissionPolicy + * Build call for deleteMutatingAdmissionPolicy * @param _callback ApiCallback API callback * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -1550,11 +1551,11 @@ public APIdeleteValidatingAdmissionPolicyRequest body(@jakarta.annotation.Nullab */ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return deleteValidatingAdmissionPolicyCall(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); + return deleteMutatingAdmissionPolicyCall(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); } /** - * Execute deleteValidatingAdmissionPolicy request + * Execute deleteMutatingAdmissionPolicy request * @return V1Status * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -1567,12 +1568,12 @@ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { */ public V1Status execute() throws ApiException { - ApiResponse localVarResp = deleteValidatingAdmissionPolicyWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body); + ApiResponse localVarResp = deleteMutatingAdmissionPolicyWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body); return localVarResp.getData(); } /** - * Execute deleteValidatingAdmissionPolicy request with HTTP info returned + * Execute deleteMutatingAdmissionPolicy request with HTTP info returned * @return ApiResponse<V1Status> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -1585,11 +1586,11 @@ public V1Status execute() throws ApiException { */ public ApiResponse executeWithHttpInfo() throws ApiException { - return deleteValidatingAdmissionPolicyWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body); + return deleteMutatingAdmissionPolicyWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body); } /** - * Execute deleteValidatingAdmissionPolicy request (asynchronously) + * Execute deleteMutatingAdmissionPolicy request (asynchronously) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -1603,15 +1604,15 @@ public ApiResponse executeWithHttpInfo() throws ApiException { */ public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return deleteValidatingAdmissionPolicyAsync(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); + return deleteMutatingAdmissionPolicyAsync(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); } } /** - * - * delete a ValidatingAdmissionPolicy - * @param name name of the ValidatingAdmissionPolicy (required) - * @return APIdeleteValidatingAdmissionPolicyRequest + * + * delete a MutatingAdmissionPolicy + * @param name name of the MutatingAdmissionPolicy (required) + * @return APIdeleteMutatingAdmissionPolicyRequest * @http.response.details @@ -1621,10 +1622,10 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A
Response Details
401 Unauthorized -
*/ - public APIdeleteValidatingAdmissionPolicyRequest deleteValidatingAdmissionPolicy(@jakarta.annotation.Nonnull String name) { - return new APIdeleteValidatingAdmissionPolicyRequest(name); + public APIdeleteMutatingAdmissionPolicyRequest deleteMutatingAdmissionPolicy(@jakarta.annotation.Nonnull String name) { + return new APIdeleteMutatingAdmissionPolicyRequest(name); } - private okhttp3.Call deleteValidatingAdmissionPolicyBindingCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { + private okhttp3.Call deleteMutatingAdmissionPolicyBindingCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -1641,7 +1642,7 @@ private okhttp3.Call deleteValidatingAdmissionPolicyBindingCall(@jakarta.annotat Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicybindings/{name}" + String localVarPath = "/apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicybindings/{name}" .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); @@ -1698,32 +1699,32 @@ private okhttp3.Call deleteValidatingAdmissionPolicyBindingCall(@jakarta.annotat } @SuppressWarnings("rawtypes") - private okhttp3.Call deleteValidatingAdmissionPolicyBindingValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { + private okhttp3.Call deleteMutatingAdmissionPolicyBindingValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling deleteValidatingAdmissionPolicyBinding(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling deleteMutatingAdmissionPolicyBinding(Async)"); } - return deleteValidatingAdmissionPolicyBindingCall(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); + return deleteMutatingAdmissionPolicyBindingCall(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); } - private ApiResponse deleteValidatingAdmissionPolicyBindingWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body) throws ApiException { - okhttp3.Call localVarCall = deleteValidatingAdmissionPolicyBindingValidateBeforeCall(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, null); + private ApiResponse deleteMutatingAdmissionPolicyBindingWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body) throws ApiException { + okhttp3.Call localVarCall = deleteMutatingAdmissionPolicyBindingValidateBeforeCall(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } - private okhttp3.Call deleteValidatingAdmissionPolicyBindingAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { + private okhttp3.Call deleteMutatingAdmissionPolicyBindingAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = deleteValidatingAdmissionPolicyBindingValidateBeforeCall(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); + okhttp3.Call localVarCall = deleteMutatingAdmissionPolicyBindingValidateBeforeCall(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } - public class APIdeleteValidatingAdmissionPolicyBindingRequest { + public class APIdeleteMutatingAdmissionPolicyBindingRequest { @jakarta.annotation.Nonnull private final String name; @jakarta.annotation.Nullable @@ -1741,16 +1742,16 @@ public class APIdeleteValidatingAdmissionPolicyBindingRequest { @jakarta.annotation.Nullable private V1DeleteOptions body; - private APIdeleteValidatingAdmissionPolicyBindingRequest(@jakarta.annotation.Nonnull String name) { + private APIdeleteMutatingAdmissionPolicyBindingRequest(@jakarta.annotation.Nonnull String name) { this.name = name; } /** * Set pretty * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIdeleteValidatingAdmissionPolicyBindingRequest + * @return APIdeleteMutatingAdmissionPolicyBindingRequest */ - public APIdeleteValidatingAdmissionPolicyBindingRequest pretty(@jakarta.annotation.Nullable String pretty) { + public APIdeleteMutatingAdmissionPolicyBindingRequest pretty(@jakarta.annotation.Nullable String pretty) { this.pretty = pretty; return this; } @@ -1758,9 +1759,9 @@ public APIdeleteValidatingAdmissionPolicyBindingRequest pretty(@jakarta.annotati /** * Set dryRun * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) - * @return APIdeleteValidatingAdmissionPolicyBindingRequest + * @return APIdeleteMutatingAdmissionPolicyBindingRequest */ - public APIdeleteValidatingAdmissionPolicyBindingRequest dryRun(@jakarta.annotation.Nullable String dryRun) { + public APIdeleteMutatingAdmissionPolicyBindingRequest dryRun(@jakarta.annotation.Nullable String dryRun) { this.dryRun = dryRun; return this; } @@ -1768,9 +1769,9 @@ public APIdeleteValidatingAdmissionPolicyBindingRequest dryRun(@jakarta.annotati /** * Set gracePeriodSeconds * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) - * @return APIdeleteValidatingAdmissionPolicyBindingRequest + * @return APIdeleteMutatingAdmissionPolicyBindingRequest */ - public APIdeleteValidatingAdmissionPolicyBindingRequest gracePeriodSeconds(@jakarta.annotation.Nullable Integer gracePeriodSeconds) { + public APIdeleteMutatingAdmissionPolicyBindingRequest gracePeriodSeconds(@jakarta.annotation.Nullable Integer gracePeriodSeconds) { this.gracePeriodSeconds = gracePeriodSeconds; return this; } @@ -1778,9 +1779,9 @@ public APIdeleteValidatingAdmissionPolicyBindingRequest gracePeriodSeconds(@jaka /** * Set ignoreStoreReadErrorWithClusterBreakingPotential * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) - * @return APIdeleteValidatingAdmissionPolicyBindingRequest + * @return APIdeleteMutatingAdmissionPolicyBindingRequest */ - public APIdeleteValidatingAdmissionPolicyBindingRequest ignoreStoreReadErrorWithClusterBreakingPotential(@jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential) { + public APIdeleteMutatingAdmissionPolicyBindingRequest ignoreStoreReadErrorWithClusterBreakingPotential(@jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential) { this.ignoreStoreReadErrorWithClusterBreakingPotential = ignoreStoreReadErrorWithClusterBreakingPotential; return this; } @@ -1788,9 +1789,9 @@ public APIdeleteValidatingAdmissionPolicyBindingRequest ignoreStoreReadErrorWith /** * Set orphanDependents * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) - * @return APIdeleteValidatingAdmissionPolicyBindingRequest + * @return APIdeleteMutatingAdmissionPolicyBindingRequest */ - public APIdeleteValidatingAdmissionPolicyBindingRequest orphanDependents(@jakarta.annotation.Nullable Boolean orphanDependents) { + public APIdeleteMutatingAdmissionPolicyBindingRequest orphanDependents(@jakarta.annotation.Nullable Boolean orphanDependents) { this.orphanDependents = orphanDependents; return this; } @@ -1798,9 +1799,9 @@ public APIdeleteValidatingAdmissionPolicyBindingRequest orphanDependents(@jakart /** * Set propagationPolicy * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) - * @return APIdeleteValidatingAdmissionPolicyBindingRequest + * @return APIdeleteMutatingAdmissionPolicyBindingRequest */ - public APIdeleteValidatingAdmissionPolicyBindingRequest propagationPolicy(@jakarta.annotation.Nullable String propagationPolicy) { + public APIdeleteMutatingAdmissionPolicyBindingRequest propagationPolicy(@jakarta.annotation.Nullable String propagationPolicy) { this.propagationPolicy = propagationPolicy; return this; } @@ -1808,15 +1809,15 @@ public APIdeleteValidatingAdmissionPolicyBindingRequest propagationPolicy(@jakar /** * Set body * @param body (optional) - * @return APIdeleteValidatingAdmissionPolicyBindingRequest + * @return APIdeleteMutatingAdmissionPolicyBindingRequest */ - public APIdeleteValidatingAdmissionPolicyBindingRequest body(@jakarta.annotation.Nullable V1DeleteOptions body) { + public APIdeleteMutatingAdmissionPolicyBindingRequest body(@jakarta.annotation.Nullable V1DeleteOptions body) { this.body = body; return this; } /** - * Build call for deleteValidatingAdmissionPolicyBinding + * Build call for deleteMutatingAdmissionPolicyBinding * @param _callback ApiCallback API callback * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -1830,11 +1831,11 @@ public APIdeleteValidatingAdmissionPolicyBindingRequest body(@jakarta.annotation */ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return deleteValidatingAdmissionPolicyBindingCall(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); + return deleteMutatingAdmissionPolicyBindingCall(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); } /** - * Execute deleteValidatingAdmissionPolicyBinding request + * Execute deleteMutatingAdmissionPolicyBinding request * @return V1Status * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -1847,12 +1848,12 @@ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { */ public V1Status execute() throws ApiException { - ApiResponse localVarResp = deleteValidatingAdmissionPolicyBindingWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body); + ApiResponse localVarResp = deleteMutatingAdmissionPolicyBindingWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body); return localVarResp.getData(); } /** - * Execute deleteValidatingAdmissionPolicyBinding request with HTTP info returned + * Execute deleteMutatingAdmissionPolicyBinding request with HTTP info returned * @return ApiResponse<V1Status> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -1865,11 +1866,11 @@ public V1Status execute() throws ApiException { */ public ApiResponse executeWithHttpInfo() throws ApiException { - return deleteValidatingAdmissionPolicyBindingWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body); + return deleteMutatingAdmissionPolicyBindingWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body); } /** - * Execute deleteValidatingAdmissionPolicyBinding request (asynchronously) + * Execute deleteMutatingAdmissionPolicyBinding request (asynchronously) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -1883,15 +1884,15 @@ public ApiResponse executeWithHttpInfo() throws ApiException { */ public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return deleteValidatingAdmissionPolicyBindingAsync(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); + return deleteMutatingAdmissionPolicyBindingAsync(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); } } /** - * - * delete a ValidatingAdmissionPolicyBinding - * @param name name of the ValidatingAdmissionPolicyBinding (required) - * @return APIdeleteValidatingAdmissionPolicyBindingRequest + * + * delete a MutatingAdmissionPolicyBinding + * @param name name of the MutatingAdmissionPolicyBinding (required) + * @return APIdeleteMutatingAdmissionPolicyBindingRequest * @http.response.details @@ -1901,8 +1902,8 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A
Response Details
401 Unauthorized -
*/ - public APIdeleteValidatingAdmissionPolicyBindingRequest deleteValidatingAdmissionPolicyBinding(@jakarta.annotation.Nonnull String name) { - return new APIdeleteValidatingAdmissionPolicyBindingRequest(name); + public APIdeleteMutatingAdmissionPolicyBindingRequest deleteMutatingAdmissionPolicyBinding(@jakarta.annotation.Nonnull String name) { + return new APIdeleteMutatingAdmissionPolicyBindingRequest(name); } private okhttp3.Call getAPIResourcesCall(final ApiCallback _callback) throws ApiException { String basePath = null; @@ -2046,7 +2047,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) } /** - * + * * get available resources * @return APIgetAPIResourcesRequest * @http.response.details @@ -2060,7 +2061,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) public APIgetAPIResourcesRequest getAPIResources() { return new APIgetAPIResourcesRequest(); } - private okhttp3.Call listValidatingAdmissionPolicyCall(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { + private okhttp3.Call listMutatingAdmissionPolicyCall(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -2077,7 +2078,7 @@ private okhttp3.Call listValidatingAdmissionPolicyCall(@jakarta.annotation.Nulla Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicies"; + String localVarPath = "/apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicies"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -2155,27 +2156,27 @@ private okhttp3.Call listValidatingAdmissionPolicyCall(@jakarta.annotation.Nulla } @SuppressWarnings("rawtypes") - private okhttp3.Call listValidatingAdmissionPolicyValidateBeforeCall(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { - return listValidatingAdmissionPolicyCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + private okhttp3.Call listMutatingAdmissionPolicyValidateBeforeCall(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { + return listMutatingAdmissionPolicyCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); } - private ApiResponse listValidatingAdmissionPolicyWithHttpInfo(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch) throws ApiException { - okhttp3.Call localVarCall = listValidatingAdmissionPolicyValidateBeforeCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, null); - Type localVarReturnType = new TypeToken(){}.getType(); + private ApiResponse listMutatingAdmissionPolicyWithHttpInfo(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch) throws ApiException { + okhttp3.Call localVarCall = listMutatingAdmissionPolicyValidateBeforeCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, null); + Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } - private okhttp3.Call listValidatingAdmissionPolicyAsync(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { + private okhttp3.Call listMutatingAdmissionPolicyAsync(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = listValidatingAdmissionPolicyValidateBeforeCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); + okhttp3.Call localVarCall = listMutatingAdmissionPolicyValidateBeforeCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } - public class APIlistValidatingAdmissionPolicyRequest { + public class APIlistMutatingAdmissionPolicyRequest { @jakarta.annotation.Nullable private String pretty; @jakarta.annotation.Nullable @@ -2199,15 +2200,15 @@ public class APIlistValidatingAdmissionPolicyRequest { @jakarta.annotation.Nullable private Boolean watch; - private APIlistValidatingAdmissionPolicyRequest() { + private APIlistMutatingAdmissionPolicyRequest() { } /** * Set pretty * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIlistValidatingAdmissionPolicyRequest + * @return APIlistMutatingAdmissionPolicyRequest */ - public APIlistValidatingAdmissionPolicyRequest pretty(@jakarta.annotation.Nullable String pretty) { + public APIlistMutatingAdmissionPolicyRequest pretty(@jakarta.annotation.Nullable String pretty) { this.pretty = pretty; return this; } @@ -2215,9 +2216,9 @@ public APIlistValidatingAdmissionPolicyRequest pretty(@jakarta.annotation.Nullab /** * Set allowWatchBookmarks * @param allowWatchBookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) - * @return APIlistValidatingAdmissionPolicyRequest + * @return APIlistMutatingAdmissionPolicyRequest */ - public APIlistValidatingAdmissionPolicyRequest allowWatchBookmarks(@jakarta.annotation.Nullable Boolean allowWatchBookmarks) { + public APIlistMutatingAdmissionPolicyRequest allowWatchBookmarks(@jakarta.annotation.Nullable Boolean allowWatchBookmarks) { this.allowWatchBookmarks = allowWatchBookmarks; return this; } @@ -2225,9 +2226,9 @@ public APIlistValidatingAdmissionPolicyRequest allowWatchBookmarks(@jakarta.anno /** * Set _continue * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) - * @return APIlistValidatingAdmissionPolicyRequest + * @return APIlistMutatingAdmissionPolicyRequest */ - public APIlistValidatingAdmissionPolicyRequest _continue(@jakarta.annotation.Nullable String _continue) { + public APIlistMutatingAdmissionPolicyRequest _continue(@jakarta.annotation.Nullable String _continue) { this._continue = _continue; return this; } @@ -2235,9 +2236,9 @@ public APIlistValidatingAdmissionPolicyRequest _continue(@jakarta.annotation.Nul /** * Set fieldSelector * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @return APIlistValidatingAdmissionPolicyRequest + * @return APIlistMutatingAdmissionPolicyRequest */ - public APIlistValidatingAdmissionPolicyRequest fieldSelector(@jakarta.annotation.Nullable String fieldSelector) { + public APIlistMutatingAdmissionPolicyRequest fieldSelector(@jakarta.annotation.Nullable String fieldSelector) { this.fieldSelector = fieldSelector; return this; } @@ -2245,9 +2246,9 @@ public APIlistValidatingAdmissionPolicyRequest fieldSelector(@jakarta.annotation /** * Set labelSelector * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) - * @return APIlistValidatingAdmissionPolicyRequest + * @return APIlistMutatingAdmissionPolicyRequest */ - public APIlistValidatingAdmissionPolicyRequest labelSelector(@jakarta.annotation.Nullable String labelSelector) { + public APIlistMutatingAdmissionPolicyRequest labelSelector(@jakarta.annotation.Nullable String labelSelector) { this.labelSelector = labelSelector; return this; } @@ -2255,9 +2256,9 @@ public APIlistValidatingAdmissionPolicyRequest labelSelector(@jakarta.annotation /** * Set limit * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) - * @return APIlistValidatingAdmissionPolicyRequest + * @return APIlistMutatingAdmissionPolicyRequest */ - public APIlistValidatingAdmissionPolicyRequest limit(@jakarta.annotation.Nullable Integer limit) { + public APIlistMutatingAdmissionPolicyRequest limit(@jakarta.annotation.Nullable Integer limit) { this.limit = limit; return this; } @@ -2265,9 +2266,9 @@ public APIlistValidatingAdmissionPolicyRequest limit(@jakarta.annotation.Nullabl /** * Set resourceVersion * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) - * @return APIlistValidatingAdmissionPolicyRequest + * @return APIlistMutatingAdmissionPolicyRequest */ - public APIlistValidatingAdmissionPolicyRequest resourceVersion(@jakarta.annotation.Nullable String resourceVersion) { + public APIlistMutatingAdmissionPolicyRequest resourceVersion(@jakarta.annotation.Nullable String resourceVersion) { this.resourceVersion = resourceVersion; return this; } @@ -2275,9 +2276,9 @@ public APIlistValidatingAdmissionPolicyRequest resourceVersion(@jakarta.annotati /** * Set resourceVersionMatch * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) - * @return APIlistValidatingAdmissionPolicyRequest + * @return APIlistMutatingAdmissionPolicyRequest */ - public APIlistValidatingAdmissionPolicyRequest resourceVersionMatch(@jakarta.annotation.Nullable String resourceVersionMatch) { + public APIlistMutatingAdmissionPolicyRequest resourceVersionMatch(@jakarta.annotation.Nullable String resourceVersionMatch) { this.resourceVersionMatch = resourceVersionMatch; return this; } @@ -2285,9 +2286,9 @@ public APIlistValidatingAdmissionPolicyRequest resourceVersionMatch(@jakarta.ann /** * Set sendInitialEvents * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) - * @return APIlistValidatingAdmissionPolicyRequest + * @return APIlistMutatingAdmissionPolicyRequest */ - public APIlistValidatingAdmissionPolicyRequest sendInitialEvents(@jakarta.annotation.Nullable Boolean sendInitialEvents) { + public APIlistMutatingAdmissionPolicyRequest sendInitialEvents(@jakarta.annotation.Nullable Boolean sendInitialEvents) { this.sendInitialEvents = sendInitialEvents; return this; } @@ -2295,9 +2296,9 @@ public APIlistValidatingAdmissionPolicyRequest sendInitialEvents(@jakarta.annota /** * Set timeoutSeconds * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) - * @return APIlistValidatingAdmissionPolicyRequest + * @return APIlistMutatingAdmissionPolicyRequest */ - public APIlistValidatingAdmissionPolicyRequest timeoutSeconds(@jakarta.annotation.Nullable Integer timeoutSeconds) { + public APIlistMutatingAdmissionPolicyRequest timeoutSeconds(@jakarta.annotation.Nullable Integer timeoutSeconds) { this.timeoutSeconds = timeoutSeconds; return this; } @@ -2305,15 +2306,15 @@ public APIlistValidatingAdmissionPolicyRequest timeoutSeconds(@jakarta.annotatio /** * Set watch * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return APIlistValidatingAdmissionPolicyRequest + * @return APIlistMutatingAdmissionPolicyRequest */ - public APIlistValidatingAdmissionPolicyRequest watch(@jakarta.annotation.Nullable Boolean watch) { + public APIlistMutatingAdmissionPolicyRequest watch(@jakarta.annotation.Nullable Boolean watch) { this.watch = watch; return this; } /** - * Build call for listValidatingAdmissionPolicy + * Build call for listMutatingAdmissionPolicy * @param _callback ApiCallback API callback * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -2326,12 +2327,12 @@ public APIlistValidatingAdmissionPolicyRequest watch(@jakarta.annotation.Nullabl */ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return listValidatingAdmissionPolicyCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + return listMutatingAdmissionPolicyCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); } /** - * Execute listValidatingAdmissionPolicy request - * @return V1beta1ValidatingAdmissionPolicyList + * Execute listMutatingAdmissionPolicy request + * @return V1beta1MutatingAdmissionPolicyList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -2341,14 +2342,14 @@ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
401 Unauthorized -
*/ - public V1beta1ValidatingAdmissionPolicyList execute() throws ApiException { - ApiResponse localVarResp = listValidatingAdmissionPolicyWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); + public V1beta1MutatingAdmissionPolicyList execute() throws ApiException { + ApiResponse localVarResp = listMutatingAdmissionPolicyWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); return localVarResp.getData(); } /** - * Execute listValidatingAdmissionPolicy request with HTTP info returned - * @return ApiResponse<V1beta1ValidatingAdmissionPolicyList> + * Execute listMutatingAdmissionPolicy request with HTTP info returned + * @return ApiResponse<V1beta1MutatingAdmissionPolicyList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -2358,12 +2359,12 @@ public V1beta1ValidatingAdmissionPolicyList execute() throws ApiException {
401 Unauthorized -
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return listValidatingAdmissionPolicyWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); + public ApiResponse executeWithHttpInfo() throws ApiException { + return listMutatingAdmissionPolicyWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); } /** - * Execute listValidatingAdmissionPolicy request (asynchronously) + * Execute listMutatingAdmissionPolicy request (asynchronously) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -2375,15 +2376,15 @@ public ApiResponse executeWithHttpInfo() t 401 Unauthorized - */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return listValidatingAdmissionPolicyAsync(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return listMutatingAdmissionPolicyAsync(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); } } /** - * - * list or watch objects of kind ValidatingAdmissionPolicy - * @return APIlistValidatingAdmissionPolicyRequest + * + * list or watch objects of kind MutatingAdmissionPolicy + * @return APIlistMutatingAdmissionPolicyRequest * @http.response.details @@ -2392,10 +2393,10 @@ public okhttp3.Call executeAsync(final ApiCallback
Response Details
401 Unauthorized -
*/ - public APIlistValidatingAdmissionPolicyRequest listValidatingAdmissionPolicy() { - return new APIlistValidatingAdmissionPolicyRequest(); + public APIlistMutatingAdmissionPolicyRequest listMutatingAdmissionPolicy() { + return new APIlistMutatingAdmissionPolicyRequest(); } - private okhttp3.Call listValidatingAdmissionPolicyBindingCall(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { + private okhttp3.Call listMutatingAdmissionPolicyBindingCall(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -2412,7 +2413,7 @@ private okhttp3.Call listValidatingAdmissionPolicyBindingCall(@jakarta.annotatio Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicybindings"; + String localVarPath = "/apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicybindings"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -2490,27 +2491,27 @@ private okhttp3.Call listValidatingAdmissionPolicyBindingCall(@jakarta.annotatio } @SuppressWarnings("rawtypes") - private okhttp3.Call listValidatingAdmissionPolicyBindingValidateBeforeCall(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { - return listValidatingAdmissionPolicyBindingCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + private okhttp3.Call listMutatingAdmissionPolicyBindingValidateBeforeCall(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { + return listMutatingAdmissionPolicyBindingCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); } - private ApiResponse listValidatingAdmissionPolicyBindingWithHttpInfo(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch) throws ApiException { - okhttp3.Call localVarCall = listValidatingAdmissionPolicyBindingValidateBeforeCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, null); - Type localVarReturnType = new TypeToken(){}.getType(); + private ApiResponse listMutatingAdmissionPolicyBindingWithHttpInfo(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch) throws ApiException { + okhttp3.Call localVarCall = listMutatingAdmissionPolicyBindingValidateBeforeCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, null); + Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } - private okhttp3.Call listValidatingAdmissionPolicyBindingAsync(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { + private okhttp3.Call listMutatingAdmissionPolicyBindingAsync(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = listValidatingAdmissionPolicyBindingValidateBeforeCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); + okhttp3.Call localVarCall = listMutatingAdmissionPolicyBindingValidateBeforeCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } - public class APIlistValidatingAdmissionPolicyBindingRequest { + public class APIlistMutatingAdmissionPolicyBindingRequest { @jakarta.annotation.Nullable private String pretty; @jakarta.annotation.Nullable @@ -2534,15 +2535,15 @@ public class APIlistValidatingAdmissionPolicyBindingRequest { @jakarta.annotation.Nullable private Boolean watch; - private APIlistValidatingAdmissionPolicyBindingRequest() { + private APIlistMutatingAdmissionPolicyBindingRequest() { } /** * Set pretty * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIlistValidatingAdmissionPolicyBindingRequest + * @return APIlistMutatingAdmissionPolicyBindingRequest */ - public APIlistValidatingAdmissionPolicyBindingRequest pretty(@jakarta.annotation.Nullable String pretty) { + public APIlistMutatingAdmissionPolicyBindingRequest pretty(@jakarta.annotation.Nullable String pretty) { this.pretty = pretty; return this; } @@ -2550,9 +2551,9 @@ public APIlistValidatingAdmissionPolicyBindingRequest pretty(@jakarta.annotation /** * Set allowWatchBookmarks * @param allowWatchBookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) - * @return APIlistValidatingAdmissionPolicyBindingRequest + * @return APIlistMutatingAdmissionPolicyBindingRequest */ - public APIlistValidatingAdmissionPolicyBindingRequest allowWatchBookmarks(@jakarta.annotation.Nullable Boolean allowWatchBookmarks) { + public APIlistMutatingAdmissionPolicyBindingRequest allowWatchBookmarks(@jakarta.annotation.Nullable Boolean allowWatchBookmarks) { this.allowWatchBookmarks = allowWatchBookmarks; return this; } @@ -2560,9 +2561,9 @@ public APIlistValidatingAdmissionPolicyBindingRequest allowWatchBookmarks(@jakar /** * Set _continue * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) - * @return APIlistValidatingAdmissionPolicyBindingRequest + * @return APIlistMutatingAdmissionPolicyBindingRequest */ - public APIlistValidatingAdmissionPolicyBindingRequest _continue(@jakarta.annotation.Nullable String _continue) { + public APIlistMutatingAdmissionPolicyBindingRequest _continue(@jakarta.annotation.Nullable String _continue) { this._continue = _continue; return this; } @@ -2570,9 +2571,9 @@ public APIlistValidatingAdmissionPolicyBindingRequest _continue(@jakarta.annotat /** * Set fieldSelector * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @return APIlistValidatingAdmissionPolicyBindingRequest + * @return APIlistMutatingAdmissionPolicyBindingRequest */ - public APIlistValidatingAdmissionPolicyBindingRequest fieldSelector(@jakarta.annotation.Nullable String fieldSelector) { + public APIlistMutatingAdmissionPolicyBindingRequest fieldSelector(@jakarta.annotation.Nullable String fieldSelector) { this.fieldSelector = fieldSelector; return this; } @@ -2580,9 +2581,9 @@ public APIlistValidatingAdmissionPolicyBindingRequest fieldSelector(@jakarta.ann /** * Set labelSelector * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) - * @return APIlistValidatingAdmissionPolicyBindingRequest + * @return APIlistMutatingAdmissionPolicyBindingRequest */ - public APIlistValidatingAdmissionPolicyBindingRequest labelSelector(@jakarta.annotation.Nullable String labelSelector) { + public APIlistMutatingAdmissionPolicyBindingRequest labelSelector(@jakarta.annotation.Nullable String labelSelector) { this.labelSelector = labelSelector; return this; } @@ -2590,9 +2591,9 @@ public APIlistValidatingAdmissionPolicyBindingRequest labelSelector(@jakarta.ann /** * Set limit * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) - * @return APIlistValidatingAdmissionPolicyBindingRequest + * @return APIlistMutatingAdmissionPolicyBindingRequest */ - public APIlistValidatingAdmissionPolicyBindingRequest limit(@jakarta.annotation.Nullable Integer limit) { + public APIlistMutatingAdmissionPolicyBindingRequest limit(@jakarta.annotation.Nullable Integer limit) { this.limit = limit; return this; } @@ -2600,9 +2601,9 @@ public APIlistValidatingAdmissionPolicyBindingRequest limit(@jakarta.annotation. /** * Set resourceVersion * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) - * @return APIlistValidatingAdmissionPolicyBindingRequest + * @return APIlistMutatingAdmissionPolicyBindingRequest */ - public APIlistValidatingAdmissionPolicyBindingRequest resourceVersion(@jakarta.annotation.Nullable String resourceVersion) { + public APIlistMutatingAdmissionPolicyBindingRequest resourceVersion(@jakarta.annotation.Nullable String resourceVersion) { this.resourceVersion = resourceVersion; return this; } @@ -2610,9 +2611,9 @@ public APIlistValidatingAdmissionPolicyBindingRequest resourceVersion(@jakarta.a /** * Set resourceVersionMatch * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) - * @return APIlistValidatingAdmissionPolicyBindingRequest + * @return APIlistMutatingAdmissionPolicyBindingRequest */ - public APIlistValidatingAdmissionPolicyBindingRequest resourceVersionMatch(@jakarta.annotation.Nullable String resourceVersionMatch) { + public APIlistMutatingAdmissionPolicyBindingRequest resourceVersionMatch(@jakarta.annotation.Nullable String resourceVersionMatch) { this.resourceVersionMatch = resourceVersionMatch; return this; } @@ -2620,9 +2621,9 @@ public APIlistValidatingAdmissionPolicyBindingRequest resourceVersionMatch(@jaka /** * Set sendInitialEvents * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) - * @return APIlistValidatingAdmissionPolicyBindingRequest + * @return APIlistMutatingAdmissionPolicyBindingRequest */ - public APIlistValidatingAdmissionPolicyBindingRequest sendInitialEvents(@jakarta.annotation.Nullable Boolean sendInitialEvents) { + public APIlistMutatingAdmissionPolicyBindingRequest sendInitialEvents(@jakarta.annotation.Nullable Boolean sendInitialEvents) { this.sendInitialEvents = sendInitialEvents; return this; } @@ -2630,9 +2631,9 @@ public APIlistValidatingAdmissionPolicyBindingRequest sendInitialEvents(@jakarta /** * Set timeoutSeconds * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) - * @return APIlistValidatingAdmissionPolicyBindingRequest + * @return APIlistMutatingAdmissionPolicyBindingRequest */ - public APIlistValidatingAdmissionPolicyBindingRequest timeoutSeconds(@jakarta.annotation.Nullable Integer timeoutSeconds) { + public APIlistMutatingAdmissionPolicyBindingRequest timeoutSeconds(@jakarta.annotation.Nullable Integer timeoutSeconds) { this.timeoutSeconds = timeoutSeconds; return this; } @@ -2640,269 +2641,15 @@ public APIlistValidatingAdmissionPolicyBindingRequest timeoutSeconds(@jakarta.an /** * Set watch * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return APIlistValidatingAdmissionPolicyBindingRequest + * @return APIlistMutatingAdmissionPolicyBindingRequest */ - public APIlistValidatingAdmissionPolicyBindingRequest watch(@jakarta.annotation.Nullable Boolean watch) { + public APIlistMutatingAdmissionPolicyBindingRequest watch(@jakarta.annotation.Nullable Boolean watch) { this.watch = watch; return this; } /** - * Build call for listValidatingAdmissionPolicyBinding - * @param _callback ApiCallback API callback - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return listValidatingAdmissionPolicyBindingCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); - } - - /** - * Execute listValidatingAdmissionPolicyBinding request - * @return V1beta1ValidatingAdmissionPolicyBindingList - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public V1beta1ValidatingAdmissionPolicyBindingList execute() throws ApiException { - ApiResponse localVarResp = listValidatingAdmissionPolicyBindingWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); - return localVarResp.getData(); - } - - /** - * Execute listValidatingAdmissionPolicyBinding request with HTTP info returned - * @return ApiResponse<V1beta1ValidatingAdmissionPolicyBindingList> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public ApiResponse executeWithHttpInfo() throws ApiException { - return listValidatingAdmissionPolicyBindingWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); - } - - /** - * Execute listValidatingAdmissionPolicyBinding request (asynchronously) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return listValidatingAdmissionPolicyBindingAsync(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); - } - } - - /** - * - * list or watch objects of kind ValidatingAdmissionPolicyBinding - * @return APIlistValidatingAdmissionPolicyBindingRequest - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public APIlistValidatingAdmissionPolicyBindingRequest listValidatingAdmissionPolicyBinding() { - return new APIlistValidatingAdmissionPolicyBindingRequest(); - } - private okhttp3.Call patchValidatingAdmissionPolicyCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = body; - - // create path and map variables - String localVarPath = "/apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicies/{name}" - .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (pretty != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); - } - - if (dryRun != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("dryRun", dryRun)); - } - - if (fieldManager != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldManager", fieldManager)); - } - - if (fieldValidation != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldValidation", fieldValidation)); - } - - if (force != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("force", force)); - } - - final String[] localVarAccepts = { - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/cbor" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "BearerToken" }; - return localVarApiClient.buildCall(basePath, localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call patchValidatingAdmissionPolicyValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling patchValidatingAdmissionPolicy(Async)"); - } - - // verify the required parameter 'body' is set - if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling patchValidatingAdmissionPolicy(Async)"); - } - - return patchValidatingAdmissionPolicyCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); - - } - - - private ApiResponse patchValidatingAdmissionPolicyWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force) throws ApiException { - okhttp3.Call localVarCall = patchValidatingAdmissionPolicyValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - private okhttp3.Call patchValidatingAdmissionPolicyAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = patchValidatingAdmissionPolicyValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - - public class APIpatchValidatingAdmissionPolicyRequest { - @jakarta.annotation.Nonnull - private final String name; - @jakarta.annotation.Nonnull - private final V1Patch body; - @jakarta.annotation.Nullable - private String pretty; - @jakarta.annotation.Nullable - private String dryRun; - @jakarta.annotation.Nullable - private String fieldManager; - @jakarta.annotation.Nullable - private String fieldValidation; - @jakarta.annotation.Nullable - private Boolean force; - - private APIpatchValidatingAdmissionPolicyRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body) { - this.name = name; - this.body = body; - } - - /** - * Set pretty - * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIpatchValidatingAdmissionPolicyRequest - */ - public APIpatchValidatingAdmissionPolicyRequest pretty(@jakarta.annotation.Nullable String pretty) { - this.pretty = pretty; - return this; - } - - /** - * Set dryRun - * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) - * @return APIpatchValidatingAdmissionPolicyRequest - */ - public APIpatchValidatingAdmissionPolicyRequest dryRun(@jakarta.annotation.Nullable String dryRun) { - this.dryRun = dryRun; - return this; - } - - /** - * Set fieldManager - * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). (optional) - * @return APIpatchValidatingAdmissionPolicyRequest - */ - public APIpatchValidatingAdmissionPolicyRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { - this.fieldManager = fieldManager; - return this; - } - - /** - * Set fieldValidation - * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) - * @return APIpatchValidatingAdmissionPolicyRequest - */ - public APIpatchValidatingAdmissionPolicyRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { - this.fieldValidation = fieldValidation; - return this; - } - - /** - * Set force - * @param force Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. (optional) - * @return APIpatchValidatingAdmissionPolicyRequest - */ - public APIpatchValidatingAdmissionPolicyRequest force(@jakarta.annotation.Nullable Boolean force) { - this.force = force; - return this; - } - - /** - * Build call for patchValidatingAdmissionPolicy + * Build call for listMutatingAdmissionPolicyBinding * @param _callback ApiCallback API callback * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -2911,51 +2658,48 @@ public APIpatchValidatingAdmissionPolicyRequest force(@jakarta.annotation.Nullab Response Details Status Code Description Response Headers 200 OK - - 201 Created - 401 Unauthorized - */ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return patchValidatingAdmissionPolicyCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + return listMutatingAdmissionPolicyBindingCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); } /** - * Execute patchValidatingAdmissionPolicy request - * @return V1beta1ValidatingAdmissionPolicy + * Execute listMutatingAdmissionPolicyBinding request + * @return V1beta1MutatingAdmissionPolicyBindingList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
*/ - public V1beta1ValidatingAdmissionPolicy execute() throws ApiException { - ApiResponse localVarResp = patchValidatingAdmissionPolicyWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force); + public V1beta1MutatingAdmissionPolicyBindingList execute() throws ApiException { + ApiResponse localVarResp = listMutatingAdmissionPolicyBindingWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); return localVarResp.getData(); } /** - * Execute patchValidatingAdmissionPolicy request with HTTP info returned - * @return ApiResponse<V1beta1ValidatingAdmissionPolicy> + * Execute listMutatingAdmissionPolicyBinding request with HTTP info returned + * @return ApiResponse<V1beta1MutatingAdmissionPolicyBindingList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return patchValidatingAdmissionPolicyWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force); + public ApiResponse executeWithHttpInfo() throws ApiException { + return listMutatingAdmissionPolicyBindingWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); } /** - * Execute patchValidatingAdmissionPolicy request (asynchronously) + * Execute listMutatingAdmissionPolicyBinding request (asynchronously) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -2964,34 +2708,30 @@ public ApiResponse executeWithHttpInfo() throw Response Details Status Code Description Response Headers 200 OK - - 201 Created - 401 Unauthorized - */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return patchValidatingAdmissionPolicyAsync(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return listMutatingAdmissionPolicyBindingAsync(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); } } /** - * - * partially update the specified ValidatingAdmissionPolicy - * @param name name of the ValidatingAdmissionPolicy (required) - * @param body (required) - * @return APIpatchValidatingAdmissionPolicyRequest + * + * list or watch objects of kind MutatingAdmissionPolicyBinding + * @return APIlistMutatingAdmissionPolicyBindingRequest * @http.response.details -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
*/ - public APIpatchValidatingAdmissionPolicyRequest patchValidatingAdmissionPolicy(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body) { - return new APIpatchValidatingAdmissionPolicyRequest(name, body); + public APIlistMutatingAdmissionPolicyBindingRequest listMutatingAdmissionPolicyBinding() { + return new APIlistMutatingAdmissionPolicyBindingRequest(); } - private okhttp3.Call patchValidatingAdmissionPolicyBindingCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { + private okhttp3.Call patchMutatingAdmissionPolicyCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -3008,7 +2748,7 @@ private okhttp3.Call patchValidatingAdmissionPolicyBindingCall(@jakarta.annotati Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicybindings/{name}" + String localVarPath = "/apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicies/{name}" .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); @@ -3061,37 +2801,37 @@ private okhttp3.Call patchValidatingAdmissionPolicyBindingCall(@jakarta.annotati } @SuppressWarnings("rawtypes") - private okhttp3.Call patchValidatingAdmissionPolicyBindingValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { + private okhttp3.Call patchMutatingAdmissionPolicyValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling patchValidatingAdmissionPolicyBinding(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling patchMutatingAdmissionPolicy(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling patchValidatingAdmissionPolicyBinding(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling patchMutatingAdmissionPolicy(Async)"); } - return patchValidatingAdmissionPolicyBindingCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + return patchMutatingAdmissionPolicyCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); } - private ApiResponse patchValidatingAdmissionPolicyBindingWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force) throws ApiException { - okhttp3.Call localVarCall = patchValidatingAdmissionPolicyBindingValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, null); - Type localVarReturnType = new TypeToken(){}.getType(); + private ApiResponse patchMutatingAdmissionPolicyWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force) throws ApiException { + okhttp3.Call localVarCall = patchMutatingAdmissionPolicyValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, null); + Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } - private okhttp3.Call patchValidatingAdmissionPolicyBindingAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { + private okhttp3.Call patchMutatingAdmissionPolicyAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = patchValidatingAdmissionPolicyBindingValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); + okhttp3.Call localVarCall = patchMutatingAdmissionPolicyValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } - public class APIpatchValidatingAdmissionPolicyBindingRequest { + public class APIpatchMutatingAdmissionPolicyRequest { @jakarta.annotation.Nonnull private final String name; @jakarta.annotation.Nonnull @@ -3107,7 +2847,7 @@ public class APIpatchValidatingAdmissionPolicyBindingRequest { @jakarta.annotation.Nullable private Boolean force; - private APIpatchValidatingAdmissionPolicyBindingRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body) { + private APIpatchMutatingAdmissionPolicyRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body) { this.name = name; this.body = body; } @@ -3115,9 +2855,9 @@ private APIpatchValidatingAdmissionPolicyBindingRequest(@jakarta.annotation.Nonn /** * Set pretty * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIpatchValidatingAdmissionPolicyBindingRequest + * @return APIpatchMutatingAdmissionPolicyRequest */ - public APIpatchValidatingAdmissionPolicyBindingRequest pretty(@jakarta.annotation.Nullable String pretty) { + public APIpatchMutatingAdmissionPolicyRequest pretty(@jakarta.annotation.Nullable String pretty) { this.pretty = pretty; return this; } @@ -3125,9 +2865,9 @@ public APIpatchValidatingAdmissionPolicyBindingRequest pretty(@jakarta.annotatio /** * Set dryRun * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) - * @return APIpatchValidatingAdmissionPolicyBindingRequest + * @return APIpatchMutatingAdmissionPolicyRequest */ - public APIpatchValidatingAdmissionPolicyBindingRequest dryRun(@jakarta.annotation.Nullable String dryRun) { + public APIpatchMutatingAdmissionPolicyRequest dryRun(@jakarta.annotation.Nullable String dryRun) { this.dryRun = dryRun; return this; } @@ -3135,9 +2875,9 @@ public APIpatchValidatingAdmissionPolicyBindingRequest dryRun(@jakarta.annotatio /** * Set fieldManager * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). (optional) - * @return APIpatchValidatingAdmissionPolicyBindingRequest + * @return APIpatchMutatingAdmissionPolicyRequest */ - public APIpatchValidatingAdmissionPolicyBindingRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { + public APIpatchMutatingAdmissionPolicyRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { this.fieldManager = fieldManager; return this; } @@ -3145,9 +2885,9 @@ public APIpatchValidatingAdmissionPolicyBindingRequest fieldManager(@jakarta.ann /** * Set fieldValidation * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) - * @return APIpatchValidatingAdmissionPolicyBindingRequest + * @return APIpatchMutatingAdmissionPolicyRequest */ - public APIpatchValidatingAdmissionPolicyBindingRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { + public APIpatchMutatingAdmissionPolicyRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { this.fieldValidation = fieldValidation; return this; } @@ -3155,15 +2895,15 @@ public APIpatchValidatingAdmissionPolicyBindingRequest fieldValidation(@jakarta. /** * Set force * @param force Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. (optional) - * @return APIpatchValidatingAdmissionPolicyBindingRequest + * @return APIpatchMutatingAdmissionPolicyRequest */ - public APIpatchValidatingAdmissionPolicyBindingRequest force(@jakarta.annotation.Nullable Boolean force) { + public APIpatchMutatingAdmissionPolicyRequest force(@jakarta.annotation.Nullable Boolean force) { this.force = force; return this; } /** - * Build call for patchValidatingAdmissionPolicyBinding + * Build call for patchMutatingAdmissionPolicy * @param _callback ApiCallback API callback * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -3177,12 +2917,12 @@ public APIpatchValidatingAdmissionPolicyBindingRequest force(@jakarta.annotation */ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return patchValidatingAdmissionPolicyBindingCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + return patchMutatingAdmissionPolicyCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); } /** - * Execute patchValidatingAdmissionPolicyBinding request - * @return V1beta1ValidatingAdmissionPolicyBinding + * Execute patchMutatingAdmissionPolicy request + * @return V1beta1MutatingAdmissionPolicy * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -3193,14 +2933,14 @@ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
401 Unauthorized -
*/ - public V1beta1ValidatingAdmissionPolicyBinding execute() throws ApiException { - ApiResponse localVarResp = patchValidatingAdmissionPolicyBindingWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force); + public V1beta1MutatingAdmissionPolicy execute() throws ApiException { + ApiResponse localVarResp = patchMutatingAdmissionPolicyWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force); return localVarResp.getData(); } /** - * Execute patchValidatingAdmissionPolicyBinding request with HTTP info returned - * @return ApiResponse<V1beta1ValidatingAdmissionPolicyBinding> + * Execute patchMutatingAdmissionPolicy request with HTTP info returned + * @return ApiResponse<V1beta1MutatingAdmissionPolicy> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -3211,12 +2951,12 @@ public V1beta1ValidatingAdmissionPolicyBinding execute() throws ApiException {
401 Unauthorized -
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return patchValidatingAdmissionPolicyBindingWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force); + public ApiResponse executeWithHttpInfo() throws ApiException { + return patchMutatingAdmissionPolicyWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force); } /** - * Execute patchValidatingAdmissionPolicyBinding request (asynchronously) + * Execute patchMutatingAdmissionPolicy request (asynchronously) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -3229,17 +2969,17 @@ public ApiResponse executeWithHttpInfo( 401 Unauthorized - */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return patchValidatingAdmissionPolicyBindingAsync(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return patchMutatingAdmissionPolicyAsync(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); } } /** - * - * partially update the specified ValidatingAdmissionPolicyBinding - * @param name name of the ValidatingAdmissionPolicyBinding (required) + * + * partially update the specified MutatingAdmissionPolicy + * @param name name of the MutatingAdmissionPolicy (required) * @param body (required) - * @return APIpatchValidatingAdmissionPolicyBindingRequest + * @return APIpatchMutatingAdmissionPolicyRequest * @http.response.details @@ -3249,10 +2989,10 @@ public okhttp3.Call executeAsync(final ApiCallback
Response Details
401 Unauthorized -
*/ - public APIpatchValidatingAdmissionPolicyBindingRequest patchValidatingAdmissionPolicyBinding(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body) { - return new APIpatchValidatingAdmissionPolicyBindingRequest(name, body); + public APIpatchMutatingAdmissionPolicyRequest patchMutatingAdmissionPolicy(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body) { + return new APIpatchMutatingAdmissionPolicyRequest(name, body); } - private okhttp3.Call patchValidatingAdmissionPolicyStatusCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { + private okhttp3.Call patchMutatingAdmissionPolicyBindingCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -3269,7 +3009,7 @@ private okhttp3.Call patchValidatingAdmissionPolicyStatusCall(@jakarta.annotatio Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicies/{name}/status" + String localVarPath = "/apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicybindings/{name}" .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); @@ -3322,37 +3062,37 @@ private okhttp3.Call patchValidatingAdmissionPolicyStatusCall(@jakarta.annotatio } @SuppressWarnings("rawtypes") - private okhttp3.Call patchValidatingAdmissionPolicyStatusValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { + private okhttp3.Call patchMutatingAdmissionPolicyBindingValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling patchValidatingAdmissionPolicyStatus(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling patchMutatingAdmissionPolicyBinding(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling patchValidatingAdmissionPolicyStatus(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling patchMutatingAdmissionPolicyBinding(Async)"); } - return patchValidatingAdmissionPolicyStatusCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + return patchMutatingAdmissionPolicyBindingCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); } - private ApiResponse patchValidatingAdmissionPolicyStatusWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force) throws ApiException { - okhttp3.Call localVarCall = patchValidatingAdmissionPolicyStatusValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, null); - Type localVarReturnType = new TypeToken(){}.getType(); + private ApiResponse patchMutatingAdmissionPolicyBindingWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force) throws ApiException { + okhttp3.Call localVarCall = patchMutatingAdmissionPolicyBindingValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, null); + Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } - private okhttp3.Call patchValidatingAdmissionPolicyStatusAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { + private okhttp3.Call patchMutatingAdmissionPolicyBindingAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = patchValidatingAdmissionPolicyStatusValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); + okhttp3.Call localVarCall = patchMutatingAdmissionPolicyBindingValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } - public class APIpatchValidatingAdmissionPolicyStatusRequest { + public class APIpatchMutatingAdmissionPolicyBindingRequest { @jakarta.annotation.Nonnull private final String name; @jakarta.annotation.Nonnull @@ -3368,7 +3108,7 @@ public class APIpatchValidatingAdmissionPolicyStatusRequest { @jakarta.annotation.Nullable private Boolean force; - private APIpatchValidatingAdmissionPolicyStatusRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body) { + private APIpatchMutatingAdmissionPolicyBindingRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body) { this.name = name; this.body = body; } @@ -3376,9 +3116,9 @@ private APIpatchValidatingAdmissionPolicyStatusRequest(@jakarta.annotation.Nonnu /** * Set pretty * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIpatchValidatingAdmissionPolicyStatusRequest + * @return APIpatchMutatingAdmissionPolicyBindingRequest */ - public APIpatchValidatingAdmissionPolicyStatusRequest pretty(@jakarta.annotation.Nullable String pretty) { + public APIpatchMutatingAdmissionPolicyBindingRequest pretty(@jakarta.annotation.Nullable String pretty) { this.pretty = pretty; return this; } @@ -3386,9 +3126,9 @@ public APIpatchValidatingAdmissionPolicyStatusRequest pretty(@jakarta.annotation /** * Set dryRun * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) - * @return APIpatchValidatingAdmissionPolicyStatusRequest + * @return APIpatchMutatingAdmissionPolicyBindingRequest */ - public APIpatchValidatingAdmissionPolicyStatusRequest dryRun(@jakarta.annotation.Nullable String dryRun) { + public APIpatchMutatingAdmissionPolicyBindingRequest dryRun(@jakarta.annotation.Nullable String dryRun) { this.dryRun = dryRun; return this; } @@ -3396,9 +3136,9 @@ public APIpatchValidatingAdmissionPolicyStatusRequest dryRun(@jakarta.annotation /** * Set fieldManager * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). (optional) - * @return APIpatchValidatingAdmissionPolicyStatusRequest + * @return APIpatchMutatingAdmissionPolicyBindingRequest */ - public APIpatchValidatingAdmissionPolicyStatusRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { + public APIpatchMutatingAdmissionPolicyBindingRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { this.fieldManager = fieldManager; return this; } @@ -3406,9 +3146,9 @@ public APIpatchValidatingAdmissionPolicyStatusRequest fieldManager(@jakarta.anno /** * Set fieldValidation * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) - * @return APIpatchValidatingAdmissionPolicyStatusRequest + * @return APIpatchMutatingAdmissionPolicyBindingRequest */ - public APIpatchValidatingAdmissionPolicyStatusRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { + public APIpatchMutatingAdmissionPolicyBindingRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { this.fieldValidation = fieldValidation; return this; } @@ -3416,15 +3156,15 @@ public APIpatchValidatingAdmissionPolicyStatusRequest fieldValidation(@jakarta.a /** * Set force * @param force Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. (optional) - * @return APIpatchValidatingAdmissionPolicyStatusRequest + * @return APIpatchMutatingAdmissionPolicyBindingRequest */ - public APIpatchValidatingAdmissionPolicyStatusRequest force(@jakarta.annotation.Nullable Boolean force) { + public APIpatchMutatingAdmissionPolicyBindingRequest force(@jakarta.annotation.Nullable Boolean force) { this.force = force; return this; } /** - * Build call for patchValidatingAdmissionPolicyStatus + * Build call for patchMutatingAdmissionPolicyBinding * @param _callback ApiCallback API callback * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -3438,12 +3178,12 @@ public APIpatchValidatingAdmissionPolicyStatusRequest force(@jakarta.annotation. */ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return patchValidatingAdmissionPolicyStatusCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + return patchMutatingAdmissionPolicyBindingCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); } /** - * Execute patchValidatingAdmissionPolicyStatus request - * @return V1beta1ValidatingAdmissionPolicy + * Execute patchMutatingAdmissionPolicyBinding request + * @return V1beta1MutatingAdmissionPolicyBinding * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -3454,14 +3194,14 @@ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
401 Unauthorized -
*/ - public V1beta1ValidatingAdmissionPolicy execute() throws ApiException { - ApiResponse localVarResp = patchValidatingAdmissionPolicyStatusWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force); + public V1beta1MutatingAdmissionPolicyBinding execute() throws ApiException { + ApiResponse localVarResp = patchMutatingAdmissionPolicyBindingWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force); return localVarResp.getData(); } /** - * Execute patchValidatingAdmissionPolicyStatus request with HTTP info returned - * @return ApiResponse<V1beta1ValidatingAdmissionPolicy> + * Execute patchMutatingAdmissionPolicyBinding request with HTTP info returned + * @return ApiResponse<V1beta1MutatingAdmissionPolicyBinding> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -3472,12 +3212,12 @@ public V1beta1ValidatingAdmissionPolicy execute() throws ApiException {
401 Unauthorized -
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return patchValidatingAdmissionPolicyStatusWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force); + public ApiResponse executeWithHttpInfo() throws ApiException { + return patchMutatingAdmissionPolicyBindingWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force); } /** - * Execute patchValidatingAdmissionPolicyStatus request (asynchronously) + * Execute patchMutatingAdmissionPolicyBinding request (asynchronously) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -3490,17 +3230,17 @@ public ApiResponse executeWithHttpInfo() throw 401 Unauthorized - */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return patchValidatingAdmissionPolicyStatusAsync(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return patchMutatingAdmissionPolicyBindingAsync(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); } } /** - * - * partially update status of the specified ValidatingAdmissionPolicy - * @param name name of the ValidatingAdmissionPolicy (required) + * + * partially update the specified MutatingAdmissionPolicyBinding + * @param name name of the MutatingAdmissionPolicyBinding (required) * @param body (required) - * @return APIpatchValidatingAdmissionPolicyStatusRequest + * @return APIpatchMutatingAdmissionPolicyBindingRequest * @http.response.details @@ -3510,10 +3250,10 @@ public okhttp3.Call executeAsync(final ApiCallback
Response Details
401 Unauthorized -
*/ - public APIpatchValidatingAdmissionPolicyStatusRequest patchValidatingAdmissionPolicyStatus(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body) { - return new APIpatchValidatingAdmissionPolicyStatusRequest(name, body); + public APIpatchMutatingAdmissionPolicyBindingRequest patchMutatingAdmissionPolicyBinding(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body) { + return new APIpatchMutatingAdmissionPolicyBindingRequest(name, body); } - private okhttp3.Call readValidatingAdmissionPolicyCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { + private okhttp3.Call readMutatingAdmissionPolicyCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -3530,7 +3270,7 @@ private okhttp3.Call readValidatingAdmissionPolicyCall(@jakarta.annotation.Nonnu Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicies/{name}" + String localVarPath = "/apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicies/{name}" .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); @@ -3566,53 +3306,53 @@ private okhttp3.Call readValidatingAdmissionPolicyCall(@jakarta.annotation.Nonnu } @SuppressWarnings("rawtypes") - private okhttp3.Call readValidatingAdmissionPolicyValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { + private okhttp3.Call readMutatingAdmissionPolicyValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling readValidatingAdmissionPolicy(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling readMutatingAdmissionPolicy(Async)"); } - return readValidatingAdmissionPolicyCall(name, pretty, _callback); + return readMutatingAdmissionPolicyCall(name, pretty, _callback); } - private ApiResponse readValidatingAdmissionPolicyWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty) throws ApiException { - okhttp3.Call localVarCall = readValidatingAdmissionPolicyValidateBeforeCall(name, pretty, null); - Type localVarReturnType = new TypeToken(){}.getType(); + private ApiResponse readMutatingAdmissionPolicyWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty) throws ApiException { + okhttp3.Call localVarCall = readMutatingAdmissionPolicyValidateBeforeCall(name, pretty, null); + Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } - private okhttp3.Call readValidatingAdmissionPolicyAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { + private okhttp3.Call readMutatingAdmissionPolicyAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = readValidatingAdmissionPolicyValidateBeforeCall(name, pretty, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); + okhttp3.Call localVarCall = readMutatingAdmissionPolicyValidateBeforeCall(name, pretty, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } - public class APIreadValidatingAdmissionPolicyRequest { + public class APIreadMutatingAdmissionPolicyRequest { @jakarta.annotation.Nonnull private final String name; @jakarta.annotation.Nullable private String pretty; - private APIreadValidatingAdmissionPolicyRequest(@jakarta.annotation.Nonnull String name) { + private APIreadMutatingAdmissionPolicyRequest(@jakarta.annotation.Nonnull String name) { this.name = name; } /** * Set pretty * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIreadValidatingAdmissionPolicyRequest + * @return APIreadMutatingAdmissionPolicyRequest */ - public APIreadValidatingAdmissionPolicyRequest pretty(@jakarta.annotation.Nullable String pretty) { + public APIreadMutatingAdmissionPolicyRequest pretty(@jakarta.annotation.Nullable String pretty) { this.pretty = pretty; return this; } /** - * Build call for readValidatingAdmissionPolicy + * Build call for readMutatingAdmissionPolicy * @param _callback ApiCallback API callback * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -3625,12 +3365,12 @@ public APIreadValidatingAdmissionPolicyRequest pretty(@jakarta.annotation.Nullab */ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return readValidatingAdmissionPolicyCall(name, pretty, _callback); + return readMutatingAdmissionPolicyCall(name, pretty, _callback); } /** - * Execute readValidatingAdmissionPolicy request - * @return V1beta1ValidatingAdmissionPolicy + * Execute readMutatingAdmissionPolicy request + * @return V1beta1MutatingAdmissionPolicy * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -3640,14 +3380,14 @@ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
401 Unauthorized -
*/ - public V1beta1ValidatingAdmissionPolicy execute() throws ApiException { - ApiResponse localVarResp = readValidatingAdmissionPolicyWithHttpInfo(name, pretty); + public V1beta1MutatingAdmissionPolicy execute() throws ApiException { + ApiResponse localVarResp = readMutatingAdmissionPolicyWithHttpInfo(name, pretty); return localVarResp.getData(); } /** - * Execute readValidatingAdmissionPolicy request with HTTP info returned - * @return ApiResponse<V1beta1ValidatingAdmissionPolicy> + * Execute readMutatingAdmissionPolicy request with HTTP info returned + * @return ApiResponse<V1beta1MutatingAdmissionPolicy> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -3657,12 +3397,12 @@ public V1beta1ValidatingAdmissionPolicy execute() throws ApiException {
401 Unauthorized -
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return readValidatingAdmissionPolicyWithHttpInfo(name, pretty); + public ApiResponse executeWithHttpInfo() throws ApiException { + return readMutatingAdmissionPolicyWithHttpInfo(name, pretty); } /** - * Execute readValidatingAdmissionPolicy request (asynchronously) + * Execute readMutatingAdmissionPolicy request (asynchronously) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -3674,16 +3414,16 @@ public ApiResponse executeWithHttpInfo() throw 401 Unauthorized - */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return readValidatingAdmissionPolicyAsync(name, pretty, _callback); + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return readMutatingAdmissionPolicyAsync(name, pretty, _callback); } } /** - * - * read the specified ValidatingAdmissionPolicy - * @param name name of the ValidatingAdmissionPolicy (required) - * @return APIreadValidatingAdmissionPolicyRequest + * + * read the specified MutatingAdmissionPolicy + * @param name name of the MutatingAdmissionPolicy (required) + * @return APIreadMutatingAdmissionPolicyRequest * @http.response.details @@ -3692,10 +3432,10 @@ public okhttp3.Call executeAsync(final ApiCallback
Response Details
401 Unauthorized -
*/ - public APIreadValidatingAdmissionPolicyRequest readValidatingAdmissionPolicy(@jakarta.annotation.Nonnull String name) { - return new APIreadValidatingAdmissionPolicyRequest(name); + public APIreadMutatingAdmissionPolicyRequest readMutatingAdmissionPolicy(@jakarta.annotation.Nonnull String name) { + return new APIreadMutatingAdmissionPolicyRequest(name); } - private okhttp3.Call readValidatingAdmissionPolicyBindingCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { + private okhttp3.Call readMutatingAdmissionPolicyBindingCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -3712,7 +3452,7 @@ private okhttp3.Call readValidatingAdmissionPolicyBindingCall(@jakarta.annotatio Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicybindings/{name}" + String localVarPath = "/apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicybindings/{name}" .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); @@ -3748,53 +3488,53 @@ private okhttp3.Call readValidatingAdmissionPolicyBindingCall(@jakarta.annotatio } @SuppressWarnings("rawtypes") - private okhttp3.Call readValidatingAdmissionPolicyBindingValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { + private okhttp3.Call readMutatingAdmissionPolicyBindingValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling readValidatingAdmissionPolicyBinding(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling readMutatingAdmissionPolicyBinding(Async)"); } - return readValidatingAdmissionPolicyBindingCall(name, pretty, _callback); + return readMutatingAdmissionPolicyBindingCall(name, pretty, _callback); } - private ApiResponse readValidatingAdmissionPolicyBindingWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty) throws ApiException { - okhttp3.Call localVarCall = readValidatingAdmissionPolicyBindingValidateBeforeCall(name, pretty, null); - Type localVarReturnType = new TypeToken(){}.getType(); + private ApiResponse readMutatingAdmissionPolicyBindingWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty) throws ApiException { + okhttp3.Call localVarCall = readMutatingAdmissionPolicyBindingValidateBeforeCall(name, pretty, null); + Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } - private okhttp3.Call readValidatingAdmissionPolicyBindingAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { + private okhttp3.Call readMutatingAdmissionPolicyBindingAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = readValidatingAdmissionPolicyBindingValidateBeforeCall(name, pretty, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); + okhttp3.Call localVarCall = readMutatingAdmissionPolicyBindingValidateBeforeCall(name, pretty, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } - public class APIreadValidatingAdmissionPolicyBindingRequest { + public class APIreadMutatingAdmissionPolicyBindingRequest { @jakarta.annotation.Nonnull private final String name; @jakarta.annotation.Nullable private String pretty; - private APIreadValidatingAdmissionPolicyBindingRequest(@jakarta.annotation.Nonnull String name) { + private APIreadMutatingAdmissionPolicyBindingRequest(@jakarta.annotation.Nonnull String name) { this.name = name; } /** * Set pretty * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIreadValidatingAdmissionPolicyBindingRequest + * @return APIreadMutatingAdmissionPolicyBindingRequest */ - public APIreadValidatingAdmissionPolicyBindingRequest pretty(@jakarta.annotation.Nullable String pretty) { + public APIreadMutatingAdmissionPolicyBindingRequest pretty(@jakarta.annotation.Nullable String pretty) { this.pretty = pretty; return this; } /** - * Build call for readValidatingAdmissionPolicyBinding + * Build call for readMutatingAdmissionPolicyBinding * @param _callback ApiCallback API callback * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -3807,12 +3547,12 @@ public APIreadValidatingAdmissionPolicyBindingRequest pretty(@jakarta.annotation */ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return readValidatingAdmissionPolicyBindingCall(name, pretty, _callback); + return readMutatingAdmissionPolicyBindingCall(name, pretty, _callback); } /** - * Execute readValidatingAdmissionPolicyBinding request - * @return V1beta1ValidatingAdmissionPolicyBinding + * Execute readMutatingAdmissionPolicyBinding request + * @return V1beta1MutatingAdmissionPolicyBinding * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -3822,14 +3562,14 @@ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
401 Unauthorized -
*/ - public V1beta1ValidatingAdmissionPolicyBinding execute() throws ApiException { - ApiResponse localVarResp = readValidatingAdmissionPolicyBindingWithHttpInfo(name, pretty); + public V1beta1MutatingAdmissionPolicyBinding execute() throws ApiException { + ApiResponse localVarResp = readMutatingAdmissionPolicyBindingWithHttpInfo(name, pretty); return localVarResp.getData(); } /** - * Execute readValidatingAdmissionPolicyBinding request with HTTP info returned - * @return ApiResponse<V1beta1ValidatingAdmissionPolicyBinding> + * Execute readMutatingAdmissionPolicyBinding request with HTTP info returned + * @return ApiResponse<V1beta1MutatingAdmissionPolicyBinding> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -3839,12 +3579,12 @@ public V1beta1ValidatingAdmissionPolicyBinding execute() throws ApiException {
401 Unauthorized -
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return readValidatingAdmissionPolicyBindingWithHttpInfo(name, pretty); + public ApiResponse executeWithHttpInfo() throws ApiException { + return readMutatingAdmissionPolicyBindingWithHttpInfo(name, pretty); } /** - * Execute readValidatingAdmissionPolicyBinding request (asynchronously) + * Execute readMutatingAdmissionPolicyBinding request (asynchronously) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -3856,16 +3596,16 @@ public ApiResponse executeWithHttpInfo( 401 Unauthorized - */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return readValidatingAdmissionPolicyBindingAsync(name, pretty, _callback); + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return readMutatingAdmissionPolicyBindingAsync(name, pretty, _callback); } } /** - * - * read the specified ValidatingAdmissionPolicyBinding - * @param name name of the ValidatingAdmissionPolicyBinding (required) - * @return APIreadValidatingAdmissionPolicyBindingRequest + * + * read the specified MutatingAdmissionPolicyBinding + * @param name name of the MutatingAdmissionPolicyBinding (required) + * @return APIreadMutatingAdmissionPolicyBindingRequest * @http.response.details @@ -3874,437 +3614,10 @@ public okhttp3.Call executeAsync(final ApiCallback
Response Details
401 Unauthorized -
*/ - public APIreadValidatingAdmissionPolicyBindingRequest readValidatingAdmissionPolicyBinding(@jakarta.annotation.Nonnull String name) { - return new APIreadValidatingAdmissionPolicyBindingRequest(name); - } - private okhttp3.Call readValidatingAdmissionPolicyStatusCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicies/{name}/status" - .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (pretty != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); - } - - final String[] localVarAccepts = { - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/cbor" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "BearerToken" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call readValidatingAdmissionPolicyStatusValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling readValidatingAdmissionPolicyStatus(Async)"); - } - - return readValidatingAdmissionPolicyStatusCall(name, pretty, _callback); - - } - - - private ApiResponse readValidatingAdmissionPolicyStatusWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty) throws ApiException { - okhttp3.Call localVarCall = readValidatingAdmissionPolicyStatusValidateBeforeCall(name, pretty, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - private okhttp3.Call readValidatingAdmissionPolicyStatusAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = readValidatingAdmissionPolicyStatusValidateBeforeCall(name, pretty, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - - public class APIreadValidatingAdmissionPolicyStatusRequest { - @jakarta.annotation.Nonnull - private final String name; - @jakarta.annotation.Nullable - private String pretty; - - private APIreadValidatingAdmissionPolicyStatusRequest(@jakarta.annotation.Nonnull String name) { - this.name = name; - } - - /** - * Set pretty - * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIreadValidatingAdmissionPolicyStatusRequest - */ - public APIreadValidatingAdmissionPolicyStatusRequest pretty(@jakarta.annotation.Nullable String pretty) { - this.pretty = pretty; - return this; - } - - /** - * Build call for readValidatingAdmissionPolicyStatus - * @param _callback ApiCallback API callback - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return readValidatingAdmissionPolicyStatusCall(name, pretty, _callback); - } - - /** - * Execute readValidatingAdmissionPolicyStatus request - * @return V1beta1ValidatingAdmissionPolicy - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public V1beta1ValidatingAdmissionPolicy execute() throws ApiException { - ApiResponse localVarResp = readValidatingAdmissionPolicyStatusWithHttpInfo(name, pretty); - return localVarResp.getData(); - } - - /** - * Execute readValidatingAdmissionPolicyStatus request with HTTP info returned - * @return ApiResponse<V1beta1ValidatingAdmissionPolicy> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public ApiResponse executeWithHttpInfo() throws ApiException { - return readValidatingAdmissionPolicyStatusWithHttpInfo(name, pretty); - } - - /** - * Execute readValidatingAdmissionPolicyStatus request (asynchronously) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return readValidatingAdmissionPolicyStatusAsync(name, pretty, _callback); - } - } - - /** - * - * read status of the specified ValidatingAdmissionPolicy - * @param name name of the ValidatingAdmissionPolicy (required) - * @return APIreadValidatingAdmissionPolicyStatusRequest - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public APIreadValidatingAdmissionPolicyStatusRequest readValidatingAdmissionPolicyStatus(@jakarta.annotation.Nonnull String name) { - return new APIreadValidatingAdmissionPolicyStatusRequest(name); - } - private okhttp3.Call replaceValidatingAdmissionPolicyCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1beta1ValidatingAdmissionPolicy body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = body; - - // create path and map variables - String localVarPath = "/apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicies/{name}" - .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (pretty != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); - } - - if (dryRun != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("dryRun", dryRun)); - } - - if (fieldManager != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldManager", fieldManager)); - } - - if (fieldValidation != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldValidation", fieldValidation)); - } - - final String[] localVarAccepts = { - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/cbor" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "BearerToken" }; - return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call replaceValidatingAdmissionPolicyValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1beta1ValidatingAdmissionPolicy body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling replaceValidatingAdmissionPolicy(Async)"); - } - - // verify the required parameter 'body' is set - if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling replaceValidatingAdmissionPolicy(Async)"); - } - - return replaceValidatingAdmissionPolicyCall(name, body, pretty, dryRun, fieldManager, fieldValidation, _callback); - - } - - - private ApiResponse replaceValidatingAdmissionPolicyWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1beta1ValidatingAdmissionPolicy body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation) throws ApiException { - okhttp3.Call localVarCall = replaceValidatingAdmissionPolicyValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - private okhttp3.Call replaceValidatingAdmissionPolicyAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1beta1ValidatingAdmissionPolicy body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = replaceValidatingAdmissionPolicyValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - - public class APIreplaceValidatingAdmissionPolicyRequest { - @jakarta.annotation.Nonnull - private final String name; - @jakarta.annotation.Nonnull - private final V1beta1ValidatingAdmissionPolicy body; - @jakarta.annotation.Nullable - private String pretty; - @jakarta.annotation.Nullable - private String dryRun; - @jakarta.annotation.Nullable - private String fieldManager; - @jakarta.annotation.Nullable - private String fieldValidation; - - private APIreplaceValidatingAdmissionPolicyRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1beta1ValidatingAdmissionPolicy body) { - this.name = name; - this.body = body; - } - - /** - * Set pretty - * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIreplaceValidatingAdmissionPolicyRequest - */ - public APIreplaceValidatingAdmissionPolicyRequest pretty(@jakarta.annotation.Nullable String pretty) { - this.pretty = pretty; - return this; - } - - /** - * Set dryRun - * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) - * @return APIreplaceValidatingAdmissionPolicyRequest - */ - public APIreplaceValidatingAdmissionPolicyRequest dryRun(@jakarta.annotation.Nullable String dryRun) { - this.dryRun = dryRun; - return this; - } - - /** - * Set fieldManager - * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) - * @return APIreplaceValidatingAdmissionPolicyRequest - */ - public APIreplaceValidatingAdmissionPolicyRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { - this.fieldManager = fieldManager; - return this; - } - - /** - * Set fieldValidation - * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) - * @return APIreplaceValidatingAdmissionPolicyRequest - */ - public APIreplaceValidatingAdmissionPolicyRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { - this.fieldValidation = fieldValidation; - return this; - } - - /** - * Build call for replaceValidatingAdmissionPolicy - * @param _callback ApiCallback API callback - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
- */ - public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return replaceValidatingAdmissionPolicyCall(name, body, pretty, dryRun, fieldManager, fieldValidation, _callback); - } - - /** - * Execute replaceValidatingAdmissionPolicy request - * @return V1beta1ValidatingAdmissionPolicy - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
- */ - public V1beta1ValidatingAdmissionPolicy execute() throws ApiException { - ApiResponse localVarResp = replaceValidatingAdmissionPolicyWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation); - return localVarResp.getData(); - } - - /** - * Execute replaceValidatingAdmissionPolicy request with HTTP info returned - * @return ApiResponse<V1beta1ValidatingAdmissionPolicy> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
- */ - public ApiResponse executeWithHttpInfo() throws ApiException { - return replaceValidatingAdmissionPolicyWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation); - } - - /** - * Execute replaceValidatingAdmissionPolicy request (asynchronously) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
- */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return replaceValidatingAdmissionPolicyAsync(name, body, pretty, dryRun, fieldManager, fieldValidation, _callback); - } - } - - /** - * - * replace the specified ValidatingAdmissionPolicy - * @param name name of the ValidatingAdmissionPolicy (required) - * @param body (required) - * @return APIreplaceValidatingAdmissionPolicyRequest - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
- */ - public APIreplaceValidatingAdmissionPolicyRequest replaceValidatingAdmissionPolicy(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1beta1ValidatingAdmissionPolicy body) { - return new APIreplaceValidatingAdmissionPolicyRequest(name, body); + public APIreadMutatingAdmissionPolicyBindingRequest readMutatingAdmissionPolicyBinding(@jakarta.annotation.Nonnull String name) { + return new APIreadMutatingAdmissionPolicyBindingRequest(name); } - private okhttp3.Call replaceValidatingAdmissionPolicyBindingCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1beta1ValidatingAdmissionPolicyBinding body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + private okhttp3.Call replaceMutatingAdmissionPolicyCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1beta1MutatingAdmissionPolicy body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -4321,7 +3634,7 @@ private okhttp3.Call replaceValidatingAdmissionPolicyBindingCall(@jakarta.annota Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicybindings/{name}" + String localVarPath = "/apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicies/{name}" .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); @@ -4370,41 +3683,41 @@ private okhttp3.Call replaceValidatingAdmissionPolicyBindingCall(@jakarta.annota } @SuppressWarnings("rawtypes") - private okhttp3.Call replaceValidatingAdmissionPolicyBindingValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1beta1ValidatingAdmissionPolicyBinding body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + private okhttp3.Call replaceMutatingAdmissionPolicyValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1beta1MutatingAdmissionPolicy body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling replaceValidatingAdmissionPolicyBinding(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling replaceMutatingAdmissionPolicy(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling replaceValidatingAdmissionPolicyBinding(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling replaceMutatingAdmissionPolicy(Async)"); } - return replaceValidatingAdmissionPolicyBindingCall(name, body, pretty, dryRun, fieldManager, fieldValidation, _callback); + return replaceMutatingAdmissionPolicyCall(name, body, pretty, dryRun, fieldManager, fieldValidation, _callback); } - private ApiResponse replaceValidatingAdmissionPolicyBindingWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1beta1ValidatingAdmissionPolicyBinding body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation) throws ApiException { - okhttp3.Call localVarCall = replaceValidatingAdmissionPolicyBindingValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, null); - Type localVarReturnType = new TypeToken(){}.getType(); + private ApiResponse replaceMutatingAdmissionPolicyWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1beta1MutatingAdmissionPolicy body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation) throws ApiException { + okhttp3.Call localVarCall = replaceMutatingAdmissionPolicyValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, null); + Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } - private okhttp3.Call replaceValidatingAdmissionPolicyBindingAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1beta1ValidatingAdmissionPolicyBinding body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + private okhttp3.Call replaceMutatingAdmissionPolicyAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1beta1MutatingAdmissionPolicy body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = replaceValidatingAdmissionPolicyBindingValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); + okhttp3.Call localVarCall = replaceMutatingAdmissionPolicyValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } - public class APIreplaceValidatingAdmissionPolicyBindingRequest { + public class APIreplaceMutatingAdmissionPolicyRequest { @jakarta.annotation.Nonnull private final String name; @jakarta.annotation.Nonnull - private final V1beta1ValidatingAdmissionPolicyBinding body; + private final V1beta1MutatingAdmissionPolicy body; @jakarta.annotation.Nullable private String pretty; @jakarta.annotation.Nullable @@ -4414,7 +3727,7 @@ public class APIreplaceValidatingAdmissionPolicyBindingRequest { @jakarta.annotation.Nullable private String fieldValidation; - private APIreplaceValidatingAdmissionPolicyBindingRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1beta1ValidatingAdmissionPolicyBinding body) { + private APIreplaceMutatingAdmissionPolicyRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1beta1MutatingAdmissionPolicy body) { this.name = name; this.body = body; } @@ -4422,9 +3735,9 @@ private APIreplaceValidatingAdmissionPolicyBindingRequest(@jakarta.annotation.No /** * Set pretty * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIreplaceValidatingAdmissionPolicyBindingRequest + * @return APIreplaceMutatingAdmissionPolicyRequest */ - public APIreplaceValidatingAdmissionPolicyBindingRequest pretty(@jakarta.annotation.Nullable String pretty) { + public APIreplaceMutatingAdmissionPolicyRequest pretty(@jakarta.annotation.Nullable String pretty) { this.pretty = pretty; return this; } @@ -4432,9 +3745,9 @@ public APIreplaceValidatingAdmissionPolicyBindingRequest pretty(@jakarta.annotat /** * Set dryRun * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) - * @return APIreplaceValidatingAdmissionPolicyBindingRequest + * @return APIreplaceMutatingAdmissionPolicyRequest */ - public APIreplaceValidatingAdmissionPolicyBindingRequest dryRun(@jakarta.annotation.Nullable String dryRun) { + public APIreplaceMutatingAdmissionPolicyRequest dryRun(@jakarta.annotation.Nullable String dryRun) { this.dryRun = dryRun; return this; } @@ -4442,9 +3755,9 @@ public APIreplaceValidatingAdmissionPolicyBindingRequest dryRun(@jakarta.annotat /** * Set fieldManager * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) - * @return APIreplaceValidatingAdmissionPolicyBindingRequest + * @return APIreplaceMutatingAdmissionPolicyRequest */ - public APIreplaceValidatingAdmissionPolicyBindingRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { + public APIreplaceMutatingAdmissionPolicyRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { this.fieldManager = fieldManager; return this; } @@ -4452,15 +3765,15 @@ public APIreplaceValidatingAdmissionPolicyBindingRequest fieldManager(@jakarta.a /** * Set fieldValidation * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) - * @return APIreplaceValidatingAdmissionPolicyBindingRequest + * @return APIreplaceMutatingAdmissionPolicyRequest */ - public APIreplaceValidatingAdmissionPolicyBindingRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { + public APIreplaceMutatingAdmissionPolicyRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { this.fieldValidation = fieldValidation; return this; } /** - * Build call for replaceValidatingAdmissionPolicyBinding + * Build call for replaceMutatingAdmissionPolicy * @param _callback ApiCallback API callback * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -4474,12 +3787,12 @@ public APIreplaceValidatingAdmissionPolicyBindingRequest fieldValidation(@jakart */ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return replaceValidatingAdmissionPolicyBindingCall(name, body, pretty, dryRun, fieldManager, fieldValidation, _callback); + return replaceMutatingAdmissionPolicyCall(name, body, pretty, dryRun, fieldManager, fieldValidation, _callback); } /** - * Execute replaceValidatingAdmissionPolicyBinding request - * @return V1beta1ValidatingAdmissionPolicyBinding + * Execute replaceMutatingAdmissionPolicy request + * @return V1beta1MutatingAdmissionPolicy * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -4490,14 +3803,14 @@ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
401 Unauthorized -
*/ - public V1beta1ValidatingAdmissionPolicyBinding execute() throws ApiException { - ApiResponse localVarResp = replaceValidatingAdmissionPolicyBindingWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation); + public V1beta1MutatingAdmissionPolicy execute() throws ApiException { + ApiResponse localVarResp = replaceMutatingAdmissionPolicyWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation); return localVarResp.getData(); } /** - * Execute replaceValidatingAdmissionPolicyBinding request with HTTP info returned - * @return ApiResponse<V1beta1ValidatingAdmissionPolicyBinding> + * Execute replaceMutatingAdmissionPolicy request with HTTP info returned + * @return ApiResponse<V1beta1MutatingAdmissionPolicy> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -4508,12 +3821,12 @@ public V1beta1ValidatingAdmissionPolicyBinding execute() throws ApiException {
401 Unauthorized -
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return replaceValidatingAdmissionPolicyBindingWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation); + public ApiResponse executeWithHttpInfo() throws ApiException { + return replaceMutatingAdmissionPolicyWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation); } /** - * Execute replaceValidatingAdmissionPolicyBinding request (asynchronously) + * Execute replaceMutatingAdmissionPolicy request (asynchronously) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -4526,17 +3839,17 @@ public ApiResponse executeWithHttpInfo( 401 Unauthorized - */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return replaceValidatingAdmissionPolicyBindingAsync(name, body, pretty, dryRun, fieldManager, fieldValidation, _callback); + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return replaceMutatingAdmissionPolicyAsync(name, body, pretty, dryRun, fieldManager, fieldValidation, _callback); } } /** - * - * replace the specified ValidatingAdmissionPolicyBinding - * @param name name of the ValidatingAdmissionPolicyBinding (required) + * + * replace the specified MutatingAdmissionPolicy + * @param name name of the MutatingAdmissionPolicy (required) * @param body (required) - * @return APIreplaceValidatingAdmissionPolicyBindingRequest + * @return APIreplaceMutatingAdmissionPolicyRequest * @http.response.details @@ -4546,10 +3859,10 @@ public okhttp3.Call executeAsync(final ApiCallback
Response Details
401 Unauthorized -
*/ - public APIreplaceValidatingAdmissionPolicyBindingRequest replaceValidatingAdmissionPolicyBinding(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1beta1ValidatingAdmissionPolicyBinding body) { - return new APIreplaceValidatingAdmissionPolicyBindingRequest(name, body); + public APIreplaceMutatingAdmissionPolicyRequest replaceMutatingAdmissionPolicy(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1beta1MutatingAdmissionPolicy body) { + return new APIreplaceMutatingAdmissionPolicyRequest(name, body); } - private okhttp3.Call replaceValidatingAdmissionPolicyStatusCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1beta1ValidatingAdmissionPolicy body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + private okhttp3.Call replaceMutatingAdmissionPolicyBindingCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1beta1MutatingAdmissionPolicyBinding body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -4566,7 +3879,7 @@ private okhttp3.Call replaceValidatingAdmissionPolicyStatusCall(@jakarta.annotat Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicies/{name}/status" + String localVarPath = "/apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicybindings/{name}" .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); @@ -4615,41 +3928,41 @@ private okhttp3.Call replaceValidatingAdmissionPolicyStatusCall(@jakarta.annotat } @SuppressWarnings("rawtypes") - private okhttp3.Call replaceValidatingAdmissionPolicyStatusValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1beta1ValidatingAdmissionPolicy body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + private okhttp3.Call replaceMutatingAdmissionPolicyBindingValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1beta1MutatingAdmissionPolicyBinding body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling replaceValidatingAdmissionPolicyStatus(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling replaceMutatingAdmissionPolicyBinding(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling replaceValidatingAdmissionPolicyStatus(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling replaceMutatingAdmissionPolicyBinding(Async)"); } - return replaceValidatingAdmissionPolicyStatusCall(name, body, pretty, dryRun, fieldManager, fieldValidation, _callback); + return replaceMutatingAdmissionPolicyBindingCall(name, body, pretty, dryRun, fieldManager, fieldValidation, _callback); } - private ApiResponse replaceValidatingAdmissionPolicyStatusWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1beta1ValidatingAdmissionPolicy body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation) throws ApiException { - okhttp3.Call localVarCall = replaceValidatingAdmissionPolicyStatusValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, null); - Type localVarReturnType = new TypeToken(){}.getType(); + private ApiResponse replaceMutatingAdmissionPolicyBindingWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1beta1MutatingAdmissionPolicyBinding body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation) throws ApiException { + okhttp3.Call localVarCall = replaceMutatingAdmissionPolicyBindingValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, null); + Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } - private okhttp3.Call replaceValidatingAdmissionPolicyStatusAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1beta1ValidatingAdmissionPolicy body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + private okhttp3.Call replaceMutatingAdmissionPolicyBindingAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1beta1MutatingAdmissionPolicyBinding body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = replaceValidatingAdmissionPolicyStatusValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); + okhttp3.Call localVarCall = replaceMutatingAdmissionPolicyBindingValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } - public class APIreplaceValidatingAdmissionPolicyStatusRequest { + public class APIreplaceMutatingAdmissionPolicyBindingRequest { @jakarta.annotation.Nonnull private final String name; @jakarta.annotation.Nonnull - private final V1beta1ValidatingAdmissionPolicy body; + private final V1beta1MutatingAdmissionPolicyBinding body; @jakarta.annotation.Nullable private String pretty; @jakarta.annotation.Nullable @@ -4659,7 +3972,7 @@ public class APIreplaceValidatingAdmissionPolicyStatusRequest { @jakarta.annotation.Nullable private String fieldValidation; - private APIreplaceValidatingAdmissionPolicyStatusRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1beta1ValidatingAdmissionPolicy body) { + private APIreplaceMutatingAdmissionPolicyBindingRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1beta1MutatingAdmissionPolicyBinding body) { this.name = name; this.body = body; } @@ -4667,9 +3980,9 @@ private APIreplaceValidatingAdmissionPolicyStatusRequest(@jakarta.annotation.Non /** * Set pretty * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIreplaceValidatingAdmissionPolicyStatusRequest + * @return APIreplaceMutatingAdmissionPolicyBindingRequest */ - public APIreplaceValidatingAdmissionPolicyStatusRequest pretty(@jakarta.annotation.Nullable String pretty) { + public APIreplaceMutatingAdmissionPolicyBindingRequest pretty(@jakarta.annotation.Nullable String pretty) { this.pretty = pretty; return this; } @@ -4677,9 +3990,9 @@ public APIreplaceValidatingAdmissionPolicyStatusRequest pretty(@jakarta.annotati /** * Set dryRun * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) - * @return APIreplaceValidatingAdmissionPolicyStatusRequest + * @return APIreplaceMutatingAdmissionPolicyBindingRequest */ - public APIreplaceValidatingAdmissionPolicyStatusRequest dryRun(@jakarta.annotation.Nullable String dryRun) { + public APIreplaceMutatingAdmissionPolicyBindingRequest dryRun(@jakarta.annotation.Nullable String dryRun) { this.dryRun = dryRun; return this; } @@ -4687,9 +4000,9 @@ public APIreplaceValidatingAdmissionPolicyStatusRequest dryRun(@jakarta.annotati /** * Set fieldManager * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) - * @return APIreplaceValidatingAdmissionPolicyStatusRequest + * @return APIreplaceMutatingAdmissionPolicyBindingRequest */ - public APIreplaceValidatingAdmissionPolicyStatusRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { + public APIreplaceMutatingAdmissionPolicyBindingRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { this.fieldManager = fieldManager; return this; } @@ -4697,15 +4010,15 @@ public APIreplaceValidatingAdmissionPolicyStatusRequest fieldManager(@jakarta.an /** * Set fieldValidation * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) - * @return APIreplaceValidatingAdmissionPolicyStatusRequest + * @return APIreplaceMutatingAdmissionPolicyBindingRequest */ - public APIreplaceValidatingAdmissionPolicyStatusRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { + public APIreplaceMutatingAdmissionPolicyBindingRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { this.fieldValidation = fieldValidation; return this; } /** - * Build call for replaceValidatingAdmissionPolicyStatus + * Build call for replaceMutatingAdmissionPolicyBinding * @param _callback ApiCallback API callback * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -4719,12 +4032,12 @@ public APIreplaceValidatingAdmissionPolicyStatusRequest fieldValidation(@jakarta */ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return replaceValidatingAdmissionPolicyStatusCall(name, body, pretty, dryRun, fieldManager, fieldValidation, _callback); + return replaceMutatingAdmissionPolicyBindingCall(name, body, pretty, dryRun, fieldManager, fieldValidation, _callback); } /** - * Execute replaceValidatingAdmissionPolicyStatus request - * @return V1beta1ValidatingAdmissionPolicy + * Execute replaceMutatingAdmissionPolicyBinding request + * @return V1beta1MutatingAdmissionPolicyBinding * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -4735,14 +4048,14 @@ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
401 Unauthorized -
*/ - public V1beta1ValidatingAdmissionPolicy execute() throws ApiException { - ApiResponse localVarResp = replaceValidatingAdmissionPolicyStatusWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation); + public V1beta1MutatingAdmissionPolicyBinding execute() throws ApiException { + ApiResponse localVarResp = replaceMutatingAdmissionPolicyBindingWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation); return localVarResp.getData(); } /** - * Execute replaceValidatingAdmissionPolicyStatus request with HTTP info returned - * @return ApiResponse<V1beta1ValidatingAdmissionPolicy> + * Execute replaceMutatingAdmissionPolicyBinding request with HTTP info returned + * @return ApiResponse<V1beta1MutatingAdmissionPolicyBinding> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -4753,12 +4066,12 @@ public V1beta1ValidatingAdmissionPolicy execute() throws ApiException {
401 Unauthorized -
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return replaceValidatingAdmissionPolicyStatusWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation); + public ApiResponse executeWithHttpInfo() throws ApiException { + return replaceMutatingAdmissionPolicyBindingWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation); } /** - * Execute replaceValidatingAdmissionPolicyStatus request (asynchronously) + * Execute replaceMutatingAdmissionPolicyBinding request (asynchronously) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -4771,17 +4084,17 @@ public ApiResponse executeWithHttpInfo() throw 401 Unauthorized - */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return replaceValidatingAdmissionPolicyStatusAsync(name, body, pretty, dryRun, fieldManager, fieldValidation, _callback); + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return replaceMutatingAdmissionPolicyBindingAsync(name, body, pretty, dryRun, fieldManager, fieldValidation, _callback); } } /** - * - * replace status of the specified ValidatingAdmissionPolicy - * @param name name of the ValidatingAdmissionPolicy (required) + * + * replace the specified MutatingAdmissionPolicyBinding + * @param name name of the MutatingAdmissionPolicyBinding (required) * @param body (required) - * @return APIreplaceValidatingAdmissionPolicyStatusRequest + * @return APIreplaceMutatingAdmissionPolicyBindingRequest * @http.response.details @@ -4791,7 +4104,7 @@ public okhttp3.Call executeAsync(final ApiCallback
Response Details
401 Unauthorized -
*/ - public APIreplaceValidatingAdmissionPolicyStatusRequest replaceValidatingAdmissionPolicyStatus(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1beta1ValidatingAdmissionPolicy body) { - return new APIreplaceValidatingAdmissionPolicyStatusRequest(name, body); + public APIreplaceMutatingAdmissionPolicyBindingRequest replaceMutatingAdmissionPolicyBinding(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1beta1MutatingAdmissionPolicyBinding body) { + return new APIreplaceMutatingAdmissionPolicyBindingRequest(name, body); } } diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ApiextensionsApi.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ApiextensionsApi.java index 72f4d95fe4..f3d2cce226 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ApiextensionsApi.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ApiextensionsApi.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.apis; import io.kubernetes.client.openapi.ApiCallback; @@ -212,7 +213,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws } /** - * + * * get information of a group * @return APIgetAPIGroupRequest * @http.response.details diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ApiextensionsV1Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ApiextensionsV1Api.java index 6849111e79..707f55e73a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ApiextensionsV1Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ApiextensionsV1Api.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.apis; import io.kubernetes.client.openapi.ApiCallback; @@ -299,7 +300,7 @@ public okhttp3.Call executeAsync(final ApiCallback _ } /** - * + * * create a CustomResourceDefinition * @param body (required) * @return APIcreateCustomResourceDefinitionRequest @@ -695,7 +696,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of CustomResourceDefinition * @return APIdeleteCollectionCustomResourceDefinitionRequest * @http.response.details @@ -973,7 +974,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete a CustomResourceDefinition * @param name name of the CustomResourceDefinition (required) * @return APIdeleteCustomResourceDefinitionRequest @@ -1131,7 +1132,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) } /** - * + * * get available resources * @return APIgetAPIResourcesRequest * @http.response.details @@ -1466,7 +1467,7 @@ public okhttp3.Call executeAsync(final ApiCallback _ } /** - * + * * partially update the specified CustomResourceDefinition * @param name name of the CustomResourceDefinition (required) * @param body (required) @@ -1985,7 +1986,7 @@ public okhttp3.Call executeAsync(final ApiCallback _ } /** - * + * * partially update status of the specified CustomResourceDefinition * @param name name of the CustomResourceDefinition (required) * @param body (required) @@ -2169,7 +2170,7 @@ public okhttp3.Call executeAsync(final ApiCallback _ } /** - * + * * read the specified CustomResourceDefinition * @param name name of the CustomResourceDefinition (required) * @return APIreadCustomResourceDefinitionRequest @@ -2351,7 +2352,7 @@ public okhttp3.Call executeAsync(final ApiCallback _ } /** - * + * * read status of the specified CustomResourceDefinition * @param name name of the CustomResourceDefinition (required) * @return APIreadCustomResourceDefinitionStatusRequest @@ -2594,7 +2595,7 @@ public okhttp3.Call executeAsync(final ApiCallback _ } /** - * + * * replace the specified CustomResourceDefinition * @param name name of the CustomResourceDefinition (required) * @param body (required) @@ -2839,7 +2840,7 @@ public okhttp3.Call executeAsync(final ApiCallback _ } /** - * + * * replace status of the specified CustomResourceDefinition * @param name name of the CustomResourceDefinition (required) * @param body (required) diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ApiregistrationApi.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ApiregistrationApi.java index dbae624c76..542036697d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ApiregistrationApi.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ApiregistrationApi.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.apis; import io.kubernetes.client.openapi.ApiCallback; @@ -212,7 +213,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws } /** - * + * * get information of a group * @return APIgetAPIGroupRequest * @http.response.details diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ApiregistrationV1Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ApiregistrationV1Api.java index a011d8e584..4f5e6cab6a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ApiregistrationV1Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ApiregistrationV1Api.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.apis; import io.kubernetes.client.openapi.ApiCallback; @@ -299,7 +300,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thro } /** - * + * * create an APIService * @param body (required) * @return APIcreateAPIServiceRequest @@ -580,7 +581,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete an APIService * @param name name of the APIService (required) * @return APIdeleteAPIServiceRequest @@ -975,7 +976,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of APIService * @return APIdeleteCollectionAPIServiceRequest * @http.response.details @@ -1131,7 +1132,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) } /** - * + * * get available resources * @return APIgetAPIResourcesRequest * @http.response.details @@ -1466,7 +1467,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) } /** - * + * * list or watch objects of kind APIService * @return APIlistAPIServiceRequest * @http.response.details @@ -1724,7 +1725,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thro } /** - * + * * partially update the specified APIService * @param name name of the APIService (required) * @param body (required) @@ -1985,7 +1986,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thro } /** - * + * * partially update status of the specified APIService * @param name name of the APIService (required) * @param body (required) @@ -2169,7 +2170,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thro } /** - * + * * read the specified APIService * @param name name of the APIService (required) * @return APIreadAPIServiceRequest @@ -2351,7 +2352,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thro } /** - * + * * read status of the specified APIService * @param name name of the APIService (required) * @return APIreadAPIServiceStatusRequest @@ -2594,7 +2595,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thro } /** - * + * * replace the specified APIService * @param name name of the APIService (required) * @param body (required) @@ -2839,7 +2840,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thro } /** - * + * * replace status of the specified APIService * @param name name of the APIService (required) * @param body (required) diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ApisApi.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ApisApi.java index 1d75105954..79ba4acf3b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ApisApi.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ApisApi.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.apis; import io.kubernetes.client.openapi.ApiCallback; @@ -212,7 +213,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) th } /** - * + * * get available API versions * @return APIgetAPIVersionsRequest * @http.response.details diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AppsApi.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AppsApi.java index cc5603483c..d8ead2a1b2 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AppsApi.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AppsApi.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.apis; import io.kubernetes.client.openapi.ApiCallback; @@ -212,7 +213,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws } /** - * + * * get information of a group * @return APIgetAPIGroupRequest * @http.response.details diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AppsV1Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AppsV1Api.java index 5f1c28364a..e981ac22b3 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AppsV1Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AppsV1Api.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.apis; import io.kubernetes.client.openapi.ApiCallback; @@ -317,7 +318,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callba } /** - * + * * create a ControllerRevision * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -567,7 +568,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throw } /** - * + * * create a DaemonSet * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -817,7 +818,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thro } /** - * + * * create a Deployment * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -1067,7 +1068,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thro } /** - * + * * create a ReplicaSet * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -1317,7 +1318,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thr } /** - * + * * create a StatefulSet * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -1723,7 +1724,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of ControllerRevision * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIdeleteCollectionNamespacedControllerRevisionRequest @@ -2126,7 +2127,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of DaemonSet * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIdeleteCollectionNamespacedDaemonSetRequest @@ -2529,7 +2530,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of Deployment * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIdeleteCollectionNamespacedDeploymentRequest @@ -2932,7 +2933,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of ReplicaSet * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIdeleteCollectionNamespacedReplicaSetRequest @@ -3335,7 +3336,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of StatefulSet * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIdeleteCollectionNamespacedStatefulSetRequest @@ -3623,7 +3624,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete a ControllerRevision * @param name name of the ControllerRevision (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -3913,7 +3914,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete a DaemonSet * @param name name of the DaemonSet (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -4203,7 +4204,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete a Deployment * @param name name of the Deployment (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -4493,7 +4494,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete a ReplicaSet * @param name name of the ReplicaSet (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -4783,7 +4784,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete a StatefulSet * @param name name of the StatefulSet (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -4942,7 +4943,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) } /** - * + * * get available resources * @return APIgetAPIResourcesRequest * @http.response.details @@ -5277,7 +5278,7 @@ public okhttp3.Call executeAsync(final ApiCallback _ca } /** - * + * * list or watch objects of kind ControllerRevision * @return APIlistControllerRevisionForAllNamespacesRequest * @http.response.details @@ -5612,7 +5613,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) t } /** - * + * * list or watch objects of kind DaemonSet * @return APIlistDaemonSetForAllNamespacesRequest * @http.response.details @@ -5947,7 +5948,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) } /** - * + * * list or watch objects of kind Deployment * @return APIlistDeploymentForAllNamespacesRequest * @http.response.details @@ -6291,7 +6292,7 @@ public okhttp3.Call executeAsync(final ApiCallback _ca } /** - * + * * list or watch objects of kind ControllerRevision * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIlistNamespacedControllerRevisionRequest @@ -6636,7 +6637,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) t } /** - * + * * list or watch objects of kind DaemonSet * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIlistNamespacedDaemonSetRequest @@ -6981,7 +6982,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) } /** - * + * * list or watch objects of kind Deployment * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIlistNamespacedDeploymentRequest @@ -7326,7 +7327,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) } /** - * + * * list or watch objects of kind ReplicaSet * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIlistNamespacedReplicaSetRequest @@ -7671,7 +7672,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) } /** - * + * * list or watch objects of kind StatefulSet * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIlistNamespacedStatefulSetRequest @@ -8007,7 +8008,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) } /** - * + * * list or watch objects of kind ReplicaSet * @return APIlistReplicaSetForAllNamespacesRequest * @http.response.details @@ -8342,7 +8343,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) } /** - * + * * list or watch objects of kind StatefulSet * @return APIlistStatefulSetForAllNamespacesRequest * @http.response.details @@ -8609,7 +8610,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callba } /** - * + * * partially update the specified ControllerRevision * @param name name of the ControllerRevision (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -8880,7 +8881,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throw } /** - * + * * partially update the specified DaemonSet * @param name name of the DaemonSet (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -9151,7 +9152,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throw } /** - * + * * partially update status of the specified DaemonSet * @param name name of the DaemonSet (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -9422,7 +9423,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thro } /** - * + * * partially update the specified Deployment * @param name name of the Deployment (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -9693,7 +9694,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Ap } /** - * + * * partially update scale of the specified Deployment * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -9964,7 +9965,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thro } /** - * + * * partially update status of the specified Deployment * @param name name of the Deployment (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -10235,7 +10236,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thro } /** - * + * * partially update the specified ReplicaSet * @param name name of the ReplicaSet (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -10506,7 +10507,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Ap } /** - * + * * partially update scale of the specified ReplicaSet * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -10777,7 +10778,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thro } /** - * + * * partially update status of the specified ReplicaSet * @param name name of the ReplicaSet (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -11048,7 +11049,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thr } /** - * + * * partially update the specified StatefulSet * @param name name of the StatefulSet (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -11319,7 +11320,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Ap } /** - * + * * partially update scale of the specified StatefulSet * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -11590,7 +11591,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thr } /** - * + * * partially update status of the specified StatefulSet * @param name name of the StatefulSet (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -11784,7 +11785,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callba } /** - * + * * read the specified ControllerRevision * @param name name of the ControllerRevision (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -11976,7 +11977,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throw } /** - * + * * read the specified DaemonSet * @param name name of the DaemonSet (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -12168,7 +12169,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throw } /** - * + * * read status of the specified DaemonSet * @param name name of the DaemonSet (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -12360,7 +12361,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thro } /** - * + * * read the specified Deployment * @param name name of the Deployment (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -12552,7 +12553,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Ap } /** - * + * * read scale of the specified Deployment * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -12744,7 +12745,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thro } /** - * + * * read status of the specified Deployment * @param name name of the Deployment (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -12936,7 +12937,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thro } /** - * + * * read the specified ReplicaSet * @param name name of the ReplicaSet (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -13128,7 +13129,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Ap } /** - * + * * read scale of the specified ReplicaSet * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -13320,7 +13321,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thro } /** - * + * * read status of the specified ReplicaSet * @param name name of the ReplicaSet (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -13512,7 +13513,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thr } /** - * + * * read the specified StatefulSet * @param name name of the StatefulSet (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -13704,7 +13705,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Ap } /** - * + * * read scale of the specified StatefulSet * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -13896,7 +13897,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thr } /** - * + * * read status of the specified StatefulSet * @param name name of the StatefulSet (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -14149,7 +14150,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callba } /** - * + * * replace the specified ControllerRevision * @param name name of the ControllerRevision (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -14404,7 +14405,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throw } /** - * + * * replace the specified DaemonSet * @param name name of the DaemonSet (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -14659,7 +14660,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throw } /** - * + * * replace status of the specified DaemonSet * @param name name of the DaemonSet (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -14914,7 +14915,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thro } /** - * + * * replace the specified Deployment * @param name name of the Deployment (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -15169,7 +15170,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Ap } /** - * + * * replace scale of the specified Deployment * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -15424,7 +15425,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thro } /** - * + * * replace status of the specified Deployment * @param name name of the Deployment (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -15679,7 +15680,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thro } /** - * + * * replace the specified ReplicaSet * @param name name of the ReplicaSet (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -15934,7 +15935,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Ap } /** - * + * * replace scale of the specified ReplicaSet * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -16189,7 +16190,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thro } /** - * + * * replace status of the specified ReplicaSet * @param name name of the ReplicaSet (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -16444,7 +16445,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thr } /** - * + * * replace the specified StatefulSet * @param name name of the StatefulSet (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -16699,7 +16700,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Ap } /** - * + * * replace scale of the specified StatefulSet * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -16954,7 +16955,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thr } /** - * + * * replace status of the specified StatefulSet * @param name name of the StatefulSet (required) * @param namespace object name and auth scope, such as for teams and projects (required) diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AuthenticationApi.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AuthenticationApi.java index 9c967600e6..746ebd81f1 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AuthenticationApi.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AuthenticationApi.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.apis; import io.kubernetes.client.openapi.ApiCallback; @@ -212,7 +213,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws } /** - * + * * get information of a group * @return APIgetAPIGroupRequest * @http.response.details diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AuthenticationV1Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AuthenticationV1Api.java index 5e6b61e94d..a3c2920495 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AuthenticationV1Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AuthenticationV1Api.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.apis; import io.kubernetes.client.openapi.ApiCallback; @@ -296,7 +297,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callbac } /** - * + * * create a SelfSubjectReview * @param body (required) * @return APIcreateSelfSubjectReviewRequest @@ -536,7 +537,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thr } /** - * + * * create a TokenReview * @param body (required) * @return APIcreateTokenReviewRequest @@ -695,7 +696,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) } /** - * + * * get available resources * @return APIgetAPIResourcesRequest * @http.response.details diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AuthorizationApi.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AuthorizationApi.java index 825184e955..63be1105a5 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AuthorizationApi.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AuthorizationApi.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.apis; import io.kubernetes.client.openapi.ApiCallback; @@ -212,7 +213,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws } /** - * + * * get information of a group * @return APIgetAPIGroupRequest * @http.response.details diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AuthorizationV1Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AuthorizationV1Api.java index 1d0fe2ff2a..82ea88829c 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AuthorizationV1Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AuthorizationV1Api.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.apis; import io.kubernetes.client.openapi.ApiCallback; @@ -307,7 +308,7 @@ public okhttp3.Call executeAsync(final ApiCallback _ } /** - * + * * create a LocalSubjectAccessReview * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -548,7 +549,7 @@ public okhttp3.Call executeAsync(final ApiCallback _c } /** - * + * * create a SelfSubjectAccessReview * @param body (required) * @return APIcreateSelfSubjectAccessReviewRequest @@ -788,7 +789,7 @@ public okhttp3.Call executeAsync(final ApiCallback _ca } /** - * + * * create a SelfSubjectRulesReview * @param body (required) * @return APIcreateSelfSubjectRulesReviewRequest @@ -1028,7 +1029,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callb } /** - * + * * create a SubjectAccessReview * @param body (required) * @return APIcreateSubjectAccessReviewRequest @@ -1187,7 +1188,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) } /** - * + * * get available resources * @return APIgetAPIResourcesRequest * @http.response.details diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AutoscalingApi.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AutoscalingApi.java index 305a1b013b..d26fe46620 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AutoscalingApi.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AutoscalingApi.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.apis; import io.kubernetes.client.openapi.ApiCallback; @@ -212,7 +213,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws } /** - * + * * get information of a group * @return APIgetAPIGroupRequest * @http.response.details diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AutoscalingV1Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AutoscalingV1Api.java index 4d2150215e..508bb8e074 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AutoscalingV1Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AutoscalingV1Api.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.apis; import io.kubernetes.client.openapi.ApiCallback; @@ -308,7 +309,7 @@ public okhttp3.Call executeAsync(final ApiCallback _c } /** - * + * * create a HorizontalPodAutoscaler * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -714,7 +715,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of HorizontalPodAutoscaler * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIdeleteCollectionNamespacedHorizontalPodAutoscalerRequest @@ -1002,7 +1003,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete a HorizontalPodAutoscaler * @param name name of the HorizontalPodAutoscaler (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -1161,7 +1162,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) } /** - * + * * get available resources * @return APIgetAPIResourcesRequest * @http.response.details @@ -1496,7 +1497,7 @@ public okhttp3.Call executeAsync(final ApiCallback _c } /** - * + * * partially update the specified HorizontalPodAutoscaler * @param name name of the HorizontalPodAutoscaler (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -2379,7 +2380,7 @@ public okhttp3.Call executeAsync(final ApiCallback _c } /** - * + * * partially update status of the specified HorizontalPodAutoscaler * @param name name of the HorizontalPodAutoscaler (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -2573,7 +2574,7 @@ public okhttp3.Call executeAsync(final ApiCallback _c } /** - * + * * read the specified HorizontalPodAutoscaler * @param name name of the HorizontalPodAutoscaler (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -2765,7 +2766,7 @@ public okhttp3.Call executeAsync(final ApiCallback _c } /** - * + * * read status of the specified HorizontalPodAutoscaler * @param name name of the HorizontalPodAutoscaler (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -3018,7 +3019,7 @@ public okhttp3.Call executeAsync(final ApiCallback _c } /** - * + * * replace the specified HorizontalPodAutoscaler * @param name name of the HorizontalPodAutoscaler (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -3273,7 +3274,7 @@ public okhttp3.Call executeAsync(final ApiCallback _c } /** - * + * * replace status of the specified HorizontalPodAutoscaler * @param name name of the HorizontalPodAutoscaler (required) * @param namespace object name and auth scope, such as for teams and projects (required) diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AutoscalingV2Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AutoscalingV2Api.java index 2a96543269..fae9f4bda2 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AutoscalingV2Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AutoscalingV2Api.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.apis; import io.kubernetes.client.openapi.ApiCallback; @@ -308,7 +309,7 @@ public okhttp3.Call executeAsync(final ApiCallback _c } /** - * + * * create a HorizontalPodAutoscaler * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -714,7 +715,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of HorizontalPodAutoscaler * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIdeleteCollectionNamespacedHorizontalPodAutoscalerRequest @@ -1002,7 +1003,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete a HorizontalPodAutoscaler * @param name name of the HorizontalPodAutoscaler (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -1161,7 +1162,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) } /** - * + * * get available resources * @return APIgetAPIResourcesRequest * @http.response.details @@ -1496,7 +1497,7 @@ public okhttp3.Call executeAsync(final ApiCallback _c } /** - * + * * partially update the specified HorizontalPodAutoscaler * @param name name of the HorizontalPodAutoscaler (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -2379,7 +2380,7 @@ public okhttp3.Call executeAsync(final ApiCallback _c } /** - * + * * partially update status of the specified HorizontalPodAutoscaler * @param name name of the HorizontalPodAutoscaler (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -2573,7 +2574,7 @@ public okhttp3.Call executeAsync(final ApiCallback _c } /** - * + * * read the specified HorizontalPodAutoscaler * @param name name of the HorizontalPodAutoscaler (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -2765,7 +2766,7 @@ public okhttp3.Call executeAsync(final ApiCallback _c } /** - * + * * read status of the specified HorizontalPodAutoscaler * @param name name of the HorizontalPodAutoscaler (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -3018,7 +3019,7 @@ public okhttp3.Call executeAsync(final ApiCallback _c } /** - * + * * replace the specified HorizontalPodAutoscaler * @param name name of the HorizontalPodAutoscaler (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -3273,7 +3274,7 @@ public okhttp3.Call executeAsync(final ApiCallback _c } /** - * + * * replace status of the specified HorizontalPodAutoscaler * @param name name of the HorizontalPodAutoscaler (required) * @param namespace object name and auth scope, such as for teams and projects (required) diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/BatchApi.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/BatchApi.java index 94346ddc2f..12c5d9be9e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/BatchApi.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/BatchApi.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.apis; import io.kubernetes.client.openapi.ApiCallback; @@ -212,7 +213,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws } /** - * + * * get information of a group * @return APIgetAPIGroupRequest * @http.response.details diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/BatchV1Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/BatchV1Api.java index 259fc2f0c1..0c7c4d3af6 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/BatchV1Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/BatchV1Api.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.apis; import io.kubernetes.client.openapi.ApiCallback; @@ -310,7 +311,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws } /** - * + * * create a CronJob * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -560,7 +561,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiE } /** - * + * * create a Job * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -966,7 +967,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of CronJob * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIdeleteCollectionNamespacedCronJobRequest @@ -1369,7 +1370,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of Job * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIdeleteCollectionNamespacedJobRequest @@ -1657,7 +1658,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete a CronJob * @param name name of the CronJob (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -1947,7 +1948,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete a Job * @param name name of the Job (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -2106,7 +2107,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) } /** - * + * * get available resources * @return APIgetAPIResourcesRequest * @http.response.details @@ -2441,7 +2442,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thr } /** - * + * * list or watch objects of kind CronJob * @return APIlistCronJobForAllNamespacesRequest * @http.response.details @@ -2776,7 +2777,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws } /** - * + * * list or watch objects of kind Job * @return APIlistJobForAllNamespacesRequest * @http.response.details @@ -3120,7 +3121,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thr } /** - * + * * list or watch objects of kind CronJob * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIlistNamespacedCronJobRequest @@ -3465,7 +3466,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws } /** - * + * * list or watch objects of kind Job * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIlistNamespacedJobRequest @@ -3733,7 +3734,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws } /** - * + * * partially update the specified CronJob * @param name name of the CronJob (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -4004,7 +4005,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws } /** - * + * * partially update status of the specified CronJob * @param name name of the CronJob (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -4275,7 +4276,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiE } /** - * + * * partially update the specified Job * @param name name of the Job (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -4546,7 +4547,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiE } /** - * + * * partially update status of the specified Job * @param name name of the Job (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -4740,7 +4741,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws } /** - * + * * read the specified CronJob * @param name name of the CronJob (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -4932,7 +4933,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws } /** - * + * * read status of the specified CronJob * @param name name of the CronJob (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -5124,7 +5125,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiE } /** - * + * * read the specified Job * @param name name of the Job (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -5316,7 +5317,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiE } /** - * + * * read status of the specified Job * @param name name of the Job (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -5569,7 +5570,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws } /** - * + * * replace the specified CronJob * @param name name of the CronJob (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -5824,7 +5825,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws } /** - * + * * replace status of the specified CronJob * @param name name of the CronJob (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -6079,7 +6080,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiE } /** - * + * * replace the specified Job * @param name name of the Job (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -6334,7 +6335,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiE } /** - * + * * replace status of the specified Job * @param name name of the Job (required) * @param namespace object name and auth scope, such as for teams and projects (required) diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CertificatesApi.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CertificatesApi.java index 8271b16bb1..ae04b2868a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CertificatesApi.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CertificatesApi.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.apis; import io.kubernetes.client.openapi.ApiCallback; @@ -212,7 +213,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws } /** - * + * * get information of a group * @return APIgetAPIGroupRequest * @http.response.details diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CertificatesV1Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CertificatesV1Api.java index fe94f8d673..4a410f1e7a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CertificatesV1Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CertificatesV1Api.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.apis; import io.kubernetes.client.openapi.ApiCallback; @@ -299,7 +300,7 @@ public okhttp3.Call executeAsync(final ApiCallback } /** - * + * * create a CertificateSigningRequest * @param body (required) * @return APIcreateCertificateSigningRequestRequest @@ -580,7 +581,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete a CertificateSigningRequest * @param name name of the CertificateSigningRequest (required) * @return APIdeleteCertificateSigningRequestRequest @@ -975,7 +976,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of CertificateSigningRequest * @return APIdeleteCollectionCertificateSigningRequestRequest * @http.response.details @@ -1131,7 +1132,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) } /** - * + * * get available resources * @return APIgetAPIResourcesRequest * @http.response.details @@ -1466,7 +1467,7 @@ public okhttp3.Call executeAsync(final ApiCallback } /** - * + * * partially update the specified CertificateSigningRequest * @param name name of the CertificateSigningRequest (required) * @param body (required) @@ -1985,7 +1986,7 @@ public okhttp3.Call executeAsync(final ApiCallback } /** - * + * * partially update approval of the specified CertificateSigningRequest * @param name name of the CertificateSigningRequest (required) * @param body (required) @@ -2246,7 +2247,7 @@ public okhttp3.Call executeAsync(final ApiCallback } /** - * + * * partially update status of the specified CertificateSigningRequest * @param name name of the CertificateSigningRequest (required) * @param body (required) @@ -2430,7 +2431,7 @@ public okhttp3.Call executeAsync(final ApiCallback } /** - * + * * read the specified CertificateSigningRequest * @param name name of the CertificateSigningRequest (required) * @return APIreadCertificateSigningRequestRequest @@ -2612,7 +2613,7 @@ public okhttp3.Call executeAsync(final ApiCallback } /** - * + * * read approval of the specified CertificateSigningRequest * @param name name of the CertificateSigningRequest (required) * @return APIreadCertificateSigningRequestApprovalRequest @@ -2794,7 +2795,7 @@ public okhttp3.Call executeAsync(final ApiCallback } /** - * + * * read status of the specified CertificateSigningRequest * @param name name of the CertificateSigningRequest (required) * @return APIreadCertificateSigningRequestStatusRequest @@ -3037,7 +3038,7 @@ public okhttp3.Call executeAsync(final ApiCallback } /** - * + * * replace the specified CertificateSigningRequest * @param name name of the CertificateSigningRequest (required) * @param body (required) @@ -3282,7 +3283,7 @@ public okhttp3.Call executeAsync(final ApiCallback } /** - * + * * replace approval of the specified CertificateSigningRequest * @param name name of the CertificateSigningRequest (required) * @param body (required) @@ -3527,7 +3528,7 @@ public okhttp3.Call executeAsync(final ApiCallback } /** - * + * * replace status of the specified CertificateSigningRequest * @param name name of the CertificateSigningRequest (required) * @param body (required) diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CertificatesV1alpha1Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CertificatesV1alpha1Api.java index 93a1aefe81..ac317f516b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CertificatesV1alpha1Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CertificatesV1alpha1Api.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.apis; import io.kubernetes.client.openapi.ApiCallback; @@ -32,6 +33,8 @@ import io.kubernetes.client.openapi.models.V1Status; import io.kubernetes.client.openapi.models.V1alpha1ClusterTrustBundle; import io.kubernetes.client.openapi.models.V1alpha1ClusterTrustBundleList; +import io.kubernetes.client.openapi.models.V1alpha1PodCertificateRequest; +import io.kubernetes.client.openapi.models.V1alpha1PodCertificateRequestList; import java.lang.reflect.Type; import java.util.ArrayList; @@ -299,7 +302,7 @@ public okhttp3.Call executeAsync(final ApiCallback _ } /** - * + * * create a ClusterTrustBundle * @param body (required) * @return APIcreateClusterTrustBundleRequest @@ -316,6 +319,256 @@ public okhttp3.Call executeAsync(final ApiCallback _ public APIcreateClusterTrustBundleRequest createClusterTrustBundle(@jakarta.annotation.Nonnull V1alpha1ClusterTrustBundle body) { return new APIcreateClusterTrustBundleRequest(body); } + private okhttp3.Call createNamespacedPodCertificateRequestCall(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1alpha1PodCertificateRequest body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/certificates.k8s.io/v1alpha1/namespaces/{namespace}/podcertificaterequests" + .replace("{" + "namespace" + "}", localVarApiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (pretty != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); + } + + if (dryRun != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("dryRun", dryRun)); + } + + if (fieldManager != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldManager", fieldManager)); + } + + if (fieldValidation != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldValidation", fieldValidation)); + } + + final String[] localVarAccepts = { + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call createNamespacedPodCertificateRequestValidateBeforeCall(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1alpha1PodCertificateRequest body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling createNamespacedPodCertificateRequest(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling createNamespacedPodCertificateRequest(Async)"); + } + + return createNamespacedPodCertificateRequestCall(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _callback); + + } + + + private ApiResponse createNamespacedPodCertificateRequestWithHttpInfo(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1alpha1PodCertificateRequest body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation) throws ApiException { + okhttp3.Call localVarCall = createNamespacedPodCertificateRequestValidateBeforeCall(namespace, body, pretty, dryRun, fieldManager, fieldValidation, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + private okhttp3.Call createNamespacedPodCertificateRequestAsync(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1alpha1PodCertificateRequest body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = createNamespacedPodCertificateRequestValidateBeforeCall(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + public class APIcreateNamespacedPodCertificateRequestRequest { + @jakarta.annotation.Nonnull + private final String namespace; + @jakarta.annotation.Nonnull + private final V1alpha1PodCertificateRequest body; + @jakarta.annotation.Nullable + private String pretty; + @jakarta.annotation.Nullable + private String dryRun; + @jakarta.annotation.Nullable + private String fieldManager; + @jakarta.annotation.Nullable + private String fieldValidation; + + private APIcreateNamespacedPodCertificateRequestRequest(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1alpha1PodCertificateRequest body) { + this.namespace = namespace; + this.body = body; + } + + /** + * Set pretty + * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + * @return APIcreateNamespacedPodCertificateRequestRequest + */ + public APIcreateNamespacedPodCertificateRequestRequest pretty(@jakarta.annotation.Nullable String pretty) { + this.pretty = pretty; + return this; + } + + /** + * Set dryRun + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + * @return APIcreateNamespacedPodCertificateRequestRequest + */ + public APIcreateNamespacedPodCertificateRequestRequest dryRun(@jakarta.annotation.Nullable String dryRun) { + this.dryRun = dryRun; + return this; + } + + /** + * Set fieldManager + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) + * @return APIcreateNamespacedPodCertificateRequestRequest + */ + public APIcreateNamespacedPodCertificateRequestRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { + this.fieldManager = fieldManager; + return this; + } + + /** + * Set fieldValidation + * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) + * @return APIcreateNamespacedPodCertificateRequestRequest + */ + public APIcreateNamespacedPodCertificateRequestRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { + this.fieldValidation = fieldValidation; + return this; + } + + /** + * Build call for createNamespacedPodCertificateRequest + * @param _callback ApiCallback API callback + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
202 Accepted -
401 Unauthorized -
+ */ + public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { + return createNamespacedPodCertificateRequestCall(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _callback); + } + + /** + * Execute createNamespacedPodCertificateRequest request + * @return V1alpha1PodCertificateRequest + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
202 Accepted -
401 Unauthorized -
+ */ + public V1alpha1PodCertificateRequest execute() throws ApiException { + ApiResponse localVarResp = createNamespacedPodCertificateRequestWithHttpInfo(namespace, body, pretty, dryRun, fieldManager, fieldValidation); + return localVarResp.getData(); + } + + /** + * Execute createNamespacedPodCertificateRequest request with HTTP info returned + * @return ApiResponse<V1alpha1PodCertificateRequest> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
202 Accepted -
401 Unauthorized -
+ */ + public ApiResponse executeWithHttpInfo() throws ApiException { + return createNamespacedPodCertificateRequestWithHttpInfo(namespace, body, pretty, dryRun, fieldManager, fieldValidation); + } + + /** + * Execute createNamespacedPodCertificateRequest request (asynchronously) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
202 Accepted -
401 Unauthorized -
+ */ + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return createNamespacedPodCertificateRequestAsync(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _callback); + } + } + + /** + * + * create a PodCertificateRequest + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @return APIcreateNamespacedPodCertificateRequestRequest + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
202 Accepted -
401 Unauthorized -
+ */ + public APIcreateNamespacedPodCertificateRequestRequest createNamespacedPodCertificateRequest(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1alpha1PodCertificateRequest body) { + return new APIcreateNamespacedPodCertificateRequestRequest(namespace, body); + } private okhttp3.Call deleteClusterTrustBundleCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers @@ -580,7 +833,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete a ClusterTrustBundle * @param name name of the ClusterTrustBundle (required) * @return APIdeleteClusterTrustBundleRequest @@ -975,7 +1228,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of ClusterTrustBundle * @return APIdeleteCollectionClusterTrustBundleRequest * @http.response.details @@ -989,7 +1242,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A public APIdeleteCollectionClusterTrustBundleRequest deleteCollectionClusterTrustBundle() { return new APIdeleteCollectionClusterTrustBundleRequest(); } - private okhttp3.Call getAPIResourcesCall(final ApiCallback _callback) throws ApiException { + private okhttp3.Call deleteCollectionNamespacedPodCertificateRequestCall(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -1003,10 +1256,11 @@ private okhttp3.Call getAPIResourcesCall(final ApiCallback _callback) throws Api basePath = null; } - Object localVarPostBody = null; + Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/certificates.k8s.io/v1alpha1/"; + String localVarPath = "/apis/certificates.k8s.io/v1alpha1/namespaces/{namespace}/podcertificaterequests" + .replace("{" + "namespace" + "}", localVarApiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -1014,184 +1268,44 @@ private okhttp3.Call getAPIResourcesCall(final ApiCallback _callback) throws Api Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); - final String[] localVarAccepts = { - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/cbor" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); + if (pretty != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); } - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); + if (_continue != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("continue", _continue)); } - String[] localVarAuthNames = new String[] { "BearerToken" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getAPIResourcesValidateBeforeCall(final ApiCallback _callback) throws ApiException { - return getAPIResourcesCall(_callback); + if (dryRun != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("dryRun", dryRun)); + } - } + if (fieldSelector != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldSelector", fieldSelector)); + } + if (gracePeriodSeconds != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("gracePeriodSeconds", gracePeriodSeconds)); + } - private ApiResponse getAPIResourcesWithHttpInfo() throws ApiException { - okhttp3.Call localVarCall = getAPIResourcesValidateBeforeCall(null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } + if (ignoreStoreReadErrorWithClusterBreakingPotential != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("ignoreStoreReadErrorWithClusterBreakingPotential", ignoreStoreReadErrorWithClusterBreakingPotential)); + } - private okhttp3.Call getAPIResourcesAsync(final ApiCallback _callback) throws ApiException { + if (labelSelector != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("labelSelector", labelSelector)); + } - okhttp3.Call localVarCall = getAPIResourcesValidateBeforeCall(_callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - - public class APIgetAPIResourcesRequest { - - private APIgetAPIResourcesRequest() { - } - - /** - * Build call for getAPIResources - * @param _callback ApiCallback API callback - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return getAPIResourcesCall(_callback); - } - - /** - * Execute getAPIResources request - * @return V1APIResourceList - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public V1APIResourceList execute() throws ApiException { - ApiResponse localVarResp = getAPIResourcesWithHttpInfo(); - return localVarResp.getData(); - } - - /** - * Execute getAPIResources request with HTTP info returned - * @return ApiResponse<V1APIResourceList> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public ApiResponse executeWithHttpInfo() throws ApiException { - return getAPIResourcesWithHttpInfo(); - } - - /** - * Execute getAPIResources request (asynchronously) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return getAPIResourcesAsync(_callback); - } - } - - /** - * - * get available resources - * @return APIgetAPIResourcesRequest - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public APIgetAPIResourcesRequest getAPIResources() { - return new APIgetAPIResourcesRequest(); - } - private okhttp3.Call listClusterTrustBundleCall(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/apis/certificates.k8s.io/v1alpha1/clustertrustbundles"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (pretty != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); - } - - if (allowWatchBookmarks != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("allowWatchBookmarks", allowWatchBookmarks)); - } - - if (_continue != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("continue", _continue)); - } - - if (fieldSelector != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldSelector", fieldSelector)); + if (limit != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); } - if (labelSelector != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("labelSelector", labelSelector)); + if (orphanDependents != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("orphanDependents", orphanDependents)); } - if (limit != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); + if (propagationPolicy != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("propagationPolicy", propagationPolicy)); } if (resourceVersion != null) { @@ -1210,18 +1324,11 @@ private okhttp3.Call listClusterTrustBundleCall(@jakarta.annotation.Nullable Str localVarQueryParams.addAll(localVarApiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); } - if (watch != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("watch", watch)); - } - final String[] localVarAccepts = { "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", - "application/cbor", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch", - "application/cbor-seq" + "application/cbor" }; final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) { @@ -1229,6 +1336,7 @@ private okhttp3.Call listClusterTrustBundleCall(@jakarta.annotation.Nullable Str } final String[] localVarContentTypes = { + "application/json" }; final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); if (localVarContentType != null) { @@ -1236,44 +1344,59 @@ private okhttp3.Call listClusterTrustBundleCall(@jakarta.annotation.Nullable Str } String[] localVarAuthNames = new String[] { "BearerToken" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @SuppressWarnings("rawtypes") - private okhttp3.Call listClusterTrustBundleValidateBeforeCall(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { - return listClusterTrustBundleCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + private okhttp3.Call deleteCollectionNamespacedPodCertificateRequestValidateBeforeCall(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling deleteCollectionNamespacedPodCertificateRequest(Async)"); + } + + return deleteCollectionNamespacedPodCertificateRequestCall(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _callback); } - private ApiResponse listClusterTrustBundleWithHttpInfo(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch) throws ApiException { - okhttp3.Call localVarCall = listClusterTrustBundleValidateBeforeCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, null); - Type localVarReturnType = new TypeToken(){}.getType(); + private ApiResponse deleteCollectionNamespacedPodCertificateRequestWithHttpInfo(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable V1DeleteOptions body) throws ApiException { + okhttp3.Call localVarCall = deleteCollectionNamespacedPodCertificateRequestValidateBeforeCall(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, null); + Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } - private okhttp3.Call listClusterTrustBundleAsync(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { + private okhttp3.Call deleteCollectionNamespacedPodCertificateRequestAsync(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = listClusterTrustBundleValidateBeforeCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); + okhttp3.Call localVarCall = deleteCollectionNamespacedPodCertificateRequestValidateBeforeCall(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } - public class APIlistClusterTrustBundleRequest { + public class APIdeleteCollectionNamespacedPodCertificateRequestRequest { + @jakarta.annotation.Nonnull + private final String namespace; @jakarta.annotation.Nullable private String pretty; @jakarta.annotation.Nullable - private Boolean allowWatchBookmarks; - @jakarta.annotation.Nullable private String _continue; @jakarta.annotation.Nullable + private String dryRun; + @jakarta.annotation.Nullable private String fieldSelector; @jakarta.annotation.Nullable + private Integer gracePeriodSeconds; + @jakarta.annotation.Nullable + private Boolean ignoreStoreReadErrorWithClusterBreakingPotential; + @jakarta.annotation.Nullable private String labelSelector; @jakarta.annotation.Nullable private Integer limit; @jakarta.annotation.Nullable + private Boolean orphanDependents; + @jakarta.annotation.Nullable + private String propagationPolicy; + @jakarta.annotation.Nullable private String resourceVersion; @jakarta.annotation.Nullable private String resourceVersionMatch; @@ -1282,57 +1405,78 @@ public class APIlistClusterTrustBundleRequest { @jakarta.annotation.Nullable private Integer timeoutSeconds; @jakarta.annotation.Nullable - private Boolean watch; + private V1DeleteOptions body; - private APIlistClusterTrustBundleRequest() { + private APIdeleteCollectionNamespacedPodCertificateRequestRequest(@jakarta.annotation.Nonnull String namespace) { + this.namespace = namespace; } /** * Set pretty * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIlistClusterTrustBundleRequest + * @return APIdeleteCollectionNamespacedPodCertificateRequestRequest */ - public APIlistClusterTrustBundleRequest pretty(@jakarta.annotation.Nullable String pretty) { + public APIdeleteCollectionNamespacedPodCertificateRequestRequest pretty(@jakarta.annotation.Nullable String pretty) { this.pretty = pretty; return this; } /** - * Set allowWatchBookmarks - * @param allowWatchBookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) - * @return APIlistClusterTrustBundleRequest + * Set _continue + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @return APIdeleteCollectionNamespacedPodCertificateRequestRequest */ - public APIlistClusterTrustBundleRequest allowWatchBookmarks(@jakarta.annotation.Nullable Boolean allowWatchBookmarks) { - this.allowWatchBookmarks = allowWatchBookmarks; + public APIdeleteCollectionNamespacedPodCertificateRequestRequest _continue(@jakarta.annotation.Nullable String _continue) { + this._continue = _continue; return this; } /** - * Set _continue - * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) - * @return APIlistClusterTrustBundleRequest + * Set dryRun + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + * @return APIdeleteCollectionNamespacedPodCertificateRequestRequest */ - public APIlistClusterTrustBundleRequest _continue(@jakarta.annotation.Nullable String _continue) { - this._continue = _continue; + public APIdeleteCollectionNamespacedPodCertificateRequestRequest dryRun(@jakarta.annotation.Nullable String dryRun) { + this.dryRun = dryRun; return this; } /** * Set fieldSelector * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @return APIlistClusterTrustBundleRequest + * @return APIdeleteCollectionNamespacedPodCertificateRequestRequest */ - public APIlistClusterTrustBundleRequest fieldSelector(@jakarta.annotation.Nullable String fieldSelector) { + public APIdeleteCollectionNamespacedPodCertificateRequestRequest fieldSelector(@jakarta.annotation.Nullable String fieldSelector) { this.fieldSelector = fieldSelector; return this; } + /** + * Set gracePeriodSeconds + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @return APIdeleteCollectionNamespacedPodCertificateRequestRequest + */ + public APIdeleteCollectionNamespacedPodCertificateRequestRequest gracePeriodSeconds(@jakarta.annotation.Nullable Integer gracePeriodSeconds) { + this.gracePeriodSeconds = gracePeriodSeconds; + return this; + } + + /** + * Set ignoreStoreReadErrorWithClusterBreakingPotential + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + * @return APIdeleteCollectionNamespacedPodCertificateRequestRequest + */ + public APIdeleteCollectionNamespacedPodCertificateRequestRequest ignoreStoreReadErrorWithClusterBreakingPotential(@jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential) { + this.ignoreStoreReadErrorWithClusterBreakingPotential = ignoreStoreReadErrorWithClusterBreakingPotential; + return this; + } + /** * Set labelSelector * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) - * @return APIlistClusterTrustBundleRequest + * @return APIdeleteCollectionNamespacedPodCertificateRequestRequest */ - public APIlistClusterTrustBundleRequest labelSelector(@jakarta.annotation.Nullable String labelSelector) { + public APIdeleteCollectionNamespacedPodCertificateRequestRequest labelSelector(@jakarta.annotation.Nullable String labelSelector) { this.labelSelector = labelSelector; return this; } @@ -1340,19 +1484,39 @@ public APIlistClusterTrustBundleRequest labelSelector(@jakarta.annotation.Nullab /** * Set limit * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) - * @return APIlistClusterTrustBundleRequest + * @return APIdeleteCollectionNamespacedPodCertificateRequestRequest */ - public APIlistClusterTrustBundleRequest limit(@jakarta.annotation.Nullable Integer limit) { + public APIdeleteCollectionNamespacedPodCertificateRequestRequest limit(@jakarta.annotation.Nullable Integer limit) { this.limit = limit; return this; } + /** + * Set orphanDependents + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @return APIdeleteCollectionNamespacedPodCertificateRequestRequest + */ + public APIdeleteCollectionNamespacedPodCertificateRequestRequest orphanDependents(@jakarta.annotation.Nullable Boolean orphanDependents) { + this.orphanDependents = orphanDependents; + return this; + } + + /** + * Set propagationPolicy + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) + * @return APIdeleteCollectionNamespacedPodCertificateRequestRequest + */ + public APIdeleteCollectionNamespacedPodCertificateRequestRequest propagationPolicy(@jakarta.annotation.Nullable String propagationPolicy) { + this.propagationPolicy = propagationPolicy; + return this; + } + /** * Set resourceVersion * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) - * @return APIlistClusterTrustBundleRequest + * @return APIdeleteCollectionNamespacedPodCertificateRequestRequest */ - public APIlistClusterTrustBundleRequest resourceVersion(@jakarta.annotation.Nullable String resourceVersion) { + public APIdeleteCollectionNamespacedPodCertificateRequestRequest resourceVersion(@jakarta.annotation.Nullable String resourceVersion) { this.resourceVersion = resourceVersion; return this; } @@ -1360,9 +1524,9 @@ public APIlistClusterTrustBundleRequest resourceVersion(@jakarta.annotation.Null /** * Set resourceVersionMatch * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) - * @return APIlistClusterTrustBundleRequest + * @return APIdeleteCollectionNamespacedPodCertificateRequestRequest */ - public APIlistClusterTrustBundleRequest resourceVersionMatch(@jakarta.annotation.Nullable String resourceVersionMatch) { + public APIdeleteCollectionNamespacedPodCertificateRequestRequest resourceVersionMatch(@jakarta.annotation.Nullable String resourceVersionMatch) { this.resourceVersionMatch = resourceVersionMatch; return this; } @@ -1370,9 +1534,9 @@ public APIlistClusterTrustBundleRequest resourceVersionMatch(@jakarta.annotation /** * Set sendInitialEvents * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) - * @return APIlistClusterTrustBundleRequest + * @return APIdeleteCollectionNamespacedPodCertificateRequestRequest */ - public APIlistClusterTrustBundleRequest sendInitialEvents(@jakarta.annotation.Nullable Boolean sendInitialEvents) { + public APIdeleteCollectionNamespacedPodCertificateRequestRequest sendInitialEvents(@jakarta.annotation.Nullable Boolean sendInitialEvents) { this.sendInitialEvents = sendInitialEvents; return this; } @@ -1380,25 +1544,2854 @@ public APIlistClusterTrustBundleRequest sendInitialEvents(@jakarta.annotation.Nu /** * Set timeoutSeconds * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) - * @return APIlistClusterTrustBundleRequest + * @return APIdeleteCollectionNamespacedPodCertificateRequestRequest */ - public APIlistClusterTrustBundleRequest timeoutSeconds(@jakarta.annotation.Nullable Integer timeoutSeconds) { + public APIdeleteCollectionNamespacedPodCertificateRequestRequest timeoutSeconds(@jakarta.annotation.Nullable Integer timeoutSeconds) { this.timeoutSeconds = timeoutSeconds; return this; } /** - * Set watch - * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return APIlistClusterTrustBundleRequest + * Set body + * @param body (optional) + * @return APIdeleteCollectionNamespacedPodCertificateRequestRequest + */ + public APIdeleteCollectionNamespacedPodCertificateRequestRequest body(@jakarta.annotation.Nullable V1DeleteOptions body) { + this.body = body; + return this; + } + + /** + * Build call for deleteCollectionNamespacedPodCertificateRequest + * @param _callback ApiCallback API callback + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { + return deleteCollectionNamespacedPodCertificateRequestCall(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _callback); + } + + /** + * Execute deleteCollectionNamespacedPodCertificateRequest request + * @return V1Status + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public V1Status execute() throws ApiException { + ApiResponse localVarResp = deleteCollectionNamespacedPodCertificateRequestWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body); + return localVarResp.getData(); + } + + /** + * Execute deleteCollectionNamespacedPodCertificateRequest request with HTTP info returned + * @return ApiResponse<V1Status> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public ApiResponse executeWithHttpInfo() throws ApiException { + return deleteCollectionNamespacedPodCertificateRequestWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body); + } + + /** + * Execute deleteCollectionNamespacedPodCertificateRequest request (asynchronously) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return deleteCollectionNamespacedPodCertificateRequestAsync(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _callback); + } + } + + /** + * + * delete collection of PodCertificateRequest + * @param namespace object name and auth scope, such as for teams and projects (required) + * @return APIdeleteCollectionNamespacedPodCertificateRequestRequest + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public APIdeleteCollectionNamespacedPodCertificateRequestRequest deleteCollectionNamespacedPodCertificateRequest(@jakarta.annotation.Nonnull String namespace) { + return new APIdeleteCollectionNamespacedPodCertificateRequestRequest(namespace); + } + private okhttp3.Call deleteNamespacedPodCertificateRequestCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/certificates.k8s.io/v1alpha1/namespaces/{namespace}/podcertificaterequests/{name}" + .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())) + .replace("{" + "namespace" + "}", localVarApiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (pretty != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); + } + + if (dryRun != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("dryRun", dryRun)); + } + + if (gracePeriodSeconds != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("gracePeriodSeconds", gracePeriodSeconds)); + } + + if (ignoreStoreReadErrorWithClusterBreakingPotential != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("ignoreStoreReadErrorWithClusterBreakingPotential", ignoreStoreReadErrorWithClusterBreakingPotential)); + } + + if (orphanDependents != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("orphanDependents", orphanDependents)); + } + + if (propagationPolicy != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("propagationPolicy", propagationPolicy)); + } + + final String[] localVarAccepts = { + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call deleteNamespacedPodCertificateRequestValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling deleteNamespacedPodCertificateRequest(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling deleteNamespacedPodCertificateRequest(Async)"); + } + + return deleteNamespacedPodCertificateRequestCall(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); + + } + + + private ApiResponse deleteNamespacedPodCertificateRequestWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body) throws ApiException { + okhttp3.Call localVarCall = deleteNamespacedPodCertificateRequestValidateBeforeCall(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + private okhttp3.Call deleteNamespacedPodCertificateRequestAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = deleteNamespacedPodCertificateRequestValidateBeforeCall(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + public class APIdeleteNamespacedPodCertificateRequestRequest { + @jakarta.annotation.Nonnull + private final String name; + @jakarta.annotation.Nonnull + private final String namespace; + @jakarta.annotation.Nullable + private String pretty; + @jakarta.annotation.Nullable + private String dryRun; + @jakarta.annotation.Nullable + private Integer gracePeriodSeconds; + @jakarta.annotation.Nullable + private Boolean ignoreStoreReadErrorWithClusterBreakingPotential; + @jakarta.annotation.Nullable + private Boolean orphanDependents; + @jakarta.annotation.Nullable + private String propagationPolicy; + @jakarta.annotation.Nullable + private V1DeleteOptions body; + + private APIdeleteNamespacedPodCertificateRequestRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace) { + this.name = name; + this.namespace = namespace; + } + + /** + * Set pretty + * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + * @return APIdeleteNamespacedPodCertificateRequestRequest + */ + public APIdeleteNamespacedPodCertificateRequestRequest pretty(@jakarta.annotation.Nullable String pretty) { + this.pretty = pretty; + return this; + } + + /** + * Set dryRun + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + * @return APIdeleteNamespacedPodCertificateRequestRequest + */ + public APIdeleteNamespacedPodCertificateRequestRequest dryRun(@jakarta.annotation.Nullable String dryRun) { + this.dryRun = dryRun; + return this; + } + + /** + * Set gracePeriodSeconds + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @return APIdeleteNamespacedPodCertificateRequestRequest + */ + public APIdeleteNamespacedPodCertificateRequestRequest gracePeriodSeconds(@jakarta.annotation.Nullable Integer gracePeriodSeconds) { + this.gracePeriodSeconds = gracePeriodSeconds; + return this; + } + + /** + * Set ignoreStoreReadErrorWithClusterBreakingPotential + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + * @return APIdeleteNamespacedPodCertificateRequestRequest + */ + public APIdeleteNamespacedPodCertificateRequestRequest ignoreStoreReadErrorWithClusterBreakingPotential(@jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential) { + this.ignoreStoreReadErrorWithClusterBreakingPotential = ignoreStoreReadErrorWithClusterBreakingPotential; + return this; + } + + /** + * Set orphanDependents + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @return APIdeleteNamespacedPodCertificateRequestRequest + */ + public APIdeleteNamespacedPodCertificateRequestRequest orphanDependents(@jakarta.annotation.Nullable Boolean orphanDependents) { + this.orphanDependents = orphanDependents; + return this; + } + + /** + * Set propagationPolicy + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) + * @return APIdeleteNamespacedPodCertificateRequestRequest + */ + public APIdeleteNamespacedPodCertificateRequestRequest propagationPolicy(@jakarta.annotation.Nullable String propagationPolicy) { + this.propagationPolicy = propagationPolicy; + return this; + } + + /** + * Set body + * @param body (optional) + * @return APIdeleteNamespacedPodCertificateRequestRequest + */ + public APIdeleteNamespacedPodCertificateRequestRequest body(@jakarta.annotation.Nullable V1DeleteOptions body) { + this.body = body; + return this; + } + + /** + * Build call for deleteNamespacedPodCertificateRequest + * @param _callback ApiCallback API callback + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
202 Accepted -
401 Unauthorized -
+ */ + public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { + return deleteNamespacedPodCertificateRequestCall(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); + } + + /** + * Execute deleteNamespacedPodCertificateRequest request + * @return V1Status + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
202 Accepted -
401 Unauthorized -
+ */ + public V1Status execute() throws ApiException { + ApiResponse localVarResp = deleteNamespacedPodCertificateRequestWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body); + return localVarResp.getData(); + } + + /** + * Execute deleteNamespacedPodCertificateRequest request with HTTP info returned + * @return ApiResponse<V1Status> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
202 Accepted -
401 Unauthorized -
+ */ + public ApiResponse executeWithHttpInfo() throws ApiException { + return deleteNamespacedPodCertificateRequestWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body); + } + + /** + * Execute deleteNamespacedPodCertificateRequest request (asynchronously) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
202 Accepted -
401 Unauthorized -
+ */ + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return deleteNamespacedPodCertificateRequestAsync(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); + } + } + + /** + * + * delete a PodCertificateRequest + * @param name name of the PodCertificateRequest (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @return APIdeleteNamespacedPodCertificateRequestRequest + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
202 Accepted -
401 Unauthorized -
+ */ + public APIdeleteNamespacedPodCertificateRequestRequest deleteNamespacedPodCertificateRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace) { + return new APIdeleteNamespacedPodCertificateRequestRequest(name, namespace); + } + private okhttp3.Call getAPIResourcesCall(final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/certificates.k8s.io/v1alpha1/"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getAPIResourcesValidateBeforeCall(final ApiCallback _callback) throws ApiException { + return getAPIResourcesCall(_callback); + + } + + + private ApiResponse getAPIResourcesWithHttpInfo() throws ApiException { + okhttp3.Call localVarCall = getAPIResourcesValidateBeforeCall(null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + private okhttp3.Call getAPIResourcesAsync(final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getAPIResourcesValidateBeforeCall(_callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + public class APIgetAPIResourcesRequest { + + private APIgetAPIResourcesRequest() { + } + + /** + * Build call for getAPIResources + * @param _callback ApiCallback API callback + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { + return getAPIResourcesCall(_callback); + } + + /** + * Execute getAPIResources request + * @return V1APIResourceList + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public V1APIResourceList execute() throws ApiException { + ApiResponse localVarResp = getAPIResourcesWithHttpInfo(); + return localVarResp.getData(); + } + + /** + * Execute getAPIResources request with HTTP info returned + * @return ApiResponse<V1APIResourceList> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public ApiResponse executeWithHttpInfo() throws ApiException { + return getAPIResourcesWithHttpInfo(); + } + + /** + * Execute getAPIResources request (asynchronously) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return getAPIResourcesAsync(_callback); + } + } + + /** + * + * get available resources + * @return APIgetAPIResourcesRequest + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public APIgetAPIResourcesRequest getAPIResources() { + return new APIgetAPIResourcesRequest(); + } + private okhttp3.Call listClusterTrustBundleCall(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/certificates.k8s.io/v1alpha1/clustertrustbundles"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (pretty != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); + } + + if (allowWatchBookmarks != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("allowWatchBookmarks", allowWatchBookmarks)); + } + + if (_continue != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("continue", _continue)); + } + + if (fieldSelector != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldSelector", fieldSelector)); + } + + if (labelSelector != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("labelSelector", labelSelector)); + } + + if (limit != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); + } + + if (resourceVersion != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("resourceVersion", resourceVersion)); + } + + if (resourceVersionMatch != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("resourceVersionMatch", resourceVersionMatch)); + } + + if (sendInitialEvents != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sendInitialEvents", sendInitialEvents)); + } + + if (timeoutSeconds != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + } + + if (watch != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("watch", watch)); + } + + final String[] localVarAccepts = { + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call listClusterTrustBundleValidateBeforeCall(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { + return listClusterTrustBundleCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + + } + + + private ApiResponse listClusterTrustBundleWithHttpInfo(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch) throws ApiException { + okhttp3.Call localVarCall = listClusterTrustBundleValidateBeforeCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + private okhttp3.Call listClusterTrustBundleAsync(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = listClusterTrustBundleValidateBeforeCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + public class APIlistClusterTrustBundleRequest { + @jakarta.annotation.Nullable + private String pretty; + @jakarta.annotation.Nullable + private Boolean allowWatchBookmarks; + @jakarta.annotation.Nullable + private String _continue; + @jakarta.annotation.Nullable + private String fieldSelector; + @jakarta.annotation.Nullable + private String labelSelector; + @jakarta.annotation.Nullable + private Integer limit; + @jakarta.annotation.Nullable + private String resourceVersion; + @jakarta.annotation.Nullable + private String resourceVersionMatch; + @jakarta.annotation.Nullable + private Boolean sendInitialEvents; + @jakarta.annotation.Nullable + private Integer timeoutSeconds; + @jakarta.annotation.Nullable + private Boolean watch; + + private APIlistClusterTrustBundleRequest() { + } + + /** + * Set pretty + * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + * @return APIlistClusterTrustBundleRequest + */ + public APIlistClusterTrustBundleRequest pretty(@jakarta.annotation.Nullable String pretty) { + this.pretty = pretty; + return this; + } + + /** + * Set allowWatchBookmarks + * @param allowWatchBookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) + * @return APIlistClusterTrustBundleRequest + */ + public APIlistClusterTrustBundleRequest allowWatchBookmarks(@jakarta.annotation.Nullable Boolean allowWatchBookmarks) { + this.allowWatchBookmarks = allowWatchBookmarks; + return this; + } + + /** + * Set _continue + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @return APIlistClusterTrustBundleRequest + */ + public APIlistClusterTrustBundleRequest _continue(@jakarta.annotation.Nullable String _continue) { + this._continue = _continue; + return this; + } + + /** + * Set fieldSelector + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @return APIlistClusterTrustBundleRequest + */ + public APIlistClusterTrustBundleRequest fieldSelector(@jakarta.annotation.Nullable String fieldSelector) { + this.fieldSelector = fieldSelector; + return this; + } + + /** + * Set labelSelector + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @return APIlistClusterTrustBundleRequest + */ + public APIlistClusterTrustBundleRequest labelSelector(@jakarta.annotation.Nullable String labelSelector) { + this.labelSelector = labelSelector; + return this; + } + + /** + * Set limit + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @return APIlistClusterTrustBundleRequest + */ + public APIlistClusterTrustBundleRequest limit(@jakarta.annotation.Nullable Integer limit) { + this.limit = limit; + return this; + } + + /** + * Set resourceVersion + * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + * @return APIlistClusterTrustBundleRequest + */ + public APIlistClusterTrustBundleRequest resourceVersion(@jakarta.annotation.Nullable String resourceVersion) { + this.resourceVersion = resourceVersion; + return this; + } + + /** + * Set resourceVersionMatch + * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + * @return APIlistClusterTrustBundleRequest + */ + public APIlistClusterTrustBundleRequest resourceVersionMatch(@jakarta.annotation.Nullable String resourceVersionMatch) { + this.resourceVersionMatch = resourceVersionMatch; + return this; + } + + /** + * Set sendInitialEvents + * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) + * @return APIlistClusterTrustBundleRequest + */ + public APIlistClusterTrustBundleRequest sendInitialEvents(@jakarta.annotation.Nullable Boolean sendInitialEvents) { + this.sendInitialEvents = sendInitialEvents; + return this; + } + + /** + * Set timeoutSeconds + * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) + * @return APIlistClusterTrustBundleRequest + */ + public APIlistClusterTrustBundleRequest timeoutSeconds(@jakarta.annotation.Nullable Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + return this; + } + + /** + * Set watch + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return APIlistClusterTrustBundleRequest + */ + public APIlistClusterTrustBundleRequest watch(@jakarta.annotation.Nullable Boolean watch) { + this.watch = watch; + return this; + } + + /** + * Build call for listClusterTrustBundle + * @param _callback ApiCallback API callback + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { + return listClusterTrustBundleCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + } + + /** + * Execute listClusterTrustBundle request + * @return V1alpha1ClusterTrustBundleList + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public V1alpha1ClusterTrustBundleList execute() throws ApiException { + ApiResponse localVarResp = listClusterTrustBundleWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); + return localVarResp.getData(); + } + + /** + * Execute listClusterTrustBundle request with HTTP info returned + * @return ApiResponse<V1alpha1ClusterTrustBundleList> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public ApiResponse executeWithHttpInfo() throws ApiException { + return listClusterTrustBundleWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); + } + + /** + * Execute listClusterTrustBundle request (asynchronously) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return listClusterTrustBundleAsync(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + } + } + + /** + * + * list or watch objects of kind ClusterTrustBundle + * @return APIlistClusterTrustBundleRequest + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public APIlistClusterTrustBundleRequest listClusterTrustBundle() { + return new APIlistClusterTrustBundleRequest(); + } + private okhttp3.Call listNamespacedPodCertificateRequestCall(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/certificates.k8s.io/v1alpha1/namespaces/{namespace}/podcertificaterequests" + .replace("{" + "namespace" + "}", localVarApiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (pretty != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); + } + + if (allowWatchBookmarks != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("allowWatchBookmarks", allowWatchBookmarks)); + } + + if (_continue != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("continue", _continue)); + } + + if (fieldSelector != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldSelector", fieldSelector)); + } + + if (labelSelector != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("labelSelector", labelSelector)); + } + + if (limit != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); + } + + if (resourceVersion != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("resourceVersion", resourceVersion)); + } + + if (resourceVersionMatch != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("resourceVersionMatch", resourceVersionMatch)); + } + + if (sendInitialEvents != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sendInitialEvents", sendInitialEvents)); + } + + if (timeoutSeconds != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + } + + if (watch != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("watch", watch)); + } + + final String[] localVarAccepts = { + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call listNamespacedPodCertificateRequestValidateBeforeCall(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling listNamespacedPodCertificateRequest(Async)"); + } + + return listNamespacedPodCertificateRequestCall(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + + } + + + private ApiResponse listNamespacedPodCertificateRequestWithHttpInfo(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch) throws ApiException { + okhttp3.Call localVarCall = listNamespacedPodCertificateRequestValidateBeforeCall(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + private okhttp3.Call listNamespacedPodCertificateRequestAsync(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = listNamespacedPodCertificateRequestValidateBeforeCall(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + public class APIlistNamespacedPodCertificateRequestRequest { + @jakarta.annotation.Nonnull + private final String namespace; + @jakarta.annotation.Nullable + private String pretty; + @jakarta.annotation.Nullable + private Boolean allowWatchBookmarks; + @jakarta.annotation.Nullable + private String _continue; + @jakarta.annotation.Nullable + private String fieldSelector; + @jakarta.annotation.Nullable + private String labelSelector; + @jakarta.annotation.Nullable + private Integer limit; + @jakarta.annotation.Nullable + private String resourceVersion; + @jakarta.annotation.Nullable + private String resourceVersionMatch; + @jakarta.annotation.Nullable + private Boolean sendInitialEvents; + @jakarta.annotation.Nullable + private Integer timeoutSeconds; + @jakarta.annotation.Nullable + private Boolean watch; + + private APIlistNamespacedPodCertificateRequestRequest(@jakarta.annotation.Nonnull String namespace) { + this.namespace = namespace; + } + + /** + * Set pretty + * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + * @return APIlistNamespacedPodCertificateRequestRequest + */ + public APIlistNamespacedPodCertificateRequestRequest pretty(@jakarta.annotation.Nullable String pretty) { + this.pretty = pretty; + return this; + } + + /** + * Set allowWatchBookmarks + * @param allowWatchBookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) + * @return APIlistNamespacedPodCertificateRequestRequest + */ + public APIlistNamespacedPodCertificateRequestRequest allowWatchBookmarks(@jakarta.annotation.Nullable Boolean allowWatchBookmarks) { + this.allowWatchBookmarks = allowWatchBookmarks; + return this; + } + + /** + * Set _continue + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @return APIlistNamespacedPodCertificateRequestRequest + */ + public APIlistNamespacedPodCertificateRequestRequest _continue(@jakarta.annotation.Nullable String _continue) { + this._continue = _continue; + return this; + } + + /** + * Set fieldSelector + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @return APIlistNamespacedPodCertificateRequestRequest + */ + public APIlistNamespacedPodCertificateRequestRequest fieldSelector(@jakarta.annotation.Nullable String fieldSelector) { + this.fieldSelector = fieldSelector; + return this; + } + + /** + * Set labelSelector + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @return APIlistNamespacedPodCertificateRequestRequest + */ + public APIlistNamespacedPodCertificateRequestRequest labelSelector(@jakarta.annotation.Nullable String labelSelector) { + this.labelSelector = labelSelector; + return this; + } + + /** + * Set limit + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @return APIlistNamespacedPodCertificateRequestRequest + */ + public APIlistNamespacedPodCertificateRequestRequest limit(@jakarta.annotation.Nullable Integer limit) { + this.limit = limit; + return this; + } + + /** + * Set resourceVersion + * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + * @return APIlistNamespacedPodCertificateRequestRequest + */ + public APIlistNamespacedPodCertificateRequestRequest resourceVersion(@jakarta.annotation.Nullable String resourceVersion) { + this.resourceVersion = resourceVersion; + return this; + } + + /** + * Set resourceVersionMatch + * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + * @return APIlistNamespacedPodCertificateRequestRequest + */ + public APIlistNamespacedPodCertificateRequestRequest resourceVersionMatch(@jakarta.annotation.Nullable String resourceVersionMatch) { + this.resourceVersionMatch = resourceVersionMatch; + return this; + } + + /** + * Set sendInitialEvents + * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) + * @return APIlistNamespacedPodCertificateRequestRequest + */ + public APIlistNamespacedPodCertificateRequestRequest sendInitialEvents(@jakarta.annotation.Nullable Boolean sendInitialEvents) { + this.sendInitialEvents = sendInitialEvents; + return this; + } + + /** + * Set timeoutSeconds + * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) + * @return APIlistNamespacedPodCertificateRequestRequest + */ + public APIlistNamespacedPodCertificateRequestRequest timeoutSeconds(@jakarta.annotation.Nullable Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + return this; + } + + /** + * Set watch + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return APIlistNamespacedPodCertificateRequestRequest + */ + public APIlistNamespacedPodCertificateRequestRequest watch(@jakarta.annotation.Nullable Boolean watch) { + this.watch = watch; + return this; + } + + /** + * Build call for listNamespacedPodCertificateRequest + * @param _callback ApiCallback API callback + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { + return listNamespacedPodCertificateRequestCall(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + } + + /** + * Execute listNamespacedPodCertificateRequest request + * @return V1alpha1PodCertificateRequestList + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public V1alpha1PodCertificateRequestList execute() throws ApiException { + ApiResponse localVarResp = listNamespacedPodCertificateRequestWithHttpInfo(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); + return localVarResp.getData(); + } + + /** + * Execute listNamespacedPodCertificateRequest request with HTTP info returned + * @return ApiResponse<V1alpha1PodCertificateRequestList> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public ApiResponse executeWithHttpInfo() throws ApiException { + return listNamespacedPodCertificateRequestWithHttpInfo(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); + } + + /** + * Execute listNamespacedPodCertificateRequest request (asynchronously) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return listNamespacedPodCertificateRequestAsync(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + } + } + + /** + * + * list or watch objects of kind PodCertificateRequest + * @param namespace object name and auth scope, such as for teams and projects (required) + * @return APIlistNamespacedPodCertificateRequestRequest + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public APIlistNamespacedPodCertificateRequestRequest listNamespacedPodCertificateRequest(@jakarta.annotation.Nonnull String namespace) { + return new APIlistNamespacedPodCertificateRequestRequest(namespace); + } + private okhttp3.Call listPodCertificateRequestForAllNamespacesCall(@jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/certificates.k8s.io/v1alpha1/podcertificaterequests"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (allowWatchBookmarks != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("allowWatchBookmarks", allowWatchBookmarks)); + } + + if (_continue != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("continue", _continue)); + } + + if (fieldSelector != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldSelector", fieldSelector)); + } + + if (labelSelector != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("labelSelector", labelSelector)); + } + + if (limit != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); + } + + if (pretty != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); + } + + if (resourceVersion != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("resourceVersion", resourceVersion)); + } + + if (resourceVersionMatch != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("resourceVersionMatch", resourceVersionMatch)); + } + + if (sendInitialEvents != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sendInitialEvents", sendInitialEvents)); + } + + if (timeoutSeconds != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + } + + if (watch != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("watch", watch)); + } + + final String[] localVarAccepts = { + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call listPodCertificateRequestForAllNamespacesValidateBeforeCall(@jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { + return listPodCertificateRequestForAllNamespacesCall(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + + } + + + private ApiResponse listPodCertificateRequestForAllNamespacesWithHttpInfo(@jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch) throws ApiException { + okhttp3.Call localVarCall = listPodCertificateRequestForAllNamespacesValidateBeforeCall(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + private okhttp3.Call listPodCertificateRequestForAllNamespacesAsync(@jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = listPodCertificateRequestForAllNamespacesValidateBeforeCall(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + public class APIlistPodCertificateRequestForAllNamespacesRequest { + @jakarta.annotation.Nullable + private Boolean allowWatchBookmarks; + @jakarta.annotation.Nullable + private String _continue; + @jakarta.annotation.Nullable + private String fieldSelector; + @jakarta.annotation.Nullable + private String labelSelector; + @jakarta.annotation.Nullable + private Integer limit; + @jakarta.annotation.Nullable + private String pretty; + @jakarta.annotation.Nullable + private String resourceVersion; + @jakarta.annotation.Nullable + private String resourceVersionMatch; + @jakarta.annotation.Nullable + private Boolean sendInitialEvents; + @jakarta.annotation.Nullable + private Integer timeoutSeconds; + @jakarta.annotation.Nullable + private Boolean watch; + + private APIlistPodCertificateRequestForAllNamespacesRequest() { + } + + /** + * Set allowWatchBookmarks + * @param allowWatchBookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) + * @return APIlistPodCertificateRequestForAllNamespacesRequest + */ + public APIlistPodCertificateRequestForAllNamespacesRequest allowWatchBookmarks(@jakarta.annotation.Nullable Boolean allowWatchBookmarks) { + this.allowWatchBookmarks = allowWatchBookmarks; + return this; + } + + /** + * Set _continue + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @return APIlistPodCertificateRequestForAllNamespacesRequest + */ + public APIlistPodCertificateRequestForAllNamespacesRequest _continue(@jakarta.annotation.Nullable String _continue) { + this._continue = _continue; + return this; + } + + /** + * Set fieldSelector + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @return APIlistPodCertificateRequestForAllNamespacesRequest + */ + public APIlistPodCertificateRequestForAllNamespacesRequest fieldSelector(@jakarta.annotation.Nullable String fieldSelector) { + this.fieldSelector = fieldSelector; + return this; + } + + /** + * Set labelSelector + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @return APIlistPodCertificateRequestForAllNamespacesRequest + */ + public APIlistPodCertificateRequestForAllNamespacesRequest labelSelector(@jakarta.annotation.Nullable String labelSelector) { + this.labelSelector = labelSelector; + return this; + } + + /** + * Set limit + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @return APIlistPodCertificateRequestForAllNamespacesRequest + */ + public APIlistPodCertificateRequestForAllNamespacesRequest limit(@jakarta.annotation.Nullable Integer limit) { + this.limit = limit; + return this; + } + + /** + * Set pretty + * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + * @return APIlistPodCertificateRequestForAllNamespacesRequest + */ + public APIlistPodCertificateRequestForAllNamespacesRequest pretty(@jakarta.annotation.Nullable String pretty) { + this.pretty = pretty; + return this; + } + + /** + * Set resourceVersion + * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + * @return APIlistPodCertificateRequestForAllNamespacesRequest + */ + public APIlistPodCertificateRequestForAllNamespacesRequest resourceVersion(@jakarta.annotation.Nullable String resourceVersion) { + this.resourceVersion = resourceVersion; + return this; + } + + /** + * Set resourceVersionMatch + * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + * @return APIlistPodCertificateRequestForAllNamespacesRequest + */ + public APIlistPodCertificateRequestForAllNamespacesRequest resourceVersionMatch(@jakarta.annotation.Nullable String resourceVersionMatch) { + this.resourceVersionMatch = resourceVersionMatch; + return this; + } + + /** + * Set sendInitialEvents + * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) + * @return APIlistPodCertificateRequestForAllNamespacesRequest + */ + public APIlistPodCertificateRequestForAllNamespacesRequest sendInitialEvents(@jakarta.annotation.Nullable Boolean sendInitialEvents) { + this.sendInitialEvents = sendInitialEvents; + return this; + } + + /** + * Set timeoutSeconds + * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) + * @return APIlistPodCertificateRequestForAllNamespacesRequest + */ + public APIlistPodCertificateRequestForAllNamespacesRequest timeoutSeconds(@jakarta.annotation.Nullable Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + return this; + } + + /** + * Set watch + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return APIlistPodCertificateRequestForAllNamespacesRequest + */ + public APIlistPodCertificateRequestForAllNamespacesRequest watch(@jakarta.annotation.Nullable Boolean watch) { + this.watch = watch; + return this; + } + + /** + * Build call for listPodCertificateRequestForAllNamespaces + * @param _callback ApiCallback API callback + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { + return listPodCertificateRequestForAllNamespacesCall(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + } + + /** + * Execute listPodCertificateRequestForAllNamespaces request + * @return V1alpha1PodCertificateRequestList + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public V1alpha1PodCertificateRequestList execute() throws ApiException { + ApiResponse localVarResp = listPodCertificateRequestForAllNamespacesWithHttpInfo(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); + return localVarResp.getData(); + } + + /** + * Execute listPodCertificateRequestForAllNamespaces request with HTTP info returned + * @return ApiResponse<V1alpha1PodCertificateRequestList> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public ApiResponse executeWithHttpInfo() throws ApiException { + return listPodCertificateRequestForAllNamespacesWithHttpInfo(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); + } + + /** + * Execute listPodCertificateRequestForAllNamespaces request (asynchronously) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return listPodCertificateRequestForAllNamespacesAsync(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + } + } + + /** + * + * list or watch objects of kind PodCertificateRequest + * @return APIlistPodCertificateRequestForAllNamespacesRequest + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public APIlistPodCertificateRequestForAllNamespacesRequest listPodCertificateRequestForAllNamespaces() { + return new APIlistPodCertificateRequestForAllNamespacesRequest(); + } + private okhttp3.Call patchClusterTrustBundleCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/certificates.k8s.io/v1alpha1/clustertrustbundles/{name}" + .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (pretty != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); + } + + if (dryRun != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("dryRun", dryRun)); + } + + if (fieldManager != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldManager", fieldManager)); + } + + if (fieldValidation != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldValidation", fieldValidation)); + } + + if (force != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("force", force)); + } + + final String[] localVarAccepts = { + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return localVarApiClient.buildCall(basePath, localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call patchClusterTrustBundleValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling patchClusterTrustBundle(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling patchClusterTrustBundle(Async)"); + } + + return patchClusterTrustBundleCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + + } + + + private ApiResponse patchClusterTrustBundleWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force) throws ApiException { + okhttp3.Call localVarCall = patchClusterTrustBundleValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + private okhttp3.Call patchClusterTrustBundleAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = patchClusterTrustBundleValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + public class APIpatchClusterTrustBundleRequest { + @jakarta.annotation.Nonnull + private final String name; + @jakarta.annotation.Nonnull + private final V1Patch body; + @jakarta.annotation.Nullable + private String pretty; + @jakarta.annotation.Nullable + private String dryRun; + @jakarta.annotation.Nullable + private String fieldManager; + @jakarta.annotation.Nullable + private String fieldValidation; + @jakarta.annotation.Nullable + private Boolean force; + + private APIpatchClusterTrustBundleRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body) { + this.name = name; + this.body = body; + } + + /** + * Set pretty + * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + * @return APIpatchClusterTrustBundleRequest + */ + public APIpatchClusterTrustBundleRequest pretty(@jakarta.annotation.Nullable String pretty) { + this.pretty = pretty; + return this; + } + + /** + * Set dryRun + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + * @return APIpatchClusterTrustBundleRequest + */ + public APIpatchClusterTrustBundleRequest dryRun(@jakarta.annotation.Nullable String dryRun) { + this.dryRun = dryRun; + return this; + } + + /** + * Set fieldManager + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). (optional) + * @return APIpatchClusterTrustBundleRequest + */ + public APIpatchClusterTrustBundleRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { + this.fieldManager = fieldManager; + return this; + } + + /** + * Set fieldValidation + * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) + * @return APIpatchClusterTrustBundleRequest + */ + public APIpatchClusterTrustBundleRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { + this.fieldValidation = fieldValidation; + return this; + } + + /** + * Set force + * @param force Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. (optional) + * @return APIpatchClusterTrustBundleRequest + */ + public APIpatchClusterTrustBundleRequest force(@jakarta.annotation.Nullable Boolean force) { + this.force = force; + return this; + } + + /** + * Build call for patchClusterTrustBundle + * @param _callback ApiCallback API callback + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { + return patchClusterTrustBundleCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + } + + /** + * Execute patchClusterTrustBundle request + * @return V1alpha1ClusterTrustBundle + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public V1alpha1ClusterTrustBundle execute() throws ApiException { + ApiResponse localVarResp = patchClusterTrustBundleWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force); + return localVarResp.getData(); + } + + /** + * Execute patchClusterTrustBundle request with HTTP info returned + * @return ApiResponse<V1alpha1ClusterTrustBundle> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public ApiResponse executeWithHttpInfo() throws ApiException { + return patchClusterTrustBundleWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force); + } + + /** + * Execute patchClusterTrustBundle request (asynchronously) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return patchClusterTrustBundleAsync(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + } + } + + /** + * + * partially update the specified ClusterTrustBundle + * @param name name of the ClusterTrustBundle (required) + * @param body (required) + * @return APIpatchClusterTrustBundleRequest + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public APIpatchClusterTrustBundleRequest patchClusterTrustBundle(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body) { + return new APIpatchClusterTrustBundleRequest(name, body); + } + private okhttp3.Call patchNamespacedPodCertificateRequestCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/certificates.k8s.io/v1alpha1/namespaces/{namespace}/podcertificaterequests/{name}" + .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())) + .replace("{" + "namespace" + "}", localVarApiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (pretty != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); + } + + if (dryRun != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("dryRun", dryRun)); + } + + if (fieldManager != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldManager", fieldManager)); + } + + if (fieldValidation != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldValidation", fieldValidation)); + } + + if (force != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("force", force)); + } + + final String[] localVarAccepts = { + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return localVarApiClient.buildCall(basePath, localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call patchNamespacedPodCertificateRequestValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedPodCertificateRequest(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedPodCertificateRequest(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedPodCertificateRequest(Async)"); + } + + return patchNamespacedPodCertificateRequestCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + + } + + + private ApiResponse patchNamespacedPodCertificateRequestWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force) throws ApiException { + okhttp3.Call localVarCall = patchNamespacedPodCertificateRequestValidateBeforeCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + private okhttp3.Call patchNamespacedPodCertificateRequestAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = patchNamespacedPodCertificateRequestValidateBeforeCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + public class APIpatchNamespacedPodCertificateRequestRequest { + @jakarta.annotation.Nonnull + private final String name; + @jakarta.annotation.Nonnull + private final String namespace; + @jakarta.annotation.Nonnull + private final V1Patch body; + @jakarta.annotation.Nullable + private String pretty; + @jakarta.annotation.Nullable + private String dryRun; + @jakarta.annotation.Nullable + private String fieldManager; + @jakarta.annotation.Nullable + private String fieldValidation; + @jakarta.annotation.Nullable + private Boolean force; + + private APIpatchNamespacedPodCertificateRequestRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1Patch body) { + this.name = name; + this.namespace = namespace; + this.body = body; + } + + /** + * Set pretty + * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + * @return APIpatchNamespacedPodCertificateRequestRequest + */ + public APIpatchNamespacedPodCertificateRequestRequest pretty(@jakarta.annotation.Nullable String pretty) { + this.pretty = pretty; + return this; + } + + /** + * Set dryRun + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + * @return APIpatchNamespacedPodCertificateRequestRequest + */ + public APIpatchNamespacedPodCertificateRequestRequest dryRun(@jakarta.annotation.Nullable String dryRun) { + this.dryRun = dryRun; + return this; + } + + /** + * Set fieldManager + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). (optional) + * @return APIpatchNamespacedPodCertificateRequestRequest + */ + public APIpatchNamespacedPodCertificateRequestRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { + this.fieldManager = fieldManager; + return this; + } + + /** + * Set fieldValidation + * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) + * @return APIpatchNamespacedPodCertificateRequestRequest + */ + public APIpatchNamespacedPodCertificateRequestRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { + this.fieldValidation = fieldValidation; + return this; + } + + /** + * Set force + * @param force Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. (optional) + * @return APIpatchNamespacedPodCertificateRequestRequest + */ + public APIpatchNamespacedPodCertificateRequestRequest force(@jakarta.annotation.Nullable Boolean force) { + this.force = force; + return this; + } + + /** + * Build call for patchNamespacedPodCertificateRequest + * @param _callback ApiCallback API callback + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { + return patchNamespacedPodCertificateRequestCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + } + + /** + * Execute patchNamespacedPodCertificateRequest request + * @return V1alpha1PodCertificateRequest + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public V1alpha1PodCertificateRequest execute() throws ApiException { + ApiResponse localVarResp = patchNamespacedPodCertificateRequestWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force); + return localVarResp.getData(); + } + + /** + * Execute patchNamespacedPodCertificateRequest request with HTTP info returned + * @return ApiResponse<V1alpha1PodCertificateRequest> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public ApiResponse executeWithHttpInfo() throws ApiException { + return patchNamespacedPodCertificateRequestWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force); + } + + /** + * Execute patchNamespacedPodCertificateRequest request (asynchronously) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return patchNamespacedPodCertificateRequestAsync(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + } + } + + /** + * + * partially update the specified PodCertificateRequest + * @param name name of the PodCertificateRequest (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @return APIpatchNamespacedPodCertificateRequestRequest + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public APIpatchNamespacedPodCertificateRequestRequest patchNamespacedPodCertificateRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1Patch body) { + return new APIpatchNamespacedPodCertificateRequestRequest(name, namespace, body); + } + private okhttp3.Call patchNamespacedPodCertificateRequestStatusCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/certificates.k8s.io/v1alpha1/namespaces/{namespace}/podcertificaterequests/{name}/status" + .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())) + .replace("{" + "namespace" + "}", localVarApiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (pretty != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); + } + + if (dryRun != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("dryRun", dryRun)); + } + + if (fieldManager != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldManager", fieldManager)); + } + + if (fieldValidation != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldValidation", fieldValidation)); + } + + if (force != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("force", force)); + } + + final String[] localVarAccepts = { + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return localVarApiClient.buildCall(basePath, localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call patchNamespacedPodCertificateRequestStatusValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedPodCertificateRequestStatus(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedPodCertificateRequestStatus(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedPodCertificateRequestStatus(Async)"); + } + + return patchNamespacedPodCertificateRequestStatusCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + + } + + + private ApiResponse patchNamespacedPodCertificateRequestStatusWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force) throws ApiException { + okhttp3.Call localVarCall = patchNamespacedPodCertificateRequestStatusValidateBeforeCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + private okhttp3.Call patchNamespacedPodCertificateRequestStatusAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = patchNamespacedPodCertificateRequestStatusValidateBeforeCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + public class APIpatchNamespacedPodCertificateRequestStatusRequest { + @jakarta.annotation.Nonnull + private final String name; + @jakarta.annotation.Nonnull + private final String namespace; + @jakarta.annotation.Nonnull + private final V1Patch body; + @jakarta.annotation.Nullable + private String pretty; + @jakarta.annotation.Nullable + private String dryRun; + @jakarta.annotation.Nullable + private String fieldManager; + @jakarta.annotation.Nullable + private String fieldValidation; + @jakarta.annotation.Nullable + private Boolean force; + + private APIpatchNamespacedPodCertificateRequestStatusRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1Patch body) { + this.name = name; + this.namespace = namespace; + this.body = body; + } + + /** + * Set pretty + * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + * @return APIpatchNamespacedPodCertificateRequestStatusRequest + */ + public APIpatchNamespacedPodCertificateRequestStatusRequest pretty(@jakarta.annotation.Nullable String pretty) { + this.pretty = pretty; + return this; + } + + /** + * Set dryRun + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + * @return APIpatchNamespacedPodCertificateRequestStatusRequest + */ + public APIpatchNamespacedPodCertificateRequestStatusRequest dryRun(@jakarta.annotation.Nullable String dryRun) { + this.dryRun = dryRun; + return this; + } + + /** + * Set fieldManager + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). (optional) + * @return APIpatchNamespacedPodCertificateRequestStatusRequest + */ + public APIpatchNamespacedPodCertificateRequestStatusRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { + this.fieldManager = fieldManager; + return this; + } + + /** + * Set fieldValidation + * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) + * @return APIpatchNamespacedPodCertificateRequestStatusRequest + */ + public APIpatchNamespacedPodCertificateRequestStatusRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { + this.fieldValidation = fieldValidation; + return this; + } + + /** + * Set force + * @param force Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. (optional) + * @return APIpatchNamespacedPodCertificateRequestStatusRequest + */ + public APIpatchNamespacedPodCertificateRequestStatusRequest force(@jakarta.annotation.Nullable Boolean force) { + this.force = force; + return this; + } + + /** + * Build call for patchNamespacedPodCertificateRequestStatus + * @param _callback ApiCallback API callback + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { + return patchNamespacedPodCertificateRequestStatusCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + } + + /** + * Execute patchNamespacedPodCertificateRequestStatus request + * @return V1alpha1PodCertificateRequest + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public V1alpha1PodCertificateRequest execute() throws ApiException { + ApiResponse localVarResp = patchNamespacedPodCertificateRequestStatusWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force); + return localVarResp.getData(); + } + + /** + * Execute patchNamespacedPodCertificateRequestStatus request with HTTP info returned + * @return ApiResponse<V1alpha1PodCertificateRequest> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public ApiResponse executeWithHttpInfo() throws ApiException { + return patchNamespacedPodCertificateRequestStatusWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force); + } + + /** + * Execute patchNamespacedPodCertificateRequestStatus request (asynchronously) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return patchNamespacedPodCertificateRequestStatusAsync(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + } + } + + /** + * + * partially update status of the specified PodCertificateRequest + * @param name name of the PodCertificateRequest (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @return APIpatchNamespacedPodCertificateRequestStatusRequest + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public APIpatchNamespacedPodCertificateRequestStatusRequest patchNamespacedPodCertificateRequestStatus(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1Patch body) { + return new APIpatchNamespacedPodCertificateRequestStatusRequest(name, namespace, body); + } + private okhttp3.Call readClusterTrustBundleCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/certificates.k8s.io/v1alpha1/clustertrustbundles/{name}" + .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (pretty != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); + } + + final String[] localVarAccepts = { + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call readClusterTrustBundleValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling readClusterTrustBundle(Async)"); + } + + return readClusterTrustBundleCall(name, pretty, _callback); + + } + + + private ApiResponse readClusterTrustBundleWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty) throws ApiException { + okhttp3.Call localVarCall = readClusterTrustBundleValidateBeforeCall(name, pretty, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + private okhttp3.Call readClusterTrustBundleAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = readClusterTrustBundleValidateBeforeCall(name, pretty, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + public class APIreadClusterTrustBundleRequest { + @jakarta.annotation.Nonnull + private final String name; + @jakarta.annotation.Nullable + private String pretty; + + private APIreadClusterTrustBundleRequest(@jakarta.annotation.Nonnull String name) { + this.name = name; + } + + /** + * Set pretty + * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + * @return APIreadClusterTrustBundleRequest + */ + public APIreadClusterTrustBundleRequest pretty(@jakarta.annotation.Nullable String pretty) { + this.pretty = pretty; + return this; + } + + /** + * Build call for readClusterTrustBundle + * @param _callback ApiCallback API callback + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { + return readClusterTrustBundleCall(name, pretty, _callback); + } + + /** + * Execute readClusterTrustBundle request + * @return V1alpha1ClusterTrustBundle + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public V1alpha1ClusterTrustBundle execute() throws ApiException { + ApiResponse localVarResp = readClusterTrustBundleWithHttpInfo(name, pretty); + return localVarResp.getData(); + } + + /** + * Execute readClusterTrustBundle request with HTTP info returned + * @return ApiResponse<V1alpha1ClusterTrustBundle> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public ApiResponse executeWithHttpInfo() throws ApiException { + return readClusterTrustBundleWithHttpInfo(name, pretty); + } + + /** + * Execute readClusterTrustBundle request (asynchronously) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return readClusterTrustBundleAsync(name, pretty, _callback); + } + } + + /** + * + * read the specified ClusterTrustBundle + * @param name name of the ClusterTrustBundle (required) + * @return APIreadClusterTrustBundleRequest + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public APIreadClusterTrustBundleRequest readClusterTrustBundle(@jakarta.annotation.Nonnull String name) { + return new APIreadClusterTrustBundleRequest(name); + } + private okhttp3.Call readNamespacedPodCertificateRequestCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/certificates.k8s.io/v1alpha1/namespaces/{namespace}/podcertificaterequests/{name}" + .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())) + .replace("{" + "namespace" + "}", localVarApiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (pretty != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); + } + + final String[] localVarAccepts = { + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call readNamespacedPodCertificateRequestValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling readNamespacedPodCertificateRequest(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling readNamespacedPodCertificateRequest(Async)"); + } + + return readNamespacedPodCertificateRequestCall(name, namespace, pretty, _callback); + + } + + + private ApiResponse readNamespacedPodCertificateRequestWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty) throws ApiException { + okhttp3.Call localVarCall = readNamespacedPodCertificateRequestValidateBeforeCall(name, namespace, pretty, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + private okhttp3.Call readNamespacedPodCertificateRequestAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = readNamespacedPodCertificateRequestValidateBeforeCall(name, namespace, pretty, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + public class APIreadNamespacedPodCertificateRequestRequest { + @jakarta.annotation.Nonnull + private final String name; + @jakarta.annotation.Nonnull + private final String namespace; + @jakarta.annotation.Nullable + private String pretty; + + private APIreadNamespacedPodCertificateRequestRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace) { + this.name = name; + this.namespace = namespace; + } + + /** + * Set pretty + * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + * @return APIreadNamespacedPodCertificateRequestRequest + */ + public APIreadNamespacedPodCertificateRequestRequest pretty(@jakarta.annotation.Nullable String pretty) { + this.pretty = pretty; + return this; + } + + /** + * Build call for readNamespacedPodCertificateRequest + * @param _callback ApiCallback API callback + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { + return readNamespacedPodCertificateRequestCall(name, namespace, pretty, _callback); + } + + /** + * Execute readNamespacedPodCertificateRequest request + * @return V1alpha1PodCertificateRequest + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public V1alpha1PodCertificateRequest execute() throws ApiException { + ApiResponse localVarResp = readNamespacedPodCertificateRequestWithHttpInfo(name, namespace, pretty); + return localVarResp.getData(); + } + + /** + * Execute readNamespacedPodCertificateRequest request with HTTP info returned + * @return ApiResponse<V1alpha1PodCertificateRequest> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public ApiResponse executeWithHttpInfo() throws ApiException { + return readNamespacedPodCertificateRequestWithHttpInfo(name, namespace, pretty); + } + + /** + * Execute readNamespacedPodCertificateRequest request (asynchronously) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return readNamespacedPodCertificateRequestAsync(name, namespace, pretty, _callback); + } + } + + /** + * + * read the specified PodCertificateRequest + * @param name name of the PodCertificateRequest (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @return APIreadNamespacedPodCertificateRequestRequest + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public APIreadNamespacedPodCertificateRequestRequest readNamespacedPodCertificateRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace) { + return new APIreadNamespacedPodCertificateRequestRequest(name, namespace); + } + private okhttp3.Call readNamespacedPodCertificateRequestStatusCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/certificates.k8s.io/v1alpha1/namespaces/{namespace}/podcertificaterequests/{name}/status" + .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())) + .replace("{" + "namespace" + "}", localVarApiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (pretty != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); + } + + final String[] localVarAccepts = { + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call readNamespacedPodCertificateRequestStatusValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling readNamespacedPodCertificateRequestStatus(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling readNamespacedPodCertificateRequestStatus(Async)"); + } + + return readNamespacedPodCertificateRequestStatusCall(name, namespace, pretty, _callback); + + } + + + private ApiResponse readNamespacedPodCertificateRequestStatusWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty) throws ApiException { + okhttp3.Call localVarCall = readNamespacedPodCertificateRequestStatusValidateBeforeCall(name, namespace, pretty, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + private okhttp3.Call readNamespacedPodCertificateRequestStatusAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = readNamespacedPodCertificateRequestStatusValidateBeforeCall(name, namespace, pretty, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + public class APIreadNamespacedPodCertificateRequestStatusRequest { + @jakarta.annotation.Nonnull + private final String name; + @jakarta.annotation.Nonnull + private final String namespace; + @jakarta.annotation.Nullable + private String pretty; + + private APIreadNamespacedPodCertificateRequestStatusRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace) { + this.name = name; + this.namespace = namespace; + } + + /** + * Set pretty + * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + * @return APIreadNamespacedPodCertificateRequestStatusRequest */ - public APIlistClusterTrustBundleRequest watch(@jakarta.annotation.Nullable Boolean watch) { - this.watch = watch; + public APIreadNamespacedPodCertificateRequestStatusRequest pretty(@jakarta.annotation.Nullable String pretty) { + this.pretty = pretty; return this; } /** - * Build call for listClusterTrustBundle + * Build call for readNamespacedPodCertificateRequestStatus * @param _callback ApiCallback API callback * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -1411,12 +4404,12 @@ public APIlistClusterTrustBundleRequest watch(@jakarta.annotation.Nullable Boole */ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return listClusterTrustBundleCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + return readNamespacedPodCertificateRequestStatusCall(name, namespace, pretty, _callback); } /** - * Execute listClusterTrustBundle request - * @return V1alpha1ClusterTrustBundleList + * Execute readNamespacedPodCertificateRequestStatus request + * @return V1alpha1PodCertificateRequest * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -1426,14 +4419,14 @@ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
401 Unauthorized -
*/ - public V1alpha1ClusterTrustBundleList execute() throws ApiException { - ApiResponse localVarResp = listClusterTrustBundleWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); + public V1alpha1PodCertificateRequest execute() throws ApiException { + ApiResponse localVarResp = readNamespacedPodCertificateRequestStatusWithHttpInfo(name, namespace, pretty); return localVarResp.getData(); } /** - * Execute listClusterTrustBundle request with HTTP info returned - * @return ApiResponse<V1alpha1ClusterTrustBundleList> + * Execute readNamespacedPodCertificateRequestStatus request with HTTP info returned + * @return ApiResponse<V1alpha1PodCertificateRequest> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -1443,12 +4436,12 @@ public V1alpha1ClusterTrustBundleList execute() throws ApiException {
401 Unauthorized -
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return listClusterTrustBundleWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); + public ApiResponse executeWithHttpInfo() throws ApiException { + return readNamespacedPodCertificateRequestStatusWithHttpInfo(name, namespace, pretty); } /** - * Execute listClusterTrustBundle request (asynchronously) + * Execute readNamespacedPodCertificateRequestStatus request (asynchronously) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -1460,15 +4453,17 @@ public ApiResponse executeWithHttpInfo() throws 401 Unauthorized - */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return listClusterTrustBundleAsync(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return readNamespacedPodCertificateRequestStatusAsync(name, namespace, pretty, _callback); } } /** - * - * list or watch objects of kind ClusterTrustBundle - * @return APIlistClusterTrustBundleRequest + * + * read status of the specified PodCertificateRequest + * @param name name of the PodCertificateRequest (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @return APIreadNamespacedPodCertificateRequestStatusRequest * @http.response.details @@ -1477,10 +4472,10 @@ public okhttp3.Call executeAsync(final ApiCallback
Response Details
401 Unauthorized -
*/ - public APIlistClusterTrustBundleRequest listClusterTrustBundle() { - return new APIlistClusterTrustBundleRequest(); + public APIreadNamespacedPodCertificateRequestStatusRequest readNamespacedPodCertificateRequestStatus(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace) { + return new APIreadNamespacedPodCertificateRequestStatusRequest(name, namespace); } - private okhttp3.Call patchClusterTrustBundleCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { + private okhttp3.Call replaceClusterTrustBundleCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1alpha1ClusterTrustBundle body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -1522,10 +4517,6 @@ private okhttp3.Call patchClusterTrustBundleCall(@jakarta.annotation.Nonnull Str localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldValidation", fieldValidation)); } - if (force != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("force", force)); - } - final String[] localVarAccepts = { "application/json", "application/yaml", @@ -1546,45 +4537,45 @@ private okhttp3.Call patchClusterTrustBundleCall(@jakarta.annotation.Nonnull Str } String[] localVarAuthNames = new String[] { "BearerToken" }; - return localVarApiClient.buildCall(basePath, localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @SuppressWarnings("rawtypes") - private okhttp3.Call patchClusterTrustBundleValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { + private okhttp3.Call replaceClusterTrustBundleValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1alpha1ClusterTrustBundle body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling patchClusterTrustBundle(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling replaceClusterTrustBundle(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling patchClusterTrustBundle(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling replaceClusterTrustBundle(Async)"); } - return patchClusterTrustBundleCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + return replaceClusterTrustBundleCall(name, body, pretty, dryRun, fieldManager, fieldValidation, _callback); } - private ApiResponse patchClusterTrustBundleWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force) throws ApiException { - okhttp3.Call localVarCall = patchClusterTrustBundleValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, null); + private ApiResponse replaceClusterTrustBundleWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1alpha1ClusterTrustBundle body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation) throws ApiException { + okhttp3.Call localVarCall = replaceClusterTrustBundleValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } - private okhttp3.Call patchClusterTrustBundleAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { + private okhttp3.Call replaceClusterTrustBundleAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1alpha1ClusterTrustBundle body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = patchClusterTrustBundleValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + okhttp3.Call localVarCall = replaceClusterTrustBundleValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } - public class APIpatchClusterTrustBundleRequest { + public class APIreplaceClusterTrustBundleRequest { @jakarta.annotation.Nonnull private final String name; @jakarta.annotation.Nonnull - private final V1Patch body; + private final V1alpha1ClusterTrustBundle body; @jakarta.annotation.Nullable private String pretty; @jakarta.annotation.Nullable @@ -1593,10 +4584,8 @@ public class APIpatchClusterTrustBundleRequest { private String fieldManager; @jakarta.annotation.Nullable private String fieldValidation; - @jakarta.annotation.Nullable - private Boolean force; - private APIpatchClusterTrustBundleRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body) { + private APIreplaceClusterTrustBundleRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1alpha1ClusterTrustBundle body) { this.name = name; this.body = body; } @@ -1604,9 +4593,9 @@ private APIpatchClusterTrustBundleRequest(@jakarta.annotation.Nonnull String nam /** * Set pretty * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIpatchClusterTrustBundleRequest + * @return APIreplaceClusterTrustBundleRequest */ - public APIpatchClusterTrustBundleRequest pretty(@jakarta.annotation.Nullable String pretty) { + public APIreplaceClusterTrustBundleRequest pretty(@jakarta.annotation.Nullable String pretty) { this.pretty = pretty; return this; } @@ -1614,19 +4603,19 @@ public APIpatchClusterTrustBundleRequest pretty(@jakarta.annotation.Nullable Str /** * Set dryRun * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) - * @return APIpatchClusterTrustBundleRequest + * @return APIreplaceClusterTrustBundleRequest */ - public APIpatchClusterTrustBundleRequest dryRun(@jakarta.annotation.Nullable String dryRun) { + public APIreplaceClusterTrustBundleRequest dryRun(@jakarta.annotation.Nullable String dryRun) { this.dryRun = dryRun; return this; } /** * Set fieldManager - * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). (optional) - * @return APIpatchClusterTrustBundleRequest + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) + * @return APIreplaceClusterTrustBundleRequest */ - public APIpatchClusterTrustBundleRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { + public APIreplaceClusterTrustBundleRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { this.fieldManager = fieldManager; return this; } @@ -1634,25 +4623,15 @@ public APIpatchClusterTrustBundleRequest fieldManager(@jakarta.annotation.Nullab /** * Set fieldValidation * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) - * @return APIpatchClusterTrustBundleRequest + * @return APIreplaceClusterTrustBundleRequest */ - public APIpatchClusterTrustBundleRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { + public APIreplaceClusterTrustBundleRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { this.fieldValidation = fieldValidation; return this; } /** - * Set force - * @param force Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. (optional) - * @return APIpatchClusterTrustBundleRequest - */ - public APIpatchClusterTrustBundleRequest force(@jakarta.annotation.Nullable Boolean force) { - this.force = force; - return this; - } - - /** - * Build call for patchClusterTrustBundle + * Build call for replaceClusterTrustBundle * @param _callback ApiCallback API callback * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -1666,11 +4645,11 @@ public APIpatchClusterTrustBundleRequest force(@jakarta.annotation.Nullable Bool */ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return patchClusterTrustBundleCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + return replaceClusterTrustBundleCall(name, body, pretty, dryRun, fieldManager, fieldValidation, _callback); } /** - * Execute patchClusterTrustBundle request + * Execute replaceClusterTrustBundle request * @return V1alpha1ClusterTrustBundle * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -1683,12 +4662,12 @@ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { */ public V1alpha1ClusterTrustBundle execute() throws ApiException { - ApiResponse localVarResp = patchClusterTrustBundleWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force); + ApiResponse localVarResp = replaceClusterTrustBundleWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation); return localVarResp.getData(); } /** - * Execute patchClusterTrustBundle request with HTTP info returned + * Execute replaceClusterTrustBundle request with HTTP info returned * @return ApiResponse<V1alpha1ClusterTrustBundle> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -1701,11 +4680,11 @@ public V1alpha1ClusterTrustBundle execute() throws ApiException { */ public ApiResponse executeWithHttpInfo() throws ApiException { - return patchClusterTrustBundleWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force); + return replaceClusterTrustBundleWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation); } /** - * Execute patchClusterTrustBundle request (asynchronously) + * Execute replaceClusterTrustBundle request (asynchronously) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -1719,16 +4698,16 @@ public ApiResponse executeWithHttpInfo() throws ApiE */ public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return patchClusterTrustBundleAsync(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + return replaceClusterTrustBundleAsync(name, body, pretty, dryRun, fieldManager, fieldValidation, _callback); } } /** - * - * partially update the specified ClusterTrustBundle + * + * replace the specified ClusterTrustBundle * @param name name of the ClusterTrustBundle (required) * @param body (required) - * @return APIpatchClusterTrustBundleRequest + * @return APIreplaceClusterTrustBundleRequest * @http.response.details @@ -1738,10 +4717,10 @@ public okhttp3.Call executeAsync(final ApiCallback _
Response Details
401 Unauthorized -
*/ - public APIpatchClusterTrustBundleRequest patchClusterTrustBundle(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body) { - return new APIpatchClusterTrustBundleRequest(name, body); + public APIreplaceClusterTrustBundleRequest replaceClusterTrustBundle(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1alpha1ClusterTrustBundle body) { + return new APIreplaceClusterTrustBundleRequest(name, body); } - private okhttp3.Call readClusterTrustBundleCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { + private okhttp3.Call replaceNamespacedPodCertificateRequestCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1alpha1PodCertificateRequest body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -1755,11 +4734,12 @@ private okhttp3.Call readClusterTrustBundleCall(@jakarta.annotation.Nonnull Stri basePath = null; } - Object localVarPostBody = null; + Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/certificates.k8s.io/v1alpha1/clustertrustbundles/{name}" - .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())); + String localVarPath = "/apis/certificates.k8s.io/v1alpha1/namespaces/{namespace}/podcertificaterequests/{name}" + .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())) + .replace("{" + "namespace" + "}", localVarApiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -1771,6 +4751,18 @@ private okhttp3.Call readClusterTrustBundleCall(@jakarta.annotation.Nonnull Stri localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); } + if (dryRun != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("dryRun", dryRun)); + } + + if (fieldManager != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldManager", fieldManager)); + } + + if (fieldValidation != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldValidation", fieldValidation)); + } + final String[] localVarAccepts = { "application/json", "application/yaml", @@ -1783,6 +4775,7 @@ private okhttp3.Call readClusterTrustBundleCall(@jakarta.annotation.Nonnull Stri } final String[] localVarContentTypes = { + "application/json" }; final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); if (localVarContentType != null) { @@ -1790,57 +4783,109 @@ private okhttp3.Call readClusterTrustBundleCall(@jakarta.annotation.Nonnull Stri } String[] localVarAuthNames = new String[] { "BearerToken" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @SuppressWarnings("rawtypes") - private okhttp3.Call readClusterTrustBundleValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { + private okhttp3.Call replaceNamespacedPodCertificateRequestValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1alpha1PodCertificateRequest body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling readClusterTrustBundle(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedPodCertificateRequest(Async)"); } - return readClusterTrustBundleCall(name, pretty, _callback); + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedPodCertificateRequest(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedPodCertificateRequest(Async)"); + } + + return replaceNamespacedPodCertificateRequestCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _callback); } - private ApiResponse readClusterTrustBundleWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty) throws ApiException { - okhttp3.Call localVarCall = readClusterTrustBundleValidateBeforeCall(name, pretty, null); - Type localVarReturnType = new TypeToken(){}.getType(); + private ApiResponse replaceNamespacedPodCertificateRequestWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1alpha1PodCertificateRequest body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation) throws ApiException { + okhttp3.Call localVarCall = replaceNamespacedPodCertificateRequestValidateBeforeCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, null); + Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } - private okhttp3.Call readClusterTrustBundleAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { + private okhttp3.Call replaceNamespacedPodCertificateRequestAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1alpha1PodCertificateRequest body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = readClusterTrustBundleValidateBeforeCall(name, pretty, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); + okhttp3.Call localVarCall = replaceNamespacedPodCertificateRequestValidateBeforeCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } - public class APIreadClusterTrustBundleRequest { + public class APIreplaceNamespacedPodCertificateRequestRequest { @jakarta.annotation.Nonnull private final String name; + @jakarta.annotation.Nonnull + private final String namespace; + @jakarta.annotation.Nonnull + private final V1alpha1PodCertificateRequest body; @jakarta.annotation.Nullable private String pretty; + @jakarta.annotation.Nullable + private String dryRun; + @jakarta.annotation.Nullable + private String fieldManager; + @jakarta.annotation.Nullable + private String fieldValidation; - private APIreadClusterTrustBundleRequest(@jakarta.annotation.Nonnull String name) { + private APIreplaceNamespacedPodCertificateRequestRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1alpha1PodCertificateRequest body) { this.name = name; + this.namespace = namespace; + this.body = body; } /** * Set pretty * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIreadClusterTrustBundleRequest + * @return APIreplaceNamespacedPodCertificateRequestRequest */ - public APIreadClusterTrustBundleRequest pretty(@jakarta.annotation.Nullable String pretty) { + public APIreplaceNamespacedPodCertificateRequestRequest pretty(@jakarta.annotation.Nullable String pretty) { this.pretty = pretty; return this; } /** - * Build call for readClusterTrustBundle + * Set dryRun + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + * @return APIreplaceNamespacedPodCertificateRequestRequest + */ + public APIreplaceNamespacedPodCertificateRequestRequest dryRun(@jakarta.annotation.Nullable String dryRun) { + this.dryRun = dryRun; + return this; + } + + /** + * Set fieldManager + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) + * @return APIreplaceNamespacedPodCertificateRequestRequest + */ + public APIreplaceNamespacedPodCertificateRequestRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { + this.fieldManager = fieldManager; + return this; + } + + /** + * Set fieldValidation + * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) + * @return APIreplaceNamespacedPodCertificateRequestRequest + */ + public APIreplaceNamespacedPodCertificateRequestRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { + this.fieldValidation = fieldValidation; + return this; + } + + /** + * Build call for replaceNamespacedPodCertificateRequest * @param _callback ApiCallback API callback * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -1849,48 +4894,51 @@ public APIreadClusterTrustBundleRequest pretty(@jakarta.annotation.Nullable Stri Response Details Status Code Description Response Headers 200 OK - + 201 Created - 401 Unauthorized - */ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return readClusterTrustBundleCall(name, pretty, _callback); + return replaceNamespacedPodCertificateRequestCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _callback); } /** - * Execute readClusterTrustBundle request - * @return V1alpha1ClusterTrustBundle + * Execute replaceNamespacedPodCertificateRequest request + * @return V1alpha1PodCertificateRequest * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
*/ - public V1alpha1ClusterTrustBundle execute() throws ApiException { - ApiResponse localVarResp = readClusterTrustBundleWithHttpInfo(name, pretty); + public V1alpha1PodCertificateRequest execute() throws ApiException { + ApiResponse localVarResp = replaceNamespacedPodCertificateRequestWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation); return localVarResp.getData(); } /** - * Execute readClusterTrustBundle request with HTTP info returned - * @return ApiResponse<V1alpha1ClusterTrustBundle> + * Execute replaceNamespacedPodCertificateRequest request with HTTP info returned + * @return ApiResponse<V1alpha1PodCertificateRequest> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return readClusterTrustBundleWithHttpInfo(name, pretty); + public ApiResponse executeWithHttpInfo() throws ApiException { + return replaceNamespacedPodCertificateRequestWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation); } /** - * Execute readClusterTrustBundle request (asynchronously) + * Execute replaceNamespacedPodCertificateRequest request (asynchronously) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -1899,31 +4947,35 @@ public ApiResponse executeWithHttpInfo() throws ApiE Response Details Status Code Description Response Headers 200 OK - + 201 Created - 401 Unauthorized - */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return readClusterTrustBundleAsync(name, pretty, _callback); + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return replaceNamespacedPodCertificateRequestAsync(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _callback); } } /** - * - * read the specified ClusterTrustBundle - * @param name name of the ClusterTrustBundle (required) - * @return APIreadClusterTrustBundleRequest + * + * replace the specified PodCertificateRequest + * @param name name of the PodCertificateRequest (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @return APIreplaceNamespacedPodCertificateRequestRequest * @http.response.details +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
*/ - public APIreadClusterTrustBundleRequest readClusterTrustBundle(@jakarta.annotation.Nonnull String name) { - return new APIreadClusterTrustBundleRequest(name); + public APIreplaceNamespacedPodCertificateRequestRequest replaceNamespacedPodCertificateRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1alpha1PodCertificateRequest body) { + return new APIreplaceNamespacedPodCertificateRequestRequest(name, namespace, body); } - private okhttp3.Call replaceClusterTrustBundleCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1alpha1ClusterTrustBundle body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + private okhttp3.Call replaceNamespacedPodCertificateRequestStatusCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1alpha1PodCertificateRequest body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -1940,8 +4992,9 @@ private okhttp3.Call replaceClusterTrustBundleCall(@jakarta.annotation.Nonnull S Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/certificates.k8s.io/v1alpha1/clustertrustbundles/{name}" - .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())); + String localVarPath = "/apis/certificates.k8s.io/v1alpha1/namespaces/{namespace}/podcertificaterequests/{name}/status" + .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())) + .replace("{" + "namespace" + "}", localVarApiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -1989,41 +5042,48 @@ private okhttp3.Call replaceClusterTrustBundleCall(@jakarta.annotation.Nonnull S } @SuppressWarnings("rawtypes") - private okhttp3.Call replaceClusterTrustBundleValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1alpha1ClusterTrustBundle body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + private okhttp3.Call replaceNamespacedPodCertificateRequestStatusValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1alpha1PodCertificateRequest body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling replaceClusterTrustBundle(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedPodCertificateRequestStatus(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedPodCertificateRequestStatus(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling replaceClusterTrustBundle(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedPodCertificateRequestStatus(Async)"); } - return replaceClusterTrustBundleCall(name, body, pretty, dryRun, fieldManager, fieldValidation, _callback); + return replaceNamespacedPodCertificateRequestStatusCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _callback); } - private ApiResponse replaceClusterTrustBundleWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1alpha1ClusterTrustBundle body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation) throws ApiException { - okhttp3.Call localVarCall = replaceClusterTrustBundleValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, null); - Type localVarReturnType = new TypeToken(){}.getType(); + private ApiResponse replaceNamespacedPodCertificateRequestStatusWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1alpha1PodCertificateRequest body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation) throws ApiException { + okhttp3.Call localVarCall = replaceNamespacedPodCertificateRequestStatusValidateBeforeCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, null); + Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } - private okhttp3.Call replaceClusterTrustBundleAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1alpha1ClusterTrustBundle body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + private okhttp3.Call replaceNamespacedPodCertificateRequestStatusAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1alpha1PodCertificateRequest body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = replaceClusterTrustBundleValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); + okhttp3.Call localVarCall = replaceNamespacedPodCertificateRequestStatusValidateBeforeCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } - public class APIreplaceClusterTrustBundleRequest { + public class APIreplaceNamespacedPodCertificateRequestStatusRequest { @jakarta.annotation.Nonnull private final String name; @jakarta.annotation.Nonnull - private final V1alpha1ClusterTrustBundle body; + private final String namespace; + @jakarta.annotation.Nonnull + private final V1alpha1PodCertificateRequest body; @jakarta.annotation.Nullable private String pretty; @jakarta.annotation.Nullable @@ -2033,17 +5093,18 @@ public class APIreplaceClusterTrustBundleRequest { @jakarta.annotation.Nullable private String fieldValidation; - private APIreplaceClusterTrustBundleRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1alpha1ClusterTrustBundle body) { + private APIreplaceNamespacedPodCertificateRequestStatusRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1alpha1PodCertificateRequest body) { this.name = name; + this.namespace = namespace; this.body = body; } /** * Set pretty * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIreplaceClusterTrustBundleRequest + * @return APIreplaceNamespacedPodCertificateRequestStatusRequest */ - public APIreplaceClusterTrustBundleRequest pretty(@jakarta.annotation.Nullable String pretty) { + public APIreplaceNamespacedPodCertificateRequestStatusRequest pretty(@jakarta.annotation.Nullable String pretty) { this.pretty = pretty; return this; } @@ -2051,9 +5112,9 @@ public APIreplaceClusterTrustBundleRequest pretty(@jakarta.annotation.Nullable S /** * Set dryRun * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) - * @return APIreplaceClusterTrustBundleRequest + * @return APIreplaceNamespacedPodCertificateRequestStatusRequest */ - public APIreplaceClusterTrustBundleRequest dryRun(@jakarta.annotation.Nullable String dryRun) { + public APIreplaceNamespacedPodCertificateRequestStatusRequest dryRun(@jakarta.annotation.Nullable String dryRun) { this.dryRun = dryRun; return this; } @@ -2061,9 +5122,9 @@ public APIreplaceClusterTrustBundleRequest dryRun(@jakarta.annotation.Nullable S /** * Set fieldManager * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) - * @return APIreplaceClusterTrustBundleRequest + * @return APIreplaceNamespacedPodCertificateRequestStatusRequest */ - public APIreplaceClusterTrustBundleRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { + public APIreplaceNamespacedPodCertificateRequestStatusRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { this.fieldManager = fieldManager; return this; } @@ -2071,15 +5132,15 @@ public APIreplaceClusterTrustBundleRequest fieldManager(@jakarta.annotation.Null /** * Set fieldValidation * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) - * @return APIreplaceClusterTrustBundleRequest + * @return APIreplaceNamespacedPodCertificateRequestStatusRequest */ - public APIreplaceClusterTrustBundleRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { + public APIreplaceNamespacedPodCertificateRequestStatusRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { this.fieldValidation = fieldValidation; return this; } /** - * Build call for replaceClusterTrustBundle + * Build call for replaceNamespacedPodCertificateRequestStatus * @param _callback ApiCallback API callback * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -2093,12 +5154,12 @@ public APIreplaceClusterTrustBundleRequest fieldValidation(@jakarta.annotation.N */ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return replaceClusterTrustBundleCall(name, body, pretty, dryRun, fieldManager, fieldValidation, _callback); + return replaceNamespacedPodCertificateRequestStatusCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _callback); } /** - * Execute replaceClusterTrustBundle request - * @return V1alpha1ClusterTrustBundle + * Execute replaceNamespacedPodCertificateRequestStatus request + * @return V1alpha1PodCertificateRequest * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -2109,14 +5170,14 @@ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
401 Unauthorized -
*/ - public V1alpha1ClusterTrustBundle execute() throws ApiException { - ApiResponse localVarResp = replaceClusterTrustBundleWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation); + public V1alpha1PodCertificateRequest execute() throws ApiException { + ApiResponse localVarResp = replaceNamespacedPodCertificateRequestStatusWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation); return localVarResp.getData(); } /** - * Execute replaceClusterTrustBundle request with HTTP info returned - * @return ApiResponse<V1alpha1ClusterTrustBundle> + * Execute replaceNamespacedPodCertificateRequestStatus request with HTTP info returned + * @return ApiResponse<V1alpha1PodCertificateRequest> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -2127,12 +5188,12 @@ public V1alpha1ClusterTrustBundle execute() throws ApiException {
401 Unauthorized -
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return replaceClusterTrustBundleWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation); + public ApiResponse executeWithHttpInfo() throws ApiException { + return replaceNamespacedPodCertificateRequestStatusWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation); } /** - * Execute replaceClusterTrustBundle request (asynchronously) + * Execute replaceNamespacedPodCertificateRequestStatus request (asynchronously) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -2145,17 +5206,18 @@ public ApiResponse executeWithHttpInfo() throws ApiE 401 Unauthorized - */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return replaceClusterTrustBundleAsync(name, body, pretty, dryRun, fieldManager, fieldValidation, _callback); + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return replaceNamespacedPodCertificateRequestStatusAsync(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _callback); } } /** - * - * replace the specified ClusterTrustBundle - * @param name name of the ClusterTrustBundle (required) + * + * replace status of the specified PodCertificateRequest + * @param name name of the PodCertificateRequest (required) + * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) - * @return APIreplaceClusterTrustBundleRequest + * @return APIreplaceNamespacedPodCertificateRequestStatusRequest * @http.response.details @@ -2165,7 +5227,7 @@ public okhttp3.Call executeAsync(final ApiCallback _
Response Details
401 Unauthorized -
*/ - public APIreplaceClusterTrustBundleRequest replaceClusterTrustBundle(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1alpha1ClusterTrustBundle body) { - return new APIreplaceClusterTrustBundleRequest(name, body); + public APIreplaceNamespacedPodCertificateRequestStatusRequest replaceNamespacedPodCertificateRequestStatus(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1alpha1PodCertificateRequest body) { + return new APIreplaceNamespacedPodCertificateRequestStatusRequest(name, namespace, body); } } diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CertificatesV1beta1Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CertificatesV1beta1Api.java index 06321bbd1c..4b01aa4439 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CertificatesV1beta1Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CertificatesV1beta1Api.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.apis; import io.kubernetes.client.openapi.ApiCallback; @@ -299,7 +300,7 @@ public okhttp3.Call executeAsync(final ApiCallback _c } /** - * + * * create a ClusterTrustBundle * @param body (required) * @return APIcreateClusterTrustBundleRequest @@ -580,7 +581,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete a ClusterTrustBundle * @param name name of the ClusterTrustBundle (required) * @return APIdeleteClusterTrustBundleRequest @@ -975,7 +976,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of ClusterTrustBundle * @return APIdeleteCollectionClusterTrustBundleRequest * @http.response.details @@ -1131,7 +1132,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) } /** - * + * * get available resources * @return APIgetAPIResourcesRequest * @http.response.details @@ -1466,7 +1467,7 @@ public okhttp3.Call executeAsync(final ApiCallback _c } /** - * + * * partially update the specified ClusterTrustBundle * @param name name of the ClusterTrustBundle (required) * @param body (required) @@ -1908,7 +1909,7 @@ public okhttp3.Call executeAsync(final ApiCallback _c } /** - * + * * read the specified ClusterTrustBundle * @param name name of the ClusterTrustBundle (required) * @return APIreadClusterTrustBundleRequest @@ -2151,7 +2152,7 @@ public okhttp3.Call executeAsync(final ApiCallback _c } /** - * + * * replace the specified ClusterTrustBundle * @param name name of the ClusterTrustBundle (required) * @param body (required) diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CoordinationApi.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CoordinationApi.java index 31c582a8c4..9c42d91a7f 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CoordinationApi.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CoordinationApi.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.apis; import io.kubernetes.client.openapi.ApiCallback; @@ -212,7 +213,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws } /** - * + * * get information of a group * @return APIgetAPIGroupRequest * @http.response.details diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CoordinationV1Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CoordinationV1Api.java index 674491cbec..78de9dd010 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CoordinationV1Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CoordinationV1Api.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.apis; import io.kubernetes.client.openapi.ApiCallback; @@ -308,7 +309,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Ap } /** - * + * * create a Lease * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -714,7 +715,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of Lease * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIdeleteCollectionNamespacedLeaseRequest @@ -1002,7 +1003,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete a Lease * @param name name of the Lease (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -1161,7 +1162,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) } /** - * + * * get available resources * @return APIgetAPIResourcesRequest * @http.response.details @@ -1496,7 +1497,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throw } /** - * + * * list or watch objects of kind Lease * @return APIlistLeaseForAllNamespacesRequest * @http.response.details @@ -1840,7 +1841,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throw } /** - * + * * list or watch objects of kind Lease * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIlistNamespacedLeaseRequest @@ -2108,7 +2109,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Ap } /** - * + * * partially update the specified Lease * @param name name of the Lease (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -2302,7 +2303,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Ap } /** - * + * * read the specified Lease * @param name name of the Lease (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -2555,7 +2556,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Ap } /** - * + * * replace the specified Lease * @param name name of the Lease (required) * @param namespace object name and auth scope, such as for teams and projects (required) diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CoordinationV1alpha2Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CoordinationV1alpha2Api.java index bec94a9127..827c6017b0 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CoordinationV1alpha2Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CoordinationV1alpha2Api.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.apis; import io.kubernetes.client.openapi.ApiCallback; @@ -308,7 +309,7 @@ public okhttp3.Call executeAsync(final ApiCallback _call } /** - * + * * create a LeaseCandidate * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -714,7 +715,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of LeaseCandidate * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIdeleteCollectionNamespacedLeaseCandidateRequest @@ -1002,7 +1003,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete a LeaseCandidate * @param name name of the LeaseCandidate (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -1161,7 +1162,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) } /** - * + * * get available resources * @return APIgetAPIResourcesRequest * @http.response.details @@ -1496,7 +1497,7 @@ public okhttp3.Call executeAsync(final ApiCallback _ } /** - * + * * list or watch objects of kind LeaseCandidate * @return APIlistLeaseCandidateForAllNamespacesRequest * @http.response.details @@ -1840,7 +1841,7 @@ public okhttp3.Call executeAsync(final ApiCallback _ } /** - * + * * list or watch objects of kind LeaseCandidate * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIlistNamespacedLeaseCandidateRequest @@ -2108,7 +2109,7 @@ public okhttp3.Call executeAsync(final ApiCallback _call } /** - * + * * partially update the specified LeaseCandidate * @param name name of the LeaseCandidate (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -2302,7 +2303,7 @@ public okhttp3.Call executeAsync(final ApiCallback _call } /** - * + * * read the specified LeaseCandidate * @param name name of the LeaseCandidate (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -2555,7 +2556,7 @@ public okhttp3.Call executeAsync(final ApiCallback _call } /** - * + * * replace the specified LeaseCandidate * @param name name of the LeaseCandidate (required) * @param namespace object name and auth scope, such as for teams and projects (required) diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CoordinationV1beta1Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CoordinationV1beta1Api.java index 82451d4b1d..fc2d17f453 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CoordinationV1beta1Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CoordinationV1beta1Api.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.apis; import io.kubernetes.client.openapi.ApiCallback; @@ -308,7 +309,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callb } /** - * + * * create a LeaseCandidate * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -714,7 +715,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of LeaseCandidate * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIdeleteCollectionNamespacedLeaseCandidateRequest @@ -1002,7 +1003,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete a LeaseCandidate * @param name name of the LeaseCandidate (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -1161,7 +1162,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) } /** - * + * * get available resources * @return APIgetAPIResourcesRequest * @http.response.details @@ -1496,7 +1497,7 @@ public okhttp3.Call executeAsync(final ApiCallback _c } /** - * + * * list or watch objects of kind LeaseCandidate * @return APIlistLeaseCandidateForAllNamespacesRequest * @http.response.details @@ -1840,7 +1841,7 @@ public okhttp3.Call executeAsync(final ApiCallback _c } /** - * + * * list or watch objects of kind LeaseCandidate * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIlistNamespacedLeaseCandidateRequest @@ -2108,7 +2109,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callb } /** - * + * * partially update the specified LeaseCandidate * @param name name of the LeaseCandidate (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -2302,7 +2303,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callb } /** - * + * * read the specified LeaseCandidate * @param name name of the LeaseCandidate (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -2555,7 +2556,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callb } /** - * + * * replace the specified LeaseCandidate * @param name name of the LeaseCandidate (required) * @param namespace object name and auth scope, such as for teams and projects (required) diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CoreApi.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CoreApi.java index b136a81fa0..ebfd088a3f 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CoreApi.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CoreApi.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.apis; import io.kubernetes.client.openapi.ApiCallback; @@ -212,7 +213,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thr } /** - * + * * get available API versions * @return APIgetAPIVersionsRequest * @http.response.details diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CoreV1Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CoreV1Api.java index 0801447352..db26d8cb57 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CoreV1Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CoreV1Api.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.apis; import io.kubernetes.client.openapi.ApiCallback; @@ -283,7 +284,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * connect DELETE requests to proxy of Pod * @param name name of the PodProxyOptions (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -481,7 +482,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * connect DELETE requests to proxy of Pod * @param name name of the PodProxyOptions (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -671,7 +672,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * connect DELETE requests to proxy of Service * @param name name of the ServiceProxyOptions (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -869,7 +870,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * connect DELETE requests to proxy of Service * @param name name of the ServiceProxyOptions (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -1050,7 +1051,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * connect DELETE requests to proxy of Node * @param name name of the NodeProxyOptions (required) * @return APIconnectDeleteNodeProxyRequest @@ -1238,7 +1239,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * connect DELETE requests to proxy of Node * @param name name of the NodeProxyOptions (required) * @param path path to the resource (required) @@ -1491,7 +1492,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * connect GET requests to attach of Pod * @param name name of the PodAttachOptions (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -1760,7 +1761,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * connect GET requests to exec of Pod * @param name name of the PodExecOptions (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -1949,7 +1950,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * connect GET requests to portforward of Pod * @param name name of the PodPortForwardOptions (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -2138,7 +2139,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * connect GET requests to proxy of Pod * @param name name of the PodProxyOptions (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -2336,7 +2337,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * connect GET requests to proxy of Pod * @param name name of the PodProxyOptions (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -2526,7 +2527,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * connect GET requests to proxy of Service * @param name name of the ServiceProxyOptions (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -2724,7 +2725,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * connect GET requests to proxy of Service * @param name name of the ServiceProxyOptions (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -2905,7 +2906,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * connect GET requests to proxy of Node * @param name name of the NodeProxyOptions (required) * @return APIconnectGetNodeProxyRequest @@ -3093,7 +3094,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * connect GET requests to proxy of Node * @param name name of the NodeProxyOptions (required) * @param path path to the resource (required) @@ -3282,7 +3283,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * connect HEAD requests to proxy of Pod * @param name name of the PodProxyOptions (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -3480,7 +3481,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * connect HEAD requests to proxy of Pod * @param name name of the PodProxyOptions (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -3670,7 +3671,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * connect HEAD requests to proxy of Service * @param name name of the ServiceProxyOptions (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -3868,7 +3869,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * connect HEAD requests to proxy of Service * @param name name of the ServiceProxyOptions (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -4049,7 +4050,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * connect HEAD requests to proxy of Node * @param name name of the NodeProxyOptions (required) * @return APIconnectHeadNodeProxyRequest @@ -4237,7 +4238,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * connect HEAD requests to proxy of Node * @param name name of the NodeProxyOptions (required) * @param path path to the resource (required) @@ -4426,7 +4427,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * connect OPTIONS requests to proxy of Pod * @param name name of the PodProxyOptions (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -4624,7 +4625,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * connect OPTIONS requests to proxy of Pod * @param name name of the PodProxyOptions (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -4814,7 +4815,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * connect OPTIONS requests to proxy of Service * @param name name of the ServiceProxyOptions (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -5012,7 +5013,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * connect OPTIONS requests to proxy of Service * @param name name of the ServiceProxyOptions (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -5193,7 +5194,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * connect OPTIONS requests to proxy of Node * @param name name of the NodeProxyOptions (required) * @return APIconnectOptionsNodeProxyRequest @@ -5381,7 +5382,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * connect OPTIONS requests to proxy of Node * @param name name of the NodeProxyOptions (required) * @param path path to the resource (required) @@ -5570,7 +5571,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * connect PATCH requests to proxy of Pod * @param name name of the PodProxyOptions (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -5768,7 +5769,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * connect PATCH requests to proxy of Pod * @param name name of the PodProxyOptions (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -5958,7 +5959,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * connect PATCH requests to proxy of Service * @param name name of the ServiceProxyOptions (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -6156,7 +6157,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * connect PATCH requests to proxy of Service * @param name name of the ServiceProxyOptions (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -6337,7 +6338,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * connect PATCH requests to proxy of Node * @param name name of the NodeProxyOptions (required) * @return APIconnectPatchNodeProxyRequest @@ -6525,7 +6526,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * connect PATCH requests to proxy of Node * @param name name of the NodeProxyOptions (required) * @param path path to the resource (required) @@ -6778,7 +6779,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * connect POST requests to attach of Pod * @param name name of the PodAttachOptions (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -7047,7 +7048,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * connect POST requests to exec of Pod * @param name name of the PodExecOptions (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -7236,7 +7237,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * connect POST requests to portforward of Pod * @param name name of the PodPortForwardOptions (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -7425,7 +7426,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * connect POST requests to proxy of Pod * @param name name of the PodProxyOptions (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -7623,7 +7624,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * connect POST requests to proxy of Pod * @param name name of the PodProxyOptions (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -7813,7 +7814,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * connect POST requests to proxy of Service * @param name name of the ServiceProxyOptions (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -8011,7 +8012,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * connect POST requests to proxy of Service * @param name name of the ServiceProxyOptions (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -8192,7 +8193,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * connect POST requests to proxy of Node * @param name name of the NodeProxyOptions (required) * @return APIconnectPostNodeProxyRequest @@ -8380,7 +8381,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * connect POST requests to proxy of Node * @param name name of the NodeProxyOptions (required) * @param path path to the resource (required) @@ -8569,7 +8570,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * connect PUT requests to proxy of Pod * @param name name of the PodProxyOptions (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -8767,7 +8768,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * connect PUT requests to proxy of Pod * @param name name of the PodProxyOptions (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -8957,7 +8958,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * connect PUT requests to proxy of Service * @param name name of the ServiceProxyOptions (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -9155,7 +9156,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * connect PUT requests to proxy of Service * @param name name of the ServiceProxyOptions (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -9336,7 +9337,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * connect PUT requests to proxy of Node * @param name name of the NodeProxyOptions (required) * @return APIconnectPutNodeProxyRequest @@ -9524,7 +9525,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * connect PUT requests to proxy of Node * @param name name of the NodeProxyOptions (required) * @param path path to the resource (required) @@ -9763,7 +9764,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throw } /** - * + * * create a Namespace * @param body (required) * @return APIcreateNamespaceRequest @@ -10012,7 +10013,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws } /** - * + * * create a Binding * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -10262,7 +10263,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throw } /** - * + * * create a ConfigMap * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -10512,7 +10513,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throw } /** - * + * * create Endpoints * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -10762,7 +10763,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throw } /** - * + * * create an Event * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -11012,7 +11013,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thro } /** - * + * * create a LimitRange * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -11262,7 +11263,7 @@ public okhttp3.Call executeAsync(final ApiCallback _cal } /** - * + * * create a PersistentVolumeClaim * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -11512,7 +11513,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiE } /** - * + * * create a Pod * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -11771,7 +11772,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws } /** - * + * * create binding of a Pod * @param name name of the Binding (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -12031,7 +12032,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws } /** - * + * * create eviction of a Pod * @param name name of the Eviction (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -12282,7 +12283,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thr } /** - * + * * create a PodTemplate * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -12532,7 +12533,7 @@ public okhttp3.Call executeAsync(final ApiCallback _cal } /** - * + * * create a ReplicationController * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -12782,7 +12783,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) t } /** - * + * * create a ResourceQuota * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -13032,7 +13033,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * create a Secret * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -13282,7 +13283,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws } /** - * + * * create a Service * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -13532,7 +13533,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) } /** - * + * * create a ServiceAccount * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -13791,7 +13792,7 @@ public okhttp3.Call executeAsync(final ApiCallback } /** - * + * * create token of a ServiceAccount * @param name name of the TokenRequest (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -14033,7 +14034,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * create a Node * @param body (required) * @return APIcreateNodeRequest @@ -14273,7 +14274,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback } /** - * + * * create a PersistentVolume * @param body (required) * @return APIcreatePersistentVolumeRequest @@ -14678,7 +14679,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of ConfigMap * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIdeleteCollectionNamespacedConfigMapRequest @@ -15081,7 +15082,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of Endpoints * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIdeleteCollectionNamespacedEndpointsRequest @@ -15484,7 +15485,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of Event * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIdeleteCollectionNamespacedEventRequest @@ -15887,7 +15888,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of LimitRange * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIdeleteCollectionNamespacedLimitRangeRequest @@ -16290,7 +16291,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of PersistentVolumeClaim * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIdeleteCollectionNamespacedPersistentVolumeClaimRequest @@ -16693,7 +16694,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of Pod * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIdeleteCollectionNamespacedPodRequest @@ -17096,7 +17097,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of PodTemplate * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIdeleteCollectionNamespacedPodTemplateRequest @@ -17499,7 +17500,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of ReplicationController * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIdeleteCollectionNamespacedReplicationControllerRequest @@ -17902,7 +17903,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of ResourceQuota * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIdeleteCollectionNamespacedResourceQuotaRequest @@ -18305,7 +18306,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of Secret * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIdeleteCollectionNamespacedSecretRequest @@ -18708,7 +18709,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of Service * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIdeleteCollectionNamespacedServiceRequest @@ -19111,7 +19112,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of ServiceAccount * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIdeleteCollectionNamespacedServiceAccountRequest @@ -19505,7 +19506,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of Node * @return APIdeleteCollectionNodeRequest * @http.response.details @@ -19898,7 +19899,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of PersistentVolume * @return APIdeleteCollectionPersistentVolumeRequest * @http.response.details @@ -20176,7 +20177,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete a Namespace * @param name name of the Namespace (required) * @return APIdeleteNamespaceRequest @@ -20465,7 +20466,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete a ConfigMap * @param name name of the ConfigMap (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -20755,7 +20756,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete Endpoints * @param name name of the Endpoints (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -21045,7 +21046,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete an Event * @param name name of the Event (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -21335,7 +21336,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete a LimitRange * @param name name of the LimitRange (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -21625,7 +21626,7 @@ public okhttp3.Call executeAsync(final ApiCallback _cal } /** - * + * * delete a PersistentVolumeClaim * @param name name of the PersistentVolumeClaim (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -21915,7 +21916,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiE } /** - * + * * delete a Pod * @param name name of the Pod (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -22205,7 +22206,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thr } /** - * + * * delete a PodTemplate * @param name name of the PodTemplate (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -22495,7 +22496,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete a ReplicationController * @param name name of the ReplicationController (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -22785,7 +22786,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) t } /** - * + * * delete a ResourceQuota * @param name name of the ResourceQuota (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -23075,7 +23076,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete a Secret * @param name name of the Secret (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -23365,7 +23366,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws } /** - * + * * delete a Service * @param name name of the Service (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -23655,7 +23656,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) } /** - * + * * delete a ServiceAccount * @param name name of the ServiceAccount (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -23936,7 +23937,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete a Node * @param name name of the Node (required) * @return APIdeleteNodeRequest @@ -24216,7 +24217,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback } /** - * + * * delete a PersistentVolume * @param name name of the PersistentVolume (required) * @return APIdeletePersistentVolumeRequest @@ -24374,7 +24375,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) } /** - * + * * get available resources * @return APIgetAPIResourcesRequest * @http.response.details @@ -24709,7 +24710,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callb } /** - * + * * list objects of kind ComponentStatus * @return APIlistComponentStatusRequest * @http.response.details @@ -25044,7 +25045,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) t } /** - * + * * list or watch objects of kind ConfigMap * @return APIlistConfigMapForAllNamespacesRequest * @http.response.details @@ -25379,7 +25380,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) t } /** - * + * * list or watch objects of kind Endpoints * @return APIlistEndpointsForAllNamespacesRequest * @http.response.details @@ -25714,7 +25715,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) t } /** - * + * * list or watch objects of kind Event * @return APIlistEventForAllNamespacesRequest * @http.response.details @@ -26049,7 +26050,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) } /** - * + * * list or watch objects of kind LimitRange * @return APIlistLimitRangeForAllNamespacesRequest * @http.response.details @@ -26384,7 +26385,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) t } /** - * + * * list or watch objects of kind Namespace * @return APIlistNamespaceRequest * @http.response.details @@ -26728,7 +26729,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) t } /** - * + * * list or watch objects of kind ConfigMap * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIlistNamespacedConfigMapRequest @@ -27073,7 +27074,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) t } /** - * + * * list or watch objects of kind Endpoints * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIlistNamespacedEndpointsRequest @@ -27418,7 +27419,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) t } /** - * + * * list or watch objects of kind Event * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIlistNamespacedEventRequest @@ -27763,7 +27764,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) } /** - * + * * list or watch objects of kind LimitRange * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIlistNamespacedLimitRangeRequest @@ -28108,7 +28109,7 @@ public okhttp3.Call executeAsync(final ApiCallback } /** - * + * * list or watch objects of kind PersistentVolumeClaim * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIlistNamespacedPersistentVolumeClaimRequest @@ -28453,7 +28454,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws } /** - * + * * list or watch objects of kind Pod * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIlistNamespacedPodRequest @@ -28798,7 +28799,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) } /** - * + * * list or watch objects of kind PodTemplate * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIlistNamespacedPodTemplateRequest @@ -29143,7 +29144,7 @@ public okhttp3.Call executeAsync(final ApiCallback } /** - * + * * list or watch objects of kind ReplicationController * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIlistNamespacedReplicationControllerRequest @@ -29488,7 +29489,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callbac } /** - * + * * list or watch objects of kind ResourceQuota * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIlistNamespacedResourceQuotaRequest @@ -29833,7 +29834,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thro } /** - * + * * list or watch objects of kind Secret * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIlistNamespacedSecretRequest @@ -30178,7 +30179,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thr } /** - * + * * list or watch objects of kind Service * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIlistNamespacedServiceRequest @@ -30523,7 +30524,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callba } /** - * + * * list or watch objects of kind ServiceAccount * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIlistNamespacedServiceAccountRequest @@ -30859,7 +30860,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws } /** - * + * * list or watch objects of kind Node * @return APIlistNodeRequest * @http.response.details @@ -31194,7 +31195,7 @@ public okhttp3.Call executeAsync(final ApiCallback _call } /** - * + * * list or watch objects of kind PersistentVolume * @return APIlistPersistentVolumeRequest * @http.response.details @@ -31529,7 +31530,7 @@ public okhttp3.Call executeAsync(final ApiCallback } /** - * + * * list or watch objects of kind PersistentVolumeClaim * @return APIlistPersistentVolumeClaimForAllNamespacesRequest * @http.response.details @@ -31864,7 +31865,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws } /** - * + * * list or watch objects of kind Pod * @return APIlistPodForAllNamespacesRequest * @http.response.details @@ -32199,7 +32200,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) } /** - * + * * list or watch objects of kind PodTemplate * @return APIlistPodTemplateForAllNamespacesRequest * @http.response.details @@ -32534,7 +32535,7 @@ public okhttp3.Call executeAsync(final ApiCallback } /** - * + * * list or watch objects of kind ReplicationController * @return APIlistReplicationControllerForAllNamespacesRequest * @http.response.details @@ -32869,7 +32870,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callbac } /** - * + * * list or watch objects of kind ResourceQuota * @return APIlistResourceQuotaForAllNamespacesRequest * @http.response.details @@ -33204,7 +33205,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thro } /** - * + * * list or watch objects of kind Secret * @return APIlistSecretForAllNamespacesRequest * @http.response.details @@ -33539,7 +33540,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callba } /** - * + * * list or watch objects of kind ServiceAccount * @return APIlistServiceAccountForAllNamespacesRequest * @http.response.details @@ -33874,7 +33875,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thr } /** - * + * * list or watch objects of kind Service * @return APIlistServiceForAllNamespacesRequest * @http.response.details @@ -34132,7 +34133,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throw } /** - * + * * partially update the specified Namespace * @param name name of the Namespace (required) * @param body (required) @@ -34393,7 +34394,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throw } /** - * + * * partially update status of the specified Namespace * @param name name of the Namespace (required) * @param body (required) @@ -34663,7 +34664,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throw } /** - * + * * partially update the specified ConfigMap * @param name name of the ConfigMap (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -34934,7 +34935,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throw } /** - * + * * partially update the specified Endpoints * @param name name of the Endpoints (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -35205,7 +35206,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throw } /** - * + * * partially update the specified Event * @param name name of the Event (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -35476,7 +35477,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thro } /** - * + * * partially update the specified LimitRange * @param name name of the LimitRange (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -35747,7 +35748,7 @@ public okhttp3.Call executeAsync(final ApiCallback _cal } /** - * + * * partially update the specified PersistentVolumeClaim * @param name name of the PersistentVolumeClaim (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -36018,7 +36019,7 @@ public okhttp3.Call executeAsync(final ApiCallback _cal } /** - * + * * partially update status of the specified PersistentVolumeClaim * @param name name of the PersistentVolumeClaim (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -36289,7 +36290,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiE } /** - * + * * partially update the specified Pod * @param name name of the Pod (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -36560,7 +36561,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiE } /** - * + * * partially update ephemeralcontainers of the specified Pod * @param name name of the Pod (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -36831,7 +36832,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiE } /** - * + * * partially update resize of the specified Pod * @param name name of the Pod (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -37102,7 +37103,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiE } /** - * + * * partially update status of the specified Pod * @param name name of the Pod (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -37373,7 +37374,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thr } /** - * + * * partially update the specified PodTemplate * @param name name of the PodTemplate (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -37644,7 +37645,7 @@ public okhttp3.Call executeAsync(final ApiCallback _cal } /** - * + * * partially update the specified ReplicationController * @param name name of the ReplicationController (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -37915,7 +37916,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Ap } /** - * + * * partially update scale of the specified ReplicationController * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -38186,7 +38187,7 @@ public okhttp3.Call executeAsync(final ApiCallback _cal } /** - * + * * partially update status of the specified ReplicationController * @param name name of the ReplicationController (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -38457,7 +38458,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) t } /** - * + * * partially update the specified ResourceQuota * @param name name of the ResourceQuota (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -38728,7 +38729,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) t } /** - * + * * partially update status of the specified ResourceQuota * @param name name of the ResourceQuota (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -38999,7 +39000,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * partially update the specified Secret * @param name name of the Secret (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -39270,7 +39271,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws } /** - * + * * partially update the specified Service * @param name name of the Service (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -39541,7 +39542,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) } /** - * + * * partially update the specified ServiceAccount * @param name name of the ServiceAccount (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -39812,7 +39813,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws } /** - * + * * partially update status of the specified Service * @param name name of the Service (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -40074,7 +40075,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * partially update the specified Node * @param name name of the Node (required) * @param body (required) @@ -40335,7 +40336,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * partially update status of the specified Node * @param name name of the Node (required) * @param body (required) @@ -40596,7 +40597,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback } /** - * + * * partially update the specified PersistentVolume * @param name name of the PersistentVolume (required) * @param body (required) @@ -40857,7 +40858,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback } /** - * + * * partially update status of the specified PersistentVolume * @param name name of the PersistentVolume (required) * @param body (required) @@ -41041,7 +41042,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) } /** - * + * * read the specified ComponentStatus * @param name name of the ComponentStatus (required) * @return APIreadComponentStatusRequest @@ -41223,7 +41224,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throw } /** - * + * * read the specified Namespace * @param name name of the Namespace (required) * @return APIreadNamespaceRequest @@ -41405,7 +41406,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throw } /** - * + * * read status of the specified Namespace * @param name name of the Namespace (required) * @return APIreadNamespaceStatusRequest @@ -41596,7 +41597,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throw } /** - * + * * read the specified ConfigMap * @param name name of the ConfigMap (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -41788,7 +41789,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throw } /** - * + * * read the specified Endpoints * @param name name of the Endpoints (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -41980,7 +41981,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throw } /** - * + * * read the specified Event * @param name name of the Event (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -42172,7 +42173,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thro } /** - * + * * read the specified LimitRange * @param name name of the LimitRange (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -42364,7 +42365,7 @@ public okhttp3.Call executeAsync(final ApiCallback _cal } /** - * + * * read the specified PersistentVolumeClaim * @param name name of the PersistentVolumeClaim (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -42556,7 +42557,7 @@ public okhttp3.Call executeAsync(final ApiCallback _cal } /** - * + * * read status of the specified PersistentVolumeClaim * @param name name of the PersistentVolumeClaim (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -42748,7 +42749,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiE } /** - * + * * read the specified Pod * @param name name of the Pod (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -42940,7 +42941,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiE } /** - * + * * read ephemeralcontainers of the specified Pod * @param name name of the Pod (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -43277,7 +43278,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * read log of the specified Pod * @param name name of the Pod (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -43469,7 +43470,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiE } /** - * + * * read resize of the specified Pod * @param name name of the Pod (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -43661,7 +43662,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiE } /** - * + * * read status of the specified Pod * @param name name of the Pod (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -43853,7 +43854,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thr } /** - * + * * read the specified PodTemplate * @param name name of the PodTemplate (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -44045,7 +44046,7 @@ public okhttp3.Call executeAsync(final ApiCallback _cal } /** - * + * * read the specified ReplicationController * @param name name of the ReplicationController (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -44237,7 +44238,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Ap } /** - * + * * read scale of the specified ReplicationController * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -44429,7 +44430,7 @@ public okhttp3.Call executeAsync(final ApiCallback _cal } /** - * + * * read status of the specified ReplicationController * @param name name of the ReplicationController (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -44621,7 +44622,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) t } /** - * + * * read the specified ResourceQuota * @param name name of the ResourceQuota (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -44813,7 +44814,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) t } /** - * + * * read status of the specified ResourceQuota * @param name name of the ResourceQuota (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -45005,7 +45006,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * read the specified Secret * @param name name of the Secret (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -45197,7 +45198,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws } /** - * + * * read the specified Service * @param name name of the Service (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -45389,7 +45390,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) } /** - * + * * read the specified ServiceAccount * @param name name of the ServiceAccount (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -45581,7 +45582,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws } /** - * + * * read status of the specified Service * @param name name of the Service (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -45764,7 +45765,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * read the specified Node * @param name name of the Node (required) * @return APIreadNodeRequest @@ -45946,7 +45947,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * read status of the specified Node * @param name name of the Node (required) * @return APIreadNodeStatusRequest @@ -46128,7 +46129,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback } /** - * + * * read the specified PersistentVolume * @param name name of the PersistentVolume (required) * @return APIreadPersistentVolumeRequest @@ -46310,7 +46311,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback } /** - * + * * read status of the specified PersistentVolume * @param name name of the PersistentVolume (required) * @return APIreadPersistentVolumeStatusRequest @@ -46553,7 +46554,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throw } /** - * + * * replace the specified Namespace * @param name name of the Namespace (required) * @param body (required) @@ -46798,7 +46799,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throw } /** - * + * * replace finalize of the specified Namespace * @param name name of the Namespace (required) * @param body (required) @@ -47043,7 +47044,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throw } /** - * + * * replace status of the specified Namespace * @param name name of the Namespace (required) * @param body (required) @@ -47297,7 +47298,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throw } /** - * + * * replace the specified ConfigMap * @param name name of the ConfigMap (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -47552,7 +47553,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throw } /** - * + * * replace the specified Endpoints * @param name name of the Endpoints (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -47807,7 +47808,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throw } /** - * + * * replace the specified Event * @param name name of the Event (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -48062,7 +48063,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thro } /** - * + * * replace the specified LimitRange * @param name name of the LimitRange (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -48317,7 +48318,7 @@ public okhttp3.Call executeAsync(final ApiCallback _cal } /** - * + * * replace the specified PersistentVolumeClaim * @param name name of the PersistentVolumeClaim (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -48572,7 +48573,7 @@ public okhttp3.Call executeAsync(final ApiCallback _cal } /** - * + * * replace status of the specified PersistentVolumeClaim * @param name name of the PersistentVolumeClaim (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -48827,7 +48828,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiE } /** - * + * * replace the specified Pod * @param name name of the Pod (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -49082,7 +49083,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiE } /** - * + * * replace ephemeralcontainers of the specified Pod * @param name name of the Pod (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -49337,7 +49338,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiE } /** - * + * * replace resize of the specified Pod * @param name name of the Pod (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -49592,7 +49593,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiE } /** - * + * * replace status of the specified Pod * @param name name of the Pod (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -49847,7 +49848,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thr } /** - * + * * replace the specified PodTemplate * @param name name of the PodTemplate (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -50102,7 +50103,7 @@ public okhttp3.Call executeAsync(final ApiCallback _cal } /** - * + * * replace the specified ReplicationController * @param name name of the ReplicationController (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -50357,7 +50358,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Ap } /** - * + * * replace scale of the specified ReplicationController * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -50612,7 +50613,7 @@ public okhttp3.Call executeAsync(final ApiCallback _cal } /** - * + * * replace status of the specified ReplicationController * @param name name of the ReplicationController (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -50867,7 +50868,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) t } /** - * + * * replace the specified ResourceQuota * @param name name of the ResourceQuota (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -51122,7 +51123,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) t } /** - * + * * replace status of the specified ResourceQuota * @param name name of the ResourceQuota (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -51377,7 +51378,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * replace the specified Secret * @param name name of the Secret (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -51632,7 +51633,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws } /** - * + * * replace the specified Service * @param name name of the Service (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -51887,7 +51888,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) } /** - * + * * replace the specified ServiceAccount * @param name name of the ServiceAccount (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -52142,7 +52143,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws } /** - * + * * replace status of the specified Service * @param name name of the Service (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -52388,7 +52389,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * replace the specified Node * @param name name of the Node (required) * @param body (required) @@ -52633,7 +52634,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * replace status of the specified Node * @param name name of the Node (required) * @param body (required) @@ -52878,7 +52879,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback } /** - * + * * replace the specified PersistentVolume * @param name name of the PersistentVolume (required) * @param body (required) @@ -53123,7 +53124,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback } /** - * + * * replace status of the specified PersistentVolume * @param name name of the PersistentVolume (required) * @param body (required) diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CustomObjectsApi.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CustomObjectsApi.java index 8cda5462f9..4aa5e795c0 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CustomObjectsApi.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CustomObjectsApi.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.apis; import io.kubernetes.client.openapi.ApiCallback; @@ -311,7 +312,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * Creates a cluster scoped Custom object * @param group The custom resource's group name (required) * @param version The custom resource's version (required) @@ -577,7 +578,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * Creates a namespace scoped Custom object * @param group The custom resource's group name (required) * @param version The custom resource's version (required) @@ -848,7 +849,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * Deletes the specified cluster scoped custom object * @param group the custom resource's group (required) * @param version the custom resource's version (required) @@ -1141,7 +1142,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * Delete collection of cluster scoped custom objects * @param group The custom resource's group name (required) * @param version The custom resource's version (required) @@ -1458,7 +1459,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * Delete collection of namespace scoped custom objects * @param group The custom resource's group name (required) * @param version The custom resource's version (required) @@ -1737,7 +1738,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * Deletes the specified namespace scoped custom object * @param group the custom resource's group (required) * @param version the custom resource's version (required) @@ -1913,7 +1914,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) } /** - * + * * get available resources * @param group The custom resource's group name (required) * @param version The custom resource's version (required) @@ -2104,7 +2105,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * Returns a cluster scoped custom object * @param group the custom resource's group (required) * @param version the custom resource's version (required) @@ -2299,7 +2300,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * read scale of the specified custom object * @param group the custom resource's group (required) * @param version the custom resource's version (required) @@ -2494,7 +2495,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * read status of the specified cluster scoped custom object * @param group the custom resource's group (required) * @param version the custom resource's version (required) @@ -2696,7 +2697,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * Returns a namespace scoped custom object * @param group the custom resource's group (required) * @param version the custom resource's version (required) @@ -2901,7 +2902,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * read scale of the specified namespace scoped custom object * @param group the custom resource's group (required) * @param version the custom resource's version (required) @@ -3106,7 +3107,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * read status of the specified namespace scoped custom object * @param group the custom resource's group (required) * @param version the custom resource's version (required) @@ -3452,7 +3453,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * list or watch cluster scoped custom objects * @param group The custom resource's group name (required) * @param version The custom resource's version (required) @@ -3796,7 +3797,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * list or watch namespace scoped custom objects * @param group The custom resource's group name (required) * @param version The custom resource's version (required) @@ -4149,7 +4150,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * list or watch namespace scoped custom objects * @param group The custom resource's group name (required) * @param version The custom resource's version (required) @@ -4415,7 +4416,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * patch the specified cluster scoped custom object * @param group the custom resource's group (required) * @param version the custom resource's version (required) @@ -4684,7 +4685,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * partially update scale of the specified cluster scoped custom object * @param group the custom resource's group (required) * @param version the custom resource's version (required) @@ -4953,7 +4954,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * partially update status of the specified cluster scoped custom object * @param group the custom resource's group (required) * @param version the custom resource's version (required) @@ -5229,7 +5230,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * patch the specified namespace scoped custom object * @param group the custom resource's group (required) * @param version the custom resource's version (required) @@ -5508,7 +5509,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * partially update scale of the specified namespace scoped custom object * @param group the custom resource's group (required) * @param version the custom resource's version (required) @@ -5787,7 +5788,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * partially update status of the specified namespace scoped custom object * @param group the custom resource's group (required) * @param version the custom resource's version (required) @@ -6039,7 +6040,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * replace the specified cluster scoped custom object * @param group the custom resource's group (required) * @param version the custom resource's version (required) @@ -6296,7 +6297,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * replace scale of the specified cluster scoped custom object * @param group the custom resource's group (required) * @param version the custom resource's version (required) @@ -6554,7 +6555,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * replace status of the cluster scoped specified custom object * @param group the custom resource's group (required) * @param version the custom resource's version (required) @@ -6815,7 +6816,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * replace the specified namespace scoped custom object * @param group the custom resource's group (required) * @param version the custom resource's version (required) @@ -7082,7 +7083,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * replace scale of the specified namespace scoped custom object * @param group the custom resource's group (required) * @param version the custom resource's version (required) @@ -7350,7 +7351,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * replace status of the specified namespace scoped custom object * @param group the custom resource's group (required) * @param version the custom resource's version (required) diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/DiscoveryApi.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/DiscoveryApi.java index da2d077ec4..ff18d77843 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/DiscoveryApi.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/DiscoveryApi.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.apis; import io.kubernetes.client.openapi.ApiCallback; @@ -212,7 +213,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws } /** - * + * * get information of a group * @return APIgetAPIGroupRequest * @http.response.details diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/DiscoveryV1Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/DiscoveryV1Api.java index d0574b7d80..8b45e14278 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/DiscoveryV1Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/DiscoveryV1Api.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.apis; import io.kubernetes.client.openapi.ApiCallback; @@ -308,7 +309,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) t } /** - * + * * create an EndpointSlice * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -714,7 +715,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of EndpointSlice * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIdeleteCollectionNamespacedEndpointSliceRequest @@ -1002,7 +1003,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete an EndpointSlice * @param name name of the EndpointSlice (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -1161,7 +1162,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) } /** - * + * * get available resources * @return APIgetAPIResourcesRequest * @http.response.details @@ -1496,7 +1497,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callbac } /** - * + * * list or watch objects of kind EndpointSlice * @return APIlistEndpointSliceForAllNamespacesRequest * @http.response.details @@ -1840,7 +1841,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callbac } /** - * + * * list or watch objects of kind EndpointSlice * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIlistNamespacedEndpointSliceRequest @@ -2108,7 +2109,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) t } /** - * + * * partially update the specified EndpointSlice * @param name name of the EndpointSlice (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -2302,7 +2303,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) t } /** - * + * * read the specified EndpointSlice * @param name name of the EndpointSlice (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -2555,7 +2556,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) t } /** - * + * * replace the specified EndpointSlice * @param name name of the EndpointSlice (required) * @param namespace object name and auth scope, such as for teams and projects (required) diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/EventsApi.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/EventsApi.java index 129d9222c0..b3b9801fd3 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/EventsApi.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/EventsApi.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.apis; import io.kubernetes.client.openapi.ApiCallback; @@ -212,7 +213,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws } /** - * + * * get information of a group * @return APIgetAPIGroupRequest * @http.response.details diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/EventsV1Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/EventsV1Api.java index cc04b7647c..5fa43940cc 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/EventsV1Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/EventsV1Api.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.apis; import io.kubernetes.client.openapi.ApiCallback; @@ -308,7 +309,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thr } /** - * + * * create an Event * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -714,7 +715,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of Event * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIdeleteCollectionNamespacedEventRequest @@ -1002,7 +1003,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete an Event * @param name name of the Event (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -1161,7 +1162,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) } /** - * + * * get available resources * @return APIgetAPIResourcesRequest * @http.response.details @@ -1496,7 +1497,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) } /** - * + * * list or watch objects of kind Event * @return APIlistEventForAllNamespacesRequest * @http.response.details @@ -1840,7 +1841,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) } /** - * + * * list or watch objects of kind Event * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIlistNamespacedEventRequest @@ -2108,7 +2109,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thr } /** - * + * * partially update the specified Event * @param name name of the Event (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -2302,7 +2303,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thr } /** - * + * * read the specified Event * @param name name of the Event (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -2555,7 +2556,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thr } /** - * + * * replace the specified Event * @param name name of the Event (required) * @param namespace object name and auth scope, such as for teams and projects (required) diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/FlowcontrolApiserverApi.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/FlowcontrolApiserverApi.java index 0752e8da72..ccee19fb72 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/FlowcontrolApiserverApi.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/FlowcontrolApiserverApi.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.apis; import io.kubernetes.client.openapi.ApiCallback; @@ -212,7 +213,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws } /** - * + * * get information of a group * @return APIgetAPIGroupRequest * @http.response.details diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/FlowcontrolApiserverV1Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/FlowcontrolApiserverV1Api.java index fbbb3bd7b4..bb705ccc32 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/FlowcontrolApiserverV1Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/FlowcontrolApiserverV1Api.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.apis; import io.kubernetes.client.openapi.ApiCallback; @@ -301,7 +302,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thro } /** - * + * * create a FlowSchema * @param body (required) * @return APIcreateFlowSchemaRequest @@ -541,7 +542,7 @@ public okhttp3.Call executeAsync(final ApiCallback } /** - * + * * create a PriorityLevelConfiguration * @param body (required) * @return APIcreatePriorityLevelConfigurationRequest @@ -937,7 +938,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of FlowSchema * @return APIdeleteCollectionFlowSchemaRequest * @http.response.details @@ -1330,7 +1331,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of PriorityLevelConfiguration * @return APIdeleteCollectionPriorityLevelConfigurationRequest * @http.response.details @@ -1608,7 +1609,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete a FlowSchema * @param name name of the FlowSchema (required) * @return APIdeleteFlowSchemaRequest @@ -1888,7 +1889,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete a PriorityLevelConfiguration * @param name name of the PriorityLevelConfiguration (required) * @return APIdeletePriorityLevelConfigurationRequest @@ -2046,7 +2047,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) } /** - * + * * get available resources * @return APIgetAPIResourcesRequest * @http.response.details @@ -2381,7 +2382,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) } /** - * + * * list or watch objects of kind FlowSchema * @return APIlistFlowSchemaRequest * @http.response.details @@ -2716,7 +2717,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thro } /** - * + * * partially update the specified FlowSchema * @param name name of the FlowSchema (required) * @param body (required) @@ -3235,7 +3236,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thro } /** - * + * * partially update status of the specified FlowSchema * @param name name of the FlowSchema (required) * @param body (required) @@ -3496,7 +3497,7 @@ public okhttp3.Call executeAsync(final ApiCallback } /** - * + * * partially update the specified PriorityLevelConfiguration * @param name name of the PriorityLevelConfiguration (required) * @param body (required) @@ -3757,7 +3758,7 @@ public okhttp3.Call executeAsync(final ApiCallback } /** - * + * * partially update status of the specified PriorityLevelConfiguration * @param name name of the PriorityLevelConfiguration (required) * @param body (required) @@ -3941,7 +3942,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thro } /** - * + * * read the specified FlowSchema * @param name name of the FlowSchema (required) * @return APIreadFlowSchemaRequest @@ -4123,7 +4124,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thro } /** - * + * * read status of the specified FlowSchema * @param name name of the FlowSchema (required) * @return APIreadFlowSchemaStatusRequest @@ -4305,7 +4306,7 @@ public okhttp3.Call executeAsync(final ApiCallback } /** - * + * * read the specified PriorityLevelConfiguration * @param name name of the PriorityLevelConfiguration (required) * @return APIreadPriorityLevelConfigurationRequest @@ -4487,7 +4488,7 @@ public okhttp3.Call executeAsync(final ApiCallback } /** - * + * * read status of the specified PriorityLevelConfiguration * @param name name of the PriorityLevelConfiguration (required) * @return APIreadPriorityLevelConfigurationStatusRequest @@ -4730,7 +4731,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thro } /** - * + * * replace the specified FlowSchema * @param name name of the FlowSchema (required) * @param body (required) @@ -4975,7 +4976,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thro } /** - * + * * replace status of the specified FlowSchema * @param name name of the FlowSchema (required) * @param body (required) @@ -5220,7 +5221,7 @@ public okhttp3.Call executeAsync(final ApiCallback } /** - * + * * replace the specified PriorityLevelConfiguration * @param name name of the PriorityLevelConfiguration (required) * @param body (required) @@ -5465,7 +5466,7 @@ public okhttp3.Call executeAsync(final ApiCallback } /** - * + * * replace status of the specified PriorityLevelConfiguration * @param name name of the PriorityLevelConfiguration (required) * @param body (required) diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/InternalApiserverApi.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/InternalApiserverApi.java index caedcfa7a5..103f4d512e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/InternalApiserverApi.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/InternalApiserverApi.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.apis; import io.kubernetes.client.openapi.ApiCallback; @@ -212,7 +213,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws } /** - * + * * get information of a group * @return APIgetAPIGroupRequest * @http.response.details diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/InternalApiserverV1alpha1Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/InternalApiserverV1alpha1Api.java index a8e37f39d9..55b6b4f498 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/InternalApiserverV1alpha1Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/InternalApiserverV1alpha1Api.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.apis; import io.kubernetes.client.openapi.ApiCallback; @@ -299,7 +300,7 @@ public okhttp3.Call executeAsync(final ApiCallback _call } /** - * + * * create a StorageVersion * @param body (required) * @return APIcreateStorageVersionRequest @@ -695,7 +696,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of StorageVersion * @return APIdeleteCollectionStorageVersionRequest * @http.response.details @@ -973,7 +974,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete a StorageVersion * @param name name of the StorageVersion (required) * @return APIdeleteStorageVersionRequest @@ -1131,7 +1132,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) } /** - * + * * get available resources * @return APIgetAPIResourcesRequest * @http.response.details @@ -1466,7 +1467,7 @@ public okhttp3.Call executeAsync(final ApiCallback _ } /** - * + * * list or watch objects of kind StorageVersion * @return APIlistStorageVersionRequest * @http.response.details @@ -1724,7 +1725,7 @@ public okhttp3.Call executeAsync(final ApiCallback _call } /** - * + * * partially update the specified StorageVersion * @param name name of the StorageVersion (required) * @param body (required) @@ -1985,7 +1986,7 @@ public okhttp3.Call executeAsync(final ApiCallback _call } /** - * + * * partially update status of the specified StorageVersion * @param name name of the StorageVersion (required) * @param body (required) @@ -2169,7 +2170,7 @@ public okhttp3.Call executeAsync(final ApiCallback _call } /** - * + * * read the specified StorageVersion * @param name name of the StorageVersion (required) * @return APIreadStorageVersionRequest @@ -2351,7 +2352,7 @@ public okhttp3.Call executeAsync(final ApiCallback _call } /** - * + * * read status of the specified StorageVersion * @param name name of the StorageVersion (required) * @return APIreadStorageVersionStatusRequest @@ -2594,7 +2595,7 @@ public okhttp3.Call executeAsync(final ApiCallback _call } /** - * + * * replace the specified StorageVersion * @param name name of the StorageVersion (required) * @param body (required) @@ -2839,7 +2840,7 @@ public okhttp3.Call executeAsync(final ApiCallback _call } /** - * + * * replace status of the specified StorageVersion * @param name name of the StorageVersion (required) * @param body (required) diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/LogsApi.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/LogsApi.java index 5ecc5e2935..2212113e35 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/LogsApi.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/LogsApi.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.apis; import io.kubernetes.client.openapi.ApiCallback; @@ -209,8 +210,8 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiEx } /** - * - * + * + * * @param logpath path to the log (required) * @return APIlogFileHandlerRequest * @http.response.details @@ -353,8 +354,8 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiEx } /** - * - * + * + * * @return APIlogFileListHandlerRequest * @http.response.details diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/NetworkingApi.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/NetworkingApi.java index d66c75e614..437d36d755 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/NetworkingApi.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/NetworkingApi.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.apis; import io.kubernetes.client.openapi.ApiCallback; @@ -212,7 +213,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws } /** - * + * * get information of a group * @return APIgetAPIGroupRequest * @http.response.details diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/NetworkingV1Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/NetworkingV1Api.java index 2241ba4671..654521e32e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/NetworkingV1Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/NetworkingV1Api.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.apis; import io.kubernetes.client.openapi.ApiCallback; @@ -307,7 +308,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throw } /** - * + * * create an IPAddress * @param body (required) * @return APIcreateIPAddressRequest @@ -547,7 +548,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) th } /** - * + * * create an IngressClass * @param body (required) * @return APIcreateIngressClassRequest @@ -796,7 +797,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws } /** - * + * * create an Ingress * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -1046,7 +1047,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) t } /** - * + * * create a NetworkPolicy * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -1287,7 +1288,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thr } /** - * + * * create a ServiceCIDR * @param body (required) * @return APIcreateServiceCIDRRequest @@ -1683,7 +1684,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of IPAddress * @return APIdeleteCollectionIPAddressRequest * @http.response.details @@ -2076,7 +2077,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of IngressClass * @return APIdeleteCollectionIngressClassRequest * @http.response.details @@ -2478,7 +2479,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of Ingress * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIdeleteCollectionNamespacedIngressRequest @@ -2881,7 +2882,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of NetworkPolicy * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIdeleteCollectionNamespacedNetworkPolicyRequest @@ -3275,7 +3276,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of ServiceCIDR * @return APIdeleteCollectionServiceCIDRRequest * @http.response.details @@ -3553,7 +3554,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete an IPAddress * @param name name of the IPAddress (required) * @return APIdeleteIPAddressRequest @@ -3833,7 +3834,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete an IngressClass * @param name name of the IngressClass (required) * @return APIdeleteIngressClassRequest @@ -4122,7 +4123,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete an Ingress * @param name name of the Ingress (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -4412,7 +4413,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete a NetworkPolicy * @param name name of the NetworkPolicy (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -4693,7 +4694,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete a ServiceCIDR * @param name name of the ServiceCIDR (required) * @return APIdeleteServiceCIDRRequest @@ -4851,7 +4852,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) } /** - * + * * get available resources * @return APIgetAPIResourcesRequest * @http.response.details @@ -5186,7 +5187,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) t } /** - * + * * list or watch objects of kind IPAddress * @return APIlistIPAddressRequest * @http.response.details @@ -5521,7 +5522,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback } /** - * + * * list or watch objects of kind IngressClass * @return APIlistIngressClassRequest * @http.response.details @@ -5856,7 +5857,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thr } /** - * + * * list or watch objects of kind Ingress * @return APIlistIngressForAllNamespacesRequest * @http.response.details @@ -6200,7 +6201,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thr } /** - * + * * list or watch objects of kind Ingress * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIlistNamespacedIngressRequest @@ -6545,7 +6546,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callbac } /** - * + * * list or watch objects of kind NetworkPolicy * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIlistNamespacedNetworkPolicyRequest @@ -6881,7 +6882,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callbac } /** - * + * * list or watch objects of kind NetworkPolicy * @return APIlistNetworkPolicyForAllNamespacesRequest * @http.response.details @@ -7216,7 +7217,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) } /** - * + * * list or watch objects of kind ServiceCIDR * @return APIlistServiceCIDRRequest * @http.response.details @@ -7474,7 +7475,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throw } /** - * + * * partially update the specified IPAddress * @param name name of the IPAddress (required) * @param body (required) @@ -7735,7 +7736,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) th } /** - * + * * partially update the specified IngressClass * @param name name of the IngressClass (required) * @param body (required) @@ -8005,7 +8006,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws } /** - * + * * partially update the specified Ingress * @param name name of the Ingress (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -8276,7 +8277,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws } /** - * + * * partially update status of the specified Ingress * @param name name of the Ingress (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -8547,7 +8548,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) t } /** - * + * * partially update the specified NetworkPolicy * @param name name of the NetworkPolicy (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -8809,7 +8810,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thr } /** - * + * * partially update the specified ServiceCIDR * @param name name of the ServiceCIDR (required) * @param body (required) @@ -9070,7 +9071,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thr } /** - * + * * partially update status of the specified ServiceCIDR * @param name name of the ServiceCIDR (required) * @param body (required) @@ -9254,7 +9255,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throw } /** - * + * * read the specified IPAddress * @param name name of the IPAddress (required) * @return APIreadIPAddressRequest @@ -9436,7 +9437,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) th } /** - * + * * read the specified IngressClass * @param name name of the IngressClass (required) * @return APIreadIngressClassRequest @@ -9627,7 +9628,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws } /** - * + * * read the specified Ingress * @param name name of the Ingress (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -9819,7 +9820,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws } /** - * + * * read status of the specified Ingress * @param name name of the Ingress (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -10011,7 +10012,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) t } /** - * + * * read the specified NetworkPolicy * @param name name of the NetworkPolicy (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -10194,7 +10195,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thr } /** - * + * * read the specified ServiceCIDR * @param name name of the ServiceCIDR (required) * @return APIreadServiceCIDRRequest @@ -10376,7 +10377,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thr } /** - * + * * read status of the specified ServiceCIDR * @param name name of the ServiceCIDR (required) * @return APIreadServiceCIDRStatusRequest @@ -10619,7 +10620,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throw } /** - * + * * replace the specified IPAddress * @param name name of the IPAddress (required) * @param body (required) @@ -10864,7 +10865,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) th } /** - * + * * replace the specified IngressClass * @param name name of the IngressClass (required) * @param body (required) @@ -11118,7 +11119,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws } /** - * + * * replace the specified Ingress * @param name name of the Ingress (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -11373,7 +11374,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws } /** - * + * * replace status of the specified Ingress * @param name name of the Ingress (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -11628,7 +11629,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) t } /** - * + * * replace the specified NetworkPolicy * @param name name of the NetworkPolicy (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -11874,7 +11875,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thr } /** - * + * * replace the specified ServiceCIDR * @param name name of the ServiceCIDR (required) * @param body (required) @@ -12119,7 +12120,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thr } /** - * + * * replace status of the specified ServiceCIDR * @param name name of the ServiceCIDR (required) * @param body (required) diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/NetworkingV1beta1Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/NetworkingV1beta1Api.java index 96a8ec057d..4c494af4a6 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/NetworkingV1beta1Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/NetworkingV1beta1Api.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.apis; import io.kubernetes.client.openapi.ApiCallback; @@ -301,7 +302,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) } /** - * + * * create an IPAddress * @param body (required) * @return APIcreateIPAddressRequest @@ -541,7 +542,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback } /** - * + * * create a ServiceCIDR * @param body (required) * @return APIcreateServiceCIDRRequest @@ -937,7 +938,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of IPAddress * @return APIdeleteCollectionIPAddressRequest * @http.response.details @@ -1330,7 +1331,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of ServiceCIDR * @return APIdeleteCollectionServiceCIDRRequest * @http.response.details @@ -1608,7 +1609,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete an IPAddress * @param name name of the IPAddress (required) * @return APIdeleteIPAddressRequest @@ -1888,7 +1889,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete a ServiceCIDR * @param name name of the ServiceCIDR (required) * @return APIdeleteServiceCIDRRequest @@ -2046,7 +2047,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) } /** - * + * * get available resources * @return APIgetAPIResourcesRequest * @http.response.details @@ -2381,7 +2382,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callba } /** - * + * * list or watch objects of kind IPAddress * @return APIlistIPAddressRequest * @http.response.details @@ -2716,7 +2717,7 @@ public okhttp3.Call executeAsync(final ApiCallback _call } /** - * + * * list or watch objects of kind ServiceCIDR * @return APIlistServiceCIDRRequest * @http.response.details @@ -2974,7 +2975,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) } /** - * + * * partially update the specified IPAddress * @param name name of the IPAddress (required) * @param body (required) @@ -3235,7 +3236,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback } /** - * + * * partially update the specified ServiceCIDR * @param name name of the ServiceCIDR (required) * @param body (required) @@ -3496,7 +3497,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback } /** - * + * * partially update status of the specified ServiceCIDR * @param name name of the ServiceCIDR (required) * @param body (required) @@ -3680,7 +3681,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) } /** - * + * * read the specified IPAddress * @param name name of the IPAddress (required) * @return APIreadIPAddressRequest @@ -3862,7 +3863,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback } /** - * + * * read the specified ServiceCIDR * @param name name of the ServiceCIDR (required) * @return APIreadServiceCIDRRequest @@ -4044,7 +4045,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback } /** - * + * * read status of the specified ServiceCIDR * @param name name of the ServiceCIDR (required) * @return APIreadServiceCIDRStatusRequest @@ -4287,7 +4288,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) } /** - * + * * replace the specified IPAddress * @param name name of the IPAddress (required) * @param body (required) @@ -4532,7 +4533,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback } /** - * + * * replace the specified ServiceCIDR * @param name name of the ServiceCIDR (required) * @param body (required) @@ -4777,7 +4778,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback } /** - * + * * replace status of the specified ServiceCIDR * @param name name of the ServiceCIDR (required) * @param body (required) diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/NodeApi.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/NodeApi.java index 67f3ba627b..34568bdc9f 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/NodeApi.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/NodeApi.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.apis; import io.kubernetes.client.openapi.ApiCallback; @@ -212,7 +213,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws } /** - * + * * get information of a group * @return APIgetAPIGroupRequest * @http.response.details diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/NodeV1Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/NodeV1Api.java index e0004e527a..75af093e73 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/NodeV1Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/NodeV1Api.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.apis; import io.kubernetes.client.openapi.ApiCallback; @@ -299,7 +300,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) th } /** - * + * * create a RuntimeClass * @param body (required) * @return APIcreateRuntimeClassRequest @@ -695,7 +696,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of RuntimeClass * @return APIdeleteCollectionRuntimeClassRequest * @http.response.details @@ -973,7 +974,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete a RuntimeClass * @param name name of the RuntimeClass (required) * @return APIdeleteRuntimeClassRequest @@ -1131,7 +1132,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) } /** - * + * * get available resources * @return APIgetAPIResourcesRequest * @http.response.details @@ -1466,7 +1467,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback } /** - * + * * list or watch objects of kind RuntimeClass * @return APIlistRuntimeClassRequest * @http.response.details @@ -1724,7 +1725,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) th } /** - * + * * partially update the specified RuntimeClass * @param name name of the RuntimeClass (required) * @param body (required) @@ -1908,7 +1909,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) th } /** - * + * * read the specified RuntimeClass * @param name name of the RuntimeClass (required) * @return APIreadRuntimeClassRequest @@ -2151,7 +2152,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) th } /** - * + * * replace the specified RuntimeClass * @param name name of the RuntimeClass (required) * @param body (required) diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/OpenidApi.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/OpenidApi.java index 43ecc8627b..343d39e501 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/OpenidApi.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/OpenidApi.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.apis; import io.kubernetes.client.openapi.ApiCallback; @@ -209,7 +210,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * get service account issuer OpenID JSON Web Key Set (contains public token verification keys) * @return APIgetServiceAccountIssuerOpenIDKeysetRequest * @http.response.details diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/PolicyApi.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/PolicyApi.java index d137974bad..13ab4d9f78 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/PolicyApi.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/PolicyApi.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.apis; import io.kubernetes.client.openapi.ApiCallback; @@ -212,7 +213,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws } /** - * + * * get information of a group * @return APIgetAPIGroupRequest * @http.response.details diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/PolicyV1Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/PolicyV1Api.java index 1d15879fd4..2166f40827 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/PolicyV1Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/PolicyV1Api.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.apis; import io.kubernetes.client.openapi.ApiCallback; @@ -308,7 +309,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callb } /** - * + * * create a PodDisruptionBudget * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -714,7 +715,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of PodDisruptionBudget * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIdeleteCollectionNamespacedPodDisruptionBudgetRequest @@ -1002,7 +1003,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete a PodDisruptionBudget * @param name name of the PodDisruptionBudget (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -1161,7 +1162,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) } /** - * + * * get available resources * @return APIgetAPIResourcesRequest * @http.response.details @@ -1505,7 +1506,7 @@ public okhttp3.Call executeAsync(final ApiCallback _c } /** - * + * * list or watch objects of kind PodDisruptionBudget * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIlistNamespacedPodDisruptionBudgetRequest @@ -1841,7 +1842,7 @@ public okhttp3.Call executeAsync(final ApiCallback _c } /** - * + * * list or watch objects of kind PodDisruptionBudget * @return APIlistPodDisruptionBudgetForAllNamespacesRequest * @http.response.details @@ -2108,7 +2109,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callb } /** - * + * * partially update the specified PodDisruptionBudget * @param name name of the PodDisruptionBudget (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -2379,7 +2380,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callb } /** - * + * * partially update status of the specified PodDisruptionBudget * @param name name of the PodDisruptionBudget (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -2573,7 +2574,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callb } /** - * + * * read the specified PodDisruptionBudget * @param name name of the PodDisruptionBudget (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -2765,7 +2766,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callb } /** - * + * * read status of the specified PodDisruptionBudget * @param name name of the PodDisruptionBudget (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -3018,7 +3019,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callb } /** - * + * * replace the specified PodDisruptionBudget * @param name name of the PodDisruptionBudget (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -3273,7 +3274,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callb } /** - * + * * replace status of the specified PodDisruptionBudget * @param name name of the PodDisruptionBudget (required) * @param namespace object name and auth scope, such as for teams and projects (required) diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/RbacAuthorizationApi.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/RbacAuthorizationApi.java index 3cf3dd6471..084da660da 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/RbacAuthorizationApi.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/RbacAuthorizationApi.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.apis; import io.kubernetes.client.openapi.ApiCallback; @@ -212,7 +213,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws } /** - * + * * get information of a group * @return APIgetAPIGroupRequest * @http.response.details diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/RbacAuthorizationV1Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/RbacAuthorizationV1Api.java index 465763c0ab..8851d74d71 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/RbacAuthorizationV1Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/RbacAuthorizationV1Api.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.apis; import io.kubernetes.client.openapi.ApiCallback; @@ -305,7 +306,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thr } /** - * + * * create a ClusterRole * @param body (required) * @return APIcreateClusterRoleRequest @@ -545,7 +546,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callba } /** - * + * * create a ClusterRoleBinding * @param body (required) * @return APIcreateClusterRoleBindingRequest @@ -794,7 +795,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * create a Role * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -1044,7 +1045,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thr } /** - * + * * create a RoleBinding * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -1326,7 +1327,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete a ClusterRole * @param name name of the ClusterRole (required) * @return APIdeleteClusterRoleRequest @@ -1606,7 +1607,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete a ClusterRoleBinding * @param name name of the ClusterRoleBinding (required) * @return APIdeleteClusterRoleBindingRequest @@ -2001,7 +2002,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of ClusterRole * @return APIdeleteCollectionClusterRoleRequest * @http.response.details @@ -2394,7 +2395,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of ClusterRoleBinding * @return APIdeleteCollectionClusterRoleBindingRequest * @http.response.details @@ -2796,7 +2797,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of Role * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIdeleteCollectionNamespacedRoleRequest @@ -3199,7 +3200,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of RoleBinding * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIdeleteCollectionNamespacedRoleBindingRequest @@ -3487,7 +3488,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete a Role * @param name name of the Role (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -3777,7 +3778,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete a RoleBinding * @param name name of the RoleBinding (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -3936,7 +3937,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) } /** - * + * * get available resources * @return APIgetAPIResourcesRequest * @http.response.details @@ -4271,7 +4272,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) } /** - * + * * list or watch objects of kind ClusterRole * @return APIlistClusterRoleRequest * @http.response.details @@ -4606,7 +4607,7 @@ public okhttp3.Call executeAsync(final ApiCallback _ca } /** - * + * * list or watch objects of kind ClusterRoleBinding * @return APIlistClusterRoleBindingRequest * @http.response.details @@ -4950,7 +4951,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws } /** - * + * * list or watch objects of kind Role * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIlistNamespacedRoleRequest @@ -5295,7 +5296,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) } /** - * + * * list or watch objects of kind RoleBinding * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIlistNamespacedRoleBindingRequest @@ -5631,7 +5632,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) } /** - * + * * list or watch objects of kind RoleBinding * @return APIlistRoleBindingForAllNamespacesRequest * @http.response.details @@ -5966,7 +5967,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws } /** - * + * * list or watch objects of kind Role * @return APIlistRoleForAllNamespacesRequest * @http.response.details @@ -6224,7 +6225,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thr } /** - * + * * partially update the specified ClusterRole * @param name name of the ClusterRole (required) * @param body (required) @@ -6485,7 +6486,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callba } /** - * + * * partially update the specified ClusterRoleBinding * @param name name of the ClusterRoleBinding (required) * @param body (required) @@ -6755,7 +6756,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * partially update the specified Role * @param name name of the Role (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -7026,7 +7027,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thr } /** - * + * * partially update the specified RoleBinding * @param name name of the RoleBinding (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -7211,7 +7212,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thr } /** - * + * * read the specified ClusterRole * @param name name of the ClusterRole (required) * @return APIreadClusterRoleRequest @@ -7393,7 +7394,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callba } /** - * + * * read the specified ClusterRoleBinding * @param name name of the ClusterRoleBinding (required) * @return APIreadClusterRoleBindingRequest @@ -7584,7 +7585,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * read the specified Role * @param name name of the Role (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -7776,7 +7777,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thr } /** - * + * * read the specified RoleBinding * @param name name of the RoleBinding (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -8020,7 +8021,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thr } /** - * + * * replace the specified ClusterRole * @param name name of the ClusterRole (required) * @param body (required) @@ -8265,7 +8266,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callba } /** - * + * * replace the specified ClusterRoleBinding * @param name name of the ClusterRoleBinding (required) * @param body (required) @@ -8519,7 +8520,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * replace the specified Role * @param name name of the Role (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -8774,7 +8775,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thr } /** - * + * * replace the specified RoleBinding * @param name name of the RoleBinding (required) * @param namespace object name and auth scope, such as for teams and projects (required) diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ResourceApi.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ResourceApi.java index 4147e9439c..86d5331a00 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ResourceApi.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ResourceApi.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.apis; import io.kubernetes.client.openapi.ApiCallback; @@ -212,7 +213,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws } /** - * + * * get information of a group * @return APIgetAPIGroupRequest * @http.response.details diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ResourceV1Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ResourceV1Api.java new file mode 100644 index 0000000000..6f33ee342f --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ResourceV1Api.java @@ -0,0 +1,9514 @@ +/* + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package io.kubernetes.client.openapi.apis; + +import io.kubernetes.client.openapi.ApiCallback; +import io.kubernetes.client.openapi.ApiClient; +import io.kubernetes.client.openapi.ApiException; +import io.kubernetes.client.openapi.ApiResponse; +import io.kubernetes.client.openapi.Configuration; +import io.kubernetes.client.openapi.Pair; +import io.kubernetes.client.openapi.ProgressRequestBody; +import io.kubernetes.client.openapi.ProgressResponseBody; + +import com.google.gson.reflect.TypeToken; + +import java.io.IOException; + + +import io.kubernetes.client.openapi.models.ResourceV1ResourceClaim; +import io.kubernetes.client.openapi.models.V1APIResourceList; +import io.kubernetes.client.openapi.models.V1DeleteOptions; +import io.kubernetes.client.openapi.models.V1DeviceClass; +import io.kubernetes.client.openapi.models.V1DeviceClassList; +import io.kubernetes.client.custom.V1Patch; +import io.kubernetes.client.openapi.models.V1ResourceClaimList; +import io.kubernetes.client.openapi.models.V1ResourceClaimTemplate; +import io.kubernetes.client.openapi.models.V1ResourceClaimTemplateList; +import io.kubernetes.client.openapi.models.V1ResourceSlice; +import io.kubernetes.client.openapi.models.V1ResourceSliceList; +import io.kubernetes.client.openapi.models.V1Status; + +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +public class ResourceV1Api { + private ApiClient localVarApiClient; + private int localHostIndex; + private String localCustomBaseUrl; + + public ResourceV1Api() { + this(Configuration.getDefaultApiClient()); + } + + public ResourceV1Api(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public ApiClient getApiClient() { + return localVarApiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public int getHostIndex() { + return localHostIndex; + } + + public void setHostIndex(int hostIndex) { + this.localHostIndex = hostIndex; + } + + public String getCustomBaseUrl() { + return localCustomBaseUrl; + } + + public void setCustomBaseUrl(String customBaseUrl) { + this.localCustomBaseUrl = customBaseUrl; + } + + private okhttp3.Call createDeviceClassCall(@jakarta.annotation.Nonnull V1DeviceClass body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/resource.k8s.io/v1/deviceclasses"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (pretty != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); + } + + if (dryRun != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("dryRun", dryRun)); + } + + if (fieldManager != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldManager", fieldManager)); + } + + if (fieldValidation != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldValidation", fieldValidation)); + } + + final String[] localVarAccepts = { + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call createDeviceClassValidateBeforeCall(@jakarta.annotation.Nonnull V1DeviceClass body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling createDeviceClass(Async)"); + } + + return createDeviceClassCall(body, pretty, dryRun, fieldManager, fieldValidation, _callback); + + } + + + private ApiResponse createDeviceClassWithHttpInfo(@jakarta.annotation.Nonnull V1DeviceClass body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation) throws ApiException { + okhttp3.Call localVarCall = createDeviceClassValidateBeforeCall(body, pretty, dryRun, fieldManager, fieldValidation, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + private okhttp3.Call createDeviceClassAsync(@jakarta.annotation.Nonnull V1DeviceClass body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = createDeviceClassValidateBeforeCall(body, pretty, dryRun, fieldManager, fieldValidation, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + public class APIcreateDeviceClassRequest { + @jakarta.annotation.Nonnull + private final V1DeviceClass body; + @jakarta.annotation.Nullable + private String pretty; + @jakarta.annotation.Nullable + private String dryRun; + @jakarta.annotation.Nullable + private String fieldManager; + @jakarta.annotation.Nullable + private String fieldValidation; + + private APIcreateDeviceClassRequest(@jakarta.annotation.Nonnull V1DeviceClass body) { + this.body = body; + } + + /** + * Set pretty + * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + * @return APIcreateDeviceClassRequest + */ + public APIcreateDeviceClassRequest pretty(@jakarta.annotation.Nullable String pretty) { + this.pretty = pretty; + return this; + } + + /** + * Set dryRun + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + * @return APIcreateDeviceClassRequest + */ + public APIcreateDeviceClassRequest dryRun(@jakarta.annotation.Nullable String dryRun) { + this.dryRun = dryRun; + return this; + } + + /** + * Set fieldManager + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) + * @return APIcreateDeviceClassRequest + */ + public APIcreateDeviceClassRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { + this.fieldManager = fieldManager; + return this; + } + + /** + * Set fieldValidation + * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) + * @return APIcreateDeviceClassRequest + */ + public APIcreateDeviceClassRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { + this.fieldValidation = fieldValidation; + return this; + } + + /** + * Build call for createDeviceClass + * @param _callback ApiCallback API callback + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details +
+ + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
202 Accepted -
401 Unauthorized -
+ */ + public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { + return createDeviceClassCall(body, pretty, dryRun, fieldManager, fieldValidation, _callback); + } + + /** + * Execute createDeviceClass request + * @return V1DeviceClass + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
202 Accepted -
401 Unauthorized -
+ */ + public V1DeviceClass execute() throws ApiException { + ApiResponse localVarResp = createDeviceClassWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation); + return localVarResp.getData(); + } + + /** + * Execute createDeviceClass request with HTTP info returned + * @return ApiResponse<V1DeviceClass> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
202 Accepted -
401 Unauthorized -
+ */ + public ApiResponse executeWithHttpInfo() throws ApiException { + return createDeviceClassWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation); + } + + /** + * Execute createDeviceClass request (asynchronously) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
202 Accepted -
401 Unauthorized -
+ */ + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return createDeviceClassAsync(body, pretty, dryRun, fieldManager, fieldValidation, _callback); + } + } + + /** + * + * create a DeviceClass + * @param body (required) + * @return APIcreateDeviceClassRequest + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
202 Accepted -
401 Unauthorized -
+ */ + public APIcreateDeviceClassRequest createDeviceClass(@jakarta.annotation.Nonnull V1DeviceClass body) { + return new APIcreateDeviceClassRequest(body); + } + private okhttp3.Call createNamespacedResourceClaimCall(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull ResourceV1ResourceClaim body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaims" + .replace("{" + "namespace" + "}", localVarApiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (pretty != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); + } + + if (dryRun != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("dryRun", dryRun)); + } + + if (fieldManager != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldManager", fieldManager)); + } + + if (fieldValidation != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldValidation", fieldValidation)); + } + + final String[] localVarAccepts = { + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call createNamespacedResourceClaimValidateBeforeCall(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull ResourceV1ResourceClaim body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling createNamespacedResourceClaim(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling createNamespacedResourceClaim(Async)"); + } + + return createNamespacedResourceClaimCall(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _callback); + + } + + + private ApiResponse createNamespacedResourceClaimWithHttpInfo(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull ResourceV1ResourceClaim body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation) throws ApiException { + okhttp3.Call localVarCall = createNamespacedResourceClaimValidateBeforeCall(namespace, body, pretty, dryRun, fieldManager, fieldValidation, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + private okhttp3.Call createNamespacedResourceClaimAsync(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull ResourceV1ResourceClaim body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = createNamespacedResourceClaimValidateBeforeCall(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + public class APIcreateNamespacedResourceClaimRequest { + @jakarta.annotation.Nonnull + private final String namespace; + @jakarta.annotation.Nonnull + private final ResourceV1ResourceClaim body; + @jakarta.annotation.Nullable + private String pretty; + @jakarta.annotation.Nullable + private String dryRun; + @jakarta.annotation.Nullable + private String fieldManager; + @jakarta.annotation.Nullable + private String fieldValidation; + + private APIcreateNamespacedResourceClaimRequest(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull ResourceV1ResourceClaim body) { + this.namespace = namespace; + this.body = body; + } + + /** + * Set pretty + * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + * @return APIcreateNamespacedResourceClaimRequest + */ + public APIcreateNamespacedResourceClaimRequest pretty(@jakarta.annotation.Nullable String pretty) { + this.pretty = pretty; + return this; + } + + /** + * Set dryRun + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + * @return APIcreateNamespacedResourceClaimRequest + */ + public APIcreateNamespacedResourceClaimRequest dryRun(@jakarta.annotation.Nullable String dryRun) { + this.dryRun = dryRun; + return this; + } + + /** + * Set fieldManager + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) + * @return APIcreateNamespacedResourceClaimRequest + */ + public APIcreateNamespacedResourceClaimRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { + this.fieldManager = fieldManager; + return this; + } + + /** + * Set fieldValidation + * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) + * @return APIcreateNamespacedResourceClaimRequest + */ + public APIcreateNamespacedResourceClaimRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { + this.fieldValidation = fieldValidation; + return this; + } + + /** + * Build call for createNamespacedResourceClaim + * @param _callback ApiCallback API callback + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
202 Accepted -
401 Unauthorized -
+ */ + public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { + return createNamespacedResourceClaimCall(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _callback); + } + + /** + * Execute createNamespacedResourceClaim request + * @return ResourceV1ResourceClaim + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
202 Accepted -
401 Unauthorized -
+ */ + public ResourceV1ResourceClaim execute() throws ApiException { + ApiResponse localVarResp = createNamespacedResourceClaimWithHttpInfo(namespace, body, pretty, dryRun, fieldManager, fieldValidation); + return localVarResp.getData(); + } + + /** + * Execute createNamespacedResourceClaim request with HTTP info returned + * @return ApiResponse<ResourceV1ResourceClaim> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
202 Accepted -
401 Unauthorized -
+ */ + public ApiResponse executeWithHttpInfo() throws ApiException { + return createNamespacedResourceClaimWithHttpInfo(namespace, body, pretty, dryRun, fieldManager, fieldValidation); + } + + /** + * Execute createNamespacedResourceClaim request (asynchronously) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
202 Accepted -
401 Unauthorized -
+ */ + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return createNamespacedResourceClaimAsync(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _callback); + } + } + + /** + * + * create a ResourceClaim + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @return APIcreateNamespacedResourceClaimRequest + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
202 Accepted -
401 Unauthorized -
+ */ + public APIcreateNamespacedResourceClaimRequest createNamespacedResourceClaim(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull ResourceV1ResourceClaim body) { + return new APIcreateNamespacedResourceClaimRequest(namespace, body); + } + private okhttp3.Call createNamespacedResourceClaimTemplateCall(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1ResourceClaimTemplate body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaimtemplates" + .replace("{" + "namespace" + "}", localVarApiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (pretty != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); + } + + if (dryRun != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("dryRun", dryRun)); + } + + if (fieldManager != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldManager", fieldManager)); + } + + if (fieldValidation != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldValidation", fieldValidation)); + } + + final String[] localVarAccepts = { + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call createNamespacedResourceClaimTemplateValidateBeforeCall(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1ResourceClaimTemplate body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling createNamespacedResourceClaimTemplate(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling createNamespacedResourceClaimTemplate(Async)"); + } + + return createNamespacedResourceClaimTemplateCall(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _callback); + + } + + + private ApiResponse createNamespacedResourceClaimTemplateWithHttpInfo(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1ResourceClaimTemplate body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation) throws ApiException { + okhttp3.Call localVarCall = createNamespacedResourceClaimTemplateValidateBeforeCall(namespace, body, pretty, dryRun, fieldManager, fieldValidation, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + private okhttp3.Call createNamespacedResourceClaimTemplateAsync(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1ResourceClaimTemplate body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = createNamespacedResourceClaimTemplateValidateBeforeCall(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + public class APIcreateNamespacedResourceClaimTemplateRequest { + @jakarta.annotation.Nonnull + private final String namespace; + @jakarta.annotation.Nonnull + private final V1ResourceClaimTemplate body; + @jakarta.annotation.Nullable + private String pretty; + @jakarta.annotation.Nullable + private String dryRun; + @jakarta.annotation.Nullable + private String fieldManager; + @jakarta.annotation.Nullable + private String fieldValidation; + + private APIcreateNamespacedResourceClaimTemplateRequest(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1ResourceClaimTemplate body) { + this.namespace = namespace; + this.body = body; + } + + /** + * Set pretty + * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + * @return APIcreateNamespacedResourceClaimTemplateRequest + */ + public APIcreateNamespacedResourceClaimTemplateRequest pretty(@jakarta.annotation.Nullable String pretty) { + this.pretty = pretty; + return this; + } + + /** + * Set dryRun + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + * @return APIcreateNamespacedResourceClaimTemplateRequest + */ + public APIcreateNamespacedResourceClaimTemplateRequest dryRun(@jakarta.annotation.Nullable String dryRun) { + this.dryRun = dryRun; + return this; + } + + /** + * Set fieldManager + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) + * @return APIcreateNamespacedResourceClaimTemplateRequest + */ + public APIcreateNamespacedResourceClaimTemplateRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { + this.fieldManager = fieldManager; + return this; + } + + /** + * Set fieldValidation + * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) + * @return APIcreateNamespacedResourceClaimTemplateRequest + */ + public APIcreateNamespacedResourceClaimTemplateRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { + this.fieldValidation = fieldValidation; + return this; + } + + /** + * Build call for createNamespacedResourceClaimTemplate + * @param _callback ApiCallback API callback + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
202 Accepted -
401 Unauthorized -
+ */ + public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { + return createNamespacedResourceClaimTemplateCall(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _callback); + } + + /** + * Execute createNamespacedResourceClaimTemplate request + * @return V1ResourceClaimTemplate + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
202 Accepted -
401 Unauthorized -
+ */ + public V1ResourceClaimTemplate execute() throws ApiException { + ApiResponse localVarResp = createNamespacedResourceClaimTemplateWithHttpInfo(namespace, body, pretty, dryRun, fieldManager, fieldValidation); + return localVarResp.getData(); + } + + /** + * Execute createNamespacedResourceClaimTemplate request with HTTP info returned + * @return ApiResponse<V1ResourceClaimTemplate> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
202 Accepted -
401 Unauthorized -
+ */ + public ApiResponse executeWithHttpInfo() throws ApiException { + return createNamespacedResourceClaimTemplateWithHttpInfo(namespace, body, pretty, dryRun, fieldManager, fieldValidation); + } + + /** + * Execute createNamespacedResourceClaimTemplate request (asynchronously) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
202 Accepted -
401 Unauthorized -
+ */ + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return createNamespacedResourceClaimTemplateAsync(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _callback); + } + } + + /** + * + * create a ResourceClaimTemplate + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @return APIcreateNamespacedResourceClaimTemplateRequest + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
202 Accepted -
401 Unauthorized -
+ */ + public APIcreateNamespacedResourceClaimTemplateRequest createNamespacedResourceClaimTemplate(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1ResourceClaimTemplate body) { + return new APIcreateNamespacedResourceClaimTemplateRequest(namespace, body); + } + private okhttp3.Call createResourceSliceCall(@jakarta.annotation.Nonnull V1ResourceSlice body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/resource.k8s.io/v1/resourceslices"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (pretty != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); + } + + if (dryRun != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("dryRun", dryRun)); + } + + if (fieldManager != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldManager", fieldManager)); + } + + if (fieldValidation != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldValidation", fieldValidation)); + } + + final String[] localVarAccepts = { + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call createResourceSliceValidateBeforeCall(@jakarta.annotation.Nonnull V1ResourceSlice body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling createResourceSlice(Async)"); + } + + return createResourceSliceCall(body, pretty, dryRun, fieldManager, fieldValidation, _callback); + + } + + + private ApiResponse createResourceSliceWithHttpInfo(@jakarta.annotation.Nonnull V1ResourceSlice body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation) throws ApiException { + okhttp3.Call localVarCall = createResourceSliceValidateBeforeCall(body, pretty, dryRun, fieldManager, fieldValidation, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + private okhttp3.Call createResourceSliceAsync(@jakarta.annotation.Nonnull V1ResourceSlice body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = createResourceSliceValidateBeforeCall(body, pretty, dryRun, fieldManager, fieldValidation, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + public class APIcreateResourceSliceRequest { + @jakarta.annotation.Nonnull + private final V1ResourceSlice body; + @jakarta.annotation.Nullable + private String pretty; + @jakarta.annotation.Nullable + private String dryRun; + @jakarta.annotation.Nullable + private String fieldManager; + @jakarta.annotation.Nullable + private String fieldValidation; + + private APIcreateResourceSliceRequest(@jakarta.annotation.Nonnull V1ResourceSlice body) { + this.body = body; + } + + /** + * Set pretty + * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + * @return APIcreateResourceSliceRequest + */ + public APIcreateResourceSliceRequest pretty(@jakarta.annotation.Nullable String pretty) { + this.pretty = pretty; + return this; + } + + /** + * Set dryRun + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + * @return APIcreateResourceSliceRequest + */ + public APIcreateResourceSliceRequest dryRun(@jakarta.annotation.Nullable String dryRun) { + this.dryRun = dryRun; + return this; + } + + /** + * Set fieldManager + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) + * @return APIcreateResourceSliceRequest + */ + public APIcreateResourceSliceRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { + this.fieldManager = fieldManager; + return this; + } + + /** + * Set fieldValidation + * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) + * @return APIcreateResourceSliceRequest + */ + public APIcreateResourceSliceRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { + this.fieldValidation = fieldValidation; + return this; + } + + /** + * Build call for createResourceSlice + * @param _callback ApiCallback API callback + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
202 Accepted -
401 Unauthorized -
+ */ + public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { + return createResourceSliceCall(body, pretty, dryRun, fieldManager, fieldValidation, _callback); + } + + /** + * Execute createResourceSlice request + * @return V1ResourceSlice + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
202 Accepted -
401 Unauthorized -
+ */ + public V1ResourceSlice execute() throws ApiException { + ApiResponse localVarResp = createResourceSliceWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation); + return localVarResp.getData(); + } + + /** + * Execute createResourceSlice request with HTTP info returned + * @return ApiResponse<V1ResourceSlice> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
202 Accepted -
401 Unauthorized -
+ */ + public ApiResponse executeWithHttpInfo() throws ApiException { + return createResourceSliceWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation); + } + + /** + * Execute createResourceSlice request (asynchronously) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
202 Accepted -
401 Unauthorized -
+ */ + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return createResourceSliceAsync(body, pretty, dryRun, fieldManager, fieldValidation, _callback); + } + } + + /** + * + * create a ResourceSlice + * @param body (required) + * @return APIcreateResourceSliceRequest + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
202 Accepted -
401 Unauthorized -
+ */ + public APIcreateResourceSliceRequest createResourceSlice(@jakarta.annotation.Nonnull V1ResourceSlice body) { + return new APIcreateResourceSliceRequest(body); + } + private okhttp3.Call deleteCollectionDeviceClassCall(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/resource.k8s.io/v1/deviceclasses"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (pretty != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); + } + + if (_continue != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("continue", _continue)); + } + + if (dryRun != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("dryRun", dryRun)); + } + + if (fieldSelector != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldSelector", fieldSelector)); + } + + if (gracePeriodSeconds != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("gracePeriodSeconds", gracePeriodSeconds)); + } + + if (ignoreStoreReadErrorWithClusterBreakingPotential != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("ignoreStoreReadErrorWithClusterBreakingPotential", ignoreStoreReadErrorWithClusterBreakingPotential)); + } + + if (labelSelector != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("labelSelector", labelSelector)); + } + + if (limit != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); + } + + if (orphanDependents != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("orphanDependents", orphanDependents)); + } + + if (propagationPolicy != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("propagationPolicy", propagationPolicy)); + } + + if (resourceVersion != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("resourceVersion", resourceVersion)); + } + + if (resourceVersionMatch != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("resourceVersionMatch", resourceVersionMatch)); + } + + if (sendInitialEvents != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sendInitialEvents", sendInitialEvents)); + } + + if (timeoutSeconds != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + } + + final String[] localVarAccepts = { + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call deleteCollectionDeviceClassValidateBeforeCall(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { + return deleteCollectionDeviceClassCall(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _callback); + + } + + + private ApiResponse deleteCollectionDeviceClassWithHttpInfo(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable V1DeleteOptions body) throws ApiException { + okhttp3.Call localVarCall = deleteCollectionDeviceClassValidateBeforeCall(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + private okhttp3.Call deleteCollectionDeviceClassAsync(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = deleteCollectionDeviceClassValidateBeforeCall(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + public class APIdeleteCollectionDeviceClassRequest { + @jakarta.annotation.Nullable + private String pretty; + @jakarta.annotation.Nullable + private String _continue; + @jakarta.annotation.Nullable + private String dryRun; + @jakarta.annotation.Nullable + private String fieldSelector; + @jakarta.annotation.Nullable + private Integer gracePeriodSeconds; + @jakarta.annotation.Nullable + private Boolean ignoreStoreReadErrorWithClusterBreakingPotential; + @jakarta.annotation.Nullable + private String labelSelector; + @jakarta.annotation.Nullable + private Integer limit; + @jakarta.annotation.Nullable + private Boolean orphanDependents; + @jakarta.annotation.Nullable + private String propagationPolicy; + @jakarta.annotation.Nullable + private String resourceVersion; + @jakarta.annotation.Nullable + private String resourceVersionMatch; + @jakarta.annotation.Nullable + private Boolean sendInitialEvents; + @jakarta.annotation.Nullable + private Integer timeoutSeconds; + @jakarta.annotation.Nullable + private V1DeleteOptions body; + + private APIdeleteCollectionDeviceClassRequest() { + } + + /** + * Set pretty + * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + * @return APIdeleteCollectionDeviceClassRequest + */ + public APIdeleteCollectionDeviceClassRequest pretty(@jakarta.annotation.Nullable String pretty) { + this.pretty = pretty; + return this; + } + + /** + * Set _continue + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @return APIdeleteCollectionDeviceClassRequest + */ + public APIdeleteCollectionDeviceClassRequest _continue(@jakarta.annotation.Nullable String _continue) { + this._continue = _continue; + return this; + } + + /** + * Set dryRun + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + * @return APIdeleteCollectionDeviceClassRequest + */ + public APIdeleteCollectionDeviceClassRequest dryRun(@jakarta.annotation.Nullable String dryRun) { + this.dryRun = dryRun; + return this; + } + + /** + * Set fieldSelector + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @return APIdeleteCollectionDeviceClassRequest + */ + public APIdeleteCollectionDeviceClassRequest fieldSelector(@jakarta.annotation.Nullable String fieldSelector) { + this.fieldSelector = fieldSelector; + return this; + } + + /** + * Set gracePeriodSeconds + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @return APIdeleteCollectionDeviceClassRequest + */ + public APIdeleteCollectionDeviceClassRequest gracePeriodSeconds(@jakarta.annotation.Nullable Integer gracePeriodSeconds) { + this.gracePeriodSeconds = gracePeriodSeconds; + return this; + } + + /** + * Set ignoreStoreReadErrorWithClusterBreakingPotential + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + * @return APIdeleteCollectionDeviceClassRequest + */ + public APIdeleteCollectionDeviceClassRequest ignoreStoreReadErrorWithClusterBreakingPotential(@jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential) { + this.ignoreStoreReadErrorWithClusterBreakingPotential = ignoreStoreReadErrorWithClusterBreakingPotential; + return this; + } + + /** + * Set labelSelector + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @return APIdeleteCollectionDeviceClassRequest + */ + public APIdeleteCollectionDeviceClassRequest labelSelector(@jakarta.annotation.Nullable String labelSelector) { + this.labelSelector = labelSelector; + return this; + } + + /** + * Set limit + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @return APIdeleteCollectionDeviceClassRequest + */ + public APIdeleteCollectionDeviceClassRequest limit(@jakarta.annotation.Nullable Integer limit) { + this.limit = limit; + return this; + } + + /** + * Set orphanDependents + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @return APIdeleteCollectionDeviceClassRequest + */ + public APIdeleteCollectionDeviceClassRequest orphanDependents(@jakarta.annotation.Nullable Boolean orphanDependents) { + this.orphanDependents = orphanDependents; + return this; + } + + /** + * Set propagationPolicy + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) + * @return APIdeleteCollectionDeviceClassRequest + */ + public APIdeleteCollectionDeviceClassRequest propagationPolicy(@jakarta.annotation.Nullable String propagationPolicy) { + this.propagationPolicy = propagationPolicy; + return this; + } + + /** + * Set resourceVersion + * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + * @return APIdeleteCollectionDeviceClassRequest + */ + public APIdeleteCollectionDeviceClassRequest resourceVersion(@jakarta.annotation.Nullable String resourceVersion) { + this.resourceVersion = resourceVersion; + return this; + } + + /** + * Set resourceVersionMatch + * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + * @return APIdeleteCollectionDeviceClassRequest + */ + public APIdeleteCollectionDeviceClassRequest resourceVersionMatch(@jakarta.annotation.Nullable String resourceVersionMatch) { + this.resourceVersionMatch = resourceVersionMatch; + return this; + } + + /** + * Set sendInitialEvents + * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) + * @return APIdeleteCollectionDeviceClassRequest + */ + public APIdeleteCollectionDeviceClassRequest sendInitialEvents(@jakarta.annotation.Nullable Boolean sendInitialEvents) { + this.sendInitialEvents = sendInitialEvents; + return this; + } + + /** + * Set timeoutSeconds + * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) + * @return APIdeleteCollectionDeviceClassRequest + */ + public APIdeleteCollectionDeviceClassRequest timeoutSeconds(@jakarta.annotation.Nullable Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + return this; + } + + /** + * Set body + * @param body (optional) + * @return APIdeleteCollectionDeviceClassRequest + */ + public APIdeleteCollectionDeviceClassRequest body(@jakarta.annotation.Nullable V1DeleteOptions body) { + this.body = body; + return this; + } + + /** + * Build call for deleteCollectionDeviceClass + * @param _callback ApiCallback API callback + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { + return deleteCollectionDeviceClassCall(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _callback); + } + + /** + * Execute deleteCollectionDeviceClass request + * @return V1Status + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public V1Status execute() throws ApiException { + ApiResponse localVarResp = deleteCollectionDeviceClassWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body); + return localVarResp.getData(); + } + + /** + * Execute deleteCollectionDeviceClass request with HTTP info returned + * @return ApiResponse<V1Status> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public ApiResponse executeWithHttpInfo() throws ApiException { + return deleteCollectionDeviceClassWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body); + } + + /** + * Execute deleteCollectionDeviceClass request (asynchronously) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return deleteCollectionDeviceClassAsync(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _callback); + } + } + + /** + * + * delete collection of DeviceClass + * @return APIdeleteCollectionDeviceClassRequest + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public APIdeleteCollectionDeviceClassRequest deleteCollectionDeviceClass() { + return new APIdeleteCollectionDeviceClassRequest(); + } + private okhttp3.Call deleteCollectionNamespacedResourceClaimCall(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaims" + .replace("{" + "namespace" + "}", localVarApiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (pretty != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); + } + + if (_continue != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("continue", _continue)); + } + + if (dryRun != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("dryRun", dryRun)); + } + + if (fieldSelector != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldSelector", fieldSelector)); + } + + if (gracePeriodSeconds != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("gracePeriodSeconds", gracePeriodSeconds)); + } + + if (ignoreStoreReadErrorWithClusterBreakingPotential != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("ignoreStoreReadErrorWithClusterBreakingPotential", ignoreStoreReadErrorWithClusterBreakingPotential)); + } + + if (labelSelector != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("labelSelector", labelSelector)); + } + + if (limit != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); + } + + if (orphanDependents != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("orphanDependents", orphanDependents)); + } + + if (propagationPolicy != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("propagationPolicy", propagationPolicy)); + } + + if (resourceVersion != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("resourceVersion", resourceVersion)); + } + + if (resourceVersionMatch != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("resourceVersionMatch", resourceVersionMatch)); + } + + if (sendInitialEvents != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sendInitialEvents", sendInitialEvents)); + } + + if (timeoutSeconds != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + } + + final String[] localVarAccepts = { + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call deleteCollectionNamespacedResourceClaimValidateBeforeCall(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling deleteCollectionNamespacedResourceClaim(Async)"); + } + + return deleteCollectionNamespacedResourceClaimCall(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _callback); + + } + + + private ApiResponse deleteCollectionNamespacedResourceClaimWithHttpInfo(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable V1DeleteOptions body) throws ApiException { + okhttp3.Call localVarCall = deleteCollectionNamespacedResourceClaimValidateBeforeCall(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + private okhttp3.Call deleteCollectionNamespacedResourceClaimAsync(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = deleteCollectionNamespacedResourceClaimValidateBeforeCall(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + public class APIdeleteCollectionNamespacedResourceClaimRequest { + @jakarta.annotation.Nonnull + private final String namespace; + @jakarta.annotation.Nullable + private String pretty; + @jakarta.annotation.Nullable + private String _continue; + @jakarta.annotation.Nullable + private String dryRun; + @jakarta.annotation.Nullable + private String fieldSelector; + @jakarta.annotation.Nullable + private Integer gracePeriodSeconds; + @jakarta.annotation.Nullable + private Boolean ignoreStoreReadErrorWithClusterBreakingPotential; + @jakarta.annotation.Nullable + private String labelSelector; + @jakarta.annotation.Nullable + private Integer limit; + @jakarta.annotation.Nullable + private Boolean orphanDependents; + @jakarta.annotation.Nullable + private String propagationPolicy; + @jakarta.annotation.Nullable + private String resourceVersion; + @jakarta.annotation.Nullable + private String resourceVersionMatch; + @jakarta.annotation.Nullable + private Boolean sendInitialEvents; + @jakarta.annotation.Nullable + private Integer timeoutSeconds; + @jakarta.annotation.Nullable + private V1DeleteOptions body; + + private APIdeleteCollectionNamespacedResourceClaimRequest(@jakarta.annotation.Nonnull String namespace) { + this.namespace = namespace; + } + + /** + * Set pretty + * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + * @return APIdeleteCollectionNamespacedResourceClaimRequest + */ + public APIdeleteCollectionNamespacedResourceClaimRequest pretty(@jakarta.annotation.Nullable String pretty) { + this.pretty = pretty; + return this; + } + + /** + * Set _continue + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @return APIdeleteCollectionNamespacedResourceClaimRequest + */ + public APIdeleteCollectionNamespacedResourceClaimRequest _continue(@jakarta.annotation.Nullable String _continue) { + this._continue = _continue; + return this; + } + + /** + * Set dryRun + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + * @return APIdeleteCollectionNamespacedResourceClaimRequest + */ + public APIdeleteCollectionNamespacedResourceClaimRequest dryRun(@jakarta.annotation.Nullable String dryRun) { + this.dryRun = dryRun; + return this; + } + + /** + * Set fieldSelector + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @return APIdeleteCollectionNamespacedResourceClaimRequest + */ + public APIdeleteCollectionNamespacedResourceClaimRequest fieldSelector(@jakarta.annotation.Nullable String fieldSelector) { + this.fieldSelector = fieldSelector; + return this; + } + + /** + * Set gracePeriodSeconds + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @return APIdeleteCollectionNamespacedResourceClaimRequest + */ + public APIdeleteCollectionNamespacedResourceClaimRequest gracePeriodSeconds(@jakarta.annotation.Nullable Integer gracePeriodSeconds) { + this.gracePeriodSeconds = gracePeriodSeconds; + return this; + } + + /** + * Set ignoreStoreReadErrorWithClusterBreakingPotential + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + * @return APIdeleteCollectionNamespacedResourceClaimRequest + */ + public APIdeleteCollectionNamespacedResourceClaimRequest ignoreStoreReadErrorWithClusterBreakingPotential(@jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential) { + this.ignoreStoreReadErrorWithClusterBreakingPotential = ignoreStoreReadErrorWithClusterBreakingPotential; + return this; + } + + /** + * Set labelSelector + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @return APIdeleteCollectionNamespacedResourceClaimRequest + */ + public APIdeleteCollectionNamespacedResourceClaimRequest labelSelector(@jakarta.annotation.Nullable String labelSelector) { + this.labelSelector = labelSelector; + return this; + } + + /** + * Set limit + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @return APIdeleteCollectionNamespacedResourceClaimRequest + */ + public APIdeleteCollectionNamespacedResourceClaimRequest limit(@jakarta.annotation.Nullable Integer limit) { + this.limit = limit; + return this; + } + + /** + * Set orphanDependents + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @return APIdeleteCollectionNamespacedResourceClaimRequest + */ + public APIdeleteCollectionNamespacedResourceClaimRequest orphanDependents(@jakarta.annotation.Nullable Boolean orphanDependents) { + this.orphanDependents = orphanDependents; + return this; + } + + /** + * Set propagationPolicy + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) + * @return APIdeleteCollectionNamespacedResourceClaimRequest + */ + public APIdeleteCollectionNamespacedResourceClaimRequest propagationPolicy(@jakarta.annotation.Nullable String propagationPolicy) { + this.propagationPolicy = propagationPolicy; + return this; + } + + /** + * Set resourceVersion + * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + * @return APIdeleteCollectionNamespacedResourceClaimRequest + */ + public APIdeleteCollectionNamespacedResourceClaimRequest resourceVersion(@jakarta.annotation.Nullable String resourceVersion) { + this.resourceVersion = resourceVersion; + return this; + } + + /** + * Set resourceVersionMatch + * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + * @return APIdeleteCollectionNamespacedResourceClaimRequest + */ + public APIdeleteCollectionNamespacedResourceClaimRequest resourceVersionMatch(@jakarta.annotation.Nullable String resourceVersionMatch) { + this.resourceVersionMatch = resourceVersionMatch; + return this; + } + + /** + * Set sendInitialEvents + * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) + * @return APIdeleteCollectionNamespacedResourceClaimRequest + */ + public APIdeleteCollectionNamespacedResourceClaimRequest sendInitialEvents(@jakarta.annotation.Nullable Boolean sendInitialEvents) { + this.sendInitialEvents = sendInitialEvents; + return this; + } + + /** + * Set timeoutSeconds + * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) + * @return APIdeleteCollectionNamespacedResourceClaimRequest + */ + public APIdeleteCollectionNamespacedResourceClaimRequest timeoutSeconds(@jakarta.annotation.Nullable Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + return this; + } + + /** + * Set body + * @param body (optional) + * @return APIdeleteCollectionNamespacedResourceClaimRequest + */ + public APIdeleteCollectionNamespacedResourceClaimRequest body(@jakarta.annotation.Nullable V1DeleteOptions body) { + this.body = body; + return this; + } + + /** + * Build call for deleteCollectionNamespacedResourceClaim + * @param _callback ApiCallback API callback + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { + return deleteCollectionNamespacedResourceClaimCall(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _callback); + } + + /** + * Execute deleteCollectionNamespacedResourceClaim request + * @return V1Status + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public V1Status execute() throws ApiException { + ApiResponse localVarResp = deleteCollectionNamespacedResourceClaimWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body); + return localVarResp.getData(); + } + + /** + * Execute deleteCollectionNamespacedResourceClaim request with HTTP info returned + * @return ApiResponse<V1Status> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public ApiResponse executeWithHttpInfo() throws ApiException { + return deleteCollectionNamespacedResourceClaimWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body); + } + + /** + * Execute deleteCollectionNamespacedResourceClaim request (asynchronously) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return deleteCollectionNamespacedResourceClaimAsync(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _callback); + } + } + + /** + * + * delete collection of ResourceClaim + * @param namespace object name and auth scope, such as for teams and projects (required) + * @return APIdeleteCollectionNamespacedResourceClaimRequest + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public APIdeleteCollectionNamespacedResourceClaimRequest deleteCollectionNamespacedResourceClaim(@jakarta.annotation.Nonnull String namespace) { + return new APIdeleteCollectionNamespacedResourceClaimRequest(namespace); + } + private okhttp3.Call deleteCollectionNamespacedResourceClaimTemplateCall(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaimtemplates" + .replace("{" + "namespace" + "}", localVarApiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (pretty != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); + } + + if (_continue != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("continue", _continue)); + } + + if (dryRun != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("dryRun", dryRun)); + } + + if (fieldSelector != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldSelector", fieldSelector)); + } + + if (gracePeriodSeconds != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("gracePeriodSeconds", gracePeriodSeconds)); + } + + if (ignoreStoreReadErrorWithClusterBreakingPotential != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("ignoreStoreReadErrorWithClusterBreakingPotential", ignoreStoreReadErrorWithClusterBreakingPotential)); + } + + if (labelSelector != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("labelSelector", labelSelector)); + } + + if (limit != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); + } + + if (orphanDependents != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("orphanDependents", orphanDependents)); + } + + if (propagationPolicy != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("propagationPolicy", propagationPolicy)); + } + + if (resourceVersion != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("resourceVersion", resourceVersion)); + } + + if (resourceVersionMatch != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("resourceVersionMatch", resourceVersionMatch)); + } + + if (sendInitialEvents != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sendInitialEvents", sendInitialEvents)); + } + + if (timeoutSeconds != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + } + + final String[] localVarAccepts = { + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call deleteCollectionNamespacedResourceClaimTemplateValidateBeforeCall(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling deleteCollectionNamespacedResourceClaimTemplate(Async)"); + } + + return deleteCollectionNamespacedResourceClaimTemplateCall(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _callback); + + } + + + private ApiResponse deleteCollectionNamespacedResourceClaimTemplateWithHttpInfo(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable V1DeleteOptions body) throws ApiException { + okhttp3.Call localVarCall = deleteCollectionNamespacedResourceClaimTemplateValidateBeforeCall(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + private okhttp3.Call deleteCollectionNamespacedResourceClaimTemplateAsync(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = deleteCollectionNamespacedResourceClaimTemplateValidateBeforeCall(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + public class APIdeleteCollectionNamespacedResourceClaimTemplateRequest { + @jakarta.annotation.Nonnull + private final String namespace; + @jakarta.annotation.Nullable + private String pretty; + @jakarta.annotation.Nullable + private String _continue; + @jakarta.annotation.Nullable + private String dryRun; + @jakarta.annotation.Nullable + private String fieldSelector; + @jakarta.annotation.Nullable + private Integer gracePeriodSeconds; + @jakarta.annotation.Nullable + private Boolean ignoreStoreReadErrorWithClusterBreakingPotential; + @jakarta.annotation.Nullable + private String labelSelector; + @jakarta.annotation.Nullable + private Integer limit; + @jakarta.annotation.Nullable + private Boolean orphanDependents; + @jakarta.annotation.Nullable + private String propagationPolicy; + @jakarta.annotation.Nullable + private String resourceVersion; + @jakarta.annotation.Nullable + private String resourceVersionMatch; + @jakarta.annotation.Nullable + private Boolean sendInitialEvents; + @jakarta.annotation.Nullable + private Integer timeoutSeconds; + @jakarta.annotation.Nullable + private V1DeleteOptions body; + + private APIdeleteCollectionNamespacedResourceClaimTemplateRequest(@jakarta.annotation.Nonnull String namespace) { + this.namespace = namespace; + } + + /** + * Set pretty + * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + * @return APIdeleteCollectionNamespacedResourceClaimTemplateRequest + */ + public APIdeleteCollectionNamespacedResourceClaimTemplateRequest pretty(@jakarta.annotation.Nullable String pretty) { + this.pretty = pretty; + return this; + } + + /** + * Set _continue + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @return APIdeleteCollectionNamespacedResourceClaimTemplateRequest + */ + public APIdeleteCollectionNamespacedResourceClaimTemplateRequest _continue(@jakarta.annotation.Nullable String _continue) { + this._continue = _continue; + return this; + } + + /** + * Set dryRun + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + * @return APIdeleteCollectionNamespacedResourceClaimTemplateRequest + */ + public APIdeleteCollectionNamespacedResourceClaimTemplateRequest dryRun(@jakarta.annotation.Nullable String dryRun) { + this.dryRun = dryRun; + return this; + } + + /** + * Set fieldSelector + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @return APIdeleteCollectionNamespacedResourceClaimTemplateRequest + */ + public APIdeleteCollectionNamespacedResourceClaimTemplateRequest fieldSelector(@jakarta.annotation.Nullable String fieldSelector) { + this.fieldSelector = fieldSelector; + return this; + } + + /** + * Set gracePeriodSeconds + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @return APIdeleteCollectionNamespacedResourceClaimTemplateRequest + */ + public APIdeleteCollectionNamespacedResourceClaimTemplateRequest gracePeriodSeconds(@jakarta.annotation.Nullable Integer gracePeriodSeconds) { + this.gracePeriodSeconds = gracePeriodSeconds; + return this; + } + + /** + * Set ignoreStoreReadErrorWithClusterBreakingPotential + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + * @return APIdeleteCollectionNamespacedResourceClaimTemplateRequest + */ + public APIdeleteCollectionNamespacedResourceClaimTemplateRequest ignoreStoreReadErrorWithClusterBreakingPotential(@jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential) { + this.ignoreStoreReadErrorWithClusterBreakingPotential = ignoreStoreReadErrorWithClusterBreakingPotential; + return this; + } + + /** + * Set labelSelector + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @return APIdeleteCollectionNamespacedResourceClaimTemplateRequest + */ + public APIdeleteCollectionNamespacedResourceClaimTemplateRequest labelSelector(@jakarta.annotation.Nullable String labelSelector) { + this.labelSelector = labelSelector; + return this; + } + + /** + * Set limit + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @return APIdeleteCollectionNamespacedResourceClaimTemplateRequest + */ + public APIdeleteCollectionNamespacedResourceClaimTemplateRequest limit(@jakarta.annotation.Nullable Integer limit) { + this.limit = limit; + return this; + } + + /** + * Set orphanDependents + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @return APIdeleteCollectionNamespacedResourceClaimTemplateRequest + */ + public APIdeleteCollectionNamespacedResourceClaimTemplateRequest orphanDependents(@jakarta.annotation.Nullable Boolean orphanDependents) { + this.orphanDependents = orphanDependents; + return this; + } + + /** + * Set propagationPolicy + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) + * @return APIdeleteCollectionNamespacedResourceClaimTemplateRequest + */ + public APIdeleteCollectionNamespacedResourceClaimTemplateRequest propagationPolicy(@jakarta.annotation.Nullable String propagationPolicy) { + this.propagationPolicy = propagationPolicy; + return this; + } + + /** + * Set resourceVersion + * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + * @return APIdeleteCollectionNamespacedResourceClaimTemplateRequest + */ + public APIdeleteCollectionNamespacedResourceClaimTemplateRequest resourceVersion(@jakarta.annotation.Nullable String resourceVersion) { + this.resourceVersion = resourceVersion; + return this; + } + + /** + * Set resourceVersionMatch + * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + * @return APIdeleteCollectionNamespacedResourceClaimTemplateRequest + */ + public APIdeleteCollectionNamespacedResourceClaimTemplateRequest resourceVersionMatch(@jakarta.annotation.Nullable String resourceVersionMatch) { + this.resourceVersionMatch = resourceVersionMatch; + return this; + } + + /** + * Set sendInitialEvents + * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) + * @return APIdeleteCollectionNamespacedResourceClaimTemplateRequest + */ + public APIdeleteCollectionNamespacedResourceClaimTemplateRequest sendInitialEvents(@jakarta.annotation.Nullable Boolean sendInitialEvents) { + this.sendInitialEvents = sendInitialEvents; + return this; + } + + /** + * Set timeoutSeconds + * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) + * @return APIdeleteCollectionNamespacedResourceClaimTemplateRequest + */ + public APIdeleteCollectionNamespacedResourceClaimTemplateRequest timeoutSeconds(@jakarta.annotation.Nullable Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + return this; + } + + /** + * Set body + * @param body (optional) + * @return APIdeleteCollectionNamespacedResourceClaimTemplateRequest + */ + public APIdeleteCollectionNamespacedResourceClaimTemplateRequest body(@jakarta.annotation.Nullable V1DeleteOptions body) { + this.body = body; + return this; + } + + /** + * Build call for deleteCollectionNamespacedResourceClaimTemplate + * @param _callback ApiCallback API callback + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { + return deleteCollectionNamespacedResourceClaimTemplateCall(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _callback); + } + + /** + * Execute deleteCollectionNamespacedResourceClaimTemplate request + * @return V1Status + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public V1Status execute() throws ApiException { + ApiResponse localVarResp = deleteCollectionNamespacedResourceClaimTemplateWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body); + return localVarResp.getData(); + } + + /** + * Execute deleteCollectionNamespacedResourceClaimTemplate request with HTTP info returned + * @return ApiResponse<V1Status> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public ApiResponse executeWithHttpInfo() throws ApiException { + return deleteCollectionNamespacedResourceClaimTemplateWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body); + } + + /** + * Execute deleteCollectionNamespacedResourceClaimTemplate request (asynchronously) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return deleteCollectionNamespacedResourceClaimTemplateAsync(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _callback); + } + } + + /** + * + * delete collection of ResourceClaimTemplate + * @param namespace object name and auth scope, such as for teams and projects (required) + * @return APIdeleteCollectionNamespacedResourceClaimTemplateRequest + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public APIdeleteCollectionNamespacedResourceClaimTemplateRequest deleteCollectionNamespacedResourceClaimTemplate(@jakarta.annotation.Nonnull String namespace) { + return new APIdeleteCollectionNamespacedResourceClaimTemplateRequest(namespace); + } + private okhttp3.Call deleteCollectionResourceSliceCall(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/resource.k8s.io/v1/resourceslices"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (pretty != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); + } + + if (_continue != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("continue", _continue)); + } + + if (dryRun != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("dryRun", dryRun)); + } + + if (fieldSelector != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldSelector", fieldSelector)); + } + + if (gracePeriodSeconds != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("gracePeriodSeconds", gracePeriodSeconds)); + } + + if (ignoreStoreReadErrorWithClusterBreakingPotential != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("ignoreStoreReadErrorWithClusterBreakingPotential", ignoreStoreReadErrorWithClusterBreakingPotential)); + } + + if (labelSelector != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("labelSelector", labelSelector)); + } + + if (limit != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); + } + + if (orphanDependents != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("orphanDependents", orphanDependents)); + } + + if (propagationPolicy != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("propagationPolicy", propagationPolicy)); + } + + if (resourceVersion != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("resourceVersion", resourceVersion)); + } + + if (resourceVersionMatch != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("resourceVersionMatch", resourceVersionMatch)); + } + + if (sendInitialEvents != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sendInitialEvents", sendInitialEvents)); + } + + if (timeoutSeconds != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + } + + final String[] localVarAccepts = { + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call deleteCollectionResourceSliceValidateBeforeCall(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { + return deleteCollectionResourceSliceCall(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _callback); + + } + + + private ApiResponse deleteCollectionResourceSliceWithHttpInfo(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable V1DeleteOptions body) throws ApiException { + okhttp3.Call localVarCall = deleteCollectionResourceSliceValidateBeforeCall(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + private okhttp3.Call deleteCollectionResourceSliceAsync(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = deleteCollectionResourceSliceValidateBeforeCall(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + public class APIdeleteCollectionResourceSliceRequest { + @jakarta.annotation.Nullable + private String pretty; + @jakarta.annotation.Nullable + private String _continue; + @jakarta.annotation.Nullable + private String dryRun; + @jakarta.annotation.Nullable + private String fieldSelector; + @jakarta.annotation.Nullable + private Integer gracePeriodSeconds; + @jakarta.annotation.Nullable + private Boolean ignoreStoreReadErrorWithClusterBreakingPotential; + @jakarta.annotation.Nullable + private String labelSelector; + @jakarta.annotation.Nullable + private Integer limit; + @jakarta.annotation.Nullable + private Boolean orphanDependents; + @jakarta.annotation.Nullable + private String propagationPolicy; + @jakarta.annotation.Nullable + private String resourceVersion; + @jakarta.annotation.Nullable + private String resourceVersionMatch; + @jakarta.annotation.Nullable + private Boolean sendInitialEvents; + @jakarta.annotation.Nullable + private Integer timeoutSeconds; + @jakarta.annotation.Nullable + private V1DeleteOptions body; + + private APIdeleteCollectionResourceSliceRequest() { + } + + /** + * Set pretty + * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + * @return APIdeleteCollectionResourceSliceRequest + */ + public APIdeleteCollectionResourceSliceRequest pretty(@jakarta.annotation.Nullable String pretty) { + this.pretty = pretty; + return this; + } + + /** + * Set _continue + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @return APIdeleteCollectionResourceSliceRequest + */ + public APIdeleteCollectionResourceSliceRequest _continue(@jakarta.annotation.Nullable String _continue) { + this._continue = _continue; + return this; + } + + /** + * Set dryRun + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + * @return APIdeleteCollectionResourceSliceRequest + */ + public APIdeleteCollectionResourceSliceRequest dryRun(@jakarta.annotation.Nullable String dryRun) { + this.dryRun = dryRun; + return this; + } + + /** + * Set fieldSelector + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @return APIdeleteCollectionResourceSliceRequest + */ + public APIdeleteCollectionResourceSliceRequest fieldSelector(@jakarta.annotation.Nullable String fieldSelector) { + this.fieldSelector = fieldSelector; + return this; + } + + /** + * Set gracePeriodSeconds + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @return APIdeleteCollectionResourceSliceRequest + */ + public APIdeleteCollectionResourceSliceRequest gracePeriodSeconds(@jakarta.annotation.Nullable Integer gracePeriodSeconds) { + this.gracePeriodSeconds = gracePeriodSeconds; + return this; + } + + /** + * Set ignoreStoreReadErrorWithClusterBreakingPotential + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + * @return APIdeleteCollectionResourceSliceRequest + */ + public APIdeleteCollectionResourceSliceRequest ignoreStoreReadErrorWithClusterBreakingPotential(@jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential) { + this.ignoreStoreReadErrorWithClusterBreakingPotential = ignoreStoreReadErrorWithClusterBreakingPotential; + return this; + } + + /** + * Set labelSelector + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @return APIdeleteCollectionResourceSliceRequest + */ + public APIdeleteCollectionResourceSliceRequest labelSelector(@jakarta.annotation.Nullable String labelSelector) { + this.labelSelector = labelSelector; + return this; + } + + /** + * Set limit + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @return APIdeleteCollectionResourceSliceRequest + */ + public APIdeleteCollectionResourceSliceRequest limit(@jakarta.annotation.Nullable Integer limit) { + this.limit = limit; + return this; + } + + /** + * Set orphanDependents + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @return APIdeleteCollectionResourceSliceRequest + */ + public APIdeleteCollectionResourceSliceRequest orphanDependents(@jakarta.annotation.Nullable Boolean orphanDependents) { + this.orphanDependents = orphanDependents; + return this; + } + + /** + * Set propagationPolicy + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) + * @return APIdeleteCollectionResourceSliceRequest + */ + public APIdeleteCollectionResourceSliceRequest propagationPolicy(@jakarta.annotation.Nullable String propagationPolicy) { + this.propagationPolicy = propagationPolicy; + return this; + } + + /** + * Set resourceVersion + * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + * @return APIdeleteCollectionResourceSliceRequest + */ + public APIdeleteCollectionResourceSliceRequest resourceVersion(@jakarta.annotation.Nullable String resourceVersion) { + this.resourceVersion = resourceVersion; + return this; + } + + /** + * Set resourceVersionMatch + * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + * @return APIdeleteCollectionResourceSliceRequest + */ + public APIdeleteCollectionResourceSliceRequest resourceVersionMatch(@jakarta.annotation.Nullable String resourceVersionMatch) { + this.resourceVersionMatch = resourceVersionMatch; + return this; + } + + /** + * Set sendInitialEvents + * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) + * @return APIdeleteCollectionResourceSliceRequest + */ + public APIdeleteCollectionResourceSliceRequest sendInitialEvents(@jakarta.annotation.Nullable Boolean sendInitialEvents) { + this.sendInitialEvents = sendInitialEvents; + return this; + } + + /** + * Set timeoutSeconds + * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) + * @return APIdeleteCollectionResourceSliceRequest + */ + public APIdeleteCollectionResourceSliceRequest timeoutSeconds(@jakarta.annotation.Nullable Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + return this; + } + + /** + * Set body + * @param body (optional) + * @return APIdeleteCollectionResourceSliceRequest + */ + public APIdeleteCollectionResourceSliceRequest body(@jakarta.annotation.Nullable V1DeleteOptions body) { + this.body = body; + return this; + } + + /** + * Build call for deleteCollectionResourceSlice + * @param _callback ApiCallback API callback + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { + return deleteCollectionResourceSliceCall(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _callback); + } + + /** + * Execute deleteCollectionResourceSlice request + * @return V1Status + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public V1Status execute() throws ApiException { + ApiResponse localVarResp = deleteCollectionResourceSliceWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body); + return localVarResp.getData(); + } + + /** + * Execute deleteCollectionResourceSlice request with HTTP info returned + * @return ApiResponse<V1Status> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public ApiResponse executeWithHttpInfo() throws ApiException { + return deleteCollectionResourceSliceWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body); + } + + /** + * Execute deleteCollectionResourceSlice request (asynchronously) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return deleteCollectionResourceSliceAsync(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _callback); + } + } + + /** + * + * delete collection of ResourceSlice + * @return APIdeleteCollectionResourceSliceRequest + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public APIdeleteCollectionResourceSliceRequest deleteCollectionResourceSlice() { + return new APIdeleteCollectionResourceSliceRequest(); + } + private okhttp3.Call deleteDeviceClassCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/resource.k8s.io/v1/deviceclasses/{name}" + .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (pretty != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); + } + + if (dryRun != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("dryRun", dryRun)); + } + + if (gracePeriodSeconds != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("gracePeriodSeconds", gracePeriodSeconds)); + } + + if (ignoreStoreReadErrorWithClusterBreakingPotential != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("ignoreStoreReadErrorWithClusterBreakingPotential", ignoreStoreReadErrorWithClusterBreakingPotential)); + } + + if (orphanDependents != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("orphanDependents", orphanDependents)); + } + + if (propagationPolicy != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("propagationPolicy", propagationPolicy)); + } + + final String[] localVarAccepts = { + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call deleteDeviceClassValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling deleteDeviceClass(Async)"); + } + + return deleteDeviceClassCall(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); + + } + + + private ApiResponse deleteDeviceClassWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body) throws ApiException { + okhttp3.Call localVarCall = deleteDeviceClassValidateBeforeCall(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + private okhttp3.Call deleteDeviceClassAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = deleteDeviceClassValidateBeforeCall(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + public class APIdeleteDeviceClassRequest { + @jakarta.annotation.Nonnull + private final String name; + @jakarta.annotation.Nullable + private String pretty; + @jakarta.annotation.Nullable + private String dryRun; + @jakarta.annotation.Nullable + private Integer gracePeriodSeconds; + @jakarta.annotation.Nullable + private Boolean ignoreStoreReadErrorWithClusterBreakingPotential; + @jakarta.annotation.Nullable + private Boolean orphanDependents; + @jakarta.annotation.Nullable + private String propagationPolicy; + @jakarta.annotation.Nullable + private V1DeleteOptions body; + + private APIdeleteDeviceClassRequest(@jakarta.annotation.Nonnull String name) { + this.name = name; + } + + /** + * Set pretty + * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + * @return APIdeleteDeviceClassRequest + */ + public APIdeleteDeviceClassRequest pretty(@jakarta.annotation.Nullable String pretty) { + this.pretty = pretty; + return this; + } + + /** + * Set dryRun + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + * @return APIdeleteDeviceClassRequest + */ + public APIdeleteDeviceClassRequest dryRun(@jakarta.annotation.Nullable String dryRun) { + this.dryRun = dryRun; + return this; + } + + /** + * Set gracePeriodSeconds + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @return APIdeleteDeviceClassRequest + */ + public APIdeleteDeviceClassRequest gracePeriodSeconds(@jakarta.annotation.Nullable Integer gracePeriodSeconds) { + this.gracePeriodSeconds = gracePeriodSeconds; + return this; + } + + /** + * Set ignoreStoreReadErrorWithClusterBreakingPotential + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + * @return APIdeleteDeviceClassRequest + */ + public APIdeleteDeviceClassRequest ignoreStoreReadErrorWithClusterBreakingPotential(@jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential) { + this.ignoreStoreReadErrorWithClusterBreakingPotential = ignoreStoreReadErrorWithClusterBreakingPotential; + return this; + } + + /** + * Set orphanDependents + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @return APIdeleteDeviceClassRequest + */ + public APIdeleteDeviceClassRequest orphanDependents(@jakarta.annotation.Nullable Boolean orphanDependents) { + this.orphanDependents = orphanDependents; + return this; + } + + /** + * Set propagationPolicy + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) + * @return APIdeleteDeviceClassRequest + */ + public APIdeleteDeviceClassRequest propagationPolicy(@jakarta.annotation.Nullable String propagationPolicy) { + this.propagationPolicy = propagationPolicy; + return this; + } + + /** + * Set body + * @param body (optional) + * @return APIdeleteDeviceClassRequest + */ + public APIdeleteDeviceClassRequest body(@jakarta.annotation.Nullable V1DeleteOptions body) { + this.body = body; + return this; + } + + /** + * Build call for deleteDeviceClass + * @param _callback ApiCallback API callback + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
202 Accepted -
401 Unauthorized -
+ */ + public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { + return deleteDeviceClassCall(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); + } + + /** + * Execute deleteDeviceClass request + * @return V1DeviceClass + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
202 Accepted -
401 Unauthorized -
+ */ + public V1DeviceClass execute() throws ApiException { + ApiResponse localVarResp = deleteDeviceClassWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body); + return localVarResp.getData(); + } + + /** + * Execute deleteDeviceClass request with HTTP info returned + * @return ApiResponse<V1DeviceClass> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
202 Accepted -
401 Unauthorized -
+ */ + public ApiResponse executeWithHttpInfo() throws ApiException { + return deleteDeviceClassWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body); + } + + /** + * Execute deleteDeviceClass request (asynchronously) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
202 Accepted -
401 Unauthorized -
+ */ + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return deleteDeviceClassAsync(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); + } + } + + /** + * + * delete a DeviceClass + * @param name name of the DeviceClass (required) + * @return APIdeleteDeviceClassRequest + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
202 Accepted -
401 Unauthorized -
+ */ + public APIdeleteDeviceClassRequest deleteDeviceClass(@jakarta.annotation.Nonnull String name) { + return new APIdeleteDeviceClassRequest(name); + } + private okhttp3.Call deleteNamespacedResourceClaimCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaims/{name}" + .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())) + .replace("{" + "namespace" + "}", localVarApiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (pretty != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); + } + + if (dryRun != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("dryRun", dryRun)); + } + + if (gracePeriodSeconds != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("gracePeriodSeconds", gracePeriodSeconds)); + } + + if (ignoreStoreReadErrorWithClusterBreakingPotential != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("ignoreStoreReadErrorWithClusterBreakingPotential", ignoreStoreReadErrorWithClusterBreakingPotential)); + } + + if (orphanDependents != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("orphanDependents", orphanDependents)); + } + + if (propagationPolicy != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("propagationPolicy", propagationPolicy)); + } + + final String[] localVarAccepts = { + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call deleteNamespacedResourceClaimValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling deleteNamespacedResourceClaim(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling deleteNamespacedResourceClaim(Async)"); + } + + return deleteNamespacedResourceClaimCall(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); + + } + + + private ApiResponse deleteNamespacedResourceClaimWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body) throws ApiException { + okhttp3.Call localVarCall = deleteNamespacedResourceClaimValidateBeforeCall(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + private okhttp3.Call deleteNamespacedResourceClaimAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = deleteNamespacedResourceClaimValidateBeforeCall(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + public class APIdeleteNamespacedResourceClaimRequest { + @jakarta.annotation.Nonnull + private final String name; + @jakarta.annotation.Nonnull + private final String namespace; + @jakarta.annotation.Nullable + private String pretty; + @jakarta.annotation.Nullable + private String dryRun; + @jakarta.annotation.Nullable + private Integer gracePeriodSeconds; + @jakarta.annotation.Nullable + private Boolean ignoreStoreReadErrorWithClusterBreakingPotential; + @jakarta.annotation.Nullable + private Boolean orphanDependents; + @jakarta.annotation.Nullable + private String propagationPolicy; + @jakarta.annotation.Nullable + private V1DeleteOptions body; + + private APIdeleteNamespacedResourceClaimRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace) { + this.name = name; + this.namespace = namespace; + } + + /** + * Set pretty + * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + * @return APIdeleteNamespacedResourceClaimRequest + */ + public APIdeleteNamespacedResourceClaimRequest pretty(@jakarta.annotation.Nullable String pretty) { + this.pretty = pretty; + return this; + } + + /** + * Set dryRun + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + * @return APIdeleteNamespacedResourceClaimRequest + */ + public APIdeleteNamespacedResourceClaimRequest dryRun(@jakarta.annotation.Nullable String dryRun) { + this.dryRun = dryRun; + return this; + } + + /** + * Set gracePeriodSeconds + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @return APIdeleteNamespacedResourceClaimRequest + */ + public APIdeleteNamespacedResourceClaimRequest gracePeriodSeconds(@jakarta.annotation.Nullable Integer gracePeriodSeconds) { + this.gracePeriodSeconds = gracePeriodSeconds; + return this; + } + + /** + * Set ignoreStoreReadErrorWithClusterBreakingPotential + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + * @return APIdeleteNamespacedResourceClaimRequest + */ + public APIdeleteNamespacedResourceClaimRequest ignoreStoreReadErrorWithClusterBreakingPotential(@jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential) { + this.ignoreStoreReadErrorWithClusterBreakingPotential = ignoreStoreReadErrorWithClusterBreakingPotential; + return this; + } + + /** + * Set orphanDependents + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @return APIdeleteNamespacedResourceClaimRequest + */ + public APIdeleteNamespacedResourceClaimRequest orphanDependents(@jakarta.annotation.Nullable Boolean orphanDependents) { + this.orphanDependents = orphanDependents; + return this; + } + + /** + * Set propagationPolicy + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) + * @return APIdeleteNamespacedResourceClaimRequest + */ + public APIdeleteNamespacedResourceClaimRequest propagationPolicy(@jakarta.annotation.Nullable String propagationPolicy) { + this.propagationPolicy = propagationPolicy; + return this; + } + + /** + * Set body + * @param body (optional) + * @return APIdeleteNamespacedResourceClaimRequest + */ + public APIdeleteNamespacedResourceClaimRequest body(@jakarta.annotation.Nullable V1DeleteOptions body) { + this.body = body; + return this; + } + + /** + * Build call for deleteNamespacedResourceClaim + * @param _callback ApiCallback API callback + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
202 Accepted -
401 Unauthorized -
+ */ + public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { + return deleteNamespacedResourceClaimCall(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); + } + + /** + * Execute deleteNamespacedResourceClaim request + * @return ResourceV1ResourceClaim + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
202 Accepted -
401 Unauthorized -
+ */ + public ResourceV1ResourceClaim execute() throws ApiException { + ApiResponse localVarResp = deleteNamespacedResourceClaimWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body); + return localVarResp.getData(); + } + + /** + * Execute deleteNamespacedResourceClaim request with HTTP info returned + * @return ApiResponse<ResourceV1ResourceClaim> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
202 Accepted -
401 Unauthorized -
+ */ + public ApiResponse executeWithHttpInfo() throws ApiException { + return deleteNamespacedResourceClaimWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body); + } + + /** + * Execute deleteNamespacedResourceClaim request (asynchronously) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
202 Accepted -
401 Unauthorized -
+ */ + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return deleteNamespacedResourceClaimAsync(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); + } + } + + /** + * + * delete a ResourceClaim + * @param name name of the ResourceClaim (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @return APIdeleteNamespacedResourceClaimRequest + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
202 Accepted -
401 Unauthorized -
+ */ + public APIdeleteNamespacedResourceClaimRequest deleteNamespacedResourceClaim(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace) { + return new APIdeleteNamespacedResourceClaimRequest(name, namespace); + } + private okhttp3.Call deleteNamespacedResourceClaimTemplateCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaimtemplates/{name}" + .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())) + .replace("{" + "namespace" + "}", localVarApiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (pretty != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); + } + + if (dryRun != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("dryRun", dryRun)); + } + + if (gracePeriodSeconds != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("gracePeriodSeconds", gracePeriodSeconds)); + } + + if (ignoreStoreReadErrorWithClusterBreakingPotential != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("ignoreStoreReadErrorWithClusterBreakingPotential", ignoreStoreReadErrorWithClusterBreakingPotential)); + } + + if (orphanDependents != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("orphanDependents", orphanDependents)); + } + + if (propagationPolicy != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("propagationPolicy", propagationPolicy)); + } + + final String[] localVarAccepts = { + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call deleteNamespacedResourceClaimTemplateValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling deleteNamespacedResourceClaimTemplate(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling deleteNamespacedResourceClaimTemplate(Async)"); + } + + return deleteNamespacedResourceClaimTemplateCall(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); + + } + + + private ApiResponse deleteNamespacedResourceClaimTemplateWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body) throws ApiException { + okhttp3.Call localVarCall = deleteNamespacedResourceClaimTemplateValidateBeforeCall(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + private okhttp3.Call deleteNamespacedResourceClaimTemplateAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = deleteNamespacedResourceClaimTemplateValidateBeforeCall(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + public class APIdeleteNamespacedResourceClaimTemplateRequest { + @jakarta.annotation.Nonnull + private final String name; + @jakarta.annotation.Nonnull + private final String namespace; + @jakarta.annotation.Nullable + private String pretty; + @jakarta.annotation.Nullable + private String dryRun; + @jakarta.annotation.Nullable + private Integer gracePeriodSeconds; + @jakarta.annotation.Nullable + private Boolean ignoreStoreReadErrorWithClusterBreakingPotential; + @jakarta.annotation.Nullable + private Boolean orphanDependents; + @jakarta.annotation.Nullable + private String propagationPolicy; + @jakarta.annotation.Nullable + private V1DeleteOptions body; + + private APIdeleteNamespacedResourceClaimTemplateRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace) { + this.name = name; + this.namespace = namespace; + } + + /** + * Set pretty + * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + * @return APIdeleteNamespacedResourceClaimTemplateRequest + */ + public APIdeleteNamespacedResourceClaimTemplateRequest pretty(@jakarta.annotation.Nullable String pretty) { + this.pretty = pretty; + return this; + } + + /** + * Set dryRun + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + * @return APIdeleteNamespacedResourceClaimTemplateRequest + */ + public APIdeleteNamespacedResourceClaimTemplateRequest dryRun(@jakarta.annotation.Nullable String dryRun) { + this.dryRun = dryRun; + return this; + } + + /** + * Set gracePeriodSeconds + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @return APIdeleteNamespacedResourceClaimTemplateRequest + */ + public APIdeleteNamespacedResourceClaimTemplateRequest gracePeriodSeconds(@jakarta.annotation.Nullable Integer gracePeriodSeconds) { + this.gracePeriodSeconds = gracePeriodSeconds; + return this; + } + + /** + * Set ignoreStoreReadErrorWithClusterBreakingPotential + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + * @return APIdeleteNamespacedResourceClaimTemplateRequest + */ + public APIdeleteNamespacedResourceClaimTemplateRequest ignoreStoreReadErrorWithClusterBreakingPotential(@jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential) { + this.ignoreStoreReadErrorWithClusterBreakingPotential = ignoreStoreReadErrorWithClusterBreakingPotential; + return this; + } + + /** + * Set orphanDependents + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @return APIdeleteNamespacedResourceClaimTemplateRequest + */ + public APIdeleteNamespacedResourceClaimTemplateRequest orphanDependents(@jakarta.annotation.Nullable Boolean orphanDependents) { + this.orphanDependents = orphanDependents; + return this; + } + + /** + * Set propagationPolicy + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) + * @return APIdeleteNamespacedResourceClaimTemplateRequest + */ + public APIdeleteNamespacedResourceClaimTemplateRequest propagationPolicy(@jakarta.annotation.Nullable String propagationPolicy) { + this.propagationPolicy = propagationPolicy; + return this; + } + + /** + * Set body + * @param body (optional) + * @return APIdeleteNamespacedResourceClaimTemplateRequest + */ + public APIdeleteNamespacedResourceClaimTemplateRequest body(@jakarta.annotation.Nullable V1DeleteOptions body) { + this.body = body; + return this; + } + + /** + * Build call for deleteNamespacedResourceClaimTemplate + * @param _callback ApiCallback API callback + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
202 Accepted -
401 Unauthorized -
+ */ + public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { + return deleteNamespacedResourceClaimTemplateCall(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); + } + + /** + * Execute deleteNamespacedResourceClaimTemplate request + * @return V1ResourceClaimTemplate + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
202 Accepted -
401 Unauthorized -
+ */ + public V1ResourceClaimTemplate execute() throws ApiException { + ApiResponse localVarResp = deleteNamespacedResourceClaimTemplateWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body); + return localVarResp.getData(); + } + + /** + * Execute deleteNamespacedResourceClaimTemplate request with HTTP info returned + * @return ApiResponse<V1ResourceClaimTemplate> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
202 Accepted -
401 Unauthorized -
+ */ + public ApiResponse executeWithHttpInfo() throws ApiException { + return deleteNamespacedResourceClaimTemplateWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body); + } + + /** + * Execute deleteNamespacedResourceClaimTemplate request (asynchronously) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
202 Accepted -
401 Unauthorized -
+ */ + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return deleteNamespacedResourceClaimTemplateAsync(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); + } + } + + /** + * + * delete a ResourceClaimTemplate + * @param name name of the ResourceClaimTemplate (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @return APIdeleteNamespacedResourceClaimTemplateRequest + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
202 Accepted -
401 Unauthorized -
+ */ + public APIdeleteNamespacedResourceClaimTemplateRequest deleteNamespacedResourceClaimTemplate(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace) { + return new APIdeleteNamespacedResourceClaimTemplateRequest(name, namespace); + } + private okhttp3.Call deleteResourceSliceCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/resource.k8s.io/v1/resourceslices/{name}" + .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (pretty != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); + } + + if (dryRun != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("dryRun", dryRun)); + } + + if (gracePeriodSeconds != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("gracePeriodSeconds", gracePeriodSeconds)); + } + + if (ignoreStoreReadErrorWithClusterBreakingPotential != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("ignoreStoreReadErrorWithClusterBreakingPotential", ignoreStoreReadErrorWithClusterBreakingPotential)); + } + + if (orphanDependents != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("orphanDependents", orphanDependents)); + } + + if (propagationPolicy != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("propagationPolicy", propagationPolicy)); + } + + final String[] localVarAccepts = { + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call deleteResourceSliceValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling deleteResourceSlice(Async)"); + } + + return deleteResourceSliceCall(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); + + } + + + private ApiResponse deleteResourceSliceWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body) throws ApiException { + okhttp3.Call localVarCall = deleteResourceSliceValidateBeforeCall(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + private okhttp3.Call deleteResourceSliceAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = deleteResourceSliceValidateBeforeCall(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + public class APIdeleteResourceSliceRequest { + @jakarta.annotation.Nonnull + private final String name; + @jakarta.annotation.Nullable + private String pretty; + @jakarta.annotation.Nullable + private String dryRun; + @jakarta.annotation.Nullable + private Integer gracePeriodSeconds; + @jakarta.annotation.Nullable + private Boolean ignoreStoreReadErrorWithClusterBreakingPotential; + @jakarta.annotation.Nullable + private Boolean orphanDependents; + @jakarta.annotation.Nullable + private String propagationPolicy; + @jakarta.annotation.Nullable + private V1DeleteOptions body; + + private APIdeleteResourceSliceRequest(@jakarta.annotation.Nonnull String name) { + this.name = name; + } + + /** + * Set pretty + * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + * @return APIdeleteResourceSliceRequest + */ + public APIdeleteResourceSliceRequest pretty(@jakarta.annotation.Nullable String pretty) { + this.pretty = pretty; + return this; + } + + /** + * Set dryRun + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + * @return APIdeleteResourceSliceRequest + */ + public APIdeleteResourceSliceRequest dryRun(@jakarta.annotation.Nullable String dryRun) { + this.dryRun = dryRun; + return this; + } + + /** + * Set gracePeriodSeconds + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @return APIdeleteResourceSliceRequest + */ + public APIdeleteResourceSliceRequest gracePeriodSeconds(@jakarta.annotation.Nullable Integer gracePeriodSeconds) { + this.gracePeriodSeconds = gracePeriodSeconds; + return this; + } + + /** + * Set ignoreStoreReadErrorWithClusterBreakingPotential + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + * @return APIdeleteResourceSliceRequest + */ + public APIdeleteResourceSliceRequest ignoreStoreReadErrorWithClusterBreakingPotential(@jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential) { + this.ignoreStoreReadErrorWithClusterBreakingPotential = ignoreStoreReadErrorWithClusterBreakingPotential; + return this; + } + + /** + * Set orphanDependents + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @return APIdeleteResourceSliceRequest + */ + public APIdeleteResourceSliceRequest orphanDependents(@jakarta.annotation.Nullable Boolean orphanDependents) { + this.orphanDependents = orphanDependents; + return this; + } + + /** + * Set propagationPolicy + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) + * @return APIdeleteResourceSliceRequest + */ + public APIdeleteResourceSliceRequest propagationPolicy(@jakarta.annotation.Nullable String propagationPolicy) { + this.propagationPolicy = propagationPolicy; + return this; + } + + /** + * Set body + * @param body (optional) + * @return APIdeleteResourceSliceRequest + */ + public APIdeleteResourceSliceRequest body(@jakarta.annotation.Nullable V1DeleteOptions body) { + this.body = body; + return this; + } + + /** + * Build call for deleteResourceSlice + * @param _callback ApiCallback API callback + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
202 Accepted -
401 Unauthorized -
+ */ + public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { + return deleteResourceSliceCall(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); + } + + /** + * Execute deleteResourceSlice request + * @return V1ResourceSlice + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
202 Accepted -
401 Unauthorized -
+ */ + public V1ResourceSlice execute() throws ApiException { + ApiResponse localVarResp = deleteResourceSliceWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body); + return localVarResp.getData(); + } + + /** + * Execute deleteResourceSlice request with HTTP info returned + * @return ApiResponse<V1ResourceSlice> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
202 Accepted -
401 Unauthorized -
+ */ + public ApiResponse executeWithHttpInfo() throws ApiException { + return deleteResourceSliceWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body); + } + + /** + * Execute deleteResourceSlice request (asynchronously) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
202 Accepted -
401 Unauthorized -
+ */ + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return deleteResourceSliceAsync(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); + } + } + + /** + * + * delete a ResourceSlice + * @param name name of the ResourceSlice (required) + * @return APIdeleteResourceSliceRequest + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
202 Accepted -
401 Unauthorized -
+ */ + public APIdeleteResourceSliceRequest deleteResourceSlice(@jakarta.annotation.Nonnull String name) { + return new APIdeleteResourceSliceRequest(name); + } + private okhttp3.Call getAPIResourcesCall(final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/resource.k8s.io/v1/"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getAPIResourcesValidateBeforeCall(final ApiCallback _callback) throws ApiException { + return getAPIResourcesCall(_callback); + + } + + + private ApiResponse getAPIResourcesWithHttpInfo() throws ApiException { + okhttp3.Call localVarCall = getAPIResourcesValidateBeforeCall(null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + private okhttp3.Call getAPIResourcesAsync(final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getAPIResourcesValidateBeforeCall(_callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + public class APIgetAPIResourcesRequest { + + private APIgetAPIResourcesRequest() { + } + + /** + * Build call for getAPIResources + * @param _callback ApiCallback API callback + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { + return getAPIResourcesCall(_callback); + } + + /** + * Execute getAPIResources request + * @return V1APIResourceList + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public V1APIResourceList execute() throws ApiException { + ApiResponse localVarResp = getAPIResourcesWithHttpInfo(); + return localVarResp.getData(); + } + + /** + * Execute getAPIResources request with HTTP info returned + * @return ApiResponse<V1APIResourceList> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public ApiResponse executeWithHttpInfo() throws ApiException { + return getAPIResourcesWithHttpInfo(); + } + + /** + * Execute getAPIResources request (asynchronously) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return getAPIResourcesAsync(_callback); + } + } + + /** + * + * get available resources + * @return APIgetAPIResourcesRequest + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public APIgetAPIResourcesRequest getAPIResources() { + return new APIgetAPIResourcesRequest(); + } + private okhttp3.Call listDeviceClassCall(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/resource.k8s.io/v1/deviceclasses"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (pretty != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); + } + + if (allowWatchBookmarks != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("allowWatchBookmarks", allowWatchBookmarks)); + } + + if (_continue != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("continue", _continue)); + } + + if (fieldSelector != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldSelector", fieldSelector)); + } + + if (labelSelector != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("labelSelector", labelSelector)); + } + + if (limit != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); + } + + if (resourceVersion != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("resourceVersion", resourceVersion)); + } + + if (resourceVersionMatch != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("resourceVersionMatch", resourceVersionMatch)); + } + + if (sendInitialEvents != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sendInitialEvents", sendInitialEvents)); + } + + if (timeoutSeconds != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + } + + if (watch != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("watch", watch)); + } + + final String[] localVarAccepts = { + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call listDeviceClassValidateBeforeCall(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { + return listDeviceClassCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + + } + + + private ApiResponse listDeviceClassWithHttpInfo(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch) throws ApiException { + okhttp3.Call localVarCall = listDeviceClassValidateBeforeCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + private okhttp3.Call listDeviceClassAsync(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = listDeviceClassValidateBeforeCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + public class APIlistDeviceClassRequest { + @jakarta.annotation.Nullable + private String pretty; + @jakarta.annotation.Nullable + private Boolean allowWatchBookmarks; + @jakarta.annotation.Nullable + private String _continue; + @jakarta.annotation.Nullable + private String fieldSelector; + @jakarta.annotation.Nullable + private String labelSelector; + @jakarta.annotation.Nullable + private Integer limit; + @jakarta.annotation.Nullable + private String resourceVersion; + @jakarta.annotation.Nullable + private String resourceVersionMatch; + @jakarta.annotation.Nullable + private Boolean sendInitialEvents; + @jakarta.annotation.Nullable + private Integer timeoutSeconds; + @jakarta.annotation.Nullable + private Boolean watch; + + private APIlistDeviceClassRequest() { + } + + /** + * Set pretty + * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + * @return APIlistDeviceClassRequest + */ + public APIlistDeviceClassRequest pretty(@jakarta.annotation.Nullable String pretty) { + this.pretty = pretty; + return this; + } + + /** + * Set allowWatchBookmarks + * @param allowWatchBookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) + * @return APIlistDeviceClassRequest + */ + public APIlistDeviceClassRequest allowWatchBookmarks(@jakarta.annotation.Nullable Boolean allowWatchBookmarks) { + this.allowWatchBookmarks = allowWatchBookmarks; + return this; + } + + /** + * Set _continue + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @return APIlistDeviceClassRequest + */ + public APIlistDeviceClassRequest _continue(@jakarta.annotation.Nullable String _continue) { + this._continue = _continue; + return this; + } + + /** + * Set fieldSelector + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @return APIlistDeviceClassRequest + */ + public APIlistDeviceClassRequest fieldSelector(@jakarta.annotation.Nullable String fieldSelector) { + this.fieldSelector = fieldSelector; + return this; + } + + /** + * Set labelSelector + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @return APIlistDeviceClassRequest + */ + public APIlistDeviceClassRequest labelSelector(@jakarta.annotation.Nullable String labelSelector) { + this.labelSelector = labelSelector; + return this; + } + + /** + * Set limit + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @return APIlistDeviceClassRequest + */ + public APIlistDeviceClassRequest limit(@jakarta.annotation.Nullable Integer limit) { + this.limit = limit; + return this; + } + + /** + * Set resourceVersion + * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + * @return APIlistDeviceClassRequest + */ + public APIlistDeviceClassRequest resourceVersion(@jakarta.annotation.Nullable String resourceVersion) { + this.resourceVersion = resourceVersion; + return this; + } + + /** + * Set resourceVersionMatch + * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + * @return APIlistDeviceClassRequest + */ + public APIlistDeviceClassRequest resourceVersionMatch(@jakarta.annotation.Nullable String resourceVersionMatch) { + this.resourceVersionMatch = resourceVersionMatch; + return this; + } + + /** + * Set sendInitialEvents + * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) + * @return APIlistDeviceClassRequest + */ + public APIlistDeviceClassRequest sendInitialEvents(@jakarta.annotation.Nullable Boolean sendInitialEvents) { + this.sendInitialEvents = sendInitialEvents; + return this; + } + + /** + * Set timeoutSeconds + * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) + * @return APIlistDeviceClassRequest + */ + public APIlistDeviceClassRequest timeoutSeconds(@jakarta.annotation.Nullable Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + return this; + } + + /** + * Set watch + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return APIlistDeviceClassRequest + */ + public APIlistDeviceClassRequest watch(@jakarta.annotation.Nullable Boolean watch) { + this.watch = watch; + return this; + } + + /** + * Build call for listDeviceClass + * @param _callback ApiCallback API callback + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { + return listDeviceClassCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + } + + /** + * Execute listDeviceClass request + * @return V1DeviceClassList + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public V1DeviceClassList execute() throws ApiException { + ApiResponse localVarResp = listDeviceClassWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); + return localVarResp.getData(); + } + + /** + * Execute listDeviceClass request with HTTP info returned + * @return ApiResponse<V1DeviceClassList> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public ApiResponse executeWithHttpInfo() throws ApiException { + return listDeviceClassWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); + } + + /** + * Execute listDeviceClass request (asynchronously) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return listDeviceClassAsync(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + } + } + + /** + * + * list or watch objects of kind DeviceClass + * @return APIlistDeviceClassRequest + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public APIlistDeviceClassRequest listDeviceClass() { + return new APIlistDeviceClassRequest(); + } + private okhttp3.Call listNamespacedResourceClaimCall(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaims" + .replace("{" + "namespace" + "}", localVarApiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (pretty != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); + } + + if (allowWatchBookmarks != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("allowWatchBookmarks", allowWatchBookmarks)); + } + + if (_continue != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("continue", _continue)); + } + + if (fieldSelector != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldSelector", fieldSelector)); + } + + if (labelSelector != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("labelSelector", labelSelector)); + } + + if (limit != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); + } + + if (resourceVersion != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("resourceVersion", resourceVersion)); + } + + if (resourceVersionMatch != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("resourceVersionMatch", resourceVersionMatch)); + } + + if (sendInitialEvents != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sendInitialEvents", sendInitialEvents)); + } + + if (timeoutSeconds != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + } + + if (watch != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("watch", watch)); + } + + final String[] localVarAccepts = { + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call listNamespacedResourceClaimValidateBeforeCall(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling listNamespacedResourceClaim(Async)"); + } + + return listNamespacedResourceClaimCall(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + + } + + + private ApiResponse listNamespacedResourceClaimWithHttpInfo(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch) throws ApiException { + okhttp3.Call localVarCall = listNamespacedResourceClaimValidateBeforeCall(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + private okhttp3.Call listNamespacedResourceClaimAsync(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = listNamespacedResourceClaimValidateBeforeCall(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + public class APIlistNamespacedResourceClaimRequest { + @jakarta.annotation.Nonnull + private final String namespace; + @jakarta.annotation.Nullable + private String pretty; + @jakarta.annotation.Nullable + private Boolean allowWatchBookmarks; + @jakarta.annotation.Nullable + private String _continue; + @jakarta.annotation.Nullable + private String fieldSelector; + @jakarta.annotation.Nullable + private String labelSelector; + @jakarta.annotation.Nullable + private Integer limit; + @jakarta.annotation.Nullable + private String resourceVersion; + @jakarta.annotation.Nullable + private String resourceVersionMatch; + @jakarta.annotation.Nullable + private Boolean sendInitialEvents; + @jakarta.annotation.Nullable + private Integer timeoutSeconds; + @jakarta.annotation.Nullable + private Boolean watch; + + private APIlistNamespacedResourceClaimRequest(@jakarta.annotation.Nonnull String namespace) { + this.namespace = namespace; + } + + /** + * Set pretty + * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + * @return APIlistNamespacedResourceClaimRequest + */ + public APIlistNamespacedResourceClaimRequest pretty(@jakarta.annotation.Nullable String pretty) { + this.pretty = pretty; + return this; + } + + /** + * Set allowWatchBookmarks + * @param allowWatchBookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) + * @return APIlistNamespacedResourceClaimRequest + */ + public APIlistNamespacedResourceClaimRequest allowWatchBookmarks(@jakarta.annotation.Nullable Boolean allowWatchBookmarks) { + this.allowWatchBookmarks = allowWatchBookmarks; + return this; + } + + /** + * Set _continue + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @return APIlistNamespacedResourceClaimRequest + */ + public APIlistNamespacedResourceClaimRequest _continue(@jakarta.annotation.Nullable String _continue) { + this._continue = _continue; + return this; + } + + /** + * Set fieldSelector + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @return APIlistNamespacedResourceClaimRequest + */ + public APIlistNamespacedResourceClaimRequest fieldSelector(@jakarta.annotation.Nullable String fieldSelector) { + this.fieldSelector = fieldSelector; + return this; + } + + /** + * Set labelSelector + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @return APIlistNamespacedResourceClaimRequest + */ + public APIlistNamespacedResourceClaimRequest labelSelector(@jakarta.annotation.Nullable String labelSelector) { + this.labelSelector = labelSelector; + return this; + } + + /** + * Set limit + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @return APIlistNamespacedResourceClaimRequest + */ + public APIlistNamespacedResourceClaimRequest limit(@jakarta.annotation.Nullable Integer limit) { + this.limit = limit; + return this; + } + + /** + * Set resourceVersion + * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + * @return APIlistNamespacedResourceClaimRequest + */ + public APIlistNamespacedResourceClaimRequest resourceVersion(@jakarta.annotation.Nullable String resourceVersion) { + this.resourceVersion = resourceVersion; + return this; + } + + /** + * Set resourceVersionMatch + * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + * @return APIlistNamespacedResourceClaimRequest + */ + public APIlistNamespacedResourceClaimRequest resourceVersionMatch(@jakarta.annotation.Nullable String resourceVersionMatch) { + this.resourceVersionMatch = resourceVersionMatch; + return this; + } + + /** + * Set sendInitialEvents + * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) + * @return APIlistNamespacedResourceClaimRequest + */ + public APIlistNamespacedResourceClaimRequest sendInitialEvents(@jakarta.annotation.Nullable Boolean sendInitialEvents) { + this.sendInitialEvents = sendInitialEvents; + return this; + } + + /** + * Set timeoutSeconds + * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) + * @return APIlistNamespacedResourceClaimRequest + */ + public APIlistNamespacedResourceClaimRequest timeoutSeconds(@jakarta.annotation.Nullable Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + return this; + } + + /** + * Set watch + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return APIlistNamespacedResourceClaimRequest + */ + public APIlistNamespacedResourceClaimRequest watch(@jakarta.annotation.Nullable Boolean watch) { + this.watch = watch; + return this; + } + + /** + * Build call for listNamespacedResourceClaim + * @param _callback ApiCallback API callback + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { + return listNamespacedResourceClaimCall(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + } + + /** + * Execute listNamespacedResourceClaim request + * @return V1ResourceClaimList + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public V1ResourceClaimList execute() throws ApiException { + ApiResponse localVarResp = listNamespacedResourceClaimWithHttpInfo(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); + return localVarResp.getData(); + } + + /** + * Execute listNamespacedResourceClaim request with HTTP info returned + * @return ApiResponse<V1ResourceClaimList> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public ApiResponse executeWithHttpInfo() throws ApiException { + return listNamespacedResourceClaimWithHttpInfo(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); + } + + /** + * Execute listNamespacedResourceClaim request (asynchronously) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return listNamespacedResourceClaimAsync(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + } + } + + /** + * + * list or watch objects of kind ResourceClaim + * @param namespace object name and auth scope, such as for teams and projects (required) + * @return APIlistNamespacedResourceClaimRequest + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public APIlistNamespacedResourceClaimRequest listNamespacedResourceClaim(@jakarta.annotation.Nonnull String namespace) { + return new APIlistNamespacedResourceClaimRequest(namespace); + } + private okhttp3.Call listNamespacedResourceClaimTemplateCall(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaimtemplates" + .replace("{" + "namespace" + "}", localVarApiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (pretty != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); + } + + if (allowWatchBookmarks != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("allowWatchBookmarks", allowWatchBookmarks)); + } + + if (_continue != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("continue", _continue)); + } + + if (fieldSelector != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldSelector", fieldSelector)); + } + + if (labelSelector != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("labelSelector", labelSelector)); + } + + if (limit != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); + } + + if (resourceVersion != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("resourceVersion", resourceVersion)); + } + + if (resourceVersionMatch != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("resourceVersionMatch", resourceVersionMatch)); + } + + if (sendInitialEvents != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sendInitialEvents", sendInitialEvents)); + } + + if (timeoutSeconds != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + } + + if (watch != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("watch", watch)); + } + + final String[] localVarAccepts = { + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call listNamespacedResourceClaimTemplateValidateBeforeCall(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling listNamespacedResourceClaimTemplate(Async)"); + } + + return listNamespacedResourceClaimTemplateCall(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + + } + + + private ApiResponse listNamespacedResourceClaimTemplateWithHttpInfo(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch) throws ApiException { + okhttp3.Call localVarCall = listNamespacedResourceClaimTemplateValidateBeforeCall(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + private okhttp3.Call listNamespacedResourceClaimTemplateAsync(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = listNamespacedResourceClaimTemplateValidateBeforeCall(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + public class APIlistNamespacedResourceClaimTemplateRequest { + @jakarta.annotation.Nonnull + private final String namespace; + @jakarta.annotation.Nullable + private String pretty; + @jakarta.annotation.Nullable + private Boolean allowWatchBookmarks; + @jakarta.annotation.Nullable + private String _continue; + @jakarta.annotation.Nullable + private String fieldSelector; + @jakarta.annotation.Nullable + private String labelSelector; + @jakarta.annotation.Nullable + private Integer limit; + @jakarta.annotation.Nullable + private String resourceVersion; + @jakarta.annotation.Nullable + private String resourceVersionMatch; + @jakarta.annotation.Nullable + private Boolean sendInitialEvents; + @jakarta.annotation.Nullable + private Integer timeoutSeconds; + @jakarta.annotation.Nullable + private Boolean watch; + + private APIlistNamespacedResourceClaimTemplateRequest(@jakarta.annotation.Nonnull String namespace) { + this.namespace = namespace; + } + + /** + * Set pretty + * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + * @return APIlistNamespacedResourceClaimTemplateRequest + */ + public APIlistNamespacedResourceClaimTemplateRequest pretty(@jakarta.annotation.Nullable String pretty) { + this.pretty = pretty; + return this; + } + + /** + * Set allowWatchBookmarks + * @param allowWatchBookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) + * @return APIlistNamespacedResourceClaimTemplateRequest + */ + public APIlistNamespacedResourceClaimTemplateRequest allowWatchBookmarks(@jakarta.annotation.Nullable Boolean allowWatchBookmarks) { + this.allowWatchBookmarks = allowWatchBookmarks; + return this; + } + + /** + * Set _continue + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @return APIlistNamespacedResourceClaimTemplateRequest + */ + public APIlistNamespacedResourceClaimTemplateRequest _continue(@jakarta.annotation.Nullable String _continue) { + this._continue = _continue; + return this; + } + + /** + * Set fieldSelector + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @return APIlistNamespacedResourceClaimTemplateRequest + */ + public APIlistNamespacedResourceClaimTemplateRequest fieldSelector(@jakarta.annotation.Nullable String fieldSelector) { + this.fieldSelector = fieldSelector; + return this; + } + + /** + * Set labelSelector + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @return APIlistNamespacedResourceClaimTemplateRequest + */ + public APIlistNamespacedResourceClaimTemplateRequest labelSelector(@jakarta.annotation.Nullable String labelSelector) { + this.labelSelector = labelSelector; + return this; + } + + /** + * Set limit + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @return APIlistNamespacedResourceClaimTemplateRequest + */ + public APIlistNamespacedResourceClaimTemplateRequest limit(@jakarta.annotation.Nullable Integer limit) { + this.limit = limit; + return this; + } + + /** + * Set resourceVersion + * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + * @return APIlistNamespacedResourceClaimTemplateRequest + */ + public APIlistNamespacedResourceClaimTemplateRequest resourceVersion(@jakarta.annotation.Nullable String resourceVersion) { + this.resourceVersion = resourceVersion; + return this; + } + + /** + * Set resourceVersionMatch + * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + * @return APIlistNamespacedResourceClaimTemplateRequest + */ + public APIlistNamespacedResourceClaimTemplateRequest resourceVersionMatch(@jakarta.annotation.Nullable String resourceVersionMatch) { + this.resourceVersionMatch = resourceVersionMatch; + return this; + } + + /** + * Set sendInitialEvents + * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) + * @return APIlistNamespacedResourceClaimTemplateRequest + */ + public APIlistNamespacedResourceClaimTemplateRequest sendInitialEvents(@jakarta.annotation.Nullable Boolean sendInitialEvents) { + this.sendInitialEvents = sendInitialEvents; + return this; + } + + /** + * Set timeoutSeconds + * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) + * @return APIlistNamespacedResourceClaimTemplateRequest + */ + public APIlistNamespacedResourceClaimTemplateRequest timeoutSeconds(@jakarta.annotation.Nullable Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + return this; + } + + /** + * Set watch + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return APIlistNamespacedResourceClaimTemplateRequest + */ + public APIlistNamespacedResourceClaimTemplateRequest watch(@jakarta.annotation.Nullable Boolean watch) { + this.watch = watch; + return this; + } + + /** + * Build call for listNamespacedResourceClaimTemplate + * @param _callback ApiCallback API callback + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { + return listNamespacedResourceClaimTemplateCall(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + } + + /** + * Execute listNamespacedResourceClaimTemplate request + * @return V1ResourceClaimTemplateList + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public V1ResourceClaimTemplateList execute() throws ApiException { + ApiResponse localVarResp = listNamespacedResourceClaimTemplateWithHttpInfo(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); + return localVarResp.getData(); + } + + /** + * Execute listNamespacedResourceClaimTemplate request with HTTP info returned + * @return ApiResponse<V1ResourceClaimTemplateList> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public ApiResponse executeWithHttpInfo() throws ApiException { + return listNamespacedResourceClaimTemplateWithHttpInfo(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); + } + + /** + * Execute listNamespacedResourceClaimTemplate request (asynchronously) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return listNamespacedResourceClaimTemplateAsync(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + } + } + + /** + * + * list or watch objects of kind ResourceClaimTemplate + * @param namespace object name and auth scope, such as for teams and projects (required) + * @return APIlistNamespacedResourceClaimTemplateRequest + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public APIlistNamespacedResourceClaimTemplateRequest listNamespacedResourceClaimTemplate(@jakarta.annotation.Nonnull String namespace) { + return new APIlistNamespacedResourceClaimTemplateRequest(namespace); + } + private okhttp3.Call listResourceClaimForAllNamespacesCall(@jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/resource.k8s.io/v1/resourceclaims"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (allowWatchBookmarks != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("allowWatchBookmarks", allowWatchBookmarks)); + } + + if (_continue != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("continue", _continue)); + } + + if (fieldSelector != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldSelector", fieldSelector)); + } + + if (labelSelector != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("labelSelector", labelSelector)); + } + + if (limit != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); + } + + if (pretty != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); + } + + if (resourceVersion != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("resourceVersion", resourceVersion)); + } + + if (resourceVersionMatch != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("resourceVersionMatch", resourceVersionMatch)); + } + + if (sendInitialEvents != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sendInitialEvents", sendInitialEvents)); + } + + if (timeoutSeconds != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + } + + if (watch != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("watch", watch)); + } + + final String[] localVarAccepts = { + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call listResourceClaimForAllNamespacesValidateBeforeCall(@jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { + return listResourceClaimForAllNamespacesCall(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + + } + + + private ApiResponse listResourceClaimForAllNamespacesWithHttpInfo(@jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch) throws ApiException { + okhttp3.Call localVarCall = listResourceClaimForAllNamespacesValidateBeforeCall(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + private okhttp3.Call listResourceClaimForAllNamespacesAsync(@jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = listResourceClaimForAllNamespacesValidateBeforeCall(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + public class APIlistResourceClaimForAllNamespacesRequest { + @jakarta.annotation.Nullable + private Boolean allowWatchBookmarks; + @jakarta.annotation.Nullable + private String _continue; + @jakarta.annotation.Nullable + private String fieldSelector; + @jakarta.annotation.Nullable + private String labelSelector; + @jakarta.annotation.Nullable + private Integer limit; + @jakarta.annotation.Nullable + private String pretty; + @jakarta.annotation.Nullable + private String resourceVersion; + @jakarta.annotation.Nullable + private String resourceVersionMatch; + @jakarta.annotation.Nullable + private Boolean sendInitialEvents; + @jakarta.annotation.Nullable + private Integer timeoutSeconds; + @jakarta.annotation.Nullable + private Boolean watch; + + private APIlistResourceClaimForAllNamespacesRequest() { + } + + /** + * Set allowWatchBookmarks + * @param allowWatchBookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) + * @return APIlistResourceClaimForAllNamespacesRequest + */ + public APIlistResourceClaimForAllNamespacesRequest allowWatchBookmarks(@jakarta.annotation.Nullable Boolean allowWatchBookmarks) { + this.allowWatchBookmarks = allowWatchBookmarks; + return this; + } + + /** + * Set _continue + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @return APIlistResourceClaimForAllNamespacesRequest + */ + public APIlistResourceClaimForAllNamespacesRequest _continue(@jakarta.annotation.Nullable String _continue) { + this._continue = _continue; + return this; + } + + /** + * Set fieldSelector + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @return APIlistResourceClaimForAllNamespacesRequest + */ + public APIlistResourceClaimForAllNamespacesRequest fieldSelector(@jakarta.annotation.Nullable String fieldSelector) { + this.fieldSelector = fieldSelector; + return this; + } + + /** + * Set labelSelector + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @return APIlistResourceClaimForAllNamespacesRequest + */ + public APIlistResourceClaimForAllNamespacesRequest labelSelector(@jakarta.annotation.Nullable String labelSelector) { + this.labelSelector = labelSelector; + return this; + } + + /** + * Set limit + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @return APIlistResourceClaimForAllNamespacesRequest + */ + public APIlistResourceClaimForAllNamespacesRequest limit(@jakarta.annotation.Nullable Integer limit) { + this.limit = limit; + return this; + } + + /** + * Set pretty + * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + * @return APIlistResourceClaimForAllNamespacesRequest + */ + public APIlistResourceClaimForAllNamespacesRequest pretty(@jakarta.annotation.Nullable String pretty) { + this.pretty = pretty; + return this; + } + + /** + * Set resourceVersion + * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + * @return APIlistResourceClaimForAllNamespacesRequest + */ + public APIlistResourceClaimForAllNamespacesRequest resourceVersion(@jakarta.annotation.Nullable String resourceVersion) { + this.resourceVersion = resourceVersion; + return this; + } + + /** + * Set resourceVersionMatch + * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + * @return APIlistResourceClaimForAllNamespacesRequest + */ + public APIlistResourceClaimForAllNamespacesRequest resourceVersionMatch(@jakarta.annotation.Nullable String resourceVersionMatch) { + this.resourceVersionMatch = resourceVersionMatch; + return this; + } + + /** + * Set sendInitialEvents + * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) + * @return APIlistResourceClaimForAllNamespacesRequest + */ + public APIlistResourceClaimForAllNamespacesRequest sendInitialEvents(@jakarta.annotation.Nullable Boolean sendInitialEvents) { + this.sendInitialEvents = sendInitialEvents; + return this; + } + + /** + * Set timeoutSeconds + * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) + * @return APIlistResourceClaimForAllNamespacesRequest + */ + public APIlistResourceClaimForAllNamespacesRequest timeoutSeconds(@jakarta.annotation.Nullable Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + return this; + } + + /** + * Set watch + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return APIlistResourceClaimForAllNamespacesRequest + */ + public APIlistResourceClaimForAllNamespacesRequest watch(@jakarta.annotation.Nullable Boolean watch) { + this.watch = watch; + return this; + } + + /** + * Build call for listResourceClaimForAllNamespaces + * @param _callback ApiCallback API callback + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { + return listResourceClaimForAllNamespacesCall(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + } + + /** + * Execute listResourceClaimForAllNamespaces request + * @return V1ResourceClaimList + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public V1ResourceClaimList execute() throws ApiException { + ApiResponse localVarResp = listResourceClaimForAllNamespacesWithHttpInfo(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); + return localVarResp.getData(); + } + + /** + * Execute listResourceClaimForAllNamespaces request with HTTP info returned + * @return ApiResponse<V1ResourceClaimList> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public ApiResponse executeWithHttpInfo() throws ApiException { + return listResourceClaimForAllNamespacesWithHttpInfo(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); + } + + /** + * Execute listResourceClaimForAllNamespaces request (asynchronously) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return listResourceClaimForAllNamespacesAsync(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + } + } + + /** + * + * list or watch objects of kind ResourceClaim + * @return APIlistResourceClaimForAllNamespacesRequest + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public APIlistResourceClaimForAllNamespacesRequest listResourceClaimForAllNamespaces() { + return new APIlistResourceClaimForAllNamespacesRequest(); + } + private okhttp3.Call listResourceClaimTemplateForAllNamespacesCall(@jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/resource.k8s.io/v1/resourceclaimtemplates"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (allowWatchBookmarks != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("allowWatchBookmarks", allowWatchBookmarks)); + } + + if (_continue != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("continue", _continue)); + } + + if (fieldSelector != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldSelector", fieldSelector)); + } + + if (labelSelector != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("labelSelector", labelSelector)); + } + + if (limit != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); + } + + if (pretty != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); + } + + if (resourceVersion != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("resourceVersion", resourceVersion)); + } + + if (resourceVersionMatch != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("resourceVersionMatch", resourceVersionMatch)); + } + + if (sendInitialEvents != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sendInitialEvents", sendInitialEvents)); + } + + if (timeoutSeconds != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + } + + if (watch != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("watch", watch)); + } + + final String[] localVarAccepts = { + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call listResourceClaimTemplateForAllNamespacesValidateBeforeCall(@jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { + return listResourceClaimTemplateForAllNamespacesCall(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + + } + + + private ApiResponse listResourceClaimTemplateForAllNamespacesWithHttpInfo(@jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch) throws ApiException { + okhttp3.Call localVarCall = listResourceClaimTemplateForAllNamespacesValidateBeforeCall(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + private okhttp3.Call listResourceClaimTemplateForAllNamespacesAsync(@jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = listResourceClaimTemplateForAllNamespacesValidateBeforeCall(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + public class APIlistResourceClaimTemplateForAllNamespacesRequest { + @jakarta.annotation.Nullable + private Boolean allowWatchBookmarks; + @jakarta.annotation.Nullable + private String _continue; + @jakarta.annotation.Nullable + private String fieldSelector; + @jakarta.annotation.Nullable + private String labelSelector; + @jakarta.annotation.Nullable + private Integer limit; + @jakarta.annotation.Nullable + private String pretty; + @jakarta.annotation.Nullable + private String resourceVersion; + @jakarta.annotation.Nullable + private String resourceVersionMatch; + @jakarta.annotation.Nullable + private Boolean sendInitialEvents; + @jakarta.annotation.Nullable + private Integer timeoutSeconds; + @jakarta.annotation.Nullable + private Boolean watch; + + private APIlistResourceClaimTemplateForAllNamespacesRequest() { + } + + /** + * Set allowWatchBookmarks + * @param allowWatchBookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) + * @return APIlistResourceClaimTemplateForAllNamespacesRequest + */ + public APIlistResourceClaimTemplateForAllNamespacesRequest allowWatchBookmarks(@jakarta.annotation.Nullable Boolean allowWatchBookmarks) { + this.allowWatchBookmarks = allowWatchBookmarks; + return this; + } + + /** + * Set _continue + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @return APIlistResourceClaimTemplateForAllNamespacesRequest + */ + public APIlistResourceClaimTemplateForAllNamespacesRequest _continue(@jakarta.annotation.Nullable String _continue) { + this._continue = _continue; + return this; + } + + /** + * Set fieldSelector + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @return APIlistResourceClaimTemplateForAllNamespacesRequest + */ + public APIlistResourceClaimTemplateForAllNamespacesRequest fieldSelector(@jakarta.annotation.Nullable String fieldSelector) { + this.fieldSelector = fieldSelector; + return this; + } + + /** + * Set labelSelector + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @return APIlistResourceClaimTemplateForAllNamespacesRequest + */ + public APIlistResourceClaimTemplateForAllNamespacesRequest labelSelector(@jakarta.annotation.Nullable String labelSelector) { + this.labelSelector = labelSelector; + return this; + } + + /** + * Set limit + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @return APIlistResourceClaimTemplateForAllNamespacesRequest + */ + public APIlistResourceClaimTemplateForAllNamespacesRequest limit(@jakarta.annotation.Nullable Integer limit) { + this.limit = limit; + return this; + } + + /** + * Set pretty + * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + * @return APIlistResourceClaimTemplateForAllNamespacesRequest + */ + public APIlistResourceClaimTemplateForAllNamespacesRequest pretty(@jakarta.annotation.Nullable String pretty) { + this.pretty = pretty; + return this; + } + + /** + * Set resourceVersion + * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + * @return APIlistResourceClaimTemplateForAllNamespacesRequest + */ + public APIlistResourceClaimTemplateForAllNamespacesRequest resourceVersion(@jakarta.annotation.Nullable String resourceVersion) { + this.resourceVersion = resourceVersion; + return this; + } + + /** + * Set resourceVersionMatch + * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + * @return APIlistResourceClaimTemplateForAllNamespacesRequest + */ + public APIlistResourceClaimTemplateForAllNamespacesRequest resourceVersionMatch(@jakarta.annotation.Nullable String resourceVersionMatch) { + this.resourceVersionMatch = resourceVersionMatch; + return this; + } + + /** + * Set sendInitialEvents + * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) + * @return APIlistResourceClaimTemplateForAllNamespacesRequest + */ + public APIlistResourceClaimTemplateForAllNamespacesRequest sendInitialEvents(@jakarta.annotation.Nullable Boolean sendInitialEvents) { + this.sendInitialEvents = sendInitialEvents; + return this; + } + + /** + * Set timeoutSeconds + * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) + * @return APIlistResourceClaimTemplateForAllNamespacesRequest + */ + public APIlistResourceClaimTemplateForAllNamespacesRequest timeoutSeconds(@jakarta.annotation.Nullable Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + return this; + } + + /** + * Set watch + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return APIlistResourceClaimTemplateForAllNamespacesRequest + */ + public APIlistResourceClaimTemplateForAllNamespacesRequest watch(@jakarta.annotation.Nullable Boolean watch) { + this.watch = watch; + return this; + } + + /** + * Build call for listResourceClaimTemplateForAllNamespaces + * @param _callback ApiCallback API callback + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { + return listResourceClaimTemplateForAllNamespacesCall(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + } + + /** + * Execute listResourceClaimTemplateForAllNamespaces request + * @return V1ResourceClaimTemplateList + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public V1ResourceClaimTemplateList execute() throws ApiException { + ApiResponse localVarResp = listResourceClaimTemplateForAllNamespacesWithHttpInfo(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); + return localVarResp.getData(); + } + + /** + * Execute listResourceClaimTemplateForAllNamespaces request with HTTP info returned + * @return ApiResponse<V1ResourceClaimTemplateList> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public ApiResponse executeWithHttpInfo() throws ApiException { + return listResourceClaimTemplateForAllNamespacesWithHttpInfo(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); + } + + /** + * Execute listResourceClaimTemplateForAllNamespaces request (asynchronously) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return listResourceClaimTemplateForAllNamespacesAsync(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + } + } + + /** + * + * list or watch objects of kind ResourceClaimTemplate + * @return APIlistResourceClaimTemplateForAllNamespacesRequest + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public APIlistResourceClaimTemplateForAllNamespacesRequest listResourceClaimTemplateForAllNamespaces() { + return new APIlistResourceClaimTemplateForAllNamespacesRequest(); + } + private okhttp3.Call listResourceSliceCall(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/resource.k8s.io/v1/resourceslices"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (pretty != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); + } + + if (allowWatchBookmarks != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("allowWatchBookmarks", allowWatchBookmarks)); + } + + if (_continue != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("continue", _continue)); + } + + if (fieldSelector != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldSelector", fieldSelector)); + } + + if (labelSelector != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("labelSelector", labelSelector)); + } + + if (limit != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); + } + + if (resourceVersion != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("resourceVersion", resourceVersion)); + } + + if (resourceVersionMatch != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("resourceVersionMatch", resourceVersionMatch)); + } + + if (sendInitialEvents != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sendInitialEvents", sendInitialEvents)); + } + + if (timeoutSeconds != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + } + + if (watch != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("watch", watch)); + } + + final String[] localVarAccepts = { + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call listResourceSliceValidateBeforeCall(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { + return listResourceSliceCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + + } + + + private ApiResponse listResourceSliceWithHttpInfo(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch) throws ApiException { + okhttp3.Call localVarCall = listResourceSliceValidateBeforeCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + private okhttp3.Call listResourceSliceAsync(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = listResourceSliceValidateBeforeCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + public class APIlistResourceSliceRequest { + @jakarta.annotation.Nullable + private String pretty; + @jakarta.annotation.Nullable + private Boolean allowWatchBookmarks; + @jakarta.annotation.Nullable + private String _continue; + @jakarta.annotation.Nullable + private String fieldSelector; + @jakarta.annotation.Nullable + private String labelSelector; + @jakarta.annotation.Nullable + private Integer limit; + @jakarta.annotation.Nullable + private String resourceVersion; + @jakarta.annotation.Nullable + private String resourceVersionMatch; + @jakarta.annotation.Nullable + private Boolean sendInitialEvents; + @jakarta.annotation.Nullable + private Integer timeoutSeconds; + @jakarta.annotation.Nullable + private Boolean watch; + + private APIlistResourceSliceRequest() { + } + + /** + * Set pretty + * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + * @return APIlistResourceSliceRequest + */ + public APIlistResourceSliceRequest pretty(@jakarta.annotation.Nullable String pretty) { + this.pretty = pretty; + return this; + } + + /** + * Set allowWatchBookmarks + * @param allowWatchBookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) + * @return APIlistResourceSliceRequest + */ + public APIlistResourceSliceRequest allowWatchBookmarks(@jakarta.annotation.Nullable Boolean allowWatchBookmarks) { + this.allowWatchBookmarks = allowWatchBookmarks; + return this; + } + + /** + * Set _continue + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @return APIlistResourceSliceRequest + */ + public APIlistResourceSliceRequest _continue(@jakarta.annotation.Nullable String _continue) { + this._continue = _continue; + return this; + } + + /** + * Set fieldSelector + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @return APIlistResourceSliceRequest + */ + public APIlistResourceSliceRequest fieldSelector(@jakarta.annotation.Nullable String fieldSelector) { + this.fieldSelector = fieldSelector; + return this; + } + + /** + * Set labelSelector + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @return APIlistResourceSliceRequest + */ + public APIlistResourceSliceRequest labelSelector(@jakarta.annotation.Nullable String labelSelector) { + this.labelSelector = labelSelector; + return this; + } + + /** + * Set limit + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @return APIlistResourceSliceRequest + */ + public APIlistResourceSliceRequest limit(@jakarta.annotation.Nullable Integer limit) { + this.limit = limit; + return this; + } + + /** + * Set resourceVersion + * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + * @return APIlistResourceSliceRequest + */ + public APIlistResourceSliceRequest resourceVersion(@jakarta.annotation.Nullable String resourceVersion) { + this.resourceVersion = resourceVersion; + return this; + } + + /** + * Set resourceVersionMatch + * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + * @return APIlistResourceSliceRequest + */ + public APIlistResourceSliceRequest resourceVersionMatch(@jakarta.annotation.Nullable String resourceVersionMatch) { + this.resourceVersionMatch = resourceVersionMatch; + return this; + } + + /** + * Set sendInitialEvents + * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) + * @return APIlistResourceSliceRequest + */ + public APIlistResourceSliceRequest sendInitialEvents(@jakarta.annotation.Nullable Boolean sendInitialEvents) { + this.sendInitialEvents = sendInitialEvents; + return this; + } + + /** + * Set timeoutSeconds + * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) + * @return APIlistResourceSliceRequest + */ + public APIlistResourceSliceRequest timeoutSeconds(@jakarta.annotation.Nullable Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + return this; + } + + /** + * Set watch + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return APIlistResourceSliceRequest + */ + public APIlistResourceSliceRequest watch(@jakarta.annotation.Nullable Boolean watch) { + this.watch = watch; + return this; + } + + /** + * Build call for listResourceSlice + * @param _callback ApiCallback API callback + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { + return listResourceSliceCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + } + + /** + * Execute listResourceSlice request + * @return V1ResourceSliceList + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public V1ResourceSliceList execute() throws ApiException { + ApiResponse localVarResp = listResourceSliceWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); + return localVarResp.getData(); + } + + /** + * Execute listResourceSlice request with HTTP info returned + * @return ApiResponse<V1ResourceSliceList> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public ApiResponse executeWithHttpInfo() throws ApiException { + return listResourceSliceWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); + } + + /** + * Execute listResourceSlice request (asynchronously) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return listResourceSliceAsync(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + } + } + + /** + * + * list or watch objects of kind ResourceSlice + * @return APIlistResourceSliceRequest + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public APIlistResourceSliceRequest listResourceSlice() { + return new APIlistResourceSliceRequest(); + } + private okhttp3.Call patchDeviceClassCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/resource.k8s.io/v1/deviceclasses/{name}" + .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (pretty != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); + } + + if (dryRun != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("dryRun", dryRun)); + } + + if (fieldManager != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldManager", fieldManager)); + } + + if (fieldValidation != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldValidation", fieldValidation)); + } + + if (force != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("force", force)); + } + + final String[] localVarAccepts = { + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return localVarApiClient.buildCall(basePath, localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call patchDeviceClassValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling patchDeviceClass(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling patchDeviceClass(Async)"); + } + + return patchDeviceClassCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + + } + + + private ApiResponse patchDeviceClassWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force) throws ApiException { + okhttp3.Call localVarCall = patchDeviceClassValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + private okhttp3.Call patchDeviceClassAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = patchDeviceClassValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + public class APIpatchDeviceClassRequest { + @jakarta.annotation.Nonnull + private final String name; + @jakarta.annotation.Nonnull + private final V1Patch body; + @jakarta.annotation.Nullable + private String pretty; + @jakarta.annotation.Nullable + private String dryRun; + @jakarta.annotation.Nullable + private String fieldManager; + @jakarta.annotation.Nullable + private String fieldValidation; + @jakarta.annotation.Nullable + private Boolean force; + + private APIpatchDeviceClassRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body) { + this.name = name; + this.body = body; + } + + /** + * Set pretty + * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + * @return APIpatchDeviceClassRequest + */ + public APIpatchDeviceClassRequest pretty(@jakarta.annotation.Nullable String pretty) { + this.pretty = pretty; + return this; + } + + /** + * Set dryRun + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + * @return APIpatchDeviceClassRequest + */ + public APIpatchDeviceClassRequest dryRun(@jakarta.annotation.Nullable String dryRun) { + this.dryRun = dryRun; + return this; + } + + /** + * Set fieldManager + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). (optional) + * @return APIpatchDeviceClassRequest + */ + public APIpatchDeviceClassRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { + this.fieldManager = fieldManager; + return this; + } + + /** + * Set fieldValidation + * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) + * @return APIpatchDeviceClassRequest + */ + public APIpatchDeviceClassRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { + this.fieldValidation = fieldValidation; + return this; + } + + /** + * Set force + * @param force Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. (optional) + * @return APIpatchDeviceClassRequest + */ + public APIpatchDeviceClassRequest force(@jakarta.annotation.Nullable Boolean force) { + this.force = force; + return this; + } + + /** + * Build call for patchDeviceClass + * @param _callback ApiCallback API callback + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { + return patchDeviceClassCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + } + + /** + * Execute patchDeviceClass request + * @return V1DeviceClass + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public V1DeviceClass execute() throws ApiException { + ApiResponse localVarResp = patchDeviceClassWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force); + return localVarResp.getData(); + } + + /** + * Execute patchDeviceClass request with HTTP info returned + * @return ApiResponse<V1DeviceClass> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public ApiResponse executeWithHttpInfo() throws ApiException { + return patchDeviceClassWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force); + } + + /** + * Execute patchDeviceClass request (asynchronously) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return patchDeviceClassAsync(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + } + } + + /** + * + * partially update the specified DeviceClass + * @param name name of the DeviceClass (required) + * @param body (required) + * @return APIpatchDeviceClassRequest + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public APIpatchDeviceClassRequest patchDeviceClass(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body) { + return new APIpatchDeviceClassRequest(name, body); + } + private okhttp3.Call patchNamespacedResourceClaimCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaims/{name}" + .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())) + .replace("{" + "namespace" + "}", localVarApiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (pretty != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); + } + + if (dryRun != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("dryRun", dryRun)); + } + + if (fieldManager != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldManager", fieldManager)); + } + + if (fieldValidation != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldValidation", fieldValidation)); + } + + if (force != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("force", force)); + } + + final String[] localVarAccepts = { + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return localVarApiClient.buildCall(basePath, localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call patchNamespacedResourceClaimValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedResourceClaim(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedResourceClaim(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedResourceClaim(Async)"); + } + + return patchNamespacedResourceClaimCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + + } + + + private ApiResponse patchNamespacedResourceClaimWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force) throws ApiException { + okhttp3.Call localVarCall = patchNamespacedResourceClaimValidateBeforeCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + private okhttp3.Call patchNamespacedResourceClaimAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = patchNamespacedResourceClaimValidateBeforeCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + public class APIpatchNamespacedResourceClaimRequest { + @jakarta.annotation.Nonnull + private final String name; + @jakarta.annotation.Nonnull + private final String namespace; + @jakarta.annotation.Nonnull + private final V1Patch body; + @jakarta.annotation.Nullable + private String pretty; + @jakarta.annotation.Nullable + private String dryRun; + @jakarta.annotation.Nullable + private String fieldManager; + @jakarta.annotation.Nullable + private String fieldValidation; + @jakarta.annotation.Nullable + private Boolean force; + + private APIpatchNamespacedResourceClaimRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1Patch body) { + this.name = name; + this.namespace = namespace; + this.body = body; + } + + /** + * Set pretty + * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + * @return APIpatchNamespacedResourceClaimRequest + */ + public APIpatchNamespacedResourceClaimRequest pretty(@jakarta.annotation.Nullable String pretty) { + this.pretty = pretty; + return this; + } + + /** + * Set dryRun + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + * @return APIpatchNamespacedResourceClaimRequest + */ + public APIpatchNamespacedResourceClaimRequest dryRun(@jakarta.annotation.Nullable String dryRun) { + this.dryRun = dryRun; + return this; + } + + /** + * Set fieldManager + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). (optional) + * @return APIpatchNamespacedResourceClaimRequest + */ + public APIpatchNamespacedResourceClaimRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { + this.fieldManager = fieldManager; + return this; + } + + /** + * Set fieldValidation + * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) + * @return APIpatchNamespacedResourceClaimRequest + */ + public APIpatchNamespacedResourceClaimRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { + this.fieldValidation = fieldValidation; + return this; + } + + /** + * Set force + * @param force Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. (optional) + * @return APIpatchNamespacedResourceClaimRequest + */ + public APIpatchNamespacedResourceClaimRequest force(@jakarta.annotation.Nullable Boolean force) { + this.force = force; + return this; + } + + /** + * Build call for patchNamespacedResourceClaim + * @param _callback ApiCallback API callback + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { + return patchNamespacedResourceClaimCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + } + + /** + * Execute patchNamespacedResourceClaim request + * @return ResourceV1ResourceClaim + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public ResourceV1ResourceClaim execute() throws ApiException { + ApiResponse localVarResp = patchNamespacedResourceClaimWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force); + return localVarResp.getData(); + } + + /** + * Execute patchNamespacedResourceClaim request with HTTP info returned + * @return ApiResponse<ResourceV1ResourceClaim> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public ApiResponse executeWithHttpInfo() throws ApiException { + return patchNamespacedResourceClaimWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force); + } + + /** + * Execute patchNamespacedResourceClaim request (asynchronously) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return patchNamespacedResourceClaimAsync(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + } + } + + /** + * + * partially update the specified ResourceClaim + * @param name name of the ResourceClaim (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @return APIpatchNamespacedResourceClaimRequest + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public APIpatchNamespacedResourceClaimRequest patchNamespacedResourceClaim(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1Patch body) { + return new APIpatchNamespacedResourceClaimRequest(name, namespace, body); + } + private okhttp3.Call patchNamespacedResourceClaimStatusCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaims/{name}/status" + .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())) + .replace("{" + "namespace" + "}", localVarApiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (pretty != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); + } + + if (dryRun != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("dryRun", dryRun)); + } + + if (fieldManager != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldManager", fieldManager)); + } + + if (fieldValidation != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldValidation", fieldValidation)); + } + + if (force != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("force", force)); + } + + final String[] localVarAccepts = { + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return localVarApiClient.buildCall(basePath, localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call patchNamespacedResourceClaimStatusValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedResourceClaimStatus(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedResourceClaimStatus(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedResourceClaimStatus(Async)"); + } + + return patchNamespacedResourceClaimStatusCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + + } + + + private ApiResponse patchNamespacedResourceClaimStatusWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force) throws ApiException { + okhttp3.Call localVarCall = patchNamespacedResourceClaimStatusValidateBeforeCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + private okhttp3.Call patchNamespacedResourceClaimStatusAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = patchNamespacedResourceClaimStatusValidateBeforeCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + public class APIpatchNamespacedResourceClaimStatusRequest { + @jakarta.annotation.Nonnull + private final String name; + @jakarta.annotation.Nonnull + private final String namespace; + @jakarta.annotation.Nonnull + private final V1Patch body; + @jakarta.annotation.Nullable + private String pretty; + @jakarta.annotation.Nullable + private String dryRun; + @jakarta.annotation.Nullable + private String fieldManager; + @jakarta.annotation.Nullable + private String fieldValidation; + @jakarta.annotation.Nullable + private Boolean force; + + private APIpatchNamespacedResourceClaimStatusRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1Patch body) { + this.name = name; + this.namespace = namespace; + this.body = body; + } + + /** + * Set pretty + * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + * @return APIpatchNamespacedResourceClaimStatusRequest + */ + public APIpatchNamespacedResourceClaimStatusRequest pretty(@jakarta.annotation.Nullable String pretty) { + this.pretty = pretty; + return this; + } + + /** + * Set dryRun + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + * @return APIpatchNamespacedResourceClaimStatusRequest + */ + public APIpatchNamespacedResourceClaimStatusRequest dryRun(@jakarta.annotation.Nullable String dryRun) { + this.dryRun = dryRun; + return this; + } + + /** + * Set fieldManager + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). (optional) + * @return APIpatchNamespacedResourceClaimStatusRequest + */ + public APIpatchNamespacedResourceClaimStatusRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { + this.fieldManager = fieldManager; + return this; + } + + /** + * Set fieldValidation + * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) + * @return APIpatchNamespacedResourceClaimStatusRequest + */ + public APIpatchNamespacedResourceClaimStatusRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { + this.fieldValidation = fieldValidation; + return this; + } + + /** + * Set force + * @param force Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. (optional) + * @return APIpatchNamespacedResourceClaimStatusRequest + */ + public APIpatchNamespacedResourceClaimStatusRequest force(@jakarta.annotation.Nullable Boolean force) { + this.force = force; + return this; + } + + /** + * Build call for patchNamespacedResourceClaimStatus + * @param _callback ApiCallback API callback + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { + return patchNamespacedResourceClaimStatusCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + } + + /** + * Execute patchNamespacedResourceClaimStatus request + * @return ResourceV1ResourceClaim + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public ResourceV1ResourceClaim execute() throws ApiException { + ApiResponse localVarResp = patchNamespacedResourceClaimStatusWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force); + return localVarResp.getData(); + } + + /** + * Execute patchNamespacedResourceClaimStatus request with HTTP info returned + * @return ApiResponse<ResourceV1ResourceClaim> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public ApiResponse executeWithHttpInfo() throws ApiException { + return patchNamespacedResourceClaimStatusWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force); + } + + /** + * Execute patchNamespacedResourceClaimStatus request (asynchronously) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return patchNamespacedResourceClaimStatusAsync(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + } + } + + /** + * + * partially update status of the specified ResourceClaim + * @param name name of the ResourceClaim (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @return APIpatchNamespacedResourceClaimStatusRequest + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public APIpatchNamespacedResourceClaimStatusRequest patchNamespacedResourceClaimStatus(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1Patch body) { + return new APIpatchNamespacedResourceClaimStatusRequest(name, namespace, body); + } + private okhttp3.Call patchNamespacedResourceClaimTemplateCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaimtemplates/{name}" + .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())) + .replace("{" + "namespace" + "}", localVarApiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (pretty != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); + } + + if (dryRun != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("dryRun", dryRun)); + } + + if (fieldManager != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldManager", fieldManager)); + } + + if (fieldValidation != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldValidation", fieldValidation)); + } + + if (force != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("force", force)); + } + + final String[] localVarAccepts = { + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return localVarApiClient.buildCall(basePath, localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call patchNamespacedResourceClaimTemplateValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedResourceClaimTemplate(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedResourceClaimTemplate(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedResourceClaimTemplate(Async)"); + } + + return patchNamespacedResourceClaimTemplateCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + + } + + + private ApiResponse patchNamespacedResourceClaimTemplateWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force) throws ApiException { + okhttp3.Call localVarCall = patchNamespacedResourceClaimTemplateValidateBeforeCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + private okhttp3.Call patchNamespacedResourceClaimTemplateAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = patchNamespacedResourceClaimTemplateValidateBeforeCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + public class APIpatchNamespacedResourceClaimTemplateRequest { + @jakarta.annotation.Nonnull + private final String name; + @jakarta.annotation.Nonnull + private final String namespace; + @jakarta.annotation.Nonnull + private final V1Patch body; + @jakarta.annotation.Nullable + private String pretty; + @jakarta.annotation.Nullable + private String dryRun; + @jakarta.annotation.Nullable + private String fieldManager; + @jakarta.annotation.Nullable + private String fieldValidation; + @jakarta.annotation.Nullable + private Boolean force; + + private APIpatchNamespacedResourceClaimTemplateRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1Patch body) { + this.name = name; + this.namespace = namespace; + this.body = body; + } + + /** + * Set pretty + * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + * @return APIpatchNamespacedResourceClaimTemplateRequest + */ + public APIpatchNamespacedResourceClaimTemplateRequest pretty(@jakarta.annotation.Nullable String pretty) { + this.pretty = pretty; + return this; + } + + /** + * Set dryRun + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + * @return APIpatchNamespacedResourceClaimTemplateRequest + */ + public APIpatchNamespacedResourceClaimTemplateRequest dryRun(@jakarta.annotation.Nullable String dryRun) { + this.dryRun = dryRun; + return this; + } + + /** + * Set fieldManager + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). (optional) + * @return APIpatchNamespacedResourceClaimTemplateRequest + */ + public APIpatchNamespacedResourceClaimTemplateRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { + this.fieldManager = fieldManager; + return this; + } + + /** + * Set fieldValidation + * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) + * @return APIpatchNamespacedResourceClaimTemplateRequest + */ + public APIpatchNamespacedResourceClaimTemplateRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { + this.fieldValidation = fieldValidation; + return this; + } + + /** + * Set force + * @param force Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. (optional) + * @return APIpatchNamespacedResourceClaimTemplateRequest + */ + public APIpatchNamespacedResourceClaimTemplateRequest force(@jakarta.annotation.Nullable Boolean force) { + this.force = force; + return this; + } + + /** + * Build call for patchNamespacedResourceClaimTemplate + * @param _callback ApiCallback API callback + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { + return patchNamespacedResourceClaimTemplateCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + } + + /** + * Execute patchNamespacedResourceClaimTemplate request + * @return V1ResourceClaimTemplate + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public V1ResourceClaimTemplate execute() throws ApiException { + ApiResponse localVarResp = patchNamespacedResourceClaimTemplateWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force); + return localVarResp.getData(); + } + + /** + * Execute patchNamespacedResourceClaimTemplate request with HTTP info returned + * @return ApiResponse<V1ResourceClaimTemplate> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public ApiResponse executeWithHttpInfo() throws ApiException { + return patchNamespacedResourceClaimTemplateWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force); + } + + /** + * Execute patchNamespacedResourceClaimTemplate request (asynchronously) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return patchNamespacedResourceClaimTemplateAsync(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + } + } + + /** + * + * partially update the specified ResourceClaimTemplate + * @param name name of the ResourceClaimTemplate (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @return APIpatchNamespacedResourceClaimTemplateRequest + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public APIpatchNamespacedResourceClaimTemplateRequest patchNamespacedResourceClaimTemplate(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1Patch body) { + return new APIpatchNamespacedResourceClaimTemplateRequest(name, namespace, body); + } + private okhttp3.Call patchResourceSliceCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/resource.k8s.io/v1/resourceslices/{name}" + .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (pretty != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); + } + + if (dryRun != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("dryRun", dryRun)); + } + + if (fieldManager != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldManager", fieldManager)); + } + + if (fieldValidation != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldValidation", fieldValidation)); + } + + if (force != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("force", force)); + } + + final String[] localVarAccepts = { + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return localVarApiClient.buildCall(basePath, localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call patchResourceSliceValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling patchResourceSlice(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling patchResourceSlice(Async)"); + } + + return patchResourceSliceCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + + } + + + private ApiResponse patchResourceSliceWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force) throws ApiException { + okhttp3.Call localVarCall = patchResourceSliceValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + private okhttp3.Call patchResourceSliceAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = patchResourceSliceValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + public class APIpatchResourceSliceRequest { + @jakarta.annotation.Nonnull + private final String name; + @jakarta.annotation.Nonnull + private final V1Patch body; + @jakarta.annotation.Nullable + private String pretty; + @jakarta.annotation.Nullable + private String dryRun; + @jakarta.annotation.Nullable + private String fieldManager; + @jakarta.annotation.Nullable + private String fieldValidation; + @jakarta.annotation.Nullable + private Boolean force; + + private APIpatchResourceSliceRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body) { + this.name = name; + this.body = body; + } + + /** + * Set pretty + * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + * @return APIpatchResourceSliceRequest + */ + public APIpatchResourceSliceRequest pretty(@jakarta.annotation.Nullable String pretty) { + this.pretty = pretty; + return this; + } + + /** + * Set dryRun + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + * @return APIpatchResourceSliceRequest + */ + public APIpatchResourceSliceRequest dryRun(@jakarta.annotation.Nullable String dryRun) { + this.dryRun = dryRun; + return this; + } + + /** + * Set fieldManager + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). (optional) + * @return APIpatchResourceSliceRequest + */ + public APIpatchResourceSliceRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { + this.fieldManager = fieldManager; + return this; + } + + /** + * Set fieldValidation + * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) + * @return APIpatchResourceSliceRequest + */ + public APIpatchResourceSliceRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { + this.fieldValidation = fieldValidation; + return this; + } + + /** + * Set force + * @param force Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. (optional) + * @return APIpatchResourceSliceRequest + */ + public APIpatchResourceSliceRequest force(@jakarta.annotation.Nullable Boolean force) { + this.force = force; + return this; + } + + /** + * Build call for patchResourceSlice + * @param _callback ApiCallback API callback + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { + return patchResourceSliceCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + } + + /** + * Execute patchResourceSlice request + * @return V1ResourceSlice + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public V1ResourceSlice execute() throws ApiException { + ApiResponse localVarResp = patchResourceSliceWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force); + return localVarResp.getData(); + } + + /** + * Execute patchResourceSlice request with HTTP info returned + * @return ApiResponse<V1ResourceSlice> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public ApiResponse executeWithHttpInfo() throws ApiException { + return patchResourceSliceWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force); + } + + /** + * Execute patchResourceSlice request (asynchronously) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return patchResourceSliceAsync(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + } + } + + /** + * + * partially update the specified ResourceSlice + * @param name name of the ResourceSlice (required) + * @param body (required) + * @return APIpatchResourceSliceRequest + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public APIpatchResourceSliceRequest patchResourceSlice(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body) { + return new APIpatchResourceSliceRequest(name, body); + } + private okhttp3.Call readDeviceClassCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/resource.k8s.io/v1/deviceclasses/{name}" + .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (pretty != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); + } + + final String[] localVarAccepts = { + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call readDeviceClassValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling readDeviceClass(Async)"); + } + + return readDeviceClassCall(name, pretty, _callback); + + } + + + private ApiResponse readDeviceClassWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty) throws ApiException { + okhttp3.Call localVarCall = readDeviceClassValidateBeforeCall(name, pretty, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + private okhttp3.Call readDeviceClassAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = readDeviceClassValidateBeforeCall(name, pretty, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + public class APIreadDeviceClassRequest { + @jakarta.annotation.Nonnull + private final String name; + @jakarta.annotation.Nullable + private String pretty; + + private APIreadDeviceClassRequest(@jakarta.annotation.Nonnull String name) { + this.name = name; + } + + /** + * Set pretty + * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + * @return APIreadDeviceClassRequest + */ + public APIreadDeviceClassRequest pretty(@jakarta.annotation.Nullable String pretty) { + this.pretty = pretty; + return this; + } + + /** + * Build call for readDeviceClass + * @param _callback ApiCallback API callback + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { + return readDeviceClassCall(name, pretty, _callback); + } + + /** + * Execute readDeviceClass request + * @return V1DeviceClass + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public V1DeviceClass execute() throws ApiException { + ApiResponse localVarResp = readDeviceClassWithHttpInfo(name, pretty); + return localVarResp.getData(); + } + + /** + * Execute readDeviceClass request with HTTP info returned + * @return ApiResponse<V1DeviceClass> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public ApiResponse executeWithHttpInfo() throws ApiException { + return readDeviceClassWithHttpInfo(name, pretty); + } + + /** + * Execute readDeviceClass request (asynchronously) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return readDeviceClassAsync(name, pretty, _callback); + } + } + + /** + * + * read the specified DeviceClass + * @param name name of the DeviceClass (required) + * @return APIreadDeviceClassRequest + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public APIreadDeviceClassRequest readDeviceClass(@jakarta.annotation.Nonnull String name) { + return new APIreadDeviceClassRequest(name); + } + private okhttp3.Call readNamespacedResourceClaimCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaims/{name}" + .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())) + .replace("{" + "namespace" + "}", localVarApiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (pretty != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); + } + + final String[] localVarAccepts = { + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call readNamespacedResourceClaimValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling readNamespacedResourceClaim(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling readNamespacedResourceClaim(Async)"); + } + + return readNamespacedResourceClaimCall(name, namespace, pretty, _callback); + + } + + + private ApiResponse readNamespacedResourceClaimWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty) throws ApiException { + okhttp3.Call localVarCall = readNamespacedResourceClaimValidateBeforeCall(name, namespace, pretty, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + private okhttp3.Call readNamespacedResourceClaimAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = readNamespacedResourceClaimValidateBeforeCall(name, namespace, pretty, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + public class APIreadNamespacedResourceClaimRequest { + @jakarta.annotation.Nonnull + private final String name; + @jakarta.annotation.Nonnull + private final String namespace; + @jakarta.annotation.Nullable + private String pretty; + + private APIreadNamespacedResourceClaimRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace) { + this.name = name; + this.namespace = namespace; + } + + /** + * Set pretty + * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + * @return APIreadNamespacedResourceClaimRequest + */ + public APIreadNamespacedResourceClaimRequest pretty(@jakarta.annotation.Nullable String pretty) { + this.pretty = pretty; + return this; + } + + /** + * Build call for readNamespacedResourceClaim + * @param _callback ApiCallback API callback + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { + return readNamespacedResourceClaimCall(name, namespace, pretty, _callback); + } + + /** + * Execute readNamespacedResourceClaim request + * @return ResourceV1ResourceClaim + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public ResourceV1ResourceClaim execute() throws ApiException { + ApiResponse localVarResp = readNamespacedResourceClaimWithHttpInfo(name, namespace, pretty); + return localVarResp.getData(); + } + + /** + * Execute readNamespacedResourceClaim request with HTTP info returned + * @return ApiResponse<ResourceV1ResourceClaim> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public ApiResponse executeWithHttpInfo() throws ApiException { + return readNamespacedResourceClaimWithHttpInfo(name, namespace, pretty); + } + + /** + * Execute readNamespacedResourceClaim request (asynchronously) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return readNamespacedResourceClaimAsync(name, namespace, pretty, _callback); + } + } + + /** + * + * read the specified ResourceClaim + * @param name name of the ResourceClaim (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @return APIreadNamespacedResourceClaimRequest + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public APIreadNamespacedResourceClaimRequest readNamespacedResourceClaim(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace) { + return new APIreadNamespacedResourceClaimRequest(name, namespace); + } + private okhttp3.Call readNamespacedResourceClaimStatusCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaims/{name}/status" + .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())) + .replace("{" + "namespace" + "}", localVarApiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (pretty != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); + } + + final String[] localVarAccepts = { + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call readNamespacedResourceClaimStatusValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling readNamespacedResourceClaimStatus(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling readNamespacedResourceClaimStatus(Async)"); + } + + return readNamespacedResourceClaimStatusCall(name, namespace, pretty, _callback); + + } + + + private ApiResponse readNamespacedResourceClaimStatusWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty) throws ApiException { + okhttp3.Call localVarCall = readNamespacedResourceClaimStatusValidateBeforeCall(name, namespace, pretty, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + private okhttp3.Call readNamespacedResourceClaimStatusAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = readNamespacedResourceClaimStatusValidateBeforeCall(name, namespace, pretty, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + public class APIreadNamespacedResourceClaimStatusRequest { + @jakarta.annotation.Nonnull + private final String name; + @jakarta.annotation.Nonnull + private final String namespace; + @jakarta.annotation.Nullable + private String pretty; + + private APIreadNamespacedResourceClaimStatusRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace) { + this.name = name; + this.namespace = namespace; + } + + /** + * Set pretty + * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + * @return APIreadNamespacedResourceClaimStatusRequest + */ + public APIreadNamespacedResourceClaimStatusRequest pretty(@jakarta.annotation.Nullable String pretty) { + this.pretty = pretty; + return this; + } + + /** + * Build call for readNamespacedResourceClaimStatus + * @param _callback ApiCallback API callback + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { + return readNamespacedResourceClaimStatusCall(name, namespace, pretty, _callback); + } + + /** + * Execute readNamespacedResourceClaimStatus request + * @return ResourceV1ResourceClaim + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public ResourceV1ResourceClaim execute() throws ApiException { + ApiResponse localVarResp = readNamespacedResourceClaimStatusWithHttpInfo(name, namespace, pretty); + return localVarResp.getData(); + } + + /** + * Execute readNamespacedResourceClaimStatus request with HTTP info returned + * @return ApiResponse<ResourceV1ResourceClaim> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public ApiResponse executeWithHttpInfo() throws ApiException { + return readNamespacedResourceClaimStatusWithHttpInfo(name, namespace, pretty); + } + + /** + * Execute readNamespacedResourceClaimStatus request (asynchronously) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return readNamespacedResourceClaimStatusAsync(name, namespace, pretty, _callback); + } + } + + /** + * + * read status of the specified ResourceClaim + * @param name name of the ResourceClaim (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @return APIreadNamespacedResourceClaimStatusRequest + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public APIreadNamespacedResourceClaimStatusRequest readNamespacedResourceClaimStatus(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace) { + return new APIreadNamespacedResourceClaimStatusRequest(name, namespace); + } + private okhttp3.Call readNamespacedResourceClaimTemplateCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaimtemplates/{name}" + .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())) + .replace("{" + "namespace" + "}", localVarApiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (pretty != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); + } + + final String[] localVarAccepts = { + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call readNamespacedResourceClaimTemplateValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling readNamespacedResourceClaimTemplate(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling readNamespacedResourceClaimTemplate(Async)"); + } + + return readNamespacedResourceClaimTemplateCall(name, namespace, pretty, _callback); + + } + + + private ApiResponse readNamespacedResourceClaimTemplateWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty) throws ApiException { + okhttp3.Call localVarCall = readNamespacedResourceClaimTemplateValidateBeforeCall(name, namespace, pretty, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + private okhttp3.Call readNamespacedResourceClaimTemplateAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = readNamespacedResourceClaimTemplateValidateBeforeCall(name, namespace, pretty, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + public class APIreadNamespacedResourceClaimTemplateRequest { + @jakarta.annotation.Nonnull + private final String name; + @jakarta.annotation.Nonnull + private final String namespace; + @jakarta.annotation.Nullable + private String pretty; + + private APIreadNamespacedResourceClaimTemplateRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace) { + this.name = name; + this.namespace = namespace; + } + + /** + * Set pretty + * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + * @return APIreadNamespacedResourceClaimTemplateRequest + */ + public APIreadNamespacedResourceClaimTemplateRequest pretty(@jakarta.annotation.Nullable String pretty) { + this.pretty = pretty; + return this; + } + + /** + * Build call for readNamespacedResourceClaimTemplate + * @param _callback ApiCallback API callback + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { + return readNamespacedResourceClaimTemplateCall(name, namespace, pretty, _callback); + } + + /** + * Execute readNamespacedResourceClaimTemplate request + * @return V1ResourceClaimTemplate + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public V1ResourceClaimTemplate execute() throws ApiException { + ApiResponse localVarResp = readNamespacedResourceClaimTemplateWithHttpInfo(name, namespace, pretty); + return localVarResp.getData(); + } + + /** + * Execute readNamespacedResourceClaimTemplate request with HTTP info returned + * @return ApiResponse<V1ResourceClaimTemplate> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public ApiResponse executeWithHttpInfo() throws ApiException { + return readNamespacedResourceClaimTemplateWithHttpInfo(name, namespace, pretty); + } + + /** + * Execute readNamespacedResourceClaimTemplate request (asynchronously) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return readNamespacedResourceClaimTemplateAsync(name, namespace, pretty, _callback); + } + } + + /** + * + * read the specified ResourceClaimTemplate + * @param name name of the ResourceClaimTemplate (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @return APIreadNamespacedResourceClaimTemplateRequest + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public APIreadNamespacedResourceClaimTemplateRequest readNamespacedResourceClaimTemplate(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace) { + return new APIreadNamespacedResourceClaimTemplateRequest(name, namespace); + } + private okhttp3.Call readResourceSliceCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/resource.k8s.io/v1/resourceslices/{name}" + .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (pretty != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); + } + + final String[] localVarAccepts = { + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call readResourceSliceValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling readResourceSlice(Async)"); + } + + return readResourceSliceCall(name, pretty, _callback); + + } + + + private ApiResponse readResourceSliceWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty) throws ApiException { + okhttp3.Call localVarCall = readResourceSliceValidateBeforeCall(name, pretty, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + private okhttp3.Call readResourceSliceAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = readResourceSliceValidateBeforeCall(name, pretty, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + public class APIreadResourceSliceRequest { + @jakarta.annotation.Nonnull + private final String name; + @jakarta.annotation.Nullable + private String pretty; + + private APIreadResourceSliceRequest(@jakarta.annotation.Nonnull String name) { + this.name = name; + } + + /** + * Set pretty + * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + * @return APIreadResourceSliceRequest + */ + public APIreadResourceSliceRequest pretty(@jakarta.annotation.Nullable String pretty) { + this.pretty = pretty; + return this; + } + + /** + * Build call for readResourceSlice + * @param _callback ApiCallback API callback + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { + return readResourceSliceCall(name, pretty, _callback); + } + + /** + * Execute readResourceSlice request + * @return V1ResourceSlice + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public V1ResourceSlice execute() throws ApiException { + ApiResponse localVarResp = readResourceSliceWithHttpInfo(name, pretty); + return localVarResp.getData(); + } + + /** + * Execute readResourceSlice request with HTTP info returned + * @return ApiResponse<V1ResourceSlice> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public ApiResponse executeWithHttpInfo() throws ApiException { + return readResourceSliceWithHttpInfo(name, pretty); + } + + /** + * Execute readResourceSlice request (asynchronously) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return readResourceSliceAsync(name, pretty, _callback); + } + } + + /** + * + * read the specified ResourceSlice + * @param name name of the ResourceSlice (required) + * @return APIreadResourceSliceRequest + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public APIreadResourceSliceRequest readResourceSlice(@jakarta.annotation.Nonnull String name) { + return new APIreadResourceSliceRequest(name); + } + private okhttp3.Call replaceDeviceClassCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1DeviceClass body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/resource.k8s.io/v1/deviceclasses/{name}" + .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (pretty != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); + } + + if (dryRun != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("dryRun", dryRun)); + } + + if (fieldManager != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldManager", fieldManager)); + } + + if (fieldValidation != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldValidation", fieldValidation)); + } + + final String[] localVarAccepts = { + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call replaceDeviceClassValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1DeviceClass body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling replaceDeviceClass(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling replaceDeviceClass(Async)"); + } + + return replaceDeviceClassCall(name, body, pretty, dryRun, fieldManager, fieldValidation, _callback); + + } + + + private ApiResponse replaceDeviceClassWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1DeviceClass body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation) throws ApiException { + okhttp3.Call localVarCall = replaceDeviceClassValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + private okhttp3.Call replaceDeviceClassAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1DeviceClass body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = replaceDeviceClassValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + public class APIreplaceDeviceClassRequest { + @jakarta.annotation.Nonnull + private final String name; + @jakarta.annotation.Nonnull + private final V1DeviceClass body; + @jakarta.annotation.Nullable + private String pretty; + @jakarta.annotation.Nullable + private String dryRun; + @jakarta.annotation.Nullable + private String fieldManager; + @jakarta.annotation.Nullable + private String fieldValidation; + + private APIreplaceDeviceClassRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1DeviceClass body) { + this.name = name; + this.body = body; + } + + /** + * Set pretty + * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + * @return APIreplaceDeviceClassRequest + */ + public APIreplaceDeviceClassRequest pretty(@jakarta.annotation.Nullable String pretty) { + this.pretty = pretty; + return this; + } + + /** + * Set dryRun + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + * @return APIreplaceDeviceClassRequest + */ + public APIreplaceDeviceClassRequest dryRun(@jakarta.annotation.Nullable String dryRun) { + this.dryRun = dryRun; + return this; + } + + /** + * Set fieldManager + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) + * @return APIreplaceDeviceClassRequest + */ + public APIreplaceDeviceClassRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { + this.fieldManager = fieldManager; + return this; + } + + /** + * Set fieldValidation + * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) + * @return APIreplaceDeviceClassRequest + */ + public APIreplaceDeviceClassRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { + this.fieldValidation = fieldValidation; + return this; + } + + /** + * Build call for replaceDeviceClass + * @param _callback ApiCallback API callback + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { + return replaceDeviceClassCall(name, body, pretty, dryRun, fieldManager, fieldValidation, _callback); + } + + /** + * Execute replaceDeviceClass request + * @return V1DeviceClass + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public V1DeviceClass execute() throws ApiException { + ApiResponse localVarResp = replaceDeviceClassWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation); + return localVarResp.getData(); + } + + /** + * Execute replaceDeviceClass request with HTTP info returned + * @return ApiResponse<V1DeviceClass> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public ApiResponse executeWithHttpInfo() throws ApiException { + return replaceDeviceClassWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation); + } + + /** + * Execute replaceDeviceClass request (asynchronously) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return replaceDeviceClassAsync(name, body, pretty, dryRun, fieldManager, fieldValidation, _callback); + } + } + + /** + * + * replace the specified DeviceClass + * @param name name of the DeviceClass (required) + * @param body (required) + * @return APIreplaceDeviceClassRequest + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public APIreplaceDeviceClassRequest replaceDeviceClass(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1DeviceClass body) { + return new APIreplaceDeviceClassRequest(name, body); + } + private okhttp3.Call replaceNamespacedResourceClaimCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull ResourceV1ResourceClaim body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaims/{name}" + .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())) + .replace("{" + "namespace" + "}", localVarApiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (pretty != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); + } + + if (dryRun != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("dryRun", dryRun)); + } + + if (fieldManager != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldManager", fieldManager)); + } + + if (fieldValidation != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldValidation", fieldValidation)); + } + + final String[] localVarAccepts = { + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call replaceNamespacedResourceClaimValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull ResourceV1ResourceClaim body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedResourceClaim(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedResourceClaim(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedResourceClaim(Async)"); + } + + return replaceNamespacedResourceClaimCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _callback); + + } + + + private ApiResponse replaceNamespacedResourceClaimWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull ResourceV1ResourceClaim body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation) throws ApiException { + okhttp3.Call localVarCall = replaceNamespacedResourceClaimValidateBeforeCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + private okhttp3.Call replaceNamespacedResourceClaimAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull ResourceV1ResourceClaim body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = replaceNamespacedResourceClaimValidateBeforeCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + public class APIreplaceNamespacedResourceClaimRequest { + @jakarta.annotation.Nonnull + private final String name; + @jakarta.annotation.Nonnull + private final String namespace; + @jakarta.annotation.Nonnull + private final ResourceV1ResourceClaim body; + @jakarta.annotation.Nullable + private String pretty; + @jakarta.annotation.Nullable + private String dryRun; + @jakarta.annotation.Nullable + private String fieldManager; + @jakarta.annotation.Nullable + private String fieldValidation; + + private APIreplaceNamespacedResourceClaimRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull ResourceV1ResourceClaim body) { + this.name = name; + this.namespace = namespace; + this.body = body; + } + + /** + * Set pretty + * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + * @return APIreplaceNamespacedResourceClaimRequest + */ + public APIreplaceNamespacedResourceClaimRequest pretty(@jakarta.annotation.Nullable String pretty) { + this.pretty = pretty; + return this; + } + + /** + * Set dryRun + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + * @return APIreplaceNamespacedResourceClaimRequest + */ + public APIreplaceNamespacedResourceClaimRequest dryRun(@jakarta.annotation.Nullable String dryRun) { + this.dryRun = dryRun; + return this; + } + + /** + * Set fieldManager + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) + * @return APIreplaceNamespacedResourceClaimRequest + */ + public APIreplaceNamespacedResourceClaimRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { + this.fieldManager = fieldManager; + return this; + } + + /** + * Set fieldValidation + * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) + * @return APIreplaceNamespacedResourceClaimRequest + */ + public APIreplaceNamespacedResourceClaimRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { + this.fieldValidation = fieldValidation; + return this; + } + + /** + * Build call for replaceNamespacedResourceClaim + * @param _callback ApiCallback API callback + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { + return replaceNamespacedResourceClaimCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _callback); + } + + /** + * Execute replaceNamespacedResourceClaim request + * @return ResourceV1ResourceClaim + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public ResourceV1ResourceClaim execute() throws ApiException { + ApiResponse localVarResp = replaceNamespacedResourceClaimWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation); + return localVarResp.getData(); + } + + /** + * Execute replaceNamespacedResourceClaim request with HTTP info returned + * @return ApiResponse<ResourceV1ResourceClaim> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public ApiResponse executeWithHttpInfo() throws ApiException { + return replaceNamespacedResourceClaimWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation); + } + + /** + * Execute replaceNamespacedResourceClaim request (asynchronously) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return replaceNamespacedResourceClaimAsync(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _callback); + } + } + + /** + * + * replace the specified ResourceClaim + * @param name name of the ResourceClaim (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @return APIreplaceNamespacedResourceClaimRequest + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public APIreplaceNamespacedResourceClaimRequest replaceNamespacedResourceClaim(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull ResourceV1ResourceClaim body) { + return new APIreplaceNamespacedResourceClaimRequest(name, namespace, body); + } + private okhttp3.Call replaceNamespacedResourceClaimStatusCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull ResourceV1ResourceClaim body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaims/{name}/status" + .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())) + .replace("{" + "namespace" + "}", localVarApiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (pretty != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); + } + + if (dryRun != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("dryRun", dryRun)); + } + + if (fieldManager != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldManager", fieldManager)); + } + + if (fieldValidation != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldValidation", fieldValidation)); + } + + final String[] localVarAccepts = { + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call replaceNamespacedResourceClaimStatusValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull ResourceV1ResourceClaim body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedResourceClaimStatus(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedResourceClaimStatus(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedResourceClaimStatus(Async)"); + } + + return replaceNamespacedResourceClaimStatusCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _callback); + + } + + + private ApiResponse replaceNamespacedResourceClaimStatusWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull ResourceV1ResourceClaim body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation) throws ApiException { + okhttp3.Call localVarCall = replaceNamespacedResourceClaimStatusValidateBeforeCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + private okhttp3.Call replaceNamespacedResourceClaimStatusAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull ResourceV1ResourceClaim body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = replaceNamespacedResourceClaimStatusValidateBeforeCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + public class APIreplaceNamespacedResourceClaimStatusRequest { + @jakarta.annotation.Nonnull + private final String name; + @jakarta.annotation.Nonnull + private final String namespace; + @jakarta.annotation.Nonnull + private final ResourceV1ResourceClaim body; + @jakarta.annotation.Nullable + private String pretty; + @jakarta.annotation.Nullable + private String dryRun; + @jakarta.annotation.Nullable + private String fieldManager; + @jakarta.annotation.Nullable + private String fieldValidation; + + private APIreplaceNamespacedResourceClaimStatusRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull ResourceV1ResourceClaim body) { + this.name = name; + this.namespace = namespace; + this.body = body; + } + + /** + * Set pretty + * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + * @return APIreplaceNamespacedResourceClaimStatusRequest + */ + public APIreplaceNamespacedResourceClaimStatusRequest pretty(@jakarta.annotation.Nullable String pretty) { + this.pretty = pretty; + return this; + } + + /** + * Set dryRun + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + * @return APIreplaceNamespacedResourceClaimStatusRequest + */ + public APIreplaceNamespacedResourceClaimStatusRequest dryRun(@jakarta.annotation.Nullable String dryRun) { + this.dryRun = dryRun; + return this; + } + + /** + * Set fieldManager + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) + * @return APIreplaceNamespacedResourceClaimStatusRequest + */ + public APIreplaceNamespacedResourceClaimStatusRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { + this.fieldManager = fieldManager; + return this; + } + + /** + * Set fieldValidation + * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) + * @return APIreplaceNamespacedResourceClaimStatusRequest + */ + public APIreplaceNamespacedResourceClaimStatusRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { + this.fieldValidation = fieldValidation; + return this; + } + + /** + * Build call for replaceNamespacedResourceClaimStatus + * @param _callback ApiCallback API callback + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { + return replaceNamespacedResourceClaimStatusCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _callback); + } + + /** + * Execute replaceNamespacedResourceClaimStatus request + * @return ResourceV1ResourceClaim + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public ResourceV1ResourceClaim execute() throws ApiException { + ApiResponse localVarResp = replaceNamespacedResourceClaimStatusWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation); + return localVarResp.getData(); + } + + /** + * Execute replaceNamespacedResourceClaimStatus request with HTTP info returned + * @return ApiResponse<ResourceV1ResourceClaim> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public ApiResponse executeWithHttpInfo() throws ApiException { + return replaceNamespacedResourceClaimStatusWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation); + } + + /** + * Execute replaceNamespacedResourceClaimStatus request (asynchronously) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return replaceNamespacedResourceClaimStatusAsync(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _callback); + } + } + + /** + * + * replace status of the specified ResourceClaim + * @param name name of the ResourceClaim (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @return APIreplaceNamespacedResourceClaimStatusRequest + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public APIreplaceNamespacedResourceClaimStatusRequest replaceNamespacedResourceClaimStatus(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull ResourceV1ResourceClaim body) { + return new APIreplaceNamespacedResourceClaimStatusRequest(name, namespace, body); + } + private okhttp3.Call replaceNamespacedResourceClaimTemplateCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1ResourceClaimTemplate body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaimtemplates/{name}" + .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())) + .replace("{" + "namespace" + "}", localVarApiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (pretty != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); + } + + if (dryRun != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("dryRun", dryRun)); + } + + if (fieldManager != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldManager", fieldManager)); + } + + if (fieldValidation != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldValidation", fieldValidation)); + } + + final String[] localVarAccepts = { + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call replaceNamespacedResourceClaimTemplateValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1ResourceClaimTemplate body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedResourceClaimTemplate(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedResourceClaimTemplate(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedResourceClaimTemplate(Async)"); + } + + return replaceNamespacedResourceClaimTemplateCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _callback); + + } + + + private ApiResponse replaceNamespacedResourceClaimTemplateWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1ResourceClaimTemplate body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation) throws ApiException { + okhttp3.Call localVarCall = replaceNamespacedResourceClaimTemplateValidateBeforeCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + private okhttp3.Call replaceNamespacedResourceClaimTemplateAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1ResourceClaimTemplate body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = replaceNamespacedResourceClaimTemplateValidateBeforeCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + public class APIreplaceNamespacedResourceClaimTemplateRequest { + @jakarta.annotation.Nonnull + private final String name; + @jakarta.annotation.Nonnull + private final String namespace; + @jakarta.annotation.Nonnull + private final V1ResourceClaimTemplate body; + @jakarta.annotation.Nullable + private String pretty; + @jakarta.annotation.Nullable + private String dryRun; + @jakarta.annotation.Nullable + private String fieldManager; + @jakarta.annotation.Nullable + private String fieldValidation; + + private APIreplaceNamespacedResourceClaimTemplateRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1ResourceClaimTemplate body) { + this.name = name; + this.namespace = namespace; + this.body = body; + } + + /** + * Set pretty + * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + * @return APIreplaceNamespacedResourceClaimTemplateRequest + */ + public APIreplaceNamespacedResourceClaimTemplateRequest pretty(@jakarta.annotation.Nullable String pretty) { + this.pretty = pretty; + return this; + } + + /** + * Set dryRun + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + * @return APIreplaceNamespacedResourceClaimTemplateRequest + */ + public APIreplaceNamespacedResourceClaimTemplateRequest dryRun(@jakarta.annotation.Nullable String dryRun) { + this.dryRun = dryRun; + return this; + } + + /** + * Set fieldManager + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) + * @return APIreplaceNamespacedResourceClaimTemplateRequest + */ + public APIreplaceNamespacedResourceClaimTemplateRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { + this.fieldManager = fieldManager; + return this; + } + + /** + * Set fieldValidation + * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) + * @return APIreplaceNamespacedResourceClaimTemplateRequest + */ + public APIreplaceNamespacedResourceClaimTemplateRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { + this.fieldValidation = fieldValidation; + return this; + } + + /** + * Build call for replaceNamespacedResourceClaimTemplate + * @param _callback ApiCallback API callback + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { + return replaceNamespacedResourceClaimTemplateCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _callback); + } + + /** + * Execute replaceNamespacedResourceClaimTemplate request + * @return V1ResourceClaimTemplate + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public V1ResourceClaimTemplate execute() throws ApiException { + ApiResponse localVarResp = replaceNamespacedResourceClaimTemplateWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation); + return localVarResp.getData(); + } + + /** + * Execute replaceNamespacedResourceClaimTemplate request with HTTP info returned + * @return ApiResponse<V1ResourceClaimTemplate> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public ApiResponse executeWithHttpInfo() throws ApiException { + return replaceNamespacedResourceClaimTemplateWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation); + } + + /** + * Execute replaceNamespacedResourceClaimTemplate request (asynchronously) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return replaceNamespacedResourceClaimTemplateAsync(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _callback); + } + } + + /** + * + * replace the specified ResourceClaimTemplate + * @param name name of the ResourceClaimTemplate (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @return APIreplaceNamespacedResourceClaimTemplateRequest + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public APIreplaceNamespacedResourceClaimTemplateRequest replaceNamespacedResourceClaimTemplate(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1ResourceClaimTemplate body) { + return new APIreplaceNamespacedResourceClaimTemplateRequest(name, namespace, body); + } + private okhttp3.Call replaceResourceSliceCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1ResourceSlice body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/resource.k8s.io/v1/resourceslices/{name}" + .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (pretty != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); + } + + if (dryRun != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("dryRun", dryRun)); + } + + if (fieldManager != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldManager", fieldManager)); + } + + if (fieldValidation != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldValidation", fieldValidation)); + } + + final String[] localVarAccepts = { + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call replaceResourceSliceValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1ResourceSlice body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling replaceResourceSlice(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling replaceResourceSlice(Async)"); + } + + return replaceResourceSliceCall(name, body, pretty, dryRun, fieldManager, fieldValidation, _callback); + + } + + + private ApiResponse replaceResourceSliceWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1ResourceSlice body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation) throws ApiException { + okhttp3.Call localVarCall = replaceResourceSliceValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + private okhttp3.Call replaceResourceSliceAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1ResourceSlice body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = replaceResourceSliceValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + public class APIreplaceResourceSliceRequest { + @jakarta.annotation.Nonnull + private final String name; + @jakarta.annotation.Nonnull + private final V1ResourceSlice body; + @jakarta.annotation.Nullable + private String pretty; + @jakarta.annotation.Nullable + private String dryRun; + @jakarta.annotation.Nullable + private String fieldManager; + @jakarta.annotation.Nullable + private String fieldValidation; + + private APIreplaceResourceSliceRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1ResourceSlice body) { + this.name = name; + this.body = body; + } + + /** + * Set pretty + * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + * @return APIreplaceResourceSliceRequest + */ + public APIreplaceResourceSliceRequest pretty(@jakarta.annotation.Nullable String pretty) { + this.pretty = pretty; + return this; + } + + /** + * Set dryRun + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + * @return APIreplaceResourceSliceRequest + */ + public APIreplaceResourceSliceRequest dryRun(@jakarta.annotation.Nullable String dryRun) { + this.dryRun = dryRun; + return this; + } + + /** + * Set fieldManager + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) + * @return APIreplaceResourceSliceRequest + */ + public APIreplaceResourceSliceRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { + this.fieldManager = fieldManager; + return this; + } + + /** + * Set fieldValidation + * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) + * @return APIreplaceResourceSliceRequest + */ + public APIreplaceResourceSliceRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { + this.fieldValidation = fieldValidation; + return this; + } + + /** + * Build call for replaceResourceSlice + * @param _callback ApiCallback API callback + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { + return replaceResourceSliceCall(name, body, pretty, dryRun, fieldManager, fieldValidation, _callback); + } + + /** + * Execute replaceResourceSlice request + * @return V1ResourceSlice + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public V1ResourceSlice execute() throws ApiException { + ApiResponse localVarResp = replaceResourceSliceWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation); + return localVarResp.getData(); + } + + /** + * Execute replaceResourceSlice request with HTTP info returned + * @return ApiResponse<V1ResourceSlice> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public ApiResponse executeWithHttpInfo() throws ApiException { + return replaceResourceSliceWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation); + } + + /** + * Execute replaceResourceSlice request (asynchronously) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return replaceResourceSliceAsync(name, body, pretty, dryRun, fieldManager, fieldValidation, _callback); + } + } + + /** + * + * replace the specified ResourceSlice + * @param name name of the ResourceSlice (required) + * @param body (required) + * @return APIreplaceResourceSliceRequest + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public APIreplaceResourceSliceRequest replaceResourceSlice(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1ResourceSlice body) { + return new APIreplaceResourceSliceRequest(name, body); + } +} diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ResourceV1alpha3Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ResourceV1alpha3Api.java index 823eabab3f..937c52a024 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ResourceV1alpha3Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ResourceV1alpha3Api.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.apis; import io.kubernetes.client.openapi.ApiCallback; @@ -30,16 +31,8 @@ import io.kubernetes.client.openapi.models.V1DeleteOptions; import io.kubernetes.client.custom.V1Patch; import io.kubernetes.client.openapi.models.V1Status; -import io.kubernetes.client.openapi.models.V1alpha3DeviceClass; -import io.kubernetes.client.openapi.models.V1alpha3DeviceClassList; import io.kubernetes.client.openapi.models.V1alpha3DeviceTaintRule; import io.kubernetes.client.openapi.models.V1alpha3DeviceTaintRuleList; -import io.kubernetes.client.openapi.models.V1alpha3ResourceClaim; -import io.kubernetes.client.openapi.models.V1alpha3ResourceClaimList; -import io.kubernetes.client.openapi.models.V1alpha3ResourceClaimTemplate; -import io.kubernetes.client.openapi.models.V1alpha3ResourceClaimTemplateList; -import io.kubernetes.client.openapi.models.V1alpha3ResourceSlice; -import io.kubernetes.client.openapi.models.V1alpha3ResourceSliceList; import java.lang.reflect.Type; import java.util.ArrayList; @@ -84,7 +77,7 @@ public void setCustomBaseUrl(String customBaseUrl) { this.localCustomBaseUrl = customBaseUrl; } - private okhttp3.Call createDeviceClassCall(@jakarta.annotation.Nonnull V1alpha3DeviceClass body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + private okhttp3.Call createDeviceTaintRuleCall(@jakarta.annotation.Nonnull V1alpha3DeviceTaintRule body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -101,7 +94,7 @@ private okhttp3.Call createDeviceClassCall(@jakarta.annotation.Nonnull V1alpha3D Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/resource.k8s.io/v1alpha3/deviceclasses"; + String localVarPath = "/apis/resource.k8s.io/v1alpha3/devicetaintrules"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -149,34 +142,34 @@ private okhttp3.Call createDeviceClassCall(@jakarta.annotation.Nonnull V1alpha3D } @SuppressWarnings("rawtypes") - private okhttp3.Call createDeviceClassValidateBeforeCall(@jakarta.annotation.Nonnull V1alpha3DeviceClass body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + private okhttp3.Call createDeviceTaintRuleValidateBeforeCall(@jakarta.annotation.Nonnull V1alpha3DeviceTaintRule body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling createDeviceClass(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling createDeviceTaintRule(Async)"); } - return createDeviceClassCall(body, pretty, dryRun, fieldManager, fieldValidation, _callback); + return createDeviceTaintRuleCall(body, pretty, dryRun, fieldManager, fieldValidation, _callback); } - private ApiResponse createDeviceClassWithHttpInfo(@jakarta.annotation.Nonnull V1alpha3DeviceClass body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation) throws ApiException { - okhttp3.Call localVarCall = createDeviceClassValidateBeforeCall(body, pretty, dryRun, fieldManager, fieldValidation, null); - Type localVarReturnType = new TypeToken(){}.getType(); + private ApiResponse createDeviceTaintRuleWithHttpInfo(@jakarta.annotation.Nonnull V1alpha3DeviceTaintRule body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation) throws ApiException { + okhttp3.Call localVarCall = createDeviceTaintRuleValidateBeforeCall(body, pretty, dryRun, fieldManager, fieldValidation, null); + Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } - private okhttp3.Call createDeviceClassAsync(@jakarta.annotation.Nonnull V1alpha3DeviceClass body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + private okhttp3.Call createDeviceTaintRuleAsync(@jakarta.annotation.Nonnull V1alpha3DeviceTaintRule body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = createDeviceClassValidateBeforeCall(body, pretty, dryRun, fieldManager, fieldValidation, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); + okhttp3.Call localVarCall = createDeviceTaintRuleValidateBeforeCall(body, pretty, dryRun, fieldManager, fieldValidation, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } - public class APIcreateDeviceClassRequest { + public class APIcreateDeviceTaintRuleRequest { @jakarta.annotation.Nonnull - private final V1alpha3DeviceClass body; + private final V1alpha3DeviceTaintRule body; @jakarta.annotation.Nullable private String pretty; @jakarta.annotation.Nullable @@ -186,16 +179,16 @@ public class APIcreateDeviceClassRequest { @jakarta.annotation.Nullable private String fieldValidation; - private APIcreateDeviceClassRequest(@jakarta.annotation.Nonnull V1alpha3DeviceClass body) { + private APIcreateDeviceTaintRuleRequest(@jakarta.annotation.Nonnull V1alpha3DeviceTaintRule body) { this.body = body; } /** * Set pretty * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIcreateDeviceClassRequest + * @return APIcreateDeviceTaintRuleRequest */ - public APIcreateDeviceClassRequest pretty(@jakarta.annotation.Nullable String pretty) { + public APIcreateDeviceTaintRuleRequest pretty(@jakarta.annotation.Nullable String pretty) { this.pretty = pretty; return this; } @@ -203,9 +196,9 @@ public APIcreateDeviceClassRequest pretty(@jakarta.annotation.Nullable String pr /** * Set dryRun * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) - * @return APIcreateDeviceClassRequest + * @return APIcreateDeviceTaintRuleRequest */ - public APIcreateDeviceClassRequest dryRun(@jakarta.annotation.Nullable String dryRun) { + public APIcreateDeviceTaintRuleRequest dryRun(@jakarta.annotation.Nullable String dryRun) { this.dryRun = dryRun; return this; } @@ -213,9 +206,9 @@ public APIcreateDeviceClassRequest dryRun(@jakarta.annotation.Nullable String dr /** * Set fieldManager * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) - * @return APIcreateDeviceClassRequest + * @return APIcreateDeviceTaintRuleRequest */ - public APIcreateDeviceClassRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { + public APIcreateDeviceTaintRuleRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { this.fieldManager = fieldManager; return this; } @@ -223,15 +216,15 @@ public APIcreateDeviceClassRequest fieldManager(@jakarta.annotation.Nullable Str /** * Set fieldValidation * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) - * @return APIcreateDeviceClassRequest + * @return APIcreateDeviceTaintRuleRequest */ - public APIcreateDeviceClassRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { + public APIcreateDeviceTaintRuleRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { this.fieldValidation = fieldValidation; return this; } /** - * Build call for createDeviceClass + * Build call for createDeviceTaintRule * @param _callback ApiCallback API callback * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -246,12 +239,12 @@ public APIcreateDeviceClassRequest fieldValidation(@jakarta.annotation.Nullable */ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return createDeviceClassCall(body, pretty, dryRun, fieldManager, fieldValidation, _callback); + return createDeviceTaintRuleCall(body, pretty, dryRun, fieldManager, fieldValidation, _callback); } /** - * Execute createDeviceClass request - * @return V1alpha3DeviceClass + * Execute createDeviceTaintRule request + * @return V1alpha3DeviceTaintRule * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -263,14 +256,14 @@ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
401 Unauthorized -
*/ - public V1alpha3DeviceClass execute() throws ApiException { - ApiResponse localVarResp = createDeviceClassWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation); + public V1alpha3DeviceTaintRule execute() throws ApiException { + ApiResponse localVarResp = createDeviceTaintRuleWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation); return localVarResp.getData(); } /** - * Execute createDeviceClass request with HTTP info returned - * @return ApiResponse<V1alpha3DeviceClass> + * Execute createDeviceTaintRule request with HTTP info returned + * @return ApiResponse<V1alpha3DeviceTaintRule> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -282,12 +275,12 @@ public V1alpha3DeviceClass execute() throws ApiException {
401 Unauthorized -
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return createDeviceClassWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation); + public ApiResponse executeWithHttpInfo() throws ApiException { + return createDeviceTaintRuleWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation); } /** - * Execute createDeviceClass request (asynchronously) + * Execute createDeviceTaintRule request (asynchronously) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -301,16 +294,16 @@ public ApiResponse executeWithHttpInfo() throws ApiExceptio 401 Unauthorized - */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return createDeviceClassAsync(body, pretty, dryRun, fieldManager, fieldValidation, _callback); + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return createDeviceTaintRuleAsync(body, pretty, dryRun, fieldManager, fieldValidation, _callback); } } /** - * - * create a DeviceClass + * + * create a DeviceTaintRule * @param body (required) - * @return APIcreateDeviceClassRequest + * @return APIcreateDeviceTaintRuleRequest * @http.response.details @@ -321,10 +314,10 @@ public okhttp3.Call executeAsync(final ApiCallback _callbac
Response Details
401 Unauthorized -
*/ - public APIcreateDeviceClassRequest createDeviceClass(@jakarta.annotation.Nonnull V1alpha3DeviceClass body) { - return new APIcreateDeviceClassRequest(body); + public APIcreateDeviceTaintRuleRequest createDeviceTaintRule(@jakarta.annotation.Nonnull V1alpha3DeviceTaintRule body) { + return new APIcreateDeviceTaintRuleRequest(body); } - private okhttp3.Call createDeviceTaintRuleCall(@jakarta.annotation.Nonnull V1alpha3DeviceTaintRule body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + private okhttp3.Call deleteCollectionDeviceTaintRuleCall(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -353,16 +346,56 @@ private okhttp3.Call createDeviceTaintRuleCall(@jakarta.annotation.Nonnull V1alp localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); } + if (_continue != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("continue", _continue)); + } + if (dryRun != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("dryRun", dryRun)); } - if (fieldManager != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldManager", fieldManager)); + if (fieldSelector != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldSelector", fieldSelector)); } - if (fieldValidation != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldValidation", fieldValidation)); + if (gracePeriodSeconds != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("gracePeriodSeconds", gracePeriodSeconds)); + } + + if (ignoreStoreReadErrorWithClusterBreakingPotential != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("ignoreStoreReadErrorWithClusterBreakingPotential", ignoreStoreReadErrorWithClusterBreakingPotential)); + } + + if (labelSelector != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("labelSelector", labelSelector)); + } + + if (limit != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); + } + + if (orphanDependents != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("orphanDependents", orphanDependents)); + } + + if (propagationPolicy != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("propagationPolicy", propagationPolicy)); + } + + if (resourceVersion != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("resourceVersion", resourceVersion)); + } + + if (resourceVersionMatch != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("resourceVersionMatch", resourceVersionMatch)); + } + + if (sendInitialEvents != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sendInitialEvents", sendInitialEvents)); + } + + if (timeoutSeconds != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); } final String[] localVarAccepts = { @@ -385,342 +418,217 @@ private okhttp3.Call createDeviceTaintRuleCall(@jakarta.annotation.Nonnull V1alp } String[] localVarAuthNames = new String[] { "BearerToken" }; - return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @SuppressWarnings("rawtypes") - private okhttp3.Call createDeviceTaintRuleValidateBeforeCall(@jakarta.annotation.Nonnull V1alpha3DeviceTaintRule body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'body' is set - if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling createDeviceTaintRule(Async)"); - } - - return createDeviceTaintRuleCall(body, pretty, dryRun, fieldManager, fieldValidation, _callback); + private okhttp3.Call deleteCollectionDeviceTaintRuleValidateBeforeCall(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { + return deleteCollectionDeviceTaintRuleCall(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _callback); } - private ApiResponse createDeviceTaintRuleWithHttpInfo(@jakarta.annotation.Nonnull V1alpha3DeviceTaintRule body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation) throws ApiException { - okhttp3.Call localVarCall = createDeviceTaintRuleValidateBeforeCall(body, pretty, dryRun, fieldManager, fieldValidation, null); - Type localVarReturnType = new TypeToken(){}.getType(); + private ApiResponse deleteCollectionDeviceTaintRuleWithHttpInfo(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable V1DeleteOptions body) throws ApiException { + okhttp3.Call localVarCall = deleteCollectionDeviceTaintRuleValidateBeforeCall(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, null); + Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } - private okhttp3.Call createDeviceTaintRuleAsync(@jakarta.annotation.Nonnull V1alpha3DeviceTaintRule body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + private okhttp3.Call deleteCollectionDeviceTaintRuleAsync(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = createDeviceTaintRuleValidateBeforeCall(body, pretty, dryRun, fieldManager, fieldValidation, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); + okhttp3.Call localVarCall = deleteCollectionDeviceTaintRuleValidateBeforeCall(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } - public class APIcreateDeviceTaintRuleRequest { - @jakarta.annotation.Nonnull - private final V1alpha3DeviceTaintRule body; + public class APIdeleteCollectionDeviceTaintRuleRequest { @jakarta.annotation.Nullable private String pretty; @jakarta.annotation.Nullable + private String _continue; + @jakarta.annotation.Nullable private String dryRun; @jakarta.annotation.Nullable - private String fieldManager; + private String fieldSelector; @jakarta.annotation.Nullable - private String fieldValidation; + private Integer gracePeriodSeconds; + @jakarta.annotation.Nullable + private Boolean ignoreStoreReadErrorWithClusterBreakingPotential; + @jakarta.annotation.Nullable + private String labelSelector; + @jakarta.annotation.Nullable + private Integer limit; + @jakarta.annotation.Nullable + private Boolean orphanDependents; + @jakarta.annotation.Nullable + private String propagationPolicy; + @jakarta.annotation.Nullable + private String resourceVersion; + @jakarta.annotation.Nullable + private String resourceVersionMatch; + @jakarta.annotation.Nullable + private Boolean sendInitialEvents; + @jakarta.annotation.Nullable + private Integer timeoutSeconds; + @jakarta.annotation.Nullable + private V1DeleteOptions body; - private APIcreateDeviceTaintRuleRequest(@jakarta.annotation.Nonnull V1alpha3DeviceTaintRule body) { - this.body = body; + private APIdeleteCollectionDeviceTaintRuleRequest() { } /** * Set pretty * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIcreateDeviceTaintRuleRequest + * @return APIdeleteCollectionDeviceTaintRuleRequest */ - public APIcreateDeviceTaintRuleRequest pretty(@jakarta.annotation.Nullable String pretty) { + public APIdeleteCollectionDeviceTaintRuleRequest pretty(@jakarta.annotation.Nullable String pretty) { this.pretty = pretty; return this; } + /** + * Set _continue + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @return APIdeleteCollectionDeviceTaintRuleRequest + */ + public APIdeleteCollectionDeviceTaintRuleRequest _continue(@jakarta.annotation.Nullable String _continue) { + this._continue = _continue; + return this; + } + /** * Set dryRun * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) - * @return APIcreateDeviceTaintRuleRequest + * @return APIdeleteCollectionDeviceTaintRuleRequest */ - public APIcreateDeviceTaintRuleRequest dryRun(@jakarta.annotation.Nullable String dryRun) { + public APIdeleteCollectionDeviceTaintRuleRequest dryRun(@jakarta.annotation.Nullable String dryRun) { this.dryRun = dryRun; return this; } /** - * Set fieldManager - * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) - * @return APIcreateDeviceTaintRuleRequest + * Set fieldSelector + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @return APIdeleteCollectionDeviceTaintRuleRequest */ - public APIcreateDeviceTaintRuleRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { - this.fieldManager = fieldManager; + public APIdeleteCollectionDeviceTaintRuleRequest fieldSelector(@jakarta.annotation.Nullable String fieldSelector) { + this.fieldSelector = fieldSelector; return this; } /** - * Set fieldValidation - * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) - * @return APIcreateDeviceTaintRuleRequest + * Set gracePeriodSeconds + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @return APIdeleteCollectionDeviceTaintRuleRequest */ - public APIcreateDeviceTaintRuleRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { - this.fieldValidation = fieldValidation; + public APIdeleteCollectionDeviceTaintRuleRequest gracePeriodSeconds(@jakarta.annotation.Nullable Integer gracePeriodSeconds) { + this.gracePeriodSeconds = gracePeriodSeconds; return this; } /** - * Build call for createDeviceTaintRule - * @param _callback ApiCallback API callback - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
202 Accepted -
401 Unauthorized -
+ * Set ignoreStoreReadErrorWithClusterBreakingPotential + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + * @return APIdeleteCollectionDeviceTaintRuleRequest */ - public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return createDeviceTaintRuleCall(body, pretty, dryRun, fieldManager, fieldValidation, _callback); + public APIdeleteCollectionDeviceTaintRuleRequest ignoreStoreReadErrorWithClusterBreakingPotential(@jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential) { + this.ignoreStoreReadErrorWithClusterBreakingPotential = ignoreStoreReadErrorWithClusterBreakingPotential; + return this; } /** - * Execute createDeviceTaintRule request - * @return V1alpha3DeviceTaintRule - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
202 Accepted -
401 Unauthorized -
+ * Set labelSelector + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @return APIdeleteCollectionDeviceTaintRuleRequest */ - public V1alpha3DeviceTaintRule execute() throws ApiException { - ApiResponse localVarResp = createDeviceTaintRuleWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation); - return localVarResp.getData(); + public APIdeleteCollectionDeviceTaintRuleRequest labelSelector(@jakarta.annotation.Nullable String labelSelector) { + this.labelSelector = labelSelector; + return this; } /** - * Execute createDeviceTaintRule request with HTTP info returned - * @return ApiResponse<V1alpha3DeviceTaintRule> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
202 Accepted -
401 Unauthorized -
+ * Set limit + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @return APIdeleteCollectionDeviceTaintRuleRequest */ - public ApiResponse executeWithHttpInfo() throws ApiException { - return createDeviceTaintRuleWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation); + public APIdeleteCollectionDeviceTaintRuleRequest limit(@jakarta.annotation.Nullable Integer limit) { + this.limit = limit; + return this; } /** - * Execute createDeviceTaintRule request (asynchronously) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
202 Accepted -
401 Unauthorized -
+ * Set orphanDependents + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @return APIdeleteCollectionDeviceTaintRuleRequest */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return createDeviceTaintRuleAsync(body, pretty, dryRun, fieldManager, fieldValidation, _callback); - } - } - - /** - * - * create a DeviceTaintRule - * @param body (required) - * @return APIcreateDeviceTaintRuleRequest - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
202 Accepted -
401 Unauthorized -
- */ - public APIcreateDeviceTaintRuleRequest createDeviceTaintRule(@jakarta.annotation.Nonnull V1alpha3DeviceTaintRule body) { - return new APIcreateDeviceTaintRuleRequest(body); - } - private okhttp3.Call createNamespacedResourceClaimCall(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1alpha3ResourceClaim body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = body; - - // create path and map variables - String localVarPath = "/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims" - .replace("{" + "namespace" + "}", localVarApiClient.escapeString(namespace.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (pretty != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); - } - - if (dryRun != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("dryRun", dryRun)); - } - - if (fieldManager != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldManager", fieldManager)); - } - - if (fieldValidation != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldValidation", fieldValidation)); - } - - final String[] localVarAccepts = { - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/cbor" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "BearerToken" }; - return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call createNamespacedResourceClaimValidateBeforeCall(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1alpha3ResourceClaim body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'namespace' is set - if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling createNamespacedResourceClaim(Async)"); + public APIdeleteCollectionDeviceTaintRuleRequest orphanDependents(@jakarta.annotation.Nullable Boolean orphanDependents) { + this.orphanDependents = orphanDependents; + return this; } - // verify the required parameter 'body' is set - if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling createNamespacedResourceClaim(Async)"); + /** + * Set propagationPolicy + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) + * @return APIdeleteCollectionDeviceTaintRuleRequest + */ + public APIdeleteCollectionDeviceTaintRuleRequest propagationPolicy(@jakarta.annotation.Nullable String propagationPolicy) { + this.propagationPolicy = propagationPolicy; + return this; } - return createNamespacedResourceClaimCall(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _callback); - - } - - - private ApiResponse createNamespacedResourceClaimWithHttpInfo(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1alpha3ResourceClaim body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation) throws ApiException { - okhttp3.Call localVarCall = createNamespacedResourceClaimValidateBeforeCall(namespace, body, pretty, dryRun, fieldManager, fieldValidation, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - private okhttp3.Call createNamespacedResourceClaimAsync(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1alpha3ResourceClaim body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = createNamespacedResourceClaimValidateBeforeCall(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - - public class APIcreateNamespacedResourceClaimRequest { - @jakarta.annotation.Nonnull - private final String namespace; - @jakarta.annotation.Nonnull - private final V1alpha3ResourceClaim body; - @jakarta.annotation.Nullable - private String pretty; - @jakarta.annotation.Nullable - private String dryRun; - @jakarta.annotation.Nullable - private String fieldManager; - @jakarta.annotation.Nullable - private String fieldValidation; - - private APIcreateNamespacedResourceClaimRequest(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1alpha3ResourceClaim body) { - this.namespace = namespace; - this.body = body; + /** + * Set resourceVersion + * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + * @return APIdeleteCollectionDeviceTaintRuleRequest + */ + public APIdeleteCollectionDeviceTaintRuleRequest resourceVersion(@jakarta.annotation.Nullable String resourceVersion) { + this.resourceVersion = resourceVersion; + return this; } /** - * Set pretty - * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIcreateNamespacedResourceClaimRequest + * Set resourceVersionMatch + * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + * @return APIdeleteCollectionDeviceTaintRuleRequest */ - public APIcreateNamespacedResourceClaimRequest pretty(@jakarta.annotation.Nullable String pretty) { - this.pretty = pretty; + public APIdeleteCollectionDeviceTaintRuleRequest resourceVersionMatch(@jakarta.annotation.Nullable String resourceVersionMatch) { + this.resourceVersionMatch = resourceVersionMatch; return this; } /** - * Set dryRun - * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) - * @return APIcreateNamespacedResourceClaimRequest + * Set sendInitialEvents + * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) + * @return APIdeleteCollectionDeviceTaintRuleRequest */ - public APIcreateNamespacedResourceClaimRequest dryRun(@jakarta.annotation.Nullable String dryRun) { - this.dryRun = dryRun; + public APIdeleteCollectionDeviceTaintRuleRequest sendInitialEvents(@jakarta.annotation.Nullable Boolean sendInitialEvents) { + this.sendInitialEvents = sendInitialEvents; return this; } /** - * Set fieldManager - * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) - * @return APIcreateNamespacedResourceClaimRequest + * Set timeoutSeconds + * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) + * @return APIdeleteCollectionDeviceTaintRuleRequest */ - public APIcreateNamespacedResourceClaimRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { - this.fieldManager = fieldManager; + public APIdeleteCollectionDeviceTaintRuleRequest timeoutSeconds(@jakarta.annotation.Nullable Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; return this; } /** - * Set fieldValidation - * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) - * @return APIcreateNamespacedResourceClaimRequest + * Set body + * @param body (optional) + * @return APIdeleteCollectionDeviceTaintRuleRequest */ - public APIcreateNamespacedResourceClaimRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { - this.fieldValidation = fieldValidation; + public APIdeleteCollectionDeviceTaintRuleRequest body(@jakarta.annotation.Nullable V1DeleteOptions body) { + this.body = body; return this; } /** - * Build call for createNamespacedResourceClaim + * Build call for deleteCollectionDeviceTaintRule * @param _callback ApiCallback API callback * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -729,54 +637,48 @@ public APIcreateNamespacedResourceClaimRequest fieldValidation(@jakarta.annotati Response Details Status Code Description Response Headers 200 OK - - 201 Created - - 202 Accepted - 401 Unauthorized - */ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return createNamespacedResourceClaimCall(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _callback); + return deleteCollectionDeviceTaintRuleCall(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _callback); } /** - * Execute createNamespacedResourceClaim request - * @return V1alpha3ResourceClaim + * Execute deleteCollectionDeviceTaintRule request + * @return V1Status * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details - -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
202 Accepted -
401 Unauthorized -
*/ - public V1alpha3ResourceClaim execute() throws ApiException { - ApiResponse localVarResp = createNamespacedResourceClaimWithHttpInfo(namespace, body, pretty, dryRun, fieldManager, fieldValidation); + public V1Status execute() throws ApiException { + ApiResponse localVarResp = deleteCollectionDeviceTaintRuleWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body); return localVarResp.getData(); } /** - * Execute createNamespacedResourceClaim request with HTTP info returned - * @return ApiResponse<V1alpha3ResourceClaim> + * Execute deleteCollectionDeviceTaintRule request with HTTP info returned + * @return ApiResponse<V1Status> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details - -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
202 Accepted -
401 Unauthorized -
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return createNamespacedResourceClaimWithHttpInfo(namespace, body, pretty, dryRun, fieldManager, fieldValidation); + public ApiResponse executeWithHttpInfo() throws ApiException { + return deleteCollectionDeviceTaintRuleWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body); } /** - * Execute createNamespacedResourceClaim request (asynchronously) + * Execute deleteCollectionDeviceTaintRule request (asynchronously) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -785,36 +687,30 @@ public ApiResponse executeWithHttpInfo() throws ApiExcept Response Details Status Code Description Response Headers 200 OK - - 201 Created - - 202 Accepted - 401 Unauthorized - */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return createNamespacedResourceClaimAsync(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _callback); + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return deleteCollectionDeviceTaintRuleAsync(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _callback); } } /** - * - * create a ResourceClaim - * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) - * @return APIcreateNamespacedResourceClaimRequest + * + * delete collection of DeviceTaintRule + * @return APIdeleteCollectionDeviceTaintRuleRequest * @http.response.details - -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
202 Accepted -
401 Unauthorized -
*/ - public APIcreateNamespacedResourceClaimRequest createNamespacedResourceClaim(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1alpha3ResourceClaim body) { - return new APIcreateNamespacedResourceClaimRequest(namespace, body); + public APIdeleteCollectionDeviceTaintRuleRequest deleteCollectionDeviceTaintRule() { + return new APIdeleteCollectionDeviceTaintRuleRequest(); } - private okhttp3.Call createNamespacedResourceClaimTemplateCall(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1alpha3ResourceClaimTemplate body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + private okhttp3.Call deleteDeviceTaintRuleCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -831,8 +727,8 @@ private okhttp3.Call createNamespacedResourceClaimTemplateCall(@jakarta.annotati Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates" - .replace("{" + "namespace" + "}", localVarApiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/resource.k8s.io/v1alpha3/devicetaintrules/{name}" + .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -848,12 +744,20 @@ private okhttp3.Call createNamespacedResourceClaimTemplateCall(@jakarta.annotati localVarQueryParams.addAll(localVarApiClient.parameterToPair("dryRun", dryRun)); } - if (fieldManager != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldManager", fieldManager)); + if (gracePeriodSeconds != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("gracePeriodSeconds", gracePeriodSeconds)); } - if (fieldValidation != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldValidation", fieldValidation)); + if (ignoreStoreReadErrorWithClusterBreakingPotential != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("ignoreStoreReadErrorWithClusterBreakingPotential", ignoreStoreReadErrorWithClusterBreakingPotential)); + } + + if (orphanDependents != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("orphanDependents", orphanDependents)); + } + + if (propagationPolicy != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("propagationPolicy", propagationPolicy)); } final String[] localVarAccepts = { @@ -876,65 +780,63 @@ private okhttp3.Call createNamespacedResourceClaimTemplateCall(@jakarta.annotati } String[] localVarAuthNames = new String[] { "BearerToken" }; - return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @SuppressWarnings("rawtypes") - private okhttp3.Call createNamespacedResourceClaimTemplateValidateBeforeCall(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1alpha3ResourceClaimTemplate body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'namespace' is set - if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling createNamespacedResourceClaimTemplate(Async)"); - } - - // verify the required parameter 'body' is set - if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling createNamespacedResourceClaimTemplate(Async)"); + private okhttp3.Call deleteDeviceTaintRuleValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling deleteDeviceTaintRule(Async)"); } - return createNamespacedResourceClaimTemplateCall(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _callback); + return deleteDeviceTaintRuleCall(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); } - private ApiResponse createNamespacedResourceClaimTemplateWithHttpInfo(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1alpha3ResourceClaimTemplate body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation) throws ApiException { - okhttp3.Call localVarCall = createNamespacedResourceClaimTemplateValidateBeforeCall(namespace, body, pretty, dryRun, fieldManager, fieldValidation, null); - Type localVarReturnType = new TypeToken(){}.getType(); + private ApiResponse deleteDeviceTaintRuleWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body) throws ApiException { + okhttp3.Call localVarCall = deleteDeviceTaintRuleValidateBeforeCall(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, null); + Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } - private okhttp3.Call createNamespacedResourceClaimTemplateAsync(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1alpha3ResourceClaimTemplate body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + private okhttp3.Call deleteDeviceTaintRuleAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = createNamespacedResourceClaimTemplateValidateBeforeCall(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); + okhttp3.Call localVarCall = deleteDeviceTaintRuleValidateBeforeCall(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } - public class APIcreateNamespacedResourceClaimTemplateRequest { - @jakarta.annotation.Nonnull - private final String namespace; + public class APIdeleteDeviceTaintRuleRequest { @jakarta.annotation.Nonnull - private final V1alpha3ResourceClaimTemplate body; + private final String name; @jakarta.annotation.Nullable private String pretty; @jakarta.annotation.Nullable private String dryRun; @jakarta.annotation.Nullable - private String fieldManager; + private Integer gracePeriodSeconds; @jakarta.annotation.Nullable - private String fieldValidation; + private Boolean ignoreStoreReadErrorWithClusterBreakingPotential; + @jakarta.annotation.Nullable + private Boolean orphanDependents; + @jakarta.annotation.Nullable + private String propagationPolicy; + @jakarta.annotation.Nullable + private V1DeleteOptions body; - private APIcreateNamespacedResourceClaimTemplateRequest(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1alpha3ResourceClaimTemplate body) { - this.namespace = namespace; - this.body = body; + private APIdeleteDeviceTaintRuleRequest(@jakarta.annotation.Nonnull String name) { + this.name = name; } /** * Set pretty * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIcreateNamespacedResourceClaimTemplateRequest + * @return APIdeleteDeviceTaintRuleRequest */ - public APIcreateNamespacedResourceClaimTemplateRequest pretty(@jakarta.annotation.Nullable String pretty) { + public APIdeleteDeviceTaintRuleRequest pretty(@jakarta.annotation.Nullable String pretty) { this.pretty = pretty; return this; } @@ -942,35 +844,65 @@ public APIcreateNamespacedResourceClaimTemplateRequest pretty(@jakarta.annotatio /** * Set dryRun * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) - * @return APIcreateNamespacedResourceClaimTemplateRequest + * @return APIdeleteDeviceTaintRuleRequest */ - public APIcreateNamespacedResourceClaimTemplateRequest dryRun(@jakarta.annotation.Nullable String dryRun) { + public APIdeleteDeviceTaintRuleRequest dryRun(@jakarta.annotation.Nullable String dryRun) { this.dryRun = dryRun; return this; } /** - * Set fieldManager - * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) - * @return APIcreateNamespacedResourceClaimTemplateRequest - */ - public APIcreateNamespacedResourceClaimTemplateRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { - this.fieldManager = fieldManager; + * Set gracePeriodSeconds + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @return APIdeleteDeviceTaintRuleRequest + */ + public APIdeleteDeviceTaintRuleRequest gracePeriodSeconds(@jakarta.annotation.Nullable Integer gracePeriodSeconds) { + this.gracePeriodSeconds = gracePeriodSeconds; return this; } /** - * Set fieldValidation - * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) - * @return APIcreateNamespacedResourceClaimTemplateRequest + * Set ignoreStoreReadErrorWithClusterBreakingPotential + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + * @return APIdeleteDeviceTaintRuleRequest */ - public APIcreateNamespacedResourceClaimTemplateRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { - this.fieldValidation = fieldValidation; + public APIdeleteDeviceTaintRuleRequest ignoreStoreReadErrorWithClusterBreakingPotential(@jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential) { + this.ignoreStoreReadErrorWithClusterBreakingPotential = ignoreStoreReadErrorWithClusterBreakingPotential; + return this; + } + + /** + * Set orphanDependents + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @return APIdeleteDeviceTaintRuleRequest + */ + public APIdeleteDeviceTaintRuleRequest orphanDependents(@jakarta.annotation.Nullable Boolean orphanDependents) { + this.orphanDependents = orphanDependents; + return this; + } + + /** + * Set propagationPolicy + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) + * @return APIdeleteDeviceTaintRuleRequest + */ + public APIdeleteDeviceTaintRuleRequest propagationPolicy(@jakarta.annotation.Nullable String propagationPolicy) { + this.propagationPolicy = propagationPolicy; + return this; + } + + /** + * Set body + * @param body (optional) + * @return APIdeleteDeviceTaintRuleRequest + */ + public APIdeleteDeviceTaintRuleRequest body(@jakarta.annotation.Nullable V1DeleteOptions body) { + this.body = body; return this; } /** - * Build call for createNamespacedResourceClaimTemplate + * Build call for deleteDeviceTaintRule * @param _callback ApiCallback API callback * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -979,54 +911,51 @@ public APIcreateNamespacedResourceClaimTemplateRequest fieldValidation(@jakarta. Response Details Status Code Description Response Headers 200 OK - - 201 Created - 202 Accepted - 401 Unauthorized - */ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return createNamespacedResourceClaimTemplateCall(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _callback); + return deleteDeviceTaintRuleCall(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); } /** - * Execute createNamespacedResourceClaimTemplate request - * @return V1alpha3ResourceClaimTemplate + * Execute deleteDeviceTaintRule request + * @return V1alpha3DeviceTaintRule * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
202 Accepted -
401 Unauthorized -
*/ - public V1alpha3ResourceClaimTemplate execute() throws ApiException { - ApiResponse localVarResp = createNamespacedResourceClaimTemplateWithHttpInfo(namespace, body, pretty, dryRun, fieldManager, fieldValidation); + public V1alpha3DeviceTaintRule execute() throws ApiException { + ApiResponse localVarResp = deleteDeviceTaintRuleWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body); return localVarResp.getData(); } /** - * Execute createNamespacedResourceClaimTemplate request with HTTP info returned - * @return ApiResponse<V1alpha3ResourceClaimTemplate> + * Execute deleteDeviceTaintRule request with HTTP info returned + * @return ApiResponse<V1alpha3DeviceTaintRule> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
202 Accepted -
401 Unauthorized -
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return createNamespacedResourceClaimTemplateWithHttpInfo(namespace, body, pretty, dryRun, fieldManager, fieldValidation); + public ApiResponse executeWithHttpInfo() throws ApiException { + return deleteDeviceTaintRuleWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body); } /** - * Execute createNamespacedResourceClaimTemplate request (asynchronously) + * Execute deleteDeviceTaintRule request (asynchronously) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -1035,36 +964,33 @@ public ApiResponse executeWithHttpInfo() throws A Response Details Status Code Description Response Headers 200 OK - - 201 Created - 202 Accepted - 401 Unauthorized - */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return createNamespacedResourceClaimTemplateAsync(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _callback); + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return deleteDeviceTaintRuleAsync(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); } } /** - * - * create a ResourceClaimTemplate - * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) - * @return APIcreateNamespacedResourceClaimTemplateRequest + * + * delete a DeviceTaintRule + * @param name name of the DeviceTaintRule (required) + * @return APIdeleteDeviceTaintRuleRequest * @http.response.details -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
202 Accepted -
401 Unauthorized -
*/ - public APIcreateNamespacedResourceClaimTemplateRequest createNamespacedResourceClaimTemplate(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1alpha3ResourceClaimTemplate body) { - return new APIcreateNamespacedResourceClaimTemplateRequest(namespace, body); + public APIdeleteDeviceTaintRuleRequest deleteDeviceTaintRule(@jakarta.annotation.Nonnull String name) { + return new APIdeleteDeviceTaintRuleRequest(name); } - private okhttp3.Call createResourceSliceCall(@jakarta.annotation.Nonnull V1alpha3ResourceSlice body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getAPIResourcesCall(final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -1078,10 +1004,10 @@ private okhttp3.Call createResourceSliceCall(@jakarta.annotation.Nonnull V1alpha basePath = null; } - Object localVarPostBody = body; + Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/resource.k8s.io/v1alpha3/resourceslices"; + String localVarPath = "/apis/resource.k8s.io/v1alpha3/"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -1089,22 +1015,6 @@ private okhttp3.Call createResourceSliceCall(@jakarta.annotation.Nonnull V1alpha Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); - if (pretty != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); - } - - if (dryRun != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("dryRun", dryRun)); - } - - if (fieldManager != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldManager", fieldManager)); - } - - if (fieldValidation != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldValidation", fieldValidation)); - } - final String[] localVarAccepts = { "application/json", "application/yaml", @@ -1117,7 +1027,6 @@ private okhttp3.Call createResourceSliceCall(@jakarta.annotation.Nonnull V1alpha } final String[] localVarContentTypes = { - "application/json" }; final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); if (localVarContentType != null) { @@ -1125,93 +1034,37 @@ private okhttp3.Call createResourceSliceCall(@jakarta.annotation.Nonnull V1alpha } String[] localVarAuthNames = new String[] { "BearerToken" }; - return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @SuppressWarnings("rawtypes") - private okhttp3.Call createResourceSliceValidateBeforeCall(@jakarta.annotation.Nonnull V1alpha3ResourceSlice body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'body' is set - if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling createResourceSlice(Async)"); - } - - return createResourceSliceCall(body, pretty, dryRun, fieldManager, fieldValidation, _callback); + private okhttp3.Call getAPIResourcesValidateBeforeCall(final ApiCallback _callback) throws ApiException { + return getAPIResourcesCall(_callback); } - private ApiResponse createResourceSliceWithHttpInfo(@jakarta.annotation.Nonnull V1alpha3ResourceSlice body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation) throws ApiException { - okhttp3.Call localVarCall = createResourceSliceValidateBeforeCall(body, pretty, dryRun, fieldManager, fieldValidation, null); - Type localVarReturnType = new TypeToken(){}.getType(); + private ApiResponse getAPIResourcesWithHttpInfo() throws ApiException { + okhttp3.Call localVarCall = getAPIResourcesValidateBeforeCall(null); + Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } - private okhttp3.Call createResourceSliceAsync(@jakarta.annotation.Nonnull V1alpha3ResourceSlice body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getAPIResourcesAsync(final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = createResourceSliceValidateBeforeCall(body, pretty, dryRun, fieldManager, fieldValidation, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); + okhttp3.Call localVarCall = getAPIResourcesValidateBeforeCall(_callback); + Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } - public class APIcreateResourceSliceRequest { - @jakarta.annotation.Nonnull - private final V1alpha3ResourceSlice body; - @jakarta.annotation.Nullable - private String pretty; - @jakarta.annotation.Nullable - private String dryRun; - @jakarta.annotation.Nullable - private String fieldManager; - @jakarta.annotation.Nullable - private String fieldValidation; - - private APIcreateResourceSliceRequest(@jakarta.annotation.Nonnull V1alpha3ResourceSlice body) { - this.body = body; - } - - /** - * Set pretty - * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIcreateResourceSliceRequest - */ - public APIcreateResourceSliceRequest pretty(@jakarta.annotation.Nullable String pretty) { - this.pretty = pretty; - return this; - } - - /** - * Set dryRun - * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) - * @return APIcreateResourceSliceRequest - */ - public APIcreateResourceSliceRequest dryRun(@jakarta.annotation.Nullable String dryRun) { - this.dryRun = dryRun; - return this; - } - - /** - * Set fieldManager - * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) - * @return APIcreateResourceSliceRequest - */ - public APIcreateResourceSliceRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { - this.fieldManager = fieldManager; - return this; - } + public class APIgetAPIResourcesRequest { - /** - * Set fieldValidation - * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) - * @return APIcreateResourceSliceRequest - */ - public APIcreateResourceSliceRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { - this.fieldValidation = fieldValidation; - return this; + private APIgetAPIResourcesRequest() { } /** - * Build call for createResourceSlice + * Build call for getAPIResources * @param _callback ApiCallback API callback * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -1220,54 +1073,48 @@ public APIcreateResourceSliceRequest fieldValidation(@jakarta.annotation.Nullabl Response Details Status Code Description Response Headers 200 OK - - 201 Created - - 202 Accepted - 401 Unauthorized - */ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return createResourceSliceCall(body, pretty, dryRun, fieldManager, fieldValidation, _callback); + return getAPIResourcesCall(_callback); } /** - * Execute createResourceSlice request - * @return V1alpha3ResourceSlice + * Execute getAPIResources request + * @return V1APIResourceList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details - -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
202 Accepted -
401 Unauthorized -
*/ - public V1alpha3ResourceSlice execute() throws ApiException { - ApiResponse localVarResp = createResourceSliceWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation); + public V1APIResourceList execute() throws ApiException { + ApiResponse localVarResp = getAPIResourcesWithHttpInfo(); return localVarResp.getData(); } /** - * Execute createResourceSlice request with HTTP info returned - * @return ApiResponse<V1alpha3ResourceSlice> + * Execute getAPIResources request with HTTP info returned + * @return ApiResponse<V1APIResourceList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details - -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
202 Accepted -
401 Unauthorized -
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return createResourceSliceWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation); + public ApiResponse executeWithHttpInfo() throws ApiException { + return getAPIResourcesWithHttpInfo(); } /** - * Execute createResourceSlice request (asynchronously) + * Execute getAPIResources request (asynchronously) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -1276,35 +1123,30 @@ public ApiResponse executeWithHttpInfo() throws ApiExcept Response Details Status Code Description Response Headers 200 OK - - 201 Created - - 202 Accepted - 401 Unauthorized - */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return createResourceSliceAsync(body, pretty, dryRun, fieldManager, fieldValidation, _callback); + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return getAPIResourcesAsync(_callback); } } /** - * - * create a ResourceSlice - * @param body (required) - * @return APIcreateResourceSliceRequest + * + * get available resources + * @return APIgetAPIResourcesRequest * @http.response.details - -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
202 Accepted -
401 Unauthorized -
*/ - public APIcreateResourceSliceRequest createResourceSlice(@jakarta.annotation.Nonnull V1alpha3ResourceSlice body) { - return new APIcreateResourceSliceRequest(body); + public APIgetAPIResourcesRequest getAPIResources() { + return new APIgetAPIResourcesRequest(); } - private okhttp3.Call deleteCollectionDeviceClassCall(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { + private okhttp3.Call listDeviceTaintRuleCall(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -1318,10 +1160,10 @@ private okhttp3.Call deleteCollectionDeviceClassCall(@jakarta.annotation.Nullabl basePath = null; } - Object localVarPostBody = body; + Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/resource.k8s.io/v1alpha3/deviceclasses"; + String localVarPath = "/apis/resource.k8s.io/v1alpha3/devicetaintrules"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -1333,26 +1175,18 @@ private okhttp3.Call deleteCollectionDeviceClassCall(@jakarta.annotation.Nullabl localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); } - if (_continue != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("continue", _continue)); + if (allowWatchBookmarks != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("allowWatchBookmarks", allowWatchBookmarks)); } - if (dryRun != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("dryRun", dryRun)); + if (_continue != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("continue", _continue)); } if (fieldSelector != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldSelector", fieldSelector)); } - if (gracePeriodSeconds != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("gracePeriodSeconds", gracePeriodSeconds)); - } - - if (ignoreStoreReadErrorWithClusterBreakingPotential != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("ignoreStoreReadErrorWithClusterBreakingPotential", ignoreStoreReadErrorWithClusterBreakingPotential)); - } - if (labelSelector != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("labelSelector", labelSelector)); } @@ -1361,14 +1195,6 @@ private okhttp3.Call deleteCollectionDeviceClassCall(@jakarta.annotation.Nullabl localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); } - if (orphanDependents != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("orphanDependents", orphanDependents)); - } - - if (propagationPolicy != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("propagationPolicy", propagationPolicy)); - } - if (resourceVersion != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("resourceVersion", resourceVersion)); } @@ -1385,11 +1211,18 @@ private okhttp3.Call deleteCollectionDeviceClassCall(@jakarta.annotation.Nullabl localVarQueryParams.addAll(localVarApiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); } + if (watch != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("watch", watch)); + } + final String[] localVarAccepts = { "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", - "application/cbor" + "application/cbor", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" }; final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) { @@ -1397,7 +1230,6 @@ private okhttp3.Call deleteCollectionDeviceClassCall(@jakarta.annotation.Nullabl } final String[] localVarContentTypes = { - "application/json" }; final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); if (localVarContentType != null) { @@ -1405,52 +1237,44 @@ private okhttp3.Call deleteCollectionDeviceClassCall(@jakarta.annotation.Nullabl } String[] localVarAuthNames = new String[] { "BearerToken" }; - return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @SuppressWarnings("rawtypes") - private okhttp3.Call deleteCollectionDeviceClassValidateBeforeCall(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { - return deleteCollectionDeviceClassCall(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _callback); + private okhttp3.Call listDeviceTaintRuleValidateBeforeCall(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { + return listDeviceTaintRuleCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); } - private ApiResponse deleteCollectionDeviceClassWithHttpInfo(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable V1DeleteOptions body) throws ApiException { - okhttp3.Call localVarCall = deleteCollectionDeviceClassValidateBeforeCall(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, null); - Type localVarReturnType = new TypeToken(){}.getType(); + private ApiResponse listDeviceTaintRuleWithHttpInfo(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch) throws ApiException { + okhttp3.Call localVarCall = listDeviceTaintRuleValidateBeforeCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, null); + Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } - private okhttp3.Call deleteCollectionDeviceClassAsync(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { + private okhttp3.Call listDeviceTaintRuleAsync(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = deleteCollectionDeviceClassValidateBeforeCall(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); + okhttp3.Call localVarCall = listDeviceTaintRuleValidateBeforeCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } - public class APIdeleteCollectionDeviceClassRequest { + public class APIlistDeviceTaintRuleRequest { @jakarta.annotation.Nullable private String pretty; @jakarta.annotation.Nullable - private String _continue; + private Boolean allowWatchBookmarks; @jakarta.annotation.Nullable - private String dryRun; + private String _continue; @jakarta.annotation.Nullable private String fieldSelector; @jakarta.annotation.Nullable - private Integer gracePeriodSeconds; - @jakarta.annotation.Nullable - private Boolean ignoreStoreReadErrorWithClusterBreakingPotential; - @jakarta.annotation.Nullable private String labelSelector; @jakarta.annotation.Nullable private Integer limit; @jakarta.annotation.Nullable - private Boolean orphanDependents; - @jakarta.annotation.Nullable - private String propagationPolicy; - @jakarta.annotation.Nullable private String resourceVersion; @jakarta.annotation.Nullable private String resourceVersionMatch; @@ -1459,77 +1283,57 @@ public class APIdeleteCollectionDeviceClassRequest { @jakarta.annotation.Nullable private Integer timeoutSeconds; @jakarta.annotation.Nullable - private V1DeleteOptions body; + private Boolean watch; - private APIdeleteCollectionDeviceClassRequest() { + private APIlistDeviceTaintRuleRequest() { } /** * Set pretty * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIdeleteCollectionDeviceClassRequest + * @return APIlistDeviceTaintRuleRequest */ - public APIdeleteCollectionDeviceClassRequest pretty(@jakarta.annotation.Nullable String pretty) { + public APIlistDeviceTaintRuleRequest pretty(@jakarta.annotation.Nullable String pretty) { this.pretty = pretty; return this; } + /** + * Set allowWatchBookmarks + * @param allowWatchBookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) + * @return APIlistDeviceTaintRuleRequest + */ + public APIlistDeviceTaintRuleRequest allowWatchBookmarks(@jakarta.annotation.Nullable Boolean allowWatchBookmarks) { + this.allowWatchBookmarks = allowWatchBookmarks; + return this; + } + /** * Set _continue * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) - * @return APIdeleteCollectionDeviceClassRequest + * @return APIlistDeviceTaintRuleRequest */ - public APIdeleteCollectionDeviceClassRequest _continue(@jakarta.annotation.Nullable String _continue) { + public APIlistDeviceTaintRuleRequest _continue(@jakarta.annotation.Nullable String _continue) { this._continue = _continue; return this; } - /** - * Set dryRun - * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) - * @return APIdeleteCollectionDeviceClassRequest - */ - public APIdeleteCollectionDeviceClassRequest dryRun(@jakarta.annotation.Nullable String dryRun) { - this.dryRun = dryRun; - return this; - } - /** * Set fieldSelector * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @return APIdeleteCollectionDeviceClassRequest + * @return APIlistDeviceTaintRuleRequest */ - public APIdeleteCollectionDeviceClassRequest fieldSelector(@jakarta.annotation.Nullable String fieldSelector) { + public APIlistDeviceTaintRuleRequest fieldSelector(@jakarta.annotation.Nullable String fieldSelector) { this.fieldSelector = fieldSelector; return this; } - /** - * Set gracePeriodSeconds - * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) - * @return APIdeleteCollectionDeviceClassRequest - */ - public APIdeleteCollectionDeviceClassRequest gracePeriodSeconds(@jakarta.annotation.Nullable Integer gracePeriodSeconds) { - this.gracePeriodSeconds = gracePeriodSeconds; - return this; - } - - /** - * Set ignoreStoreReadErrorWithClusterBreakingPotential - * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) - * @return APIdeleteCollectionDeviceClassRequest - */ - public APIdeleteCollectionDeviceClassRequest ignoreStoreReadErrorWithClusterBreakingPotential(@jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential) { - this.ignoreStoreReadErrorWithClusterBreakingPotential = ignoreStoreReadErrorWithClusterBreakingPotential; - return this; - } - /** * Set labelSelector * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) - * @return APIdeleteCollectionDeviceClassRequest + * @return APIlistDeviceTaintRuleRequest */ - public APIdeleteCollectionDeviceClassRequest labelSelector(@jakarta.annotation.Nullable String labelSelector) { + public APIlistDeviceTaintRuleRequest labelSelector(@jakarta.annotation.Nullable String labelSelector) { this.labelSelector = labelSelector; return this; } @@ -1537,9073 +1341,65 @@ public APIdeleteCollectionDeviceClassRequest labelSelector(@jakarta.annotation.N /** * Set limit * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) - * @return APIdeleteCollectionDeviceClassRequest + * @return APIlistDeviceTaintRuleRequest */ - public APIdeleteCollectionDeviceClassRequest limit(@jakarta.annotation.Nullable Integer limit) { + public APIlistDeviceTaintRuleRequest limit(@jakarta.annotation.Nullable Integer limit) { this.limit = limit; return this; } - /** - * Set orphanDependents - * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) - * @return APIdeleteCollectionDeviceClassRequest - */ - public APIdeleteCollectionDeviceClassRequest orphanDependents(@jakarta.annotation.Nullable Boolean orphanDependents) { - this.orphanDependents = orphanDependents; - return this; - } - - /** - * Set propagationPolicy - * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) - * @return APIdeleteCollectionDeviceClassRequest - */ - public APIdeleteCollectionDeviceClassRequest propagationPolicy(@jakarta.annotation.Nullable String propagationPolicy) { - this.propagationPolicy = propagationPolicy; - return this; - } - /** * Set resourceVersion * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) - * @return APIdeleteCollectionDeviceClassRequest + * @return APIlistDeviceTaintRuleRequest */ - public APIdeleteCollectionDeviceClassRequest resourceVersion(@jakarta.annotation.Nullable String resourceVersion) { + public APIlistDeviceTaintRuleRequest resourceVersion(@jakarta.annotation.Nullable String resourceVersion) { this.resourceVersion = resourceVersion; return this; } - /** - * Set resourceVersionMatch - * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) - * @return APIdeleteCollectionDeviceClassRequest - */ - public APIdeleteCollectionDeviceClassRequest resourceVersionMatch(@jakarta.annotation.Nullable String resourceVersionMatch) { - this.resourceVersionMatch = resourceVersionMatch; - return this; - } - - /** - * Set sendInitialEvents - * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) - * @return APIdeleteCollectionDeviceClassRequest - */ - public APIdeleteCollectionDeviceClassRequest sendInitialEvents(@jakarta.annotation.Nullable Boolean sendInitialEvents) { - this.sendInitialEvents = sendInitialEvents; - return this; - } - - /** - * Set timeoutSeconds - * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) - * @return APIdeleteCollectionDeviceClassRequest - */ - public APIdeleteCollectionDeviceClassRequest timeoutSeconds(@jakarta.annotation.Nullable Integer timeoutSeconds) { - this.timeoutSeconds = timeoutSeconds; - return this; - } - - /** - * Set body - * @param body (optional) - * @return APIdeleteCollectionDeviceClassRequest - */ - public APIdeleteCollectionDeviceClassRequest body(@jakarta.annotation.Nullable V1DeleteOptions body) { - this.body = body; - return this; - } - - /** - * Build call for deleteCollectionDeviceClass - * @param _callback ApiCallback API callback - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return deleteCollectionDeviceClassCall(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _callback); - } - - /** - * Execute deleteCollectionDeviceClass request - * @return V1Status - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public V1Status execute() throws ApiException { - ApiResponse localVarResp = deleteCollectionDeviceClassWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body); - return localVarResp.getData(); - } - - /** - * Execute deleteCollectionDeviceClass request with HTTP info returned - * @return ApiResponse<V1Status> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public ApiResponse executeWithHttpInfo() throws ApiException { - return deleteCollectionDeviceClassWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body); - } - - /** - * Execute deleteCollectionDeviceClass request (asynchronously) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return deleteCollectionDeviceClassAsync(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _callback); - } - } - - /** - * - * delete collection of DeviceClass - * @return APIdeleteCollectionDeviceClassRequest - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public APIdeleteCollectionDeviceClassRequest deleteCollectionDeviceClass() { - return new APIdeleteCollectionDeviceClassRequest(); - } - private okhttp3.Call deleteCollectionDeviceTaintRuleCall(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = body; - - // create path and map variables - String localVarPath = "/apis/resource.k8s.io/v1alpha3/devicetaintrules"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (pretty != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); - } - - if (_continue != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("continue", _continue)); - } - - if (dryRun != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("dryRun", dryRun)); - } - - if (fieldSelector != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldSelector", fieldSelector)); - } - - if (gracePeriodSeconds != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("gracePeriodSeconds", gracePeriodSeconds)); - } - - if (ignoreStoreReadErrorWithClusterBreakingPotential != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("ignoreStoreReadErrorWithClusterBreakingPotential", ignoreStoreReadErrorWithClusterBreakingPotential)); - } - - if (labelSelector != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("labelSelector", labelSelector)); - } - - if (limit != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); - } - - if (orphanDependents != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("orphanDependents", orphanDependents)); - } - - if (propagationPolicy != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("propagationPolicy", propagationPolicy)); - } - - if (resourceVersion != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("resourceVersion", resourceVersion)); - } - - if (resourceVersionMatch != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("resourceVersionMatch", resourceVersionMatch)); - } - - if (sendInitialEvents != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("sendInitialEvents", sendInitialEvents)); - } - - if (timeoutSeconds != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); - } - - final String[] localVarAccepts = { - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/cbor" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "BearerToken" }; - return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call deleteCollectionDeviceTaintRuleValidateBeforeCall(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { - return deleteCollectionDeviceTaintRuleCall(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _callback); - - } - - - private ApiResponse deleteCollectionDeviceTaintRuleWithHttpInfo(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable V1DeleteOptions body) throws ApiException { - okhttp3.Call localVarCall = deleteCollectionDeviceTaintRuleValidateBeforeCall(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - private okhttp3.Call deleteCollectionDeviceTaintRuleAsync(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = deleteCollectionDeviceTaintRuleValidateBeforeCall(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - - public class APIdeleteCollectionDeviceTaintRuleRequest { - @jakarta.annotation.Nullable - private String pretty; - @jakarta.annotation.Nullable - private String _continue; - @jakarta.annotation.Nullable - private String dryRun; - @jakarta.annotation.Nullable - private String fieldSelector; - @jakarta.annotation.Nullable - private Integer gracePeriodSeconds; - @jakarta.annotation.Nullable - private Boolean ignoreStoreReadErrorWithClusterBreakingPotential; - @jakarta.annotation.Nullable - private String labelSelector; - @jakarta.annotation.Nullable - private Integer limit; - @jakarta.annotation.Nullable - private Boolean orphanDependents; - @jakarta.annotation.Nullable - private String propagationPolicy; - @jakarta.annotation.Nullable - private String resourceVersion; - @jakarta.annotation.Nullable - private String resourceVersionMatch; - @jakarta.annotation.Nullable - private Boolean sendInitialEvents; - @jakarta.annotation.Nullable - private Integer timeoutSeconds; - @jakarta.annotation.Nullable - private V1DeleteOptions body; - - private APIdeleteCollectionDeviceTaintRuleRequest() { - } - - /** - * Set pretty - * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIdeleteCollectionDeviceTaintRuleRequest - */ - public APIdeleteCollectionDeviceTaintRuleRequest pretty(@jakarta.annotation.Nullable String pretty) { - this.pretty = pretty; - return this; - } - - /** - * Set _continue - * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) - * @return APIdeleteCollectionDeviceTaintRuleRequest - */ - public APIdeleteCollectionDeviceTaintRuleRequest _continue(@jakarta.annotation.Nullable String _continue) { - this._continue = _continue; - return this; - } - - /** - * Set dryRun - * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) - * @return APIdeleteCollectionDeviceTaintRuleRequest - */ - public APIdeleteCollectionDeviceTaintRuleRequest dryRun(@jakarta.annotation.Nullable String dryRun) { - this.dryRun = dryRun; - return this; - } - - /** - * Set fieldSelector - * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @return APIdeleteCollectionDeviceTaintRuleRequest - */ - public APIdeleteCollectionDeviceTaintRuleRequest fieldSelector(@jakarta.annotation.Nullable String fieldSelector) { - this.fieldSelector = fieldSelector; - return this; - } - - /** - * Set gracePeriodSeconds - * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) - * @return APIdeleteCollectionDeviceTaintRuleRequest - */ - public APIdeleteCollectionDeviceTaintRuleRequest gracePeriodSeconds(@jakarta.annotation.Nullable Integer gracePeriodSeconds) { - this.gracePeriodSeconds = gracePeriodSeconds; - return this; - } - - /** - * Set ignoreStoreReadErrorWithClusterBreakingPotential - * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) - * @return APIdeleteCollectionDeviceTaintRuleRequest - */ - public APIdeleteCollectionDeviceTaintRuleRequest ignoreStoreReadErrorWithClusterBreakingPotential(@jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential) { - this.ignoreStoreReadErrorWithClusterBreakingPotential = ignoreStoreReadErrorWithClusterBreakingPotential; - return this; - } - - /** - * Set labelSelector - * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) - * @return APIdeleteCollectionDeviceTaintRuleRequest - */ - public APIdeleteCollectionDeviceTaintRuleRequest labelSelector(@jakarta.annotation.Nullable String labelSelector) { - this.labelSelector = labelSelector; - return this; - } - - /** - * Set limit - * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) - * @return APIdeleteCollectionDeviceTaintRuleRequest - */ - public APIdeleteCollectionDeviceTaintRuleRequest limit(@jakarta.annotation.Nullable Integer limit) { - this.limit = limit; - return this; - } - - /** - * Set orphanDependents - * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) - * @return APIdeleteCollectionDeviceTaintRuleRequest - */ - public APIdeleteCollectionDeviceTaintRuleRequest orphanDependents(@jakarta.annotation.Nullable Boolean orphanDependents) { - this.orphanDependents = orphanDependents; - return this; - } - - /** - * Set propagationPolicy - * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) - * @return APIdeleteCollectionDeviceTaintRuleRequest - */ - public APIdeleteCollectionDeviceTaintRuleRequest propagationPolicy(@jakarta.annotation.Nullable String propagationPolicy) { - this.propagationPolicy = propagationPolicy; - return this; - } - - /** - * Set resourceVersion - * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) - * @return APIdeleteCollectionDeviceTaintRuleRequest - */ - public APIdeleteCollectionDeviceTaintRuleRequest resourceVersion(@jakarta.annotation.Nullable String resourceVersion) { - this.resourceVersion = resourceVersion; - return this; - } - - /** - * Set resourceVersionMatch - * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) - * @return APIdeleteCollectionDeviceTaintRuleRequest - */ - public APIdeleteCollectionDeviceTaintRuleRequest resourceVersionMatch(@jakarta.annotation.Nullable String resourceVersionMatch) { - this.resourceVersionMatch = resourceVersionMatch; - return this; - } - - /** - * Set sendInitialEvents - * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) - * @return APIdeleteCollectionDeviceTaintRuleRequest - */ - public APIdeleteCollectionDeviceTaintRuleRequest sendInitialEvents(@jakarta.annotation.Nullable Boolean sendInitialEvents) { - this.sendInitialEvents = sendInitialEvents; - return this; - } - - /** - * Set timeoutSeconds - * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) - * @return APIdeleteCollectionDeviceTaintRuleRequest - */ - public APIdeleteCollectionDeviceTaintRuleRequest timeoutSeconds(@jakarta.annotation.Nullable Integer timeoutSeconds) { - this.timeoutSeconds = timeoutSeconds; - return this; - } - - /** - * Set body - * @param body (optional) - * @return APIdeleteCollectionDeviceTaintRuleRequest - */ - public APIdeleteCollectionDeviceTaintRuleRequest body(@jakarta.annotation.Nullable V1DeleteOptions body) { - this.body = body; - return this; - } - - /** - * Build call for deleteCollectionDeviceTaintRule - * @param _callback ApiCallback API callback - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return deleteCollectionDeviceTaintRuleCall(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _callback); - } - - /** - * Execute deleteCollectionDeviceTaintRule request - * @return V1Status - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public V1Status execute() throws ApiException { - ApiResponse localVarResp = deleteCollectionDeviceTaintRuleWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body); - return localVarResp.getData(); - } - - /** - * Execute deleteCollectionDeviceTaintRule request with HTTP info returned - * @return ApiResponse<V1Status> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public ApiResponse executeWithHttpInfo() throws ApiException { - return deleteCollectionDeviceTaintRuleWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body); - } - - /** - * Execute deleteCollectionDeviceTaintRule request (asynchronously) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return deleteCollectionDeviceTaintRuleAsync(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _callback); - } - } - - /** - * - * delete collection of DeviceTaintRule - * @return APIdeleteCollectionDeviceTaintRuleRequest - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public APIdeleteCollectionDeviceTaintRuleRequest deleteCollectionDeviceTaintRule() { - return new APIdeleteCollectionDeviceTaintRuleRequest(); - } - private okhttp3.Call deleteCollectionNamespacedResourceClaimCall(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = body; - - // create path and map variables - String localVarPath = "/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims" - .replace("{" + "namespace" + "}", localVarApiClient.escapeString(namespace.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (pretty != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); - } - - if (_continue != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("continue", _continue)); - } - - if (dryRun != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("dryRun", dryRun)); - } - - if (fieldSelector != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldSelector", fieldSelector)); - } - - if (gracePeriodSeconds != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("gracePeriodSeconds", gracePeriodSeconds)); - } - - if (ignoreStoreReadErrorWithClusterBreakingPotential != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("ignoreStoreReadErrorWithClusterBreakingPotential", ignoreStoreReadErrorWithClusterBreakingPotential)); - } - - if (labelSelector != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("labelSelector", labelSelector)); - } - - if (limit != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); - } - - if (orphanDependents != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("orphanDependents", orphanDependents)); - } - - if (propagationPolicy != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("propagationPolicy", propagationPolicy)); - } - - if (resourceVersion != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("resourceVersion", resourceVersion)); - } - - if (resourceVersionMatch != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("resourceVersionMatch", resourceVersionMatch)); - } - - if (sendInitialEvents != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("sendInitialEvents", sendInitialEvents)); - } - - if (timeoutSeconds != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); - } - - final String[] localVarAccepts = { - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/cbor" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "BearerToken" }; - return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call deleteCollectionNamespacedResourceClaimValidateBeforeCall(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'namespace' is set - if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling deleteCollectionNamespacedResourceClaim(Async)"); - } - - return deleteCollectionNamespacedResourceClaimCall(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _callback); - - } - - - private ApiResponse deleteCollectionNamespacedResourceClaimWithHttpInfo(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable V1DeleteOptions body) throws ApiException { - okhttp3.Call localVarCall = deleteCollectionNamespacedResourceClaimValidateBeforeCall(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - private okhttp3.Call deleteCollectionNamespacedResourceClaimAsync(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = deleteCollectionNamespacedResourceClaimValidateBeforeCall(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - - public class APIdeleteCollectionNamespacedResourceClaimRequest { - @jakarta.annotation.Nonnull - private final String namespace; - @jakarta.annotation.Nullable - private String pretty; - @jakarta.annotation.Nullable - private String _continue; - @jakarta.annotation.Nullable - private String dryRun; - @jakarta.annotation.Nullable - private String fieldSelector; - @jakarta.annotation.Nullable - private Integer gracePeriodSeconds; - @jakarta.annotation.Nullable - private Boolean ignoreStoreReadErrorWithClusterBreakingPotential; - @jakarta.annotation.Nullable - private String labelSelector; - @jakarta.annotation.Nullable - private Integer limit; - @jakarta.annotation.Nullable - private Boolean orphanDependents; - @jakarta.annotation.Nullable - private String propagationPolicy; - @jakarta.annotation.Nullable - private String resourceVersion; - @jakarta.annotation.Nullable - private String resourceVersionMatch; - @jakarta.annotation.Nullable - private Boolean sendInitialEvents; - @jakarta.annotation.Nullable - private Integer timeoutSeconds; - @jakarta.annotation.Nullable - private V1DeleteOptions body; - - private APIdeleteCollectionNamespacedResourceClaimRequest(@jakarta.annotation.Nonnull String namespace) { - this.namespace = namespace; - } - - /** - * Set pretty - * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIdeleteCollectionNamespacedResourceClaimRequest - */ - public APIdeleteCollectionNamespacedResourceClaimRequest pretty(@jakarta.annotation.Nullable String pretty) { - this.pretty = pretty; - return this; - } - - /** - * Set _continue - * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) - * @return APIdeleteCollectionNamespacedResourceClaimRequest - */ - public APIdeleteCollectionNamespacedResourceClaimRequest _continue(@jakarta.annotation.Nullable String _continue) { - this._continue = _continue; - return this; - } - - /** - * Set dryRun - * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) - * @return APIdeleteCollectionNamespacedResourceClaimRequest - */ - public APIdeleteCollectionNamespacedResourceClaimRequest dryRun(@jakarta.annotation.Nullable String dryRun) { - this.dryRun = dryRun; - return this; - } - - /** - * Set fieldSelector - * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @return APIdeleteCollectionNamespacedResourceClaimRequest - */ - public APIdeleteCollectionNamespacedResourceClaimRequest fieldSelector(@jakarta.annotation.Nullable String fieldSelector) { - this.fieldSelector = fieldSelector; - return this; - } - - /** - * Set gracePeriodSeconds - * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) - * @return APIdeleteCollectionNamespacedResourceClaimRequest - */ - public APIdeleteCollectionNamespacedResourceClaimRequest gracePeriodSeconds(@jakarta.annotation.Nullable Integer gracePeriodSeconds) { - this.gracePeriodSeconds = gracePeriodSeconds; - return this; - } - - /** - * Set ignoreStoreReadErrorWithClusterBreakingPotential - * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) - * @return APIdeleteCollectionNamespacedResourceClaimRequest - */ - public APIdeleteCollectionNamespacedResourceClaimRequest ignoreStoreReadErrorWithClusterBreakingPotential(@jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential) { - this.ignoreStoreReadErrorWithClusterBreakingPotential = ignoreStoreReadErrorWithClusterBreakingPotential; - return this; - } - - /** - * Set labelSelector - * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) - * @return APIdeleteCollectionNamespacedResourceClaimRequest - */ - public APIdeleteCollectionNamespacedResourceClaimRequest labelSelector(@jakarta.annotation.Nullable String labelSelector) { - this.labelSelector = labelSelector; - return this; - } - - /** - * Set limit - * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) - * @return APIdeleteCollectionNamespacedResourceClaimRequest - */ - public APIdeleteCollectionNamespacedResourceClaimRequest limit(@jakarta.annotation.Nullable Integer limit) { - this.limit = limit; - return this; - } - - /** - * Set orphanDependents - * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) - * @return APIdeleteCollectionNamespacedResourceClaimRequest - */ - public APIdeleteCollectionNamespacedResourceClaimRequest orphanDependents(@jakarta.annotation.Nullable Boolean orphanDependents) { - this.orphanDependents = orphanDependents; - return this; - } - - /** - * Set propagationPolicy - * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) - * @return APIdeleteCollectionNamespacedResourceClaimRequest - */ - public APIdeleteCollectionNamespacedResourceClaimRequest propagationPolicy(@jakarta.annotation.Nullable String propagationPolicy) { - this.propagationPolicy = propagationPolicy; - return this; - } - - /** - * Set resourceVersion - * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) - * @return APIdeleteCollectionNamespacedResourceClaimRequest - */ - public APIdeleteCollectionNamespacedResourceClaimRequest resourceVersion(@jakarta.annotation.Nullable String resourceVersion) { - this.resourceVersion = resourceVersion; - return this; - } - - /** - * Set resourceVersionMatch - * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) - * @return APIdeleteCollectionNamespacedResourceClaimRequest - */ - public APIdeleteCollectionNamespacedResourceClaimRequest resourceVersionMatch(@jakarta.annotation.Nullable String resourceVersionMatch) { - this.resourceVersionMatch = resourceVersionMatch; - return this; - } - - /** - * Set sendInitialEvents - * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) - * @return APIdeleteCollectionNamespacedResourceClaimRequest - */ - public APIdeleteCollectionNamespacedResourceClaimRequest sendInitialEvents(@jakarta.annotation.Nullable Boolean sendInitialEvents) { - this.sendInitialEvents = sendInitialEvents; - return this; - } - - /** - * Set timeoutSeconds - * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) - * @return APIdeleteCollectionNamespacedResourceClaimRequest - */ - public APIdeleteCollectionNamespacedResourceClaimRequest timeoutSeconds(@jakarta.annotation.Nullable Integer timeoutSeconds) { - this.timeoutSeconds = timeoutSeconds; - return this; - } - - /** - * Set body - * @param body (optional) - * @return APIdeleteCollectionNamespacedResourceClaimRequest - */ - public APIdeleteCollectionNamespacedResourceClaimRequest body(@jakarta.annotation.Nullable V1DeleteOptions body) { - this.body = body; - return this; - } - - /** - * Build call for deleteCollectionNamespacedResourceClaim - * @param _callback ApiCallback API callback - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return deleteCollectionNamespacedResourceClaimCall(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _callback); - } - - /** - * Execute deleteCollectionNamespacedResourceClaim request - * @return V1Status - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public V1Status execute() throws ApiException { - ApiResponse localVarResp = deleteCollectionNamespacedResourceClaimWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body); - return localVarResp.getData(); - } - - /** - * Execute deleteCollectionNamespacedResourceClaim request with HTTP info returned - * @return ApiResponse<V1Status> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public ApiResponse executeWithHttpInfo() throws ApiException { - return deleteCollectionNamespacedResourceClaimWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body); - } - - /** - * Execute deleteCollectionNamespacedResourceClaim request (asynchronously) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return deleteCollectionNamespacedResourceClaimAsync(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _callback); - } - } - - /** - * - * delete collection of ResourceClaim - * @param namespace object name and auth scope, such as for teams and projects (required) - * @return APIdeleteCollectionNamespacedResourceClaimRequest - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public APIdeleteCollectionNamespacedResourceClaimRequest deleteCollectionNamespacedResourceClaim(@jakarta.annotation.Nonnull String namespace) { - return new APIdeleteCollectionNamespacedResourceClaimRequest(namespace); - } - private okhttp3.Call deleteCollectionNamespacedResourceClaimTemplateCall(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = body; - - // create path and map variables - String localVarPath = "/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates" - .replace("{" + "namespace" + "}", localVarApiClient.escapeString(namespace.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (pretty != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); - } - - if (_continue != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("continue", _continue)); - } - - if (dryRun != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("dryRun", dryRun)); - } - - if (fieldSelector != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldSelector", fieldSelector)); - } - - if (gracePeriodSeconds != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("gracePeriodSeconds", gracePeriodSeconds)); - } - - if (ignoreStoreReadErrorWithClusterBreakingPotential != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("ignoreStoreReadErrorWithClusterBreakingPotential", ignoreStoreReadErrorWithClusterBreakingPotential)); - } - - if (labelSelector != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("labelSelector", labelSelector)); - } - - if (limit != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); - } - - if (orphanDependents != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("orphanDependents", orphanDependents)); - } - - if (propagationPolicy != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("propagationPolicy", propagationPolicy)); - } - - if (resourceVersion != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("resourceVersion", resourceVersion)); - } - - if (resourceVersionMatch != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("resourceVersionMatch", resourceVersionMatch)); - } - - if (sendInitialEvents != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("sendInitialEvents", sendInitialEvents)); - } - - if (timeoutSeconds != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); - } - - final String[] localVarAccepts = { - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/cbor" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "BearerToken" }; - return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call deleteCollectionNamespacedResourceClaimTemplateValidateBeforeCall(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'namespace' is set - if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling deleteCollectionNamespacedResourceClaimTemplate(Async)"); - } - - return deleteCollectionNamespacedResourceClaimTemplateCall(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _callback); - - } - - - private ApiResponse deleteCollectionNamespacedResourceClaimTemplateWithHttpInfo(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable V1DeleteOptions body) throws ApiException { - okhttp3.Call localVarCall = deleteCollectionNamespacedResourceClaimTemplateValidateBeforeCall(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - private okhttp3.Call deleteCollectionNamespacedResourceClaimTemplateAsync(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = deleteCollectionNamespacedResourceClaimTemplateValidateBeforeCall(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - - public class APIdeleteCollectionNamespacedResourceClaimTemplateRequest { - @jakarta.annotation.Nonnull - private final String namespace; - @jakarta.annotation.Nullable - private String pretty; - @jakarta.annotation.Nullable - private String _continue; - @jakarta.annotation.Nullable - private String dryRun; - @jakarta.annotation.Nullable - private String fieldSelector; - @jakarta.annotation.Nullable - private Integer gracePeriodSeconds; - @jakarta.annotation.Nullable - private Boolean ignoreStoreReadErrorWithClusterBreakingPotential; - @jakarta.annotation.Nullable - private String labelSelector; - @jakarta.annotation.Nullable - private Integer limit; - @jakarta.annotation.Nullable - private Boolean orphanDependents; - @jakarta.annotation.Nullable - private String propagationPolicy; - @jakarta.annotation.Nullable - private String resourceVersion; - @jakarta.annotation.Nullable - private String resourceVersionMatch; - @jakarta.annotation.Nullable - private Boolean sendInitialEvents; - @jakarta.annotation.Nullable - private Integer timeoutSeconds; - @jakarta.annotation.Nullable - private V1DeleteOptions body; - - private APIdeleteCollectionNamespacedResourceClaimTemplateRequest(@jakarta.annotation.Nonnull String namespace) { - this.namespace = namespace; - } - - /** - * Set pretty - * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIdeleteCollectionNamespacedResourceClaimTemplateRequest - */ - public APIdeleteCollectionNamespacedResourceClaimTemplateRequest pretty(@jakarta.annotation.Nullable String pretty) { - this.pretty = pretty; - return this; - } - - /** - * Set _continue - * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) - * @return APIdeleteCollectionNamespacedResourceClaimTemplateRequest - */ - public APIdeleteCollectionNamespacedResourceClaimTemplateRequest _continue(@jakarta.annotation.Nullable String _continue) { - this._continue = _continue; - return this; - } - - /** - * Set dryRun - * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) - * @return APIdeleteCollectionNamespacedResourceClaimTemplateRequest - */ - public APIdeleteCollectionNamespacedResourceClaimTemplateRequest dryRun(@jakarta.annotation.Nullable String dryRun) { - this.dryRun = dryRun; - return this; - } - - /** - * Set fieldSelector - * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @return APIdeleteCollectionNamespacedResourceClaimTemplateRequest - */ - public APIdeleteCollectionNamespacedResourceClaimTemplateRequest fieldSelector(@jakarta.annotation.Nullable String fieldSelector) { - this.fieldSelector = fieldSelector; - return this; - } - - /** - * Set gracePeriodSeconds - * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) - * @return APIdeleteCollectionNamespacedResourceClaimTemplateRequest - */ - public APIdeleteCollectionNamespacedResourceClaimTemplateRequest gracePeriodSeconds(@jakarta.annotation.Nullable Integer gracePeriodSeconds) { - this.gracePeriodSeconds = gracePeriodSeconds; - return this; - } - - /** - * Set ignoreStoreReadErrorWithClusterBreakingPotential - * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) - * @return APIdeleteCollectionNamespacedResourceClaimTemplateRequest - */ - public APIdeleteCollectionNamespacedResourceClaimTemplateRequest ignoreStoreReadErrorWithClusterBreakingPotential(@jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential) { - this.ignoreStoreReadErrorWithClusterBreakingPotential = ignoreStoreReadErrorWithClusterBreakingPotential; - return this; - } - - /** - * Set labelSelector - * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) - * @return APIdeleteCollectionNamespacedResourceClaimTemplateRequest - */ - public APIdeleteCollectionNamespacedResourceClaimTemplateRequest labelSelector(@jakarta.annotation.Nullable String labelSelector) { - this.labelSelector = labelSelector; - return this; - } - - /** - * Set limit - * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) - * @return APIdeleteCollectionNamespacedResourceClaimTemplateRequest - */ - public APIdeleteCollectionNamespacedResourceClaimTemplateRequest limit(@jakarta.annotation.Nullable Integer limit) { - this.limit = limit; - return this; - } - - /** - * Set orphanDependents - * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) - * @return APIdeleteCollectionNamespacedResourceClaimTemplateRequest - */ - public APIdeleteCollectionNamespacedResourceClaimTemplateRequest orphanDependents(@jakarta.annotation.Nullable Boolean orphanDependents) { - this.orphanDependents = orphanDependents; - return this; - } - - /** - * Set propagationPolicy - * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) - * @return APIdeleteCollectionNamespacedResourceClaimTemplateRequest - */ - public APIdeleteCollectionNamespacedResourceClaimTemplateRequest propagationPolicy(@jakarta.annotation.Nullable String propagationPolicy) { - this.propagationPolicy = propagationPolicy; - return this; - } - - /** - * Set resourceVersion - * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) - * @return APIdeleteCollectionNamespacedResourceClaimTemplateRequest - */ - public APIdeleteCollectionNamespacedResourceClaimTemplateRequest resourceVersion(@jakarta.annotation.Nullable String resourceVersion) { - this.resourceVersion = resourceVersion; - return this; - } - - /** - * Set resourceVersionMatch - * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) - * @return APIdeleteCollectionNamespacedResourceClaimTemplateRequest - */ - public APIdeleteCollectionNamespacedResourceClaimTemplateRequest resourceVersionMatch(@jakarta.annotation.Nullable String resourceVersionMatch) { - this.resourceVersionMatch = resourceVersionMatch; - return this; - } - - /** - * Set sendInitialEvents - * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) - * @return APIdeleteCollectionNamespacedResourceClaimTemplateRequest - */ - public APIdeleteCollectionNamespacedResourceClaimTemplateRequest sendInitialEvents(@jakarta.annotation.Nullable Boolean sendInitialEvents) { - this.sendInitialEvents = sendInitialEvents; - return this; - } - - /** - * Set timeoutSeconds - * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) - * @return APIdeleteCollectionNamespacedResourceClaimTemplateRequest - */ - public APIdeleteCollectionNamespacedResourceClaimTemplateRequest timeoutSeconds(@jakarta.annotation.Nullable Integer timeoutSeconds) { - this.timeoutSeconds = timeoutSeconds; - return this; - } - - /** - * Set body - * @param body (optional) - * @return APIdeleteCollectionNamespacedResourceClaimTemplateRequest - */ - public APIdeleteCollectionNamespacedResourceClaimTemplateRequest body(@jakarta.annotation.Nullable V1DeleteOptions body) { - this.body = body; - return this; - } - - /** - * Build call for deleteCollectionNamespacedResourceClaimTemplate - * @param _callback ApiCallback API callback - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return deleteCollectionNamespacedResourceClaimTemplateCall(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _callback); - } - - /** - * Execute deleteCollectionNamespacedResourceClaimTemplate request - * @return V1Status - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public V1Status execute() throws ApiException { - ApiResponse localVarResp = deleteCollectionNamespacedResourceClaimTemplateWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body); - return localVarResp.getData(); - } - - /** - * Execute deleteCollectionNamespacedResourceClaimTemplate request with HTTP info returned - * @return ApiResponse<V1Status> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public ApiResponse executeWithHttpInfo() throws ApiException { - return deleteCollectionNamespacedResourceClaimTemplateWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body); - } - - /** - * Execute deleteCollectionNamespacedResourceClaimTemplate request (asynchronously) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return deleteCollectionNamespacedResourceClaimTemplateAsync(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _callback); - } - } - - /** - * - * delete collection of ResourceClaimTemplate - * @param namespace object name and auth scope, such as for teams and projects (required) - * @return APIdeleteCollectionNamespacedResourceClaimTemplateRequest - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public APIdeleteCollectionNamespacedResourceClaimTemplateRequest deleteCollectionNamespacedResourceClaimTemplate(@jakarta.annotation.Nonnull String namespace) { - return new APIdeleteCollectionNamespacedResourceClaimTemplateRequest(namespace); - } - private okhttp3.Call deleteCollectionResourceSliceCall(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = body; - - // create path and map variables - String localVarPath = "/apis/resource.k8s.io/v1alpha3/resourceslices"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (pretty != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); - } - - if (_continue != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("continue", _continue)); - } - - if (dryRun != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("dryRun", dryRun)); - } - - if (fieldSelector != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldSelector", fieldSelector)); - } - - if (gracePeriodSeconds != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("gracePeriodSeconds", gracePeriodSeconds)); - } - - if (ignoreStoreReadErrorWithClusterBreakingPotential != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("ignoreStoreReadErrorWithClusterBreakingPotential", ignoreStoreReadErrorWithClusterBreakingPotential)); - } - - if (labelSelector != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("labelSelector", labelSelector)); - } - - if (limit != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); - } - - if (orphanDependents != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("orphanDependents", orphanDependents)); - } - - if (propagationPolicy != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("propagationPolicy", propagationPolicy)); - } - - if (resourceVersion != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("resourceVersion", resourceVersion)); - } - - if (resourceVersionMatch != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("resourceVersionMatch", resourceVersionMatch)); - } - - if (sendInitialEvents != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("sendInitialEvents", sendInitialEvents)); - } - - if (timeoutSeconds != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); - } - - final String[] localVarAccepts = { - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/cbor" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "BearerToken" }; - return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call deleteCollectionResourceSliceValidateBeforeCall(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { - return deleteCollectionResourceSliceCall(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _callback); - - } - - - private ApiResponse deleteCollectionResourceSliceWithHttpInfo(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable V1DeleteOptions body) throws ApiException { - okhttp3.Call localVarCall = deleteCollectionResourceSliceValidateBeforeCall(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - private okhttp3.Call deleteCollectionResourceSliceAsync(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = deleteCollectionResourceSliceValidateBeforeCall(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - - public class APIdeleteCollectionResourceSliceRequest { - @jakarta.annotation.Nullable - private String pretty; - @jakarta.annotation.Nullable - private String _continue; - @jakarta.annotation.Nullable - private String dryRun; - @jakarta.annotation.Nullable - private String fieldSelector; - @jakarta.annotation.Nullable - private Integer gracePeriodSeconds; - @jakarta.annotation.Nullable - private Boolean ignoreStoreReadErrorWithClusterBreakingPotential; - @jakarta.annotation.Nullable - private String labelSelector; - @jakarta.annotation.Nullable - private Integer limit; - @jakarta.annotation.Nullable - private Boolean orphanDependents; - @jakarta.annotation.Nullable - private String propagationPolicy; - @jakarta.annotation.Nullable - private String resourceVersion; - @jakarta.annotation.Nullable - private String resourceVersionMatch; - @jakarta.annotation.Nullable - private Boolean sendInitialEvents; - @jakarta.annotation.Nullable - private Integer timeoutSeconds; - @jakarta.annotation.Nullable - private V1DeleteOptions body; - - private APIdeleteCollectionResourceSliceRequest() { - } - - /** - * Set pretty - * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIdeleteCollectionResourceSliceRequest - */ - public APIdeleteCollectionResourceSliceRequest pretty(@jakarta.annotation.Nullable String pretty) { - this.pretty = pretty; - return this; - } - - /** - * Set _continue - * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) - * @return APIdeleteCollectionResourceSliceRequest - */ - public APIdeleteCollectionResourceSliceRequest _continue(@jakarta.annotation.Nullable String _continue) { - this._continue = _continue; - return this; - } - - /** - * Set dryRun - * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) - * @return APIdeleteCollectionResourceSliceRequest - */ - public APIdeleteCollectionResourceSliceRequest dryRun(@jakarta.annotation.Nullable String dryRun) { - this.dryRun = dryRun; - return this; - } - - /** - * Set fieldSelector - * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @return APIdeleteCollectionResourceSliceRequest - */ - public APIdeleteCollectionResourceSliceRequest fieldSelector(@jakarta.annotation.Nullable String fieldSelector) { - this.fieldSelector = fieldSelector; - return this; - } - - /** - * Set gracePeriodSeconds - * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) - * @return APIdeleteCollectionResourceSliceRequest - */ - public APIdeleteCollectionResourceSliceRequest gracePeriodSeconds(@jakarta.annotation.Nullable Integer gracePeriodSeconds) { - this.gracePeriodSeconds = gracePeriodSeconds; - return this; - } - - /** - * Set ignoreStoreReadErrorWithClusterBreakingPotential - * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) - * @return APIdeleteCollectionResourceSliceRequest - */ - public APIdeleteCollectionResourceSliceRequest ignoreStoreReadErrorWithClusterBreakingPotential(@jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential) { - this.ignoreStoreReadErrorWithClusterBreakingPotential = ignoreStoreReadErrorWithClusterBreakingPotential; - return this; - } - - /** - * Set labelSelector - * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) - * @return APIdeleteCollectionResourceSliceRequest - */ - public APIdeleteCollectionResourceSliceRequest labelSelector(@jakarta.annotation.Nullable String labelSelector) { - this.labelSelector = labelSelector; - return this; - } - - /** - * Set limit - * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) - * @return APIdeleteCollectionResourceSliceRequest - */ - public APIdeleteCollectionResourceSliceRequest limit(@jakarta.annotation.Nullable Integer limit) { - this.limit = limit; - return this; - } - - /** - * Set orphanDependents - * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) - * @return APIdeleteCollectionResourceSliceRequest - */ - public APIdeleteCollectionResourceSliceRequest orphanDependents(@jakarta.annotation.Nullable Boolean orphanDependents) { - this.orphanDependents = orphanDependents; - return this; - } - - /** - * Set propagationPolicy - * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) - * @return APIdeleteCollectionResourceSliceRequest - */ - public APIdeleteCollectionResourceSliceRequest propagationPolicy(@jakarta.annotation.Nullable String propagationPolicy) { - this.propagationPolicy = propagationPolicy; - return this; - } - - /** - * Set resourceVersion - * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) - * @return APIdeleteCollectionResourceSliceRequest - */ - public APIdeleteCollectionResourceSliceRequest resourceVersion(@jakarta.annotation.Nullable String resourceVersion) { - this.resourceVersion = resourceVersion; - return this; - } - - /** - * Set resourceVersionMatch - * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) - * @return APIdeleteCollectionResourceSliceRequest - */ - public APIdeleteCollectionResourceSliceRequest resourceVersionMatch(@jakarta.annotation.Nullable String resourceVersionMatch) { - this.resourceVersionMatch = resourceVersionMatch; - return this; - } - - /** - * Set sendInitialEvents - * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) - * @return APIdeleteCollectionResourceSliceRequest - */ - public APIdeleteCollectionResourceSliceRequest sendInitialEvents(@jakarta.annotation.Nullable Boolean sendInitialEvents) { - this.sendInitialEvents = sendInitialEvents; - return this; - } - - /** - * Set timeoutSeconds - * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) - * @return APIdeleteCollectionResourceSliceRequest - */ - public APIdeleteCollectionResourceSliceRequest timeoutSeconds(@jakarta.annotation.Nullable Integer timeoutSeconds) { - this.timeoutSeconds = timeoutSeconds; - return this; - } - - /** - * Set body - * @param body (optional) - * @return APIdeleteCollectionResourceSliceRequest - */ - public APIdeleteCollectionResourceSliceRequest body(@jakarta.annotation.Nullable V1DeleteOptions body) { - this.body = body; - return this; - } - - /** - * Build call for deleteCollectionResourceSlice - * @param _callback ApiCallback API callback - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return deleteCollectionResourceSliceCall(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _callback); - } - - /** - * Execute deleteCollectionResourceSlice request - * @return V1Status - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public V1Status execute() throws ApiException { - ApiResponse localVarResp = deleteCollectionResourceSliceWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body); - return localVarResp.getData(); - } - - /** - * Execute deleteCollectionResourceSlice request with HTTP info returned - * @return ApiResponse<V1Status> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public ApiResponse executeWithHttpInfo() throws ApiException { - return deleteCollectionResourceSliceWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body); - } - - /** - * Execute deleteCollectionResourceSlice request (asynchronously) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return deleteCollectionResourceSliceAsync(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _callback); - } - } - - /** - * - * delete collection of ResourceSlice - * @return APIdeleteCollectionResourceSliceRequest - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public APIdeleteCollectionResourceSliceRequest deleteCollectionResourceSlice() { - return new APIdeleteCollectionResourceSliceRequest(); - } - private okhttp3.Call deleteDeviceClassCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = body; - - // create path and map variables - String localVarPath = "/apis/resource.k8s.io/v1alpha3/deviceclasses/{name}" - .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (pretty != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); - } - - if (dryRun != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("dryRun", dryRun)); - } - - if (gracePeriodSeconds != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("gracePeriodSeconds", gracePeriodSeconds)); - } - - if (ignoreStoreReadErrorWithClusterBreakingPotential != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("ignoreStoreReadErrorWithClusterBreakingPotential", ignoreStoreReadErrorWithClusterBreakingPotential)); - } - - if (orphanDependents != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("orphanDependents", orphanDependents)); - } - - if (propagationPolicy != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("propagationPolicy", propagationPolicy)); - } - - final String[] localVarAccepts = { - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/cbor" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "BearerToken" }; - return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call deleteDeviceClassValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling deleteDeviceClass(Async)"); - } - - return deleteDeviceClassCall(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); - - } - - - private ApiResponse deleteDeviceClassWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body) throws ApiException { - okhttp3.Call localVarCall = deleteDeviceClassValidateBeforeCall(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - private okhttp3.Call deleteDeviceClassAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = deleteDeviceClassValidateBeforeCall(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - - public class APIdeleteDeviceClassRequest { - @jakarta.annotation.Nonnull - private final String name; - @jakarta.annotation.Nullable - private String pretty; - @jakarta.annotation.Nullable - private String dryRun; - @jakarta.annotation.Nullable - private Integer gracePeriodSeconds; - @jakarta.annotation.Nullable - private Boolean ignoreStoreReadErrorWithClusterBreakingPotential; - @jakarta.annotation.Nullable - private Boolean orphanDependents; - @jakarta.annotation.Nullable - private String propagationPolicy; - @jakarta.annotation.Nullable - private V1DeleteOptions body; - - private APIdeleteDeviceClassRequest(@jakarta.annotation.Nonnull String name) { - this.name = name; - } - - /** - * Set pretty - * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIdeleteDeviceClassRequest - */ - public APIdeleteDeviceClassRequest pretty(@jakarta.annotation.Nullable String pretty) { - this.pretty = pretty; - return this; - } - - /** - * Set dryRun - * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) - * @return APIdeleteDeviceClassRequest - */ - public APIdeleteDeviceClassRequest dryRun(@jakarta.annotation.Nullable String dryRun) { - this.dryRun = dryRun; - return this; - } - - /** - * Set gracePeriodSeconds - * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) - * @return APIdeleteDeviceClassRequest - */ - public APIdeleteDeviceClassRequest gracePeriodSeconds(@jakarta.annotation.Nullable Integer gracePeriodSeconds) { - this.gracePeriodSeconds = gracePeriodSeconds; - return this; - } - - /** - * Set ignoreStoreReadErrorWithClusterBreakingPotential - * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) - * @return APIdeleteDeviceClassRequest - */ - public APIdeleteDeviceClassRequest ignoreStoreReadErrorWithClusterBreakingPotential(@jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential) { - this.ignoreStoreReadErrorWithClusterBreakingPotential = ignoreStoreReadErrorWithClusterBreakingPotential; - return this; - } - - /** - * Set orphanDependents - * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) - * @return APIdeleteDeviceClassRequest - */ - public APIdeleteDeviceClassRequest orphanDependents(@jakarta.annotation.Nullable Boolean orphanDependents) { - this.orphanDependents = orphanDependents; - return this; - } - - /** - * Set propagationPolicy - * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) - * @return APIdeleteDeviceClassRequest - */ - public APIdeleteDeviceClassRequest propagationPolicy(@jakarta.annotation.Nullable String propagationPolicy) { - this.propagationPolicy = propagationPolicy; - return this; - } - - /** - * Set body - * @param body (optional) - * @return APIdeleteDeviceClassRequest - */ - public APIdeleteDeviceClassRequest body(@jakarta.annotation.Nullable V1DeleteOptions body) { - this.body = body; - return this; - } - - /** - * Build call for deleteDeviceClass - * @param _callback ApiCallback API callback - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
202 Accepted -
401 Unauthorized -
- */ - public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return deleteDeviceClassCall(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); - } - - /** - * Execute deleteDeviceClass request - * @return V1alpha3DeviceClass - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
202 Accepted -
401 Unauthorized -
- */ - public V1alpha3DeviceClass execute() throws ApiException { - ApiResponse localVarResp = deleteDeviceClassWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body); - return localVarResp.getData(); - } - - /** - * Execute deleteDeviceClass request with HTTP info returned - * @return ApiResponse<V1alpha3DeviceClass> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
202 Accepted -
401 Unauthorized -
- */ - public ApiResponse executeWithHttpInfo() throws ApiException { - return deleteDeviceClassWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body); - } - - /** - * Execute deleteDeviceClass request (asynchronously) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
202 Accepted -
401 Unauthorized -
- */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return deleteDeviceClassAsync(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); - } - } - - /** - * - * delete a DeviceClass - * @param name name of the DeviceClass (required) - * @return APIdeleteDeviceClassRequest - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
202 Accepted -
401 Unauthorized -
- */ - public APIdeleteDeviceClassRequest deleteDeviceClass(@jakarta.annotation.Nonnull String name) { - return new APIdeleteDeviceClassRequest(name); - } - private okhttp3.Call deleteDeviceTaintRuleCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = body; - - // create path and map variables - String localVarPath = "/apis/resource.k8s.io/v1alpha3/devicetaintrules/{name}" - .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (pretty != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); - } - - if (dryRun != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("dryRun", dryRun)); - } - - if (gracePeriodSeconds != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("gracePeriodSeconds", gracePeriodSeconds)); - } - - if (ignoreStoreReadErrorWithClusterBreakingPotential != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("ignoreStoreReadErrorWithClusterBreakingPotential", ignoreStoreReadErrorWithClusterBreakingPotential)); - } - - if (orphanDependents != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("orphanDependents", orphanDependents)); - } - - if (propagationPolicy != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("propagationPolicy", propagationPolicy)); - } - - final String[] localVarAccepts = { - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/cbor" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "BearerToken" }; - return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call deleteDeviceTaintRuleValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling deleteDeviceTaintRule(Async)"); - } - - return deleteDeviceTaintRuleCall(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); - - } - - - private ApiResponse deleteDeviceTaintRuleWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body) throws ApiException { - okhttp3.Call localVarCall = deleteDeviceTaintRuleValidateBeforeCall(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - private okhttp3.Call deleteDeviceTaintRuleAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = deleteDeviceTaintRuleValidateBeforeCall(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - - public class APIdeleteDeviceTaintRuleRequest { - @jakarta.annotation.Nonnull - private final String name; - @jakarta.annotation.Nullable - private String pretty; - @jakarta.annotation.Nullable - private String dryRun; - @jakarta.annotation.Nullable - private Integer gracePeriodSeconds; - @jakarta.annotation.Nullable - private Boolean ignoreStoreReadErrorWithClusterBreakingPotential; - @jakarta.annotation.Nullable - private Boolean orphanDependents; - @jakarta.annotation.Nullable - private String propagationPolicy; - @jakarta.annotation.Nullable - private V1DeleteOptions body; - - private APIdeleteDeviceTaintRuleRequest(@jakarta.annotation.Nonnull String name) { - this.name = name; - } - - /** - * Set pretty - * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIdeleteDeviceTaintRuleRequest - */ - public APIdeleteDeviceTaintRuleRequest pretty(@jakarta.annotation.Nullable String pretty) { - this.pretty = pretty; - return this; - } - - /** - * Set dryRun - * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) - * @return APIdeleteDeviceTaintRuleRequest - */ - public APIdeleteDeviceTaintRuleRequest dryRun(@jakarta.annotation.Nullable String dryRun) { - this.dryRun = dryRun; - return this; - } - - /** - * Set gracePeriodSeconds - * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) - * @return APIdeleteDeviceTaintRuleRequest - */ - public APIdeleteDeviceTaintRuleRequest gracePeriodSeconds(@jakarta.annotation.Nullable Integer gracePeriodSeconds) { - this.gracePeriodSeconds = gracePeriodSeconds; - return this; - } - - /** - * Set ignoreStoreReadErrorWithClusterBreakingPotential - * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) - * @return APIdeleteDeviceTaintRuleRequest - */ - public APIdeleteDeviceTaintRuleRequest ignoreStoreReadErrorWithClusterBreakingPotential(@jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential) { - this.ignoreStoreReadErrorWithClusterBreakingPotential = ignoreStoreReadErrorWithClusterBreakingPotential; - return this; - } - - /** - * Set orphanDependents - * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) - * @return APIdeleteDeviceTaintRuleRequest - */ - public APIdeleteDeviceTaintRuleRequest orphanDependents(@jakarta.annotation.Nullable Boolean orphanDependents) { - this.orphanDependents = orphanDependents; - return this; - } - - /** - * Set propagationPolicy - * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) - * @return APIdeleteDeviceTaintRuleRequest - */ - public APIdeleteDeviceTaintRuleRequest propagationPolicy(@jakarta.annotation.Nullable String propagationPolicy) { - this.propagationPolicy = propagationPolicy; - return this; - } - - /** - * Set body - * @param body (optional) - * @return APIdeleteDeviceTaintRuleRequest - */ - public APIdeleteDeviceTaintRuleRequest body(@jakarta.annotation.Nullable V1DeleteOptions body) { - this.body = body; - return this; - } - - /** - * Build call for deleteDeviceTaintRule - * @param _callback ApiCallback API callback - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
202 Accepted -
401 Unauthorized -
- */ - public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return deleteDeviceTaintRuleCall(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); - } - - /** - * Execute deleteDeviceTaintRule request - * @return V1alpha3DeviceTaintRule - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
202 Accepted -
401 Unauthorized -
- */ - public V1alpha3DeviceTaintRule execute() throws ApiException { - ApiResponse localVarResp = deleteDeviceTaintRuleWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body); - return localVarResp.getData(); - } - - /** - * Execute deleteDeviceTaintRule request with HTTP info returned - * @return ApiResponse<V1alpha3DeviceTaintRule> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
202 Accepted -
401 Unauthorized -
- */ - public ApiResponse executeWithHttpInfo() throws ApiException { - return deleteDeviceTaintRuleWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body); - } - - /** - * Execute deleteDeviceTaintRule request (asynchronously) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
202 Accepted -
401 Unauthorized -
- */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return deleteDeviceTaintRuleAsync(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); - } - } - - /** - * - * delete a DeviceTaintRule - * @param name name of the DeviceTaintRule (required) - * @return APIdeleteDeviceTaintRuleRequest - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
202 Accepted -
401 Unauthorized -
- */ - public APIdeleteDeviceTaintRuleRequest deleteDeviceTaintRule(@jakarta.annotation.Nonnull String name) { - return new APIdeleteDeviceTaintRuleRequest(name); - } - private okhttp3.Call deleteNamespacedResourceClaimCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = body; - - // create path and map variables - String localVarPath = "/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name}" - .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())) - .replace("{" + "namespace" + "}", localVarApiClient.escapeString(namespace.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (pretty != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); - } - - if (dryRun != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("dryRun", dryRun)); - } - - if (gracePeriodSeconds != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("gracePeriodSeconds", gracePeriodSeconds)); - } - - if (ignoreStoreReadErrorWithClusterBreakingPotential != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("ignoreStoreReadErrorWithClusterBreakingPotential", ignoreStoreReadErrorWithClusterBreakingPotential)); - } - - if (orphanDependents != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("orphanDependents", orphanDependents)); - } - - if (propagationPolicy != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("propagationPolicy", propagationPolicy)); - } - - final String[] localVarAccepts = { - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/cbor" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "BearerToken" }; - return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call deleteNamespacedResourceClaimValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling deleteNamespacedResourceClaim(Async)"); - } - - // verify the required parameter 'namespace' is set - if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling deleteNamespacedResourceClaim(Async)"); - } - - return deleteNamespacedResourceClaimCall(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); - - } - - - private ApiResponse deleteNamespacedResourceClaimWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body) throws ApiException { - okhttp3.Call localVarCall = deleteNamespacedResourceClaimValidateBeforeCall(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - private okhttp3.Call deleteNamespacedResourceClaimAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = deleteNamespacedResourceClaimValidateBeforeCall(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - - public class APIdeleteNamespacedResourceClaimRequest { - @jakarta.annotation.Nonnull - private final String name; - @jakarta.annotation.Nonnull - private final String namespace; - @jakarta.annotation.Nullable - private String pretty; - @jakarta.annotation.Nullable - private String dryRun; - @jakarta.annotation.Nullable - private Integer gracePeriodSeconds; - @jakarta.annotation.Nullable - private Boolean ignoreStoreReadErrorWithClusterBreakingPotential; - @jakarta.annotation.Nullable - private Boolean orphanDependents; - @jakarta.annotation.Nullable - private String propagationPolicy; - @jakarta.annotation.Nullable - private V1DeleteOptions body; - - private APIdeleteNamespacedResourceClaimRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace) { - this.name = name; - this.namespace = namespace; - } - - /** - * Set pretty - * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIdeleteNamespacedResourceClaimRequest - */ - public APIdeleteNamespacedResourceClaimRequest pretty(@jakarta.annotation.Nullable String pretty) { - this.pretty = pretty; - return this; - } - - /** - * Set dryRun - * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) - * @return APIdeleteNamespacedResourceClaimRequest - */ - public APIdeleteNamespacedResourceClaimRequest dryRun(@jakarta.annotation.Nullable String dryRun) { - this.dryRun = dryRun; - return this; - } - - /** - * Set gracePeriodSeconds - * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) - * @return APIdeleteNamespacedResourceClaimRequest - */ - public APIdeleteNamespacedResourceClaimRequest gracePeriodSeconds(@jakarta.annotation.Nullable Integer gracePeriodSeconds) { - this.gracePeriodSeconds = gracePeriodSeconds; - return this; - } - - /** - * Set ignoreStoreReadErrorWithClusterBreakingPotential - * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) - * @return APIdeleteNamespacedResourceClaimRequest - */ - public APIdeleteNamespacedResourceClaimRequest ignoreStoreReadErrorWithClusterBreakingPotential(@jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential) { - this.ignoreStoreReadErrorWithClusterBreakingPotential = ignoreStoreReadErrorWithClusterBreakingPotential; - return this; - } - - /** - * Set orphanDependents - * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) - * @return APIdeleteNamespacedResourceClaimRequest - */ - public APIdeleteNamespacedResourceClaimRequest orphanDependents(@jakarta.annotation.Nullable Boolean orphanDependents) { - this.orphanDependents = orphanDependents; - return this; - } - - /** - * Set propagationPolicy - * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) - * @return APIdeleteNamespacedResourceClaimRequest - */ - public APIdeleteNamespacedResourceClaimRequest propagationPolicy(@jakarta.annotation.Nullable String propagationPolicy) { - this.propagationPolicy = propagationPolicy; - return this; - } - - /** - * Set body - * @param body (optional) - * @return APIdeleteNamespacedResourceClaimRequest - */ - public APIdeleteNamespacedResourceClaimRequest body(@jakarta.annotation.Nullable V1DeleteOptions body) { - this.body = body; - return this; - } - - /** - * Build call for deleteNamespacedResourceClaim - * @param _callback ApiCallback API callback - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
202 Accepted -
401 Unauthorized -
- */ - public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return deleteNamespacedResourceClaimCall(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); - } - - /** - * Execute deleteNamespacedResourceClaim request - * @return V1alpha3ResourceClaim - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
202 Accepted -
401 Unauthorized -
- */ - public V1alpha3ResourceClaim execute() throws ApiException { - ApiResponse localVarResp = deleteNamespacedResourceClaimWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body); - return localVarResp.getData(); - } - - /** - * Execute deleteNamespacedResourceClaim request with HTTP info returned - * @return ApiResponse<V1alpha3ResourceClaim> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
202 Accepted -
401 Unauthorized -
- */ - public ApiResponse executeWithHttpInfo() throws ApiException { - return deleteNamespacedResourceClaimWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body); - } - - /** - * Execute deleteNamespacedResourceClaim request (asynchronously) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
202 Accepted -
401 Unauthorized -
- */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return deleteNamespacedResourceClaimAsync(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); - } - } - - /** - * - * delete a ResourceClaim - * @param name name of the ResourceClaim (required) - * @param namespace object name and auth scope, such as for teams and projects (required) - * @return APIdeleteNamespacedResourceClaimRequest - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
202 Accepted -
401 Unauthorized -
- */ - public APIdeleteNamespacedResourceClaimRequest deleteNamespacedResourceClaim(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace) { - return new APIdeleteNamespacedResourceClaimRequest(name, namespace); - } - private okhttp3.Call deleteNamespacedResourceClaimTemplateCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = body; - - // create path and map variables - String localVarPath = "/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates/{name}" - .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())) - .replace("{" + "namespace" + "}", localVarApiClient.escapeString(namespace.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (pretty != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); - } - - if (dryRun != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("dryRun", dryRun)); - } - - if (gracePeriodSeconds != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("gracePeriodSeconds", gracePeriodSeconds)); - } - - if (ignoreStoreReadErrorWithClusterBreakingPotential != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("ignoreStoreReadErrorWithClusterBreakingPotential", ignoreStoreReadErrorWithClusterBreakingPotential)); - } - - if (orphanDependents != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("orphanDependents", orphanDependents)); - } - - if (propagationPolicy != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("propagationPolicy", propagationPolicy)); - } - - final String[] localVarAccepts = { - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/cbor" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "BearerToken" }; - return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call deleteNamespacedResourceClaimTemplateValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling deleteNamespacedResourceClaimTemplate(Async)"); - } - - // verify the required parameter 'namespace' is set - if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling deleteNamespacedResourceClaimTemplate(Async)"); - } - - return deleteNamespacedResourceClaimTemplateCall(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); - - } - - - private ApiResponse deleteNamespacedResourceClaimTemplateWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body) throws ApiException { - okhttp3.Call localVarCall = deleteNamespacedResourceClaimTemplateValidateBeforeCall(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - private okhttp3.Call deleteNamespacedResourceClaimTemplateAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = deleteNamespacedResourceClaimTemplateValidateBeforeCall(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - - public class APIdeleteNamespacedResourceClaimTemplateRequest { - @jakarta.annotation.Nonnull - private final String name; - @jakarta.annotation.Nonnull - private final String namespace; - @jakarta.annotation.Nullable - private String pretty; - @jakarta.annotation.Nullable - private String dryRun; - @jakarta.annotation.Nullable - private Integer gracePeriodSeconds; - @jakarta.annotation.Nullable - private Boolean ignoreStoreReadErrorWithClusterBreakingPotential; - @jakarta.annotation.Nullable - private Boolean orphanDependents; - @jakarta.annotation.Nullable - private String propagationPolicy; - @jakarta.annotation.Nullable - private V1DeleteOptions body; - - private APIdeleteNamespacedResourceClaimTemplateRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace) { - this.name = name; - this.namespace = namespace; - } - - /** - * Set pretty - * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIdeleteNamespacedResourceClaimTemplateRequest - */ - public APIdeleteNamespacedResourceClaimTemplateRequest pretty(@jakarta.annotation.Nullable String pretty) { - this.pretty = pretty; - return this; - } - - /** - * Set dryRun - * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) - * @return APIdeleteNamespacedResourceClaimTemplateRequest - */ - public APIdeleteNamespacedResourceClaimTemplateRequest dryRun(@jakarta.annotation.Nullable String dryRun) { - this.dryRun = dryRun; - return this; - } - - /** - * Set gracePeriodSeconds - * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) - * @return APIdeleteNamespacedResourceClaimTemplateRequest - */ - public APIdeleteNamespacedResourceClaimTemplateRequest gracePeriodSeconds(@jakarta.annotation.Nullable Integer gracePeriodSeconds) { - this.gracePeriodSeconds = gracePeriodSeconds; - return this; - } - - /** - * Set ignoreStoreReadErrorWithClusterBreakingPotential - * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) - * @return APIdeleteNamespacedResourceClaimTemplateRequest - */ - public APIdeleteNamespacedResourceClaimTemplateRequest ignoreStoreReadErrorWithClusterBreakingPotential(@jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential) { - this.ignoreStoreReadErrorWithClusterBreakingPotential = ignoreStoreReadErrorWithClusterBreakingPotential; - return this; - } - - /** - * Set orphanDependents - * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) - * @return APIdeleteNamespacedResourceClaimTemplateRequest - */ - public APIdeleteNamespacedResourceClaimTemplateRequest orphanDependents(@jakarta.annotation.Nullable Boolean orphanDependents) { - this.orphanDependents = orphanDependents; - return this; - } - - /** - * Set propagationPolicy - * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) - * @return APIdeleteNamespacedResourceClaimTemplateRequest - */ - public APIdeleteNamespacedResourceClaimTemplateRequest propagationPolicy(@jakarta.annotation.Nullable String propagationPolicy) { - this.propagationPolicy = propagationPolicy; - return this; - } - - /** - * Set body - * @param body (optional) - * @return APIdeleteNamespacedResourceClaimTemplateRequest - */ - public APIdeleteNamespacedResourceClaimTemplateRequest body(@jakarta.annotation.Nullable V1DeleteOptions body) { - this.body = body; - return this; - } - - /** - * Build call for deleteNamespacedResourceClaimTemplate - * @param _callback ApiCallback API callback - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
202 Accepted -
401 Unauthorized -
- */ - public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return deleteNamespacedResourceClaimTemplateCall(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); - } - - /** - * Execute deleteNamespacedResourceClaimTemplate request - * @return V1alpha3ResourceClaimTemplate - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
202 Accepted -
401 Unauthorized -
- */ - public V1alpha3ResourceClaimTemplate execute() throws ApiException { - ApiResponse localVarResp = deleteNamespacedResourceClaimTemplateWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body); - return localVarResp.getData(); - } - - /** - * Execute deleteNamespacedResourceClaimTemplate request with HTTP info returned - * @return ApiResponse<V1alpha3ResourceClaimTemplate> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
202 Accepted -
401 Unauthorized -
- */ - public ApiResponse executeWithHttpInfo() throws ApiException { - return deleteNamespacedResourceClaimTemplateWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body); - } - - /** - * Execute deleteNamespacedResourceClaimTemplate request (asynchronously) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
202 Accepted -
401 Unauthorized -
- */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return deleteNamespacedResourceClaimTemplateAsync(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); - } - } - - /** - * - * delete a ResourceClaimTemplate - * @param name name of the ResourceClaimTemplate (required) - * @param namespace object name and auth scope, such as for teams and projects (required) - * @return APIdeleteNamespacedResourceClaimTemplateRequest - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
202 Accepted -
401 Unauthorized -
- */ - public APIdeleteNamespacedResourceClaimTemplateRequest deleteNamespacedResourceClaimTemplate(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace) { - return new APIdeleteNamespacedResourceClaimTemplateRequest(name, namespace); - } - private okhttp3.Call deleteResourceSliceCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = body; - - // create path and map variables - String localVarPath = "/apis/resource.k8s.io/v1alpha3/resourceslices/{name}" - .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (pretty != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); - } - - if (dryRun != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("dryRun", dryRun)); - } - - if (gracePeriodSeconds != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("gracePeriodSeconds", gracePeriodSeconds)); - } - - if (ignoreStoreReadErrorWithClusterBreakingPotential != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("ignoreStoreReadErrorWithClusterBreakingPotential", ignoreStoreReadErrorWithClusterBreakingPotential)); - } - - if (orphanDependents != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("orphanDependents", orphanDependents)); - } - - if (propagationPolicy != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("propagationPolicy", propagationPolicy)); - } - - final String[] localVarAccepts = { - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/cbor" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "BearerToken" }; - return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call deleteResourceSliceValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling deleteResourceSlice(Async)"); - } - - return deleteResourceSliceCall(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); - - } - - - private ApiResponse deleteResourceSliceWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body) throws ApiException { - okhttp3.Call localVarCall = deleteResourceSliceValidateBeforeCall(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - private okhttp3.Call deleteResourceSliceAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = deleteResourceSliceValidateBeforeCall(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - - public class APIdeleteResourceSliceRequest { - @jakarta.annotation.Nonnull - private final String name; - @jakarta.annotation.Nullable - private String pretty; - @jakarta.annotation.Nullable - private String dryRun; - @jakarta.annotation.Nullable - private Integer gracePeriodSeconds; - @jakarta.annotation.Nullable - private Boolean ignoreStoreReadErrorWithClusterBreakingPotential; - @jakarta.annotation.Nullable - private Boolean orphanDependents; - @jakarta.annotation.Nullable - private String propagationPolicy; - @jakarta.annotation.Nullable - private V1DeleteOptions body; - - private APIdeleteResourceSliceRequest(@jakarta.annotation.Nonnull String name) { - this.name = name; - } - - /** - * Set pretty - * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIdeleteResourceSliceRequest - */ - public APIdeleteResourceSliceRequest pretty(@jakarta.annotation.Nullable String pretty) { - this.pretty = pretty; - return this; - } - - /** - * Set dryRun - * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) - * @return APIdeleteResourceSliceRequest - */ - public APIdeleteResourceSliceRequest dryRun(@jakarta.annotation.Nullable String dryRun) { - this.dryRun = dryRun; - return this; - } - - /** - * Set gracePeriodSeconds - * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) - * @return APIdeleteResourceSliceRequest - */ - public APIdeleteResourceSliceRequest gracePeriodSeconds(@jakarta.annotation.Nullable Integer gracePeriodSeconds) { - this.gracePeriodSeconds = gracePeriodSeconds; - return this; - } - - /** - * Set ignoreStoreReadErrorWithClusterBreakingPotential - * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) - * @return APIdeleteResourceSliceRequest - */ - public APIdeleteResourceSliceRequest ignoreStoreReadErrorWithClusterBreakingPotential(@jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential) { - this.ignoreStoreReadErrorWithClusterBreakingPotential = ignoreStoreReadErrorWithClusterBreakingPotential; - return this; - } - - /** - * Set orphanDependents - * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) - * @return APIdeleteResourceSliceRequest - */ - public APIdeleteResourceSliceRequest orphanDependents(@jakarta.annotation.Nullable Boolean orphanDependents) { - this.orphanDependents = orphanDependents; - return this; - } - - /** - * Set propagationPolicy - * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) - * @return APIdeleteResourceSliceRequest - */ - public APIdeleteResourceSliceRequest propagationPolicy(@jakarta.annotation.Nullable String propagationPolicy) { - this.propagationPolicy = propagationPolicy; - return this; - } - - /** - * Set body - * @param body (optional) - * @return APIdeleteResourceSliceRequest - */ - public APIdeleteResourceSliceRequest body(@jakarta.annotation.Nullable V1DeleteOptions body) { - this.body = body; - return this; - } - - /** - * Build call for deleteResourceSlice - * @param _callback ApiCallback API callback - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
202 Accepted -
401 Unauthorized -
- */ - public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return deleteResourceSliceCall(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); - } - - /** - * Execute deleteResourceSlice request - * @return V1alpha3ResourceSlice - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
202 Accepted -
401 Unauthorized -
- */ - public V1alpha3ResourceSlice execute() throws ApiException { - ApiResponse localVarResp = deleteResourceSliceWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body); - return localVarResp.getData(); - } - - /** - * Execute deleteResourceSlice request with HTTP info returned - * @return ApiResponse<V1alpha3ResourceSlice> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
202 Accepted -
401 Unauthorized -
- */ - public ApiResponse executeWithHttpInfo() throws ApiException { - return deleteResourceSliceWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body); - } - - /** - * Execute deleteResourceSlice request (asynchronously) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
202 Accepted -
401 Unauthorized -
- */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return deleteResourceSliceAsync(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); - } - } - - /** - * - * delete a ResourceSlice - * @param name name of the ResourceSlice (required) - * @return APIdeleteResourceSliceRequest - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
202 Accepted -
401 Unauthorized -
- */ - public APIdeleteResourceSliceRequest deleteResourceSlice(@jakarta.annotation.Nonnull String name) { - return new APIdeleteResourceSliceRequest(name); - } - private okhttp3.Call getAPIResourcesCall(final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/apis/resource.k8s.io/v1alpha3/"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/cbor" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "BearerToken" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getAPIResourcesValidateBeforeCall(final ApiCallback _callback) throws ApiException { - return getAPIResourcesCall(_callback); - - } - - - private ApiResponse getAPIResourcesWithHttpInfo() throws ApiException { - okhttp3.Call localVarCall = getAPIResourcesValidateBeforeCall(null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - private okhttp3.Call getAPIResourcesAsync(final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getAPIResourcesValidateBeforeCall(_callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - - public class APIgetAPIResourcesRequest { - - private APIgetAPIResourcesRequest() { - } - - /** - * Build call for getAPIResources - * @param _callback ApiCallback API callback - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return getAPIResourcesCall(_callback); - } - - /** - * Execute getAPIResources request - * @return V1APIResourceList - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public V1APIResourceList execute() throws ApiException { - ApiResponse localVarResp = getAPIResourcesWithHttpInfo(); - return localVarResp.getData(); - } - - /** - * Execute getAPIResources request with HTTP info returned - * @return ApiResponse<V1APIResourceList> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public ApiResponse executeWithHttpInfo() throws ApiException { - return getAPIResourcesWithHttpInfo(); - } - - /** - * Execute getAPIResources request (asynchronously) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return getAPIResourcesAsync(_callback); - } - } - - /** - * - * get available resources - * @return APIgetAPIResourcesRequest - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public APIgetAPIResourcesRequest getAPIResources() { - return new APIgetAPIResourcesRequest(); - } - private okhttp3.Call listDeviceClassCall(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/apis/resource.k8s.io/v1alpha3/deviceclasses"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (pretty != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); - } - - if (allowWatchBookmarks != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("allowWatchBookmarks", allowWatchBookmarks)); - } - - if (_continue != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("continue", _continue)); - } - - if (fieldSelector != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldSelector", fieldSelector)); - } - - if (labelSelector != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("labelSelector", labelSelector)); - } - - if (limit != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); - } - - if (resourceVersion != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("resourceVersion", resourceVersion)); - } - - if (resourceVersionMatch != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("resourceVersionMatch", resourceVersionMatch)); - } - - if (sendInitialEvents != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("sendInitialEvents", sendInitialEvents)); - } - - if (timeoutSeconds != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); - } - - if (watch != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("watch", watch)); - } - - final String[] localVarAccepts = { - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/cbor", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch", - "application/cbor-seq" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "BearerToken" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call listDeviceClassValidateBeforeCall(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { - return listDeviceClassCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); - - } - - - private ApiResponse listDeviceClassWithHttpInfo(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch) throws ApiException { - okhttp3.Call localVarCall = listDeviceClassValidateBeforeCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - private okhttp3.Call listDeviceClassAsync(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = listDeviceClassValidateBeforeCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - - public class APIlistDeviceClassRequest { - @jakarta.annotation.Nullable - private String pretty; - @jakarta.annotation.Nullable - private Boolean allowWatchBookmarks; - @jakarta.annotation.Nullable - private String _continue; - @jakarta.annotation.Nullable - private String fieldSelector; - @jakarta.annotation.Nullable - private String labelSelector; - @jakarta.annotation.Nullable - private Integer limit; - @jakarta.annotation.Nullable - private String resourceVersion; - @jakarta.annotation.Nullable - private String resourceVersionMatch; - @jakarta.annotation.Nullable - private Boolean sendInitialEvents; - @jakarta.annotation.Nullable - private Integer timeoutSeconds; - @jakarta.annotation.Nullable - private Boolean watch; - - private APIlistDeviceClassRequest() { - } - - /** - * Set pretty - * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIlistDeviceClassRequest - */ - public APIlistDeviceClassRequest pretty(@jakarta.annotation.Nullable String pretty) { - this.pretty = pretty; - return this; - } - - /** - * Set allowWatchBookmarks - * @param allowWatchBookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) - * @return APIlistDeviceClassRequest - */ - public APIlistDeviceClassRequest allowWatchBookmarks(@jakarta.annotation.Nullable Boolean allowWatchBookmarks) { - this.allowWatchBookmarks = allowWatchBookmarks; - return this; - } - - /** - * Set _continue - * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) - * @return APIlistDeviceClassRequest - */ - public APIlistDeviceClassRequest _continue(@jakarta.annotation.Nullable String _continue) { - this._continue = _continue; - return this; - } - - /** - * Set fieldSelector - * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @return APIlistDeviceClassRequest - */ - public APIlistDeviceClassRequest fieldSelector(@jakarta.annotation.Nullable String fieldSelector) { - this.fieldSelector = fieldSelector; - return this; - } - - /** - * Set labelSelector - * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) - * @return APIlistDeviceClassRequest - */ - public APIlistDeviceClassRequest labelSelector(@jakarta.annotation.Nullable String labelSelector) { - this.labelSelector = labelSelector; - return this; - } - - /** - * Set limit - * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) - * @return APIlistDeviceClassRequest - */ - public APIlistDeviceClassRequest limit(@jakarta.annotation.Nullable Integer limit) { - this.limit = limit; - return this; - } - - /** - * Set resourceVersion - * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) - * @return APIlistDeviceClassRequest - */ - public APIlistDeviceClassRequest resourceVersion(@jakarta.annotation.Nullable String resourceVersion) { - this.resourceVersion = resourceVersion; - return this; - } - - /** - * Set resourceVersionMatch - * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) - * @return APIlistDeviceClassRequest - */ - public APIlistDeviceClassRequest resourceVersionMatch(@jakarta.annotation.Nullable String resourceVersionMatch) { - this.resourceVersionMatch = resourceVersionMatch; - return this; - } - - /** - * Set sendInitialEvents - * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) - * @return APIlistDeviceClassRequest - */ - public APIlistDeviceClassRequest sendInitialEvents(@jakarta.annotation.Nullable Boolean sendInitialEvents) { - this.sendInitialEvents = sendInitialEvents; - return this; - } - - /** - * Set timeoutSeconds - * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) - * @return APIlistDeviceClassRequest - */ - public APIlistDeviceClassRequest timeoutSeconds(@jakarta.annotation.Nullable Integer timeoutSeconds) { - this.timeoutSeconds = timeoutSeconds; - return this; - } - - /** - * Set watch - * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return APIlistDeviceClassRequest - */ - public APIlistDeviceClassRequest watch(@jakarta.annotation.Nullable Boolean watch) { - this.watch = watch; - return this; - } - - /** - * Build call for listDeviceClass - * @param _callback ApiCallback API callback - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return listDeviceClassCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); - } - - /** - * Execute listDeviceClass request - * @return V1alpha3DeviceClassList - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public V1alpha3DeviceClassList execute() throws ApiException { - ApiResponse localVarResp = listDeviceClassWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); - return localVarResp.getData(); - } - - /** - * Execute listDeviceClass request with HTTP info returned - * @return ApiResponse<V1alpha3DeviceClassList> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public ApiResponse executeWithHttpInfo() throws ApiException { - return listDeviceClassWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); - } - - /** - * Execute listDeviceClass request (asynchronously) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return listDeviceClassAsync(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); - } - } - - /** - * - * list or watch objects of kind DeviceClass - * @return APIlistDeviceClassRequest - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public APIlistDeviceClassRequest listDeviceClass() { - return new APIlistDeviceClassRequest(); - } - private okhttp3.Call listDeviceTaintRuleCall(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/apis/resource.k8s.io/v1alpha3/devicetaintrules"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (pretty != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); - } - - if (allowWatchBookmarks != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("allowWatchBookmarks", allowWatchBookmarks)); - } - - if (_continue != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("continue", _continue)); - } - - if (fieldSelector != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldSelector", fieldSelector)); - } - - if (labelSelector != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("labelSelector", labelSelector)); - } - - if (limit != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); - } - - if (resourceVersion != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("resourceVersion", resourceVersion)); - } - - if (resourceVersionMatch != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("resourceVersionMatch", resourceVersionMatch)); - } - - if (sendInitialEvents != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("sendInitialEvents", sendInitialEvents)); - } - - if (timeoutSeconds != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); - } - - if (watch != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("watch", watch)); - } - - final String[] localVarAccepts = { - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/cbor", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch", - "application/cbor-seq" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "BearerToken" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call listDeviceTaintRuleValidateBeforeCall(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { - return listDeviceTaintRuleCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); - - } - - - private ApiResponse listDeviceTaintRuleWithHttpInfo(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch) throws ApiException { - okhttp3.Call localVarCall = listDeviceTaintRuleValidateBeforeCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - private okhttp3.Call listDeviceTaintRuleAsync(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = listDeviceTaintRuleValidateBeforeCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - - public class APIlistDeviceTaintRuleRequest { - @jakarta.annotation.Nullable - private String pretty; - @jakarta.annotation.Nullable - private Boolean allowWatchBookmarks; - @jakarta.annotation.Nullable - private String _continue; - @jakarta.annotation.Nullable - private String fieldSelector; - @jakarta.annotation.Nullable - private String labelSelector; - @jakarta.annotation.Nullable - private Integer limit; - @jakarta.annotation.Nullable - private String resourceVersion; - @jakarta.annotation.Nullable - private String resourceVersionMatch; - @jakarta.annotation.Nullable - private Boolean sendInitialEvents; - @jakarta.annotation.Nullable - private Integer timeoutSeconds; - @jakarta.annotation.Nullable - private Boolean watch; - - private APIlistDeviceTaintRuleRequest() { - } - - /** - * Set pretty - * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIlistDeviceTaintRuleRequest - */ - public APIlistDeviceTaintRuleRequest pretty(@jakarta.annotation.Nullable String pretty) { - this.pretty = pretty; - return this; - } - - /** - * Set allowWatchBookmarks - * @param allowWatchBookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) - * @return APIlistDeviceTaintRuleRequest - */ - public APIlistDeviceTaintRuleRequest allowWatchBookmarks(@jakarta.annotation.Nullable Boolean allowWatchBookmarks) { - this.allowWatchBookmarks = allowWatchBookmarks; - return this; - } - - /** - * Set _continue - * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) - * @return APIlistDeviceTaintRuleRequest - */ - public APIlistDeviceTaintRuleRequest _continue(@jakarta.annotation.Nullable String _continue) { - this._continue = _continue; - return this; - } - - /** - * Set fieldSelector - * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @return APIlistDeviceTaintRuleRequest - */ - public APIlistDeviceTaintRuleRequest fieldSelector(@jakarta.annotation.Nullable String fieldSelector) { - this.fieldSelector = fieldSelector; - return this; - } - - /** - * Set labelSelector - * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) - * @return APIlistDeviceTaintRuleRequest - */ - public APIlistDeviceTaintRuleRequest labelSelector(@jakarta.annotation.Nullable String labelSelector) { - this.labelSelector = labelSelector; - return this; - } - - /** - * Set limit - * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) - * @return APIlistDeviceTaintRuleRequest - */ - public APIlistDeviceTaintRuleRequest limit(@jakarta.annotation.Nullable Integer limit) { - this.limit = limit; - return this; - } - - /** - * Set resourceVersion - * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) - * @return APIlistDeviceTaintRuleRequest - */ - public APIlistDeviceTaintRuleRequest resourceVersion(@jakarta.annotation.Nullable String resourceVersion) { - this.resourceVersion = resourceVersion; - return this; - } - - /** - * Set resourceVersionMatch - * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) - * @return APIlistDeviceTaintRuleRequest - */ - public APIlistDeviceTaintRuleRequest resourceVersionMatch(@jakarta.annotation.Nullable String resourceVersionMatch) { - this.resourceVersionMatch = resourceVersionMatch; - return this; - } - - /** - * Set sendInitialEvents - * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) - * @return APIlistDeviceTaintRuleRequest - */ - public APIlistDeviceTaintRuleRequest sendInitialEvents(@jakarta.annotation.Nullable Boolean sendInitialEvents) { - this.sendInitialEvents = sendInitialEvents; - return this; - } - - /** - * Set timeoutSeconds - * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) - * @return APIlistDeviceTaintRuleRequest - */ - public APIlistDeviceTaintRuleRequest timeoutSeconds(@jakarta.annotation.Nullable Integer timeoutSeconds) { - this.timeoutSeconds = timeoutSeconds; - return this; - } - - /** - * Set watch - * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return APIlistDeviceTaintRuleRequest - */ - public APIlistDeviceTaintRuleRequest watch(@jakarta.annotation.Nullable Boolean watch) { - this.watch = watch; - return this; - } - - /** - * Build call for listDeviceTaintRule - * @param _callback ApiCallback API callback - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return listDeviceTaintRuleCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); - } - - /** - * Execute listDeviceTaintRule request - * @return V1alpha3DeviceTaintRuleList - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public V1alpha3DeviceTaintRuleList execute() throws ApiException { - ApiResponse localVarResp = listDeviceTaintRuleWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); - return localVarResp.getData(); - } - - /** - * Execute listDeviceTaintRule request with HTTP info returned - * @return ApiResponse<V1alpha3DeviceTaintRuleList> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public ApiResponse executeWithHttpInfo() throws ApiException { - return listDeviceTaintRuleWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); - } - - /** - * Execute listDeviceTaintRule request (asynchronously) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return listDeviceTaintRuleAsync(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); - } - } - - /** - * - * list or watch objects of kind DeviceTaintRule - * @return APIlistDeviceTaintRuleRequest - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public APIlistDeviceTaintRuleRequest listDeviceTaintRule() { - return new APIlistDeviceTaintRuleRequest(); - } - private okhttp3.Call listNamespacedResourceClaimCall(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims" - .replace("{" + "namespace" + "}", localVarApiClient.escapeString(namespace.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (pretty != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); - } - - if (allowWatchBookmarks != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("allowWatchBookmarks", allowWatchBookmarks)); - } - - if (_continue != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("continue", _continue)); - } - - if (fieldSelector != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldSelector", fieldSelector)); - } - - if (labelSelector != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("labelSelector", labelSelector)); - } - - if (limit != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); - } - - if (resourceVersion != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("resourceVersion", resourceVersion)); - } - - if (resourceVersionMatch != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("resourceVersionMatch", resourceVersionMatch)); - } - - if (sendInitialEvents != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("sendInitialEvents", sendInitialEvents)); - } - - if (timeoutSeconds != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); - } - - if (watch != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("watch", watch)); - } - - final String[] localVarAccepts = { - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/cbor", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch", - "application/cbor-seq" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "BearerToken" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call listNamespacedResourceClaimValidateBeforeCall(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'namespace' is set - if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling listNamespacedResourceClaim(Async)"); - } - - return listNamespacedResourceClaimCall(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); - - } - - - private ApiResponse listNamespacedResourceClaimWithHttpInfo(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch) throws ApiException { - okhttp3.Call localVarCall = listNamespacedResourceClaimValidateBeforeCall(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - private okhttp3.Call listNamespacedResourceClaimAsync(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = listNamespacedResourceClaimValidateBeforeCall(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - - public class APIlistNamespacedResourceClaimRequest { - @jakarta.annotation.Nonnull - private final String namespace; - @jakarta.annotation.Nullable - private String pretty; - @jakarta.annotation.Nullable - private Boolean allowWatchBookmarks; - @jakarta.annotation.Nullable - private String _continue; - @jakarta.annotation.Nullable - private String fieldSelector; - @jakarta.annotation.Nullable - private String labelSelector; - @jakarta.annotation.Nullable - private Integer limit; - @jakarta.annotation.Nullable - private String resourceVersion; - @jakarta.annotation.Nullable - private String resourceVersionMatch; - @jakarta.annotation.Nullable - private Boolean sendInitialEvents; - @jakarta.annotation.Nullable - private Integer timeoutSeconds; - @jakarta.annotation.Nullable - private Boolean watch; - - private APIlistNamespacedResourceClaimRequest(@jakarta.annotation.Nonnull String namespace) { - this.namespace = namespace; - } - - /** - * Set pretty - * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIlistNamespacedResourceClaimRequest - */ - public APIlistNamespacedResourceClaimRequest pretty(@jakarta.annotation.Nullable String pretty) { - this.pretty = pretty; - return this; - } - - /** - * Set allowWatchBookmarks - * @param allowWatchBookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) - * @return APIlistNamespacedResourceClaimRequest - */ - public APIlistNamespacedResourceClaimRequest allowWatchBookmarks(@jakarta.annotation.Nullable Boolean allowWatchBookmarks) { - this.allowWatchBookmarks = allowWatchBookmarks; - return this; - } - - /** - * Set _continue - * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) - * @return APIlistNamespacedResourceClaimRequest - */ - public APIlistNamespacedResourceClaimRequest _continue(@jakarta.annotation.Nullable String _continue) { - this._continue = _continue; - return this; - } - - /** - * Set fieldSelector - * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @return APIlistNamespacedResourceClaimRequest - */ - public APIlistNamespacedResourceClaimRequest fieldSelector(@jakarta.annotation.Nullable String fieldSelector) { - this.fieldSelector = fieldSelector; - return this; - } - - /** - * Set labelSelector - * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) - * @return APIlistNamespacedResourceClaimRequest - */ - public APIlistNamespacedResourceClaimRequest labelSelector(@jakarta.annotation.Nullable String labelSelector) { - this.labelSelector = labelSelector; - return this; - } - - /** - * Set limit - * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) - * @return APIlistNamespacedResourceClaimRequest - */ - public APIlistNamespacedResourceClaimRequest limit(@jakarta.annotation.Nullable Integer limit) { - this.limit = limit; - return this; - } - - /** - * Set resourceVersion - * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) - * @return APIlistNamespacedResourceClaimRequest - */ - public APIlistNamespacedResourceClaimRequest resourceVersion(@jakarta.annotation.Nullable String resourceVersion) { - this.resourceVersion = resourceVersion; - return this; - } - - /** - * Set resourceVersionMatch - * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) - * @return APIlistNamespacedResourceClaimRequest - */ - public APIlistNamespacedResourceClaimRequest resourceVersionMatch(@jakarta.annotation.Nullable String resourceVersionMatch) { - this.resourceVersionMatch = resourceVersionMatch; - return this; - } - - /** - * Set sendInitialEvents - * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) - * @return APIlistNamespacedResourceClaimRequest - */ - public APIlistNamespacedResourceClaimRequest sendInitialEvents(@jakarta.annotation.Nullable Boolean sendInitialEvents) { - this.sendInitialEvents = sendInitialEvents; - return this; - } - - /** - * Set timeoutSeconds - * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) - * @return APIlistNamespacedResourceClaimRequest - */ - public APIlistNamespacedResourceClaimRequest timeoutSeconds(@jakarta.annotation.Nullable Integer timeoutSeconds) { - this.timeoutSeconds = timeoutSeconds; - return this; - } - - /** - * Set watch - * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return APIlistNamespacedResourceClaimRequest - */ - public APIlistNamespacedResourceClaimRequest watch(@jakarta.annotation.Nullable Boolean watch) { - this.watch = watch; - return this; - } - - /** - * Build call for listNamespacedResourceClaim - * @param _callback ApiCallback API callback - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return listNamespacedResourceClaimCall(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); - } - - /** - * Execute listNamespacedResourceClaim request - * @return V1alpha3ResourceClaimList - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public V1alpha3ResourceClaimList execute() throws ApiException { - ApiResponse localVarResp = listNamespacedResourceClaimWithHttpInfo(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); - return localVarResp.getData(); - } - - /** - * Execute listNamespacedResourceClaim request with HTTP info returned - * @return ApiResponse<V1alpha3ResourceClaimList> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public ApiResponse executeWithHttpInfo() throws ApiException { - return listNamespacedResourceClaimWithHttpInfo(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); - } - - /** - * Execute listNamespacedResourceClaim request (asynchronously) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return listNamespacedResourceClaimAsync(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); - } - } - - /** - * - * list or watch objects of kind ResourceClaim - * @param namespace object name and auth scope, such as for teams and projects (required) - * @return APIlistNamespacedResourceClaimRequest - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public APIlistNamespacedResourceClaimRequest listNamespacedResourceClaim(@jakarta.annotation.Nonnull String namespace) { - return new APIlistNamespacedResourceClaimRequest(namespace); - } - private okhttp3.Call listNamespacedResourceClaimTemplateCall(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates" - .replace("{" + "namespace" + "}", localVarApiClient.escapeString(namespace.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (pretty != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); - } - - if (allowWatchBookmarks != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("allowWatchBookmarks", allowWatchBookmarks)); - } - - if (_continue != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("continue", _continue)); - } - - if (fieldSelector != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldSelector", fieldSelector)); - } - - if (labelSelector != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("labelSelector", labelSelector)); - } - - if (limit != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); - } - - if (resourceVersion != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("resourceVersion", resourceVersion)); - } - - if (resourceVersionMatch != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("resourceVersionMatch", resourceVersionMatch)); - } - - if (sendInitialEvents != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("sendInitialEvents", sendInitialEvents)); - } - - if (timeoutSeconds != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); - } - - if (watch != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("watch", watch)); - } - - final String[] localVarAccepts = { - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/cbor", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch", - "application/cbor-seq" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "BearerToken" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call listNamespacedResourceClaimTemplateValidateBeforeCall(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'namespace' is set - if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling listNamespacedResourceClaimTemplate(Async)"); - } - - return listNamespacedResourceClaimTemplateCall(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); - - } - - - private ApiResponse listNamespacedResourceClaimTemplateWithHttpInfo(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch) throws ApiException { - okhttp3.Call localVarCall = listNamespacedResourceClaimTemplateValidateBeforeCall(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - private okhttp3.Call listNamespacedResourceClaimTemplateAsync(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = listNamespacedResourceClaimTemplateValidateBeforeCall(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - - public class APIlistNamespacedResourceClaimTemplateRequest { - @jakarta.annotation.Nonnull - private final String namespace; - @jakarta.annotation.Nullable - private String pretty; - @jakarta.annotation.Nullable - private Boolean allowWatchBookmarks; - @jakarta.annotation.Nullable - private String _continue; - @jakarta.annotation.Nullable - private String fieldSelector; - @jakarta.annotation.Nullable - private String labelSelector; - @jakarta.annotation.Nullable - private Integer limit; - @jakarta.annotation.Nullable - private String resourceVersion; - @jakarta.annotation.Nullable - private String resourceVersionMatch; - @jakarta.annotation.Nullable - private Boolean sendInitialEvents; - @jakarta.annotation.Nullable - private Integer timeoutSeconds; - @jakarta.annotation.Nullable - private Boolean watch; - - private APIlistNamespacedResourceClaimTemplateRequest(@jakarta.annotation.Nonnull String namespace) { - this.namespace = namespace; - } - - /** - * Set pretty - * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIlistNamespacedResourceClaimTemplateRequest - */ - public APIlistNamespacedResourceClaimTemplateRequest pretty(@jakarta.annotation.Nullable String pretty) { - this.pretty = pretty; - return this; - } - - /** - * Set allowWatchBookmarks - * @param allowWatchBookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) - * @return APIlistNamespacedResourceClaimTemplateRequest - */ - public APIlistNamespacedResourceClaimTemplateRequest allowWatchBookmarks(@jakarta.annotation.Nullable Boolean allowWatchBookmarks) { - this.allowWatchBookmarks = allowWatchBookmarks; - return this; - } - - /** - * Set _continue - * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) - * @return APIlistNamespacedResourceClaimTemplateRequest - */ - public APIlistNamespacedResourceClaimTemplateRequest _continue(@jakarta.annotation.Nullable String _continue) { - this._continue = _continue; - return this; - } - - /** - * Set fieldSelector - * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @return APIlistNamespacedResourceClaimTemplateRequest - */ - public APIlistNamespacedResourceClaimTemplateRequest fieldSelector(@jakarta.annotation.Nullable String fieldSelector) { - this.fieldSelector = fieldSelector; - return this; - } - - /** - * Set labelSelector - * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) - * @return APIlistNamespacedResourceClaimTemplateRequest - */ - public APIlistNamespacedResourceClaimTemplateRequest labelSelector(@jakarta.annotation.Nullable String labelSelector) { - this.labelSelector = labelSelector; - return this; - } - - /** - * Set limit - * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) - * @return APIlistNamespacedResourceClaimTemplateRequest - */ - public APIlistNamespacedResourceClaimTemplateRequest limit(@jakarta.annotation.Nullable Integer limit) { - this.limit = limit; - return this; - } - - /** - * Set resourceVersion - * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) - * @return APIlistNamespacedResourceClaimTemplateRequest - */ - public APIlistNamespacedResourceClaimTemplateRequest resourceVersion(@jakarta.annotation.Nullable String resourceVersion) { - this.resourceVersion = resourceVersion; - return this; - } - - /** - * Set resourceVersionMatch - * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) - * @return APIlistNamespacedResourceClaimTemplateRequest - */ - public APIlistNamespacedResourceClaimTemplateRequest resourceVersionMatch(@jakarta.annotation.Nullable String resourceVersionMatch) { - this.resourceVersionMatch = resourceVersionMatch; - return this; - } - - /** - * Set sendInitialEvents - * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) - * @return APIlistNamespacedResourceClaimTemplateRequest - */ - public APIlistNamespacedResourceClaimTemplateRequest sendInitialEvents(@jakarta.annotation.Nullable Boolean sendInitialEvents) { - this.sendInitialEvents = sendInitialEvents; - return this; - } - - /** - * Set timeoutSeconds - * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) - * @return APIlistNamespacedResourceClaimTemplateRequest - */ - public APIlistNamespacedResourceClaimTemplateRequest timeoutSeconds(@jakarta.annotation.Nullable Integer timeoutSeconds) { - this.timeoutSeconds = timeoutSeconds; - return this; - } - - /** - * Set watch - * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return APIlistNamespacedResourceClaimTemplateRequest - */ - public APIlistNamespacedResourceClaimTemplateRequest watch(@jakarta.annotation.Nullable Boolean watch) { - this.watch = watch; - return this; - } - - /** - * Build call for listNamespacedResourceClaimTemplate - * @param _callback ApiCallback API callback - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return listNamespacedResourceClaimTemplateCall(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); - } - - /** - * Execute listNamespacedResourceClaimTemplate request - * @return V1alpha3ResourceClaimTemplateList - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public V1alpha3ResourceClaimTemplateList execute() throws ApiException { - ApiResponse localVarResp = listNamespacedResourceClaimTemplateWithHttpInfo(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); - return localVarResp.getData(); - } - - /** - * Execute listNamespacedResourceClaimTemplate request with HTTP info returned - * @return ApiResponse<V1alpha3ResourceClaimTemplateList> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public ApiResponse executeWithHttpInfo() throws ApiException { - return listNamespacedResourceClaimTemplateWithHttpInfo(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); - } - - /** - * Execute listNamespacedResourceClaimTemplate request (asynchronously) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return listNamespacedResourceClaimTemplateAsync(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); - } - } - - /** - * - * list or watch objects of kind ResourceClaimTemplate - * @param namespace object name and auth scope, such as for teams and projects (required) - * @return APIlistNamespacedResourceClaimTemplateRequest - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public APIlistNamespacedResourceClaimTemplateRequest listNamespacedResourceClaimTemplate(@jakarta.annotation.Nonnull String namespace) { - return new APIlistNamespacedResourceClaimTemplateRequest(namespace); - } - private okhttp3.Call listResourceClaimForAllNamespacesCall(@jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/apis/resource.k8s.io/v1alpha3/resourceclaims"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (allowWatchBookmarks != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("allowWatchBookmarks", allowWatchBookmarks)); - } - - if (_continue != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("continue", _continue)); - } - - if (fieldSelector != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldSelector", fieldSelector)); - } - - if (labelSelector != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("labelSelector", labelSelector)); - } - - if (limit != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); - } - - if (pretty != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); - } - - if (resourceVersion != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("resourceVersion", resourceVersion)); - } - - if (resourceVersionMatch != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("resourceVersionMatch", resourceVersionMatch)); - } - - if (sendInitialEvents != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("sendInitialEvents", sendInitialEvents)); - } - - if (timeoutSeconds != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); - } - - if (watch != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("watch", watch)); - } - - final String[] localVarAccepts = { - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/cbor", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch", - "application/cbor-seq" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "BearerToken" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call listResourceClaimForAllNamespacesValidateBeforeCall(@jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { - return listResourceClaimForAllNamespacesCall(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); - - } - - - private ApiResponse listResourceClaimForAllNamespacesWithHttpInfo(@jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch) throws ApiException { - okhttp3.Call localVarCall = listResourceClaimForAllNamespacesValidateBeforeCall(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - private okhttp3.Call listResourceClaimForAllNamespacesAsync(@jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = listResourceClaimForAllNamespacesValidateBeforeCall(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - - public class APIlistResourceClaimForAllNamespacesRequest { - @jakarta.annotation.Nullable - private Boolean allowWatchBookmarks; - @jakarta.annotation.Nullable - private String _continue; - @jakarta.annotation.Nullable - private String fieldSelector; - @jakarta.annotation.Nullable - private String labelSelector; - @jakarta.annotation.Nullable - private Integer limit; - @jakarta.annotation.Nullable - private String pretty; - @jakarta.annotation.Nullable - private String resourceVersion; - @jakarta.annotation.Nullable - private String resourceVersionMatch; - @jakarta.annotation.Nullable - private Boolean sendInitialEvents; - @jakarta.annotation.Nullable - private Integer timeoutSeconds; - @jakarta.annotation.Nullable - private Boolean watch; - - private APIlistResourceClaimForAllNamespacesRequest() { - } - - /** - * Set allowWatchBookmarks - * @param allowWatchBookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) - * @return APIlistResourceClaimForAllNamespacesRequest - */ - public APIlistResourceClaimForAllNamespacesRequest allowWatchBookmarks(@jakarta.annotation.Nullable Boolean allowWatchBookmarks) { - this.allowWatchBookmarks = allowWatchBookmarks; - return this; - } - - /** - * Set _continue - * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) - * @return APIlistResourceClaimForAllNamespacesRequest - */ - public APIlistResourceClaimForAllNamespacesRequest _continue(@jakarta.annotation.Nullable String _continue) { - this._continue = _continue; - return this; - } - - /** - * Set fieldSelector - * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @return APIlistResourceClaimForAllNamespacesRequest - */ - public APIlistResourceClaimForAllNamespacesRequest fieldSelector(@jakarta.annotation.Nullable String fieldSelector) { - this.fieldSelector = fieldSelector; - return this; - } - - /** - * Set labelSelector - * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) - * @return APIlistResourceClaimForAllNamespacesRequest - */ - public APIlistResourceClaimForAllNamespacesRequest labelSelector(@jakarta.annotation.Nullable String labelSelector) { - this.labelSelector = labelSelector; - return this; - } - - /** - * Set limit - * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) - * @return APIlistResourceClaimForAllNamespacesRequest - */ - public APIlistResourceClaimForAllNamespacesRequest limit(@jakarta.annotation.Nullable Integer limit) { - this.limit = limit; - return this; - } - - /** - * Set pretty - * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIlistResourceClaimForAllNamespacesRequest - */ - public APIlistResourceClaimForAllNamespacesRequest pretty(@jakarta.annotation.Nullable String pretty) { - this.pretty = pretty; - return this; - } - - /** - * Set resourceVersion - * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) - * @return APIlistResourceClaimForAllNamespacesRequest - */ - public APIlistResourceClaimForAllNamespacesRequest resourceVersion(@jakarta.annotation.Nullable String resourceVersion) { - this.resourceVersion = resourceVersion; - return this; - } - - /** - * Set resourceVersionMatch - * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) - * @return APIlistResourceClaimForAllNamespacesRequest - */ - public APIlistResourceClaimForAllNamespacesRequest resourceVersionMatch(@jakarta.annotation.Nullable String resourceVersionMatch) { - this.resourceVersionMatch = resourceVersionMatch; - return this; - } - - /** - * Set sendInitialEvents - * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) - * @return APIlistResourceClaimForAllNamespacesRequest - */ - public APIlistResourceClaimForAllNamespacesRequest sendInitialEvents(@jakarta.annotation.Nullable Boolean sendInitialEvents) { - this.sendInitialEvents = sendInitialEvents; - return this; - } - - /** - * Set timeoutSeconds - * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) - * @return APIlistResourceClaimForAllNamespacesRequest - */ - public APIlistResourceClaimForAllNamespacesRequest timeoutSeconds(@jakarta.annotation.Nullable Integer timeoutSeconds) { - this.timeoutSeconds = timeoutSeconds; - return this; - } - - /** - * Set watch - * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return APIlistResourceClaimForAllNamespacesRequest - */ - public APIlistResourceClaimForAllNamespacesRequest watch(@jakarta.annotation.Nullable Boolean watch) { - this.watch = watch; - return this; - } - - /** - * Build call for listResourceClaimForAllNamespaces - * @param _callback ApiCallback API callback - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return listResourceClaimForAllNamespacesCall(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); - } - - /** - * Execute listResourceClaimForAllNamespaces request - * @return V1alpha3ResourceClaimList - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public V1alpha3ResourceClaimList execute() throws ApiException { - ApiResponse localVarResp = listResourceClaimForAllNamespacesWithHttpInfo(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); - return localVarResp.getData(); - } - - /** - * Execute listResourceClaimForAllNamespaces request with HTTP info returned - * @return ApiResponse<V1alpha3ResourceClaimList> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public ApiResponse executeWithHttpInfo() throws ApiException { - return listResourceClaimForAllNamespacesWithHttpInfo(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); - } - - /** - * Execute listResourceClaimForAllNamespaces request (asynchronously) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return listResourceClaimForAllNamespacesAsync(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); - } - } - - /** - * - * list or watch objects of kind ResourceClaim - * @return APIlistResourceClaimForAllNamespacesRequest - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public APIlistResourceClaimForAllNamespacesRequest listResourceClaimForAllNamespaces() { - return new APIlistResourceClaimForAllNamespacesRequest(); - } - private okhttp3.Call listResourceClaimTemplateForAllNamespacesCall(@jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/apis/resource.k8s.io/v1alpha3/resourceclaimtemplates"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (allowWatchBookmarks != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("allowWatchBookmarks", allowWatchBookmarks)); - } - - if (_continue != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("continue", _continue)); - } - - if (fieldSelector != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldSelector", fieldSelector)); - } - - if (labelSelector != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("labelSelector", labelSelector)); - } - - if (limit != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); - } - - if (pretty != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); - } - - if (resourceVersion != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("resourceVersion", resourceVersion)); - } - - if (resourceVersionMatch != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("resourceVersionMatch", resourceVersionMatch)); - } - - if (sendInitialEvents != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("sendInitialEvents", sendInitialEvents)); - } - - if (timeoutSeconds != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); - } - - if (watch != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("watch", watch)); - } - - final String[] localVarAccepts = { - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/cbor", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch", - "application/cbor-seq" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "BearerToken" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call listResourceClaimTemplateForAllNamespacesValidateBeforeCall(@jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { - return listResourceClaimTemplateForAllNamespacesCall(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); - - } - - - private ApiResponse listResourceClaimTemplateForAllNamespacesWithHttpInfo(@jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch) throws ApiException { - okhttp3.Call localVarCall = listResourceClaimTemplateForAllNamespacesValidateBeforeCall(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - private okhttp3.Call listResourceClaimTemplateForAllNamespacesAsync(@jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = listResourceClaimTemplateForAllNamespacesValidateBeforeCall(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - - public class APIlistResourceClaimTemplateForAllNamespacesRequest { - @jakarta.annotation.Nullable - private Boolean allowWatchBookmarks; - @jakarta.annotation.Nullable - private String _continue; - @jakarta.annotation.Nullable - private String fieldSelector; - @jakarta.annotation.Nullable - private String labelSelector; - @jakarta.annotation.Nullable - private Integer limit; - @jakarta.annotation.Nullable - private String pretty; - @jakarta.annotation.Nullable - private String resourceVersion; - @jakarta.annotation.Nullable - private String resourceVersionMatch; - @jakarta.annotation.Nullable - private Boolean sendInitialEvents; - @jakarta.annotation.Nullable - private Integer timeoutSeconds; - @jakarta.annotation.Nullable - private Boolean watch; - - private APIlistResourceClaimTemplateForAllNamespacesRequest() { - } - - /** - * Set allowWatchBookmarks - * @param allowWatchBookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) - * @return APIlistResourceClaimTemplateForAllNamespacesRequest - */ - public APIlistResourceClaimTemplateForAllNamespacesRequest allowWatchBookmarks(@jakarta.annotation.Nullable Boolean allowWatchBookmarks) { - this.allowWatchBookmarks = allowWatchBookmarks; - return this; - } - - /** - * Set _continue - * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) - * @return APIlistResourceClaimTemplateForAllNamespacesRequest - */ - public APIlistResourceClaimTemplateForAllNamespacesRequest _continue(@jakarta.annotation.Nullable String _continue) { - this._continue = _continue; - return this; - } - - /** - * Set fieldSelector - * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @return APIlistResourceClaimTemplateForAllNamespacesRequest - */ - public APIlistResourceClaimTemplateForAllNamespacesRequest fieldSelector(@jakarta.annotation.Nullable String fieldSelector) { - this.fieldSelector = fieldSelector; - return this; - } - - /** - * Set labelSelector - * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) - * @return APIlistResourceClaimTemplateForAllNamespacesRequest - */ - public APIlistResourceClaimTemplateForAllNamespacesRequest labelSelector(@jakarta.annotation.Nullable String labelSelector) { - this.labelSelector = labelSelector; - return this; - } - - /** - * Set limit - * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) - * @return APIlistResourceClaimTemplateForAllNamespacesRequest - */ - public APIlistResourceClaimTemplateForAllNamespacesRequest limit(@jakarta.annotation.Nullable Integer limit) { - this.limit = limit; - return this; - } - - /** - * Set pretty - * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIlistResourceClaimTemplateForAllNamespacesRequest - */ - public APIlistResourceClaimTemplateForAllNamespacesRequest pretty(@jakarta.annotation.Nullable String pretty) { - this.pretty = pretty; - return this; - } - - /** - * Set resourceVersion - * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) - * @return APIlistResourceClaimTemplateForAllNamespacesRequest - */ - public APIlistResourceClaimTemplateForAllNamespacesRequest resourceVersion(@jakarta.annotation.Nullable String resourceVersion) { - this.resourceVersion = resourceVersion; - return this; - } - - /** - * Set resourceVersionMatch - * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) - * @return APIlistResourceClaimTemplateForAllNamespacesRequest - */ - public APIlistResourceClaimTemplateForAllNamespacesRequest resourceVersionMatch(@jakarta.annotation.Nullable String resourceVersionMatch) { - this.resourceVersionMatch = resourceVersionMatch; - return this; - } - - /** - * Set sendInitialEvents - * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) - * @return APIlistResourceClaimTemplateForAllNamespacesRequest - */ - public APIlistResourceClaimTemplateForAllNamespacesRequest sendInitialEvents(@jakarta.annotation.Nullable Boolean sendInitialEvents) { - this.sendInitialEvents = sendInitialEvents; - return this; - } - - /** - * Set timeoutSeconds - * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) - * @return APIlistResourceClaimTemplateForAllNamespacesRequest - */ - public APIlistResourceClaimTemplateForAllNamespacesRequest timeoutSeconds(@jakarta.annotation.Nullable Integer timeoutSeconds) { - this.timeoutSeconds = timeoutSeconds; - return this; - } - - /** - * Set watch - * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return APIlistResourceClaimTemplateForAllNamespacesRequest - */ - public APIlistResourceClaimTemplateForAllNamespacesRequest watch(@jakarta.annotation.Nullable Boolean watch) { - this.watch = watch; - return this; - } - - /** - * Build call for listResourceClaimTemplateForAllNamespaces - * @param _callback ApiCallback API callback - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return listResourceClaimTemplateForAllNamespacesCall(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); - } - - /** - * Execute listResourceClaimTemplateForAllNamespaces request - * @return V1alpha3ResourceClaimTemplateList - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public V1alpha3ResourceClaimTemplateList execute() throws ApiException { - ApiResponse localVarResp = listResourceClaimTemplateForAllNamespacesWithHttpInfo(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); - return localVarResp.getData(); - } - - /** - * Execute listResourceClaimTemplateForAllNamespaces request with HTTP info returned - * @return ApiResponse<V1alpha3ResourceClaimTemplateList> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public ApiResponse executeWithHttpInfo() throws ApiException { - return listResourceClaimTemplateForAllNamespacesWithHttpInfo(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); - } - - /** - * Execute listResourceClaimTemplateForAllNamespaces request (asynchronously) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return listResourceClaimTemplateForAllNamespacesAsync(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); - } - } - - /** - * - * list or watch objects of kind ResourceClaimTemplate - * @return APIlistResourceClaimTemplateForAllNamespacesRequest - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public APIlistResourceClaimTemplateForAllNamespacesRequest listResourceClaimTemplateForAllNamespaces() { - return new APIlistResourceClaimTemplateForAllNamespacesRequest(); - } - private okhttp3.Call listResourceSliceCall(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/apis/resource.k8s.io/v1alpha3/resourceslices"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (pretty != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); - } - - if (allowWatchBookmarks != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("allowWatchBookmarks", allowWatchBookmarks)); - } - - if (_continue != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("continue", _continue)); - } - - if (fieldSelector != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldSelector", fieldSelector)); - } - - if (labelSelector != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("labelSelector", labelSelector)); - } - - if (limit != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); - } - - if (resourceVersion != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("resourceVersion", resourceVersion)); - } - - if (resourceVersionMatch != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("resourceVersionMatch", resourceVersionMatch)); - } - - if (sendInitialEvents != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("sendInitialEvents", sendInitialEvents)); - } - - if (timeoutSeconds != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); - } - - if (watch != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("watch", watch)); - } - - final String[] localVarAccepts = { - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/cbor", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch", - "application/cbor-seq" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "BearerToken" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call listResourceSliceValidateBeforeCall(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { - return listResourceSliceCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); - - } - - - private ApiResponse listResourceSliceWithHttpInfo(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch) throws ApiException { - okhttp3.Call localVarCall = listResourceSliceValidateBeforeCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - private okhttp3.Call listResourceSliceAsync(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = listResourceSliceValidateBeforeCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - - public class APIlistResourceSliceRequest { - @jakarta.annotation.Nullable - private String pretty; - @jakarta.annotation.Nullable - private Boolean allowWatchBookmarks; - @jakarta.annotation.Nullable - private String _continue; - @jakarta.annotation.Nullable - private String fieldSelector; - @jakarta.annotation.Nullable - private String labelSelector; - @jakarta.annotation.Nullable - private Integer limit; - @jakarta.annotation.Nullable - private String resourceVersion; - @jakarta.annotation.Nullable - private String resourceVersionMatch; - @jakarta.annotation.Nullable - private Boolean sendInitialEvents; - @jakarta.annotation.Nullable - private Integer timeoutSeconds; - @jakarta.annotation.Nullable - private Boolean watch; - - private APIlistResourceSliceRequest() { - } - - /** - * Set pretty - * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIlistResourceSliceRequest - */ - public APIlistResourceSliceRequest pretty(@jakarta.annotation.Nullable String pretty) { - this.pretty = pretty; - return this; - } - - /** - * Set allowWatchBookmarks - * @param allowWatchBookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) - * @return APIlistResourceSliceRequest - */ - public APIlistResourceSliceRequest allowWatchBookmarks(@jakarta.annotation.Nullable Boolean allowWatchBookmarks) { - this.allowWatchBookmarks = allowWatchBookmarks; - return this; - } - - /** - * Set _continue - * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) - * @return APIlistResourceSliceRequest - */ - public APIlistResourceSliceRequest _continue(@jakarta.annotation.Nullable String _continue) { - this._continue = _continue; - return this; - } - - /** - * Set fieldSelector - * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @return APIlistResourceSliceRequest - */ - public APIlistResourceSliceRequest fieldSelector(@jakarta.annotation.Nullable String fieldSelector) { - this.fieldSelector = fieldSelector; - return this; - } - - /** - * Set labelSelector - * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) - * @return APIlistResourceSliceRequest - */ - public APIlistResourceSliceRequest labelSelector(@jakarta.annotation.Nullable String labelSelector) { - this.labelSelector = labelSelector; - return this; - } - - /** - * Set limit - * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) - * @return APIlistResourceSliceRequest - */ - public APIlistResourceSliceRequest limit(@jakarta.annotation.Nullable Integer limit) { - this.limit = limit; - return this; - } - - /** - * Set resourceVersion - * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) - * @return APIlistResourceSliceRequest - */ - public APIlistResourceSliceRequest resourceVersion(@jakarta.annotation.Nullable String resourceVersion) { - this.resourceVersion = resourceVersion; - return this; - } - - /** - * Set resourceVersionMatch - * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) - * @return APIlistResourceSliceRequest - */ - public APIlistResourceSliceRequest resourceVersionMatch(@jakarta.annotation.Nullable String resourceVersionMatch) { - this.resourceVersionMatch = resourceVersionMatch; - return this; - } - - /** - * Set sendInitialEvents - * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) - * @return APIlistResourceSliceRequest - */ - public APIlistResourceSliceRequest sendInitialEvents(@jakarta.annotation.Nullable Boolean sendInitialEvents) { - this.sendInitialEvents = sendInitialEvents; - return this; - } - - /** - * Set timeoutSeconds - * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) - * @return APIlistResourceSliceRequest - */ - public APIlistResourceSliceRequest timeoutSeconds(@jakarta.annotation.Nullable Integer timeoutSeconds) { - this.timeoutSeconds = timeoutSeconds; - return this; - } - - /** - * Set watch - * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return APIlistResourceSliceRequest - */ - public APIlistResourceSliceRequest watch(@jakarta.annotation.Nullable Boolean watch) { - this.watch = watch; - return this; - } - - /** - * Build call for listResourceSlice - * @param _callback ApiCallback API callback - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return listResourceSliceCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); - } - - /** - * Execute listResourceSlice request - * @return V1alpha3ResourceSliceList - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public V1alpha3ResourceSliceList execute() throws ApiException { - ApiResponse localVarResp = listResourceSliceWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); - return localVarResp.getData(); - } - - /** - * Execute listResourceSlice request with HTTP info returned - * @return ApiResponse<V1alpha3ResourceSliceList> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public ApiResponse executeWithHttpInfo() throws ApiException { - return listResourceSliceWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); - } - - /** - * Execute listResourceSlice request (asynchronously) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return listResourceSliceAsync(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); - } - } - - /** - * - * list or watch objects of kind ResourceSlice - * @return APIlistResourceSliceRequest - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public APIlistResourceSliceRequest listResourceSlice() { - return new APIlistResourceSliceRequest(); - } - private okhttp3.Call patchDeviceClassCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = body; - - // create path and map variables - String localVarPath = "/apis/resource.k8s.io/v1alpha3/deviceclasses/{name}" - .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (pretty != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); - } - - if (dryRun != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("dryRun", dryRun)); - } - - if (fieldManager != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldManager", fieldManager)); - } - - if (fieldValidation != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldValidation", fieldValidation)); - } - - if (force != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("force", force)); - } - - final String[] localVarAccepts = { - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/cbor" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "BearerToken" }; - return localVarApiClient.buildCall(basePath, localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call patchDeviceClassValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling patchDeviceClass(Async)"); - } - - // verify the required parameter 'body' is set - if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling patchDeviceClass(Async)"); - } - - return patchDeviceClassCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); - - } - - - private ApiResponse patchDeviceClassWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force) throws ApiException { - okhttp3.Call localVarCall = patchDeviceClassValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - private okhttp3.Call patchDeviceClassAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = patchDeviceClassValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - - public class APIpatchDeviceClassRequest { - @jakarta.annotation.Nonnull - private final String name; - @jakarta.annotation.Nonnull - private final V1Patch body; - @jakarta.annotation.Nullable - private String pretty; - @jakarta.annotation.Nullable - private String dryRun; - @jakarta.annotation.Nullable - private String fieldManager; - @jakarta.annotation.Nullable - private String fieldValidation; - @jakarta.annotation.Nullable - private Boolean force; - - private APIpatchDeviceClassRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body) { - this.name = name; - this.body = body; - } - - /** - * Set pretty - * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIpatchDeviceClassRequest - */ - public APIpatchDeviceClassRequest pretty(@jakarta.annotation.Nullable String pretty) { - this.pretty = pretty; - return this; - } - - /** - * Set dryRun - * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) - * @return APIpatchDeviceClassRequest - */ - public APIpatchDeviceClassRequest dryRun(@jakarta.annotation.Nullable String dryRun) { - this.dryRun = dryRun; - return this; - } - - /** - * Set fieldManager - * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). (optional) - * @return APIpatchDeviceClassRequest - */ - public APIpatchDeviceClassRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { - this.fieldManager = fieldManager; - return this; - } - - /** - * Set fieldValidation - * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) - * @return APIpatchDeviceClassRequest - */ - public APIpatchDeviceClassRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { - this.fieldValidation = fieldValidation; - return this; - } - - /** - * Set force - * @param force Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. (optional) - * @return APIpatchDeviceClassRequest - */ - public APIpatchDeviceClassRequest force(@jakarta.annotation.Nullable Boolean force) { - this.force = force; - return this; - } - - /** - * Build call for patchDeviceClass - * @param _callback ApiCallback API callback - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
- */ - public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return patchDeviceClassCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); - } - - /** - * Execute patchDeviceClass request - * @return V1alpha3DeviceClass - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
- */ - public V1alpha3DeviceClass execute() throws ApiException { - ApiResponse localVarResp = patchDeviceClassWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force); - return localVarResp.getData(); - } - - /** - * Execute patchDeviceClass request with HTTP info returned - * @return ApiResponse<V1alpha3DeviceClass> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
- */ - public ApiResponse executeWithHttpInfo() throws ApiException { - return patchDeviceClassWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force); - } - - /** - * Execute patchDeviceClass request (asynchronously) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
- */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return patchDeviceClassAsync(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); - } - } - - /** - * - * partially update the specified DeviceClass - * @param name name of the DeviceClass (required) - * @param body (required) - * @return APIpatchDeviceClassRequest - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
- */ - public APIpatchDeviceClassRequest patchDeviceClass(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body) { - return new APIpatchDeviceClassRequest(name, body); - } - private okhttp3.Call patchDeviceTaintRuleCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = body; - - // create path and map variables - String localVarPath = "/apis/resource.k8s.io/v1alpha3/devicetaintrules/{name}" - .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (pretty != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); - } - - if (dryRun != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("dryRun", dryRun)); - } - - if (fieldManager != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldManager", fieldManager)); - } - - if (fieldValidation != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldValidation", fieldValidation)); - } - - if (force != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("force", force)); - } - - final String[] localVarAccepts = { - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/cbor" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "BearerToken" }; - return localVarApiClient.buildCall(basePath, localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call patchDeviceTaintRuleValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling patchDeviceTaintRule(Async)"); - } - - // verify the required parameter 'body' is set - if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling patchDeviceTaintRule(Async)"); - } - - return patchDeviceTaintRuleCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); - - } - - - private ApiResponse patchDeviceTaintRuleWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force) throws ApiException { - okhttp3.Call localVarCall = patchDeviceTaintRuleValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - private okhttp3.Call patchDeviceTaintRuleAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = patchDeviceTaintRuleValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - - public class APIpatchDeviceTaintRuleRequest { - @jakarta.annotation.Nonnull - private final String name; - @jakarta.annotation.Nonnull - private final V1Patch body; - @jakarta.annotation.Nullable - private String pretty; - @jakarta.annotation.Nullable - private String dryRun; - @jakarta.annotation.Nullable - private String fieldManager; - @jakarta.annotation.Nullable - private String fieldValidation; - @jakarta.annotation.Nullable - private Boolean force; - - private APIpatchDeviceTaintRuleRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body) { - this.name = name; - this.body = body; - } - - /** - * Set pretty - * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIpatchDeviceTaintRuleRequest - */ - public APIpatchDeviceTaintRuleRequest pretty(@jakarta.annotation.Nullable String pretty) { - this.pretty = pretty; - return this; - } - - /** - * Set dryRun - * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) - * @return APIpatchDeviceTaintRuleRequest - */ - public APIpatchDeviceTaintRuleRequest dryRun(@jakarta.annotation.Nullable String dryRun) { - this.dryRun = dryRun; - return this; - } - - /** - * Set fieldManager - * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). (optional) - * @return APIpatchDeviceTaintRuleRequest - */ - public APIpatchDeviceTaintRuleRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { - this.fieldManager = fieldManager; - return this; - } - - /** - * Set fieldValidation - * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) - * @return APIpatchDeviceTaintRuleRequest - */ - public APIpatchDeviceTaintRuleRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { - this.fieldValidation = fieldValidation; - return this; - } - - /** - * Set force - * @param force Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. (optional) - * @return APIpatchDeviceTaintRuleRequest - */ - public APIpatchDeviceTaintRuleRequest force(@jakarta.annotation.Nullable Boolean force) { - this.force = force; - return this; - } - - /** - * Build call for patchDeviceTaintRule - * @param _callback ApiCallback API callback - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
- */ - public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return patchDeviceTaintRuleCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); - } - - /** - * Execute patchDeviceTaintRule request - * @return V1alpha3DeviceTaintRule - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
- */ - public V1alpha3DeviceTaintRule execute() throws ApiException { - ApiResponse localVarResp = patchDeviceTaintRuleWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force); - return localVarResp.getData(); - } - - /** - * Execute patchDeviceTaintRule request with HTTP info returned - * @return ApiResponse<V1alpha3DeviceTaintRule> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
- */ - public ApiResponse executeWithHttpInfo() throws ApiException { - return patchDeviceTaintRuleWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force); - } - - /** - * Execute patchDeviceTaintRule request (asynchronously) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
- */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return patchDeviceTaintRuleAsync(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); - } - } - - /** - * - * partially update the specified DeviceTaintRule - * @param name name of the DeviceTaintRule (required) - * @param body (required) - * @return APIpatchDeviceTaintRuleRequest - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
- */ - public APIpatchDeviceTaintRuleRequest patchDeviceTaintRule(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body) { - return new APIpatchDeviceTaintRuleRequest(name, body); - } - private okhttp3.Call patchNamespacedResourceClaimCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = body; - - // create path and map variables - String localVarPath = "/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name}" - .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())) - .replace("{" + "namespace" + "}", localVarApiClient.escapeString(namespace.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (pretty != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); - } - - if (dryRun != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("dryRun", dryRun)); - } - - if (fieldManager != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldManager", fieldManager)); - } - - if (fieldValidation != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldValidation", fieldValidation)); - } - - if (force != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("force", force)); - } - - final String[] localVarAccepts = { - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/cbor" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "BearerToken" }; - return localVarApiClient.buildCall(basePath, localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call patchNamespacedResourceClaimValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedResourceClaim(Async)"); - } - - // verify the required parameter 'namespace' is set - if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedResourceClaim(Async)"); - } - - // verify the required parameter 'body' is set - if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedResourceClaim(Async)"); - } - - return patchNamespacedResourceClaimCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); - - } - - - private ApiResponse patchNamespacedResourceClaimWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force) throws ApiException { - okhttp3.Call localVarCall = patchNamespacedResourceClaimValidateBeforeCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - private okhttp3.Call patchNamespacedResourceClaimAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = patchNamespacedResourceClaimValidateBeforeCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - - public class APIpatchNamespacedResourceClaimRequest { - @jakarta.annotation.Nonnull - private final String name; - @jakarta.annotation.Nonnull - private final String namespace; - @jakarta.annotation.Nonnull - private final V1Patch body; - @jakarta.annotation.Nullable - private String pretty; - @jakarta.annotation.Nullable - private String dryRun; - @jakarta.annotation.Nullable - private String fieldManager; - @jakarta.annotation.Nullable - private String fieldValidation; - @jakarta.annotation.Nullable - private Boolean force; - - private APIpatchNamespacedResourceClaimRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1Patch body) { - this.name = name; - this.namespace = namespace; - this.body = body; - } - - /** - * Set pretty - * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIpatchNamespacedResourceClaimRequest - */ - public APIpatchNamespacedResourceClaimRequest pretty(@jakarta.annotation.Nullable String pretty) { - this.pretty = pretty; - return this; - } - - /** - * Set dryRun - * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) - * @return APIpatchNamespacedResourceClaimRequest - */ - public APIpatchNamespacedResourceClaimRequest dryRun(@jakarta.annotation.Nullable String dryRun) { - this.dryRun = dryRun; - return this; - } - - /** - * Set fieldManager - * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). (optional) - * @return APIpatchNamespacedResourceClaimRequest - */ - public APIpatchNamespacedResourceClaimRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { - this.fieldManager = fieldManager; - return this; - } - - /** - * Set fieldValidation - * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) - * @return APIpatchNamespacedResourceClaimRequest - */ - public APIpatchNamespacedResourceClaimRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { - this.fieldValidation = fieldValidation; - return this; - } - - /** - * Set force - * @param force Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. (optional) - * @return APIpatchNamespacedResourceClaimRequest - */ - public APIpatchNamespacedResourceClaimRequest force(@jakarta.annotation.Nullable Boolean force) { - this.force = force; - return this; - } - - /** - * Build call for patchNamespacedResourceClaim - * @param _callback ApiCallback API callback - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
- */ - public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return patchNamespacedResourceClaimCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); - } - - /** - * Execute patchNamespacedResourceClaim request - * @return V1alpha3ResourceClaim - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
- */ - public V1alpha3ResourceClaim execute() throws ApiException { - ApiResponse localVarResp = patchNamespacedResourceClaimWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force); - return localVarResp.getData(); - } - - /** - * Execute patchNamespacedResourceClaim request with HTTP info returned - * @return ApiResponse<V1alpha3ResourceClaim> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
- */ - public ApiResponse executeWithHttpInfo() throws ApiException { - return patchNamespacedResourceClaimWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force); - } - - /** - * Execute patchNamespacedResourceClaim request (asynchronously) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
- */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return patchNamespacedResourceClaimAsync(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); - } - } - - /** - * - * partially update the specified ResourceClaim - * @param name name of the ResourceClaim (required) - * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) - * @return APIpatchNamespacedResourceClaimRequest - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
- */ - public APIpatchNamespacedResourceClaimRequest patchNamespacedResourceClaim(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1Patch body) { - return new APIpatchNamespacedResourceClaimRequest(name, namespace, body); - } - private okhttp3.Call patchNamespacedResourceClaimStatusCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = body; - - // create path and map variables - String localVarPath = "/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name}/status" - .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())) - .replace("{" + "namespace" + "}", localVarApiClient.escapeString(namespace.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (pretty != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); - } - - if (dryRun != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("dryRun", dryRun)); - } - - if (fieldManager != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldManager", fieldManager)); - } - - if (fieldValidation != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldValidation", fieldValidation)); - } - - if (force != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("force", force)); - } - - final String[] localVarAccepts = { - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/cbor" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "BearerToken" }; - return localVarApiClient.buildCall(basePath, localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call patchNamespacedResourceClaimStatusValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedResourceClaimStatus(Async)"); - } - - // verify the required parameter 'namespace' is set - if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedResourceClaimStatus(Async)"); - } - - // verify the required parameter 'body' is set - if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedResourceClaimStatus(Async)"); - } - - return patchNamespacedResourceClaimStatusCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); - - } - - - private ApiResponse patchNamespacedResourceClaimStatusWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force) throws ApiException { - okhttp3.Call localVarCall = patchNamespacedResourceClaimStatusValidateBeforeCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - private okhttp3.Call patchNamespacedResourceClaimStatusAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = patchNamespacedResourceClaimStatusValidateBeforeCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - - public class APIpatchNamespacedResourceClaimStatusRequest { - @jakarta.annotation.Nonnull - private final String name; - @jakarta.annotation.Nonnull - private final String namespace; - @jakarta.annotation.Nonnull - private final V1Patch body; - @jakarta.annotation.Nullable - private String pretty; - @jakarta.annotation.Nullable - private String dryRun; - @jakarta.annotation.Nullable - private String fieldManager; - @jakarta.annotation.Nullable - private String fieldValidation; - @jakarta.annotation.Nullable - private Boolean force; - - private APIpatchNamespacedResourceClaimStatusRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1Patch body) { - this.name = name; - this.namespace = namespace; - this.body = body; - } - - /** - * Set pretty - * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIpatchNamespacedResourceClaimStatusRequest - */ - public APIpatchNamespacedResourceClaimStatusRequest pretty(@jakarta.annotation.Nullable String pretty) { - this.pretty = pretty; - return this; - } - - /** - * Set dryRun - * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) - * @return APIpatchNamespacedResourceClaimStatusRequest - */ - public APIpatchNamespacedResourceClaimStatusRequest dryRun(@jakarta.annotation.Nullable String dryRun) { - this.dryRun = dryRun; - return this; - } - - /** - * Set fieldManager - * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). (optional) - * @return APIpatchNamespacedResourceClaimStatusRequest - */ - public APIpatchNamespacedResourceClaimStatusRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { - this.fieldManager = fieldManager; - return this; - } - - /** - * Set fieldValidation - * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) - * @return APIpatchNamespacedResourceClaimStatusRequest - */ - public APIpatchNamespacedResourceClaimStatusRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { - this.fieldValidation = fieldValidation; - return this; - } - - /** - * Set force - * @param force Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. (optional) - * @return APIpatchNamespacedResourceClaimStatusRequest - */ - public APIpatchNamespacedResourceClaimStatusRequest force(@jakarta.annotation.Nullable Boolean force) { - this.force = force; - return this; - } - - /** - * Build call for patchNamespacedResourceClaimStatus - * @param _callback ApiCallback API callback - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
- */ - public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return patchNamespacedResourceClaimStatusCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); - } - - /** - * Execute patchNamespacedResourceClaimStatus request - * @return V1alpha3ResourceClaim - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
- */ - public V1alpha3ResourceClaim execute() throws ApiException { - ApiResponse localVarResp = patchNamespacedResourceClaimStatusWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force); - return localVarResp.getData(); - } - - /** - * Execute patchNamespacedResourceClaimStatus request with HTTP info returned - * @return ApiResponse<V1alpha3ResourceClaim> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
- */ - public ApiResponse executeWithHttpInfo() throws ApiException { - return patchNamespacedResourceClaimStatusWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force); - } - - /** - * Execute patchNamespacedResourceClaimStatus request (asynchronously) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
- */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return patchNamespacedResourceClaimStatusAsync(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); - } - } - - /** - * - * partially update status of the specified ResourceClaim - * @param name name of the ResourceClaim (required) - * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) - * @return APIpatchNamespacedResourceClaimStatusRequest - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
- */ - public APIpatchNamespacedResourceClaimStatusRequest patchNamespacedResourceClaimStatus(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1Patch body) { - return new APIpatchNamespacedResourceClaimStatusRequest(name, namespace, body); - } - private okhttp3.Call patchNamespacedResourceClaimTemplateCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = body; - - // create path and map variables - String localVarPath = "/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates/{name}" - .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())) - .replace("{" + "namespace" + "}", localVarApiClient.escapeString(namespace.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (pretty != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); - } - - if (dryRun != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("dryRun", dryRun)); - } - - if (fieldManager != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldManager", fieldManager)); - } - - if (fieldValidation != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldValidation", fieldValidation)); - } - - if (force != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("force", force)); - } - - final String[] localVarAccepts = { - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/cbor" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "BearerToken" }; - return localVarApiClient.buildCall(basePath, localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call patchNamespacedResourceClaimTemplateValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedResourceClaimTemplate(Async)"); - } - - // verify the required parameter 'namespace' is set - if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedResourceClaimTemplate(Async)"); - } - - // verify the required parameter 'body' is set - if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedResourceClaimTemplate(Async)"); - } - - return patchNamespacedResourceClaimTemplateCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); - - } - - - private ApiResponse patchNamespacedResourceClaimTemplateWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force) throws ApiException { - okhttp3.Call localVarCall = patchNamespacedResourceClaimTemplateValidateBeforeCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - private okhttp3.Call patchNamespacedResourceClaimTemplateAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = patchNamespacedResourceClaimTemplateValidateBeforeCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - - public class APIpatchNamespacedResourceClaimTemplateRequest { - @jakarta.annotation.Nonnull - private final String name; - @jakarta.annotation.Nonnull - private final String namespace; - @jakarta.annotation.Nonnull - private final V1Patch body; - @jakarta.annotation.Nullable - private String pretty; - @jakarta.annotation.Nullable - private String dryRun; - @jakarta.annotation.Nullable - private String fieldManager; - @jakarta.annotation.Nullable - private String fieldValidation; - @jakarta.annotation.Nullable - private Boolean force; - - private APIpatchNamespacedResourceClaimTemplateRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1Patch body) { - this.name = name; - this.namespace = namespace; - this.body = body; - } - - /** - * Set pretty - * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIpatchNamespacedResourceClaimTemplateRequest - */ - public APIpatchNamespacedResourceClaimTemplateRequest pretty(@jakarta.annotation.Nullable String pretty) { - this.pretty = pretty; - return this; - } - - /** - * Set dryRun - * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) - * @return APIpatchNamespacedResourceClaimTemplateRequest - */ - public APIpatchNamespacedResourceClaimTemplateRequest dryRun(@jakarta.annotation.Nullable String dryRun) { - this.dryRun = dryRun; - return this; - } - - /** - * Set fieldManager - * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). (optional) - * @return APIpatchNamespacedResourceClaimTemplateRequest - */ - public APIpatchNamespacedResourceClaimTemplateRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { - this.fieldManager = fieldManager; - return this; - } - - /** - * Set fieldValidation - * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) - * @return APIpatchNamespacedResourceClaimTemplateRequest - */ - public APIpatchNamespacedResourceClaimTemplateRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { - this.fieldValidation = fieldValidation; - return this; - } - - /** - * Set force - * @param force Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. (optional) - * @return APIpatchNamespacedResourceClaimTemplateRequest - */ - public APIpatchNamespacedResourceClaimTemplateRequest force(@jakarta.annotation.Nullable Boolean force) { - this.force = force; - return this; - } - - /** - * Build call for patchNamespacedResourceClaimTemplate - * @param _callback ApiCallback API callback - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
- */ - public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return patchNamespacedResourceClaimTemplateCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); - } - - /** - * Execute patchNamespacedResourceClaimTemplate request - * @return V1alpha3ResourceClaimTemplate - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
- */ - public V1alpha3ResourceClaimTemplate execute() throws ApiException { - ApiResponse localVarResp = patchNamespacedResourceClaimTemplateWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force); - return localVarResp.getData(); - } - - /** - * Execute patchNamespacedResourceClaimTemplate request with HTTP info returned - * @return ApiResponse<V1alpha3ResourceClaimTemplate> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
- */ - public ApiResponse executeWithHttpInfo() throws ApiException { - return patchNamespacedResourceClaimTemplateWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force); - } - - /** - * Execute patchNamespacedResourceClaimTemplate request (asynchronously) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
- */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return patchNamespacedResourceClaimTemplateAsync(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); - } - } - - /** - * - * partially update the specified ResourceClaimTemplate - * @param name name of the ResourceClaimTemplate (required) - * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) - * @return APIpatchNamespacedResourceClaimTemplateRequest - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
- */ - public APIpatchNamespacedResourceClaimTemplateRequest patchNamespacedResourceClaimTemplate(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1Patch body) { - return new APIpatchNamespacedResourceClaimTemplateRequest(name, namespace, body); - } - private okhttp3.Call patchResourceSliceCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = body; - - // create path and map variables - String localVarPath = "/apis/resource.k8s.io/v1alpha3/resourceslices/{name}" - .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (pretty != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); - } - - if (dryRun != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("dryRun", dryRun)); - } - - if (fieldManager != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldManager", fieldManager)); - } - - if (fieldValidation != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldValidation", fieldValidation)); - } - - if (force != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("force", force)); - } - - final String[] localVarAccepts = { - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/cbor" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "BearerToken" }; - return localVarApiClient.buildCall(basePath, localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call patchResourceSliceValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling patchResourceSlice(Async)"); - } - - // verify the required parameter 'body' is set - if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling patchResourceSlice(Async)"); - } - - return patchResourceSliceCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); - - } - - - private ApiResponse patchResourceSliceWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force) throws ApiException { - okhttp3.Call localVarCall = patchResourceSliceValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - private okhttp3.Call patchResourceSliceAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = patchResourceSliceValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - - public class APIpatchResourceSliceRequest { - @jakarta.annotation.Nonnull - private final String name; - @jakarta.annotation.Nonnull - private final V1Patch body; - @jakarta.annotation.Nullable - private String pretty; - @jakarta.annotation.Nullable - private String dryRun; - @jakarta.annotation.Nullable - private String fieldManager; - @jakarta.annotation.Nullable - private String fieldValidation; - @jakarta.annotation.Nullable - private Boolean force; - - private APIpatchResourceSliceRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body) { - this.name = name; - this.body = body; - } - - /** - * Set pretty - * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIpatchResourceSliceRequest - */ - public APIpatchResourceSliceRequest pretty(@jakarta.annotation.Nullable String pretty) { - this.pretty = pretty; - return this; - } - - /** - * Set dryRun - * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) - * @return APIpatchResourceSliceRequest - */ - public APIpatchResourceSliceRequest dryRun(@jakarta.annotation.Nullable String dryRun) { - this.dryRun = dryRun; - return this; - } - - /** - * Set fieldManager - * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). (optional) - * @return APIpatchResourceSliceRequest - */ - public APIpatchResourceSliceRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { - this.fieldManager = fieldManager; - return this; - } - - /** - * Set fieldValidation - * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) - * @return APIpatchResourceSliceRequest - */ - public APIpatchResourceSliceRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { - this.fieldValidation = fieldValidation; - return this; - } - - /** - * Set force - * @param force Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. (optional) - * @return APIpatchResourceSliceRequest - */ - public APIpatchResourceSliceRequest force(@jakarta.annotation.Nullable Boolean force) { - this.force = force; - return this; - } - - /** - * Build call for patchResourceSlice - * @param _callback ApiCallback API callback - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
- */ - public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return patchResourceSliceCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); - } - - /** - * Execute patchResourceSlice request - * @return V1alpha3ResourceSlice - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
- */ - public V1alpha3ResourceSlice execute() throws ApiException { - ApiResponse localVarResp = patchResourceSliceWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force); - return localVarResp.getData(); - } - - /** - * Execute patchResourceSlice request with HTTP info returned - * @return ApiResponse<V1alpha3ResourceSlice> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
- */ - public ApiResponse executeWithHttpInfo() throws ApiException { - return patchResourceSliceWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force); - } - - /** - * Execute patchResourceSlice request (asynchronously) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
- */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return patchResourceSliceAsync(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); - } - } - - /** - * - * partially update the specified ResourceSlice - * @param name name of the ResourceSlice (required) - * @param body (required) - * @return APIpatchResourceSliceRequest - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
- */ - public APIpatchResourceSliceRequest patchResourceSlice(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body) { - return new APIpatchResourceSliceRequest(name, body); - } - private okhttp3.Call readDeviceClassCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/apis/resource.k8s.io/v1alpha3/deviceclasses/{name}" - .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (pretty != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); - } - - final String[] localVarAccepts = { - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/cbor" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "BearerToken" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call readDeviceClassValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling readDeviceClass(Async)"); - } - - return readDeviceClassCall(name, pretty, _callback); - - } - - - private ApiResponse readDeviceClassWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty) throws ApiException { - okhttp3.Call localVarCall = readDeviceClassValidateBeforeCall(name, pretty, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - private okhttp3.Call readDeviceClassAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = readDeviceClassValidateBeforeCall(name, pretty, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - - public class APIreadDeviceClassRequest { - @jakarta.annotation.Nonnull - private final String name; - @jakarta.annotation.Nullable - private String pretty; - - private APIreadDeviceClassRequest(@jakarta.annotation.Nonnull String name) { - this.name = name; - } - - /** - * Set pretty - * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIreadDeviceClassRequest - */ - public APIreadDeviceClassRequest pretty(@jakarta.annotation.Nullable String pretty) { - this.pretty = pretty; - return this; - } - - /** - * Build call for readDeviceClass - * @param _callback ApiCallback API callback - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return readDeviceClassCall(name, pretty, _callback); - } - - /** - * Execute readDeviceClass request - * @return V1alpha3DeviceClass - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public V1alpha3DeviceClass execute() throws ApiException { - ApiResponse localVarResp = readDeviceClassWithHttpInfo(name, pretty); - return localVarResp.getData(); - } - - /** - * Execute readDeviceClass request with HTTP info returned - * @return ApiResponse<V1alpha3DeviceClass> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public ApiResponse executeWithHttpInfo() throws ApiException { - return readDeviceClassWithHttpInfo(name, pretty); - } - - /** - * Execute readDeviceClass request (asynchronously) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return readDeviceClassAsync(name, pretty, _callback); - } - } - - /** - * - * read the specified DeviceClass - * @param name name of the DeviceClass (required) - * @return APIreadDeviceClassRequest - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public APIreadDeviceClassRequest readDeviceClass(@jakarta.annotation.Nonnull String name) { - return new APIreadDeviceClassRequest(name); - } - private okhttp3.Call readDeviceTaintRuleCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/apis/resource.k8s.io/v1alpha3/devicetaintrules/{name}" - .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (pretty != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); - } - - final String[] localVarAccepts = { - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/cbor" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "BearerToken" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call readDeviceTaintRuleValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling readDeviceTaintRule(Async)"); - } - - return readDeviceTaintRuleCall(name, pretty, _callback); - - } - - - private ApiResponse readDeviceTaintRuleWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty) throws ApiException { - okhttp3.Call localVarCall = readDeviceTaintRuleValidateBeforeCall(name, pretty, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - private okhttp3.Call readDeviceTaintRuleAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = readDeviceTaintRuleValidateBeforeCall(name, pretty, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - - public class APIreadDeviceTaintRuleRequest { - @jakarta.annotation.Nonnull - private final String name; - @jakarta.annotation.Nullable - private String pretty; - - private APIreadDeviceTaintRuleRequest(@jakarta.annotation.Nonnull String name) { - this.name = name; - } - - /** - * Set pretty - * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIreadDeviceTaintRuleRequest - */ - public APIreadDeviceTaintRuleRequest pretty(@jakarta.annotation.Nullable String pretty) { - this.pretty = pretty; - return this; - } - - /** - * Build call for readDeviceTaintRule - * @param _callback ApiCallback API callback - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return readDeviceTaintRuleCall(name, pretty, _callback); - } - - /** - * Execute readDeviceTaintRule request - * @return V1alpha3DeviceTaintRule - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public V1alpha3DeviceTaintRule execute() throws ApiException { - ApiResponse localVarResp = readDeviceTaintRuleWithHttpInfo(name, pretty); - return localVarResp.getData(); - } - - /** - * Execute readDeviceTaintRule request with HTTP info returned - * @return ApiResponse<V1alpha3DeviceTaintRule> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public ApiResponse executeWithHttpInfo() throws ApiException { - return readDeviceTaintRuleWithHttpInfo(name, pretty); - } - - /** - * Execute readDeviceTaintRule request (asynchronously) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return readDeviceTaintRuleAsync(name, pretty, _callback); - } - } - - /** - * - * read the specified DeviceTaintRule - * @param name name of the DeviceTaintRule (required) - * @return APIreadDeviceTaintRuleRequest - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public APIreadDeviceTaintRuleRequest readDeviceTaintRule(@jakarta.annotation.Nonnull String name) { - return new APIreadDeviceTaintRuleRequest(name); - } - private okhttp3.Call readNamespacedResourceClaimCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name}" - .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())) - .replace("{" + "namespace" + "}", localVarApiClient.escapeString(namespace.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (pretty != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); - } - - final String[] localVarAccepts = { - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/cbor" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "BearerToken" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call readNamespacedResourceClaimValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling readNamespacedResourceClaim(Async)"); - } - - // verify the required parameter 'namespace' is set - if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling readNamespacedResourceClaim(Async)"); - } - - return readNamespacedResourceClaimCall(name, namespace, pretty, _callback); - - } - - - private ApiResponse readNamespacedResourceClaimWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty) throws ApiException { - okhttp3.Call localVarCall = readNamespacedResourceClaimValidateBeforeCall(name, namespace, pretty, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - private okhttp3.Call readNamespacedResourceClaimAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = readNamespacedResourceClaimValidateBeforeCall(name, namespace, pretty, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - - public class APIreadNamespacedResourceClaimRequest { - @jakarta.annotation.Nonnull - private final String name; - @jakarta.annotation.Nonnull - private final String namespace; - @jakarta.annotation.Nullable - private String pretty; - - private APIreadNamespacedResourceClaimRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace) { - this.name = name; - this.namespace = namespace; - } - - /** - * Set pretty - * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIreadNamespacedResourceClaimRequest - */ - public APIreadNamespacedResourceClaimRequest pretty(@jakarta.annotation.Nullable String pretty) { - this.pretty = pretty; - return this; - } - - /** - * Build call for readNamespacedResourceClaim - * @param _callback ApiCallback API callback - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return readNamespacedResourceClaimCall(name, namespace, pretty, _callback); - } - - /** - * Execute readNamespacedResourceClaim request - * @return V1alpha3ResourceClaim - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public V1alpha3ResourceClaim execute() throws ApiException { - ApiResponse localVarResp = readNamespacedResourceClaimWithHttpInfo(name, namespace, pretty); - return localVarResp.getData(); - } - - /** - * Execute readNamespacedResourceClaim request with HTTP info returned - * @return ApiResponse<V1alpha3ResourceClaim> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public ApiResponse executeWithHttpInfo() throws ApiException { - return readNamespacedResourceClaimWithHttpInfo(name, namespace, pretty); - } - - /** - * Execute readNamespacedResourceClaim request (asynchronously) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return readNamespacedResourceClaimAsync(name, namespace, pretty, _callback); - } - } - - /** - * - * read the specified ResourceClaim - * @param name name of the ResourceClaim (required) - * @param namespace object name and auth scope, such as for teams and projects (required) - * @return APIreadNamespacedResourceClaimRequest - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public APIreadNamespacedResourceClaimRequest readNamespacedResourceClaim(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace) { - return new APIreadNamespacedResourceClaimRequest(name, namespace); - } - private okhttp3.Call readNamespacedResourceClaimStatusCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name}/status" - .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())) - .replace("{" + "namespace" + "}", localVarApiClient.escapeString(namespace.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (pretty != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); - } - - final String[] localVarAccepts = { - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/cbor" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "BearerToken" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call readNamespacedResourceClaimStatusValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling readNamespacedResourceClaimStatus(Async)"); - } - - // verify the required parameter 'namespace' is set - if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling readNamespacedResourceClaimStatus(Async)"); - } - - return readNamespacedResourceClaimStatusCall(name, namespace, pretty, _callback); - - } - - - private ApiResponse readNamespacedResourceClaimStatusWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty) throws ApiException { - okhttp3.Call localVarCall = readNamespacedResourceClaimStatusValidateBeforeCall(name, namespace, pretty, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - private okhttp3.Call readNamespacedResourceClaimStatusAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = readNamespacedResourceClaimStatusValidateBeforeCall(name, namespace, pretty, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - - public class APIreadNamespacedResourceClaimStatusRequest { - @jakarta.annotation.Nonnull - private final String name; - @jakarta.annotation.Nonnull - private final String namespace; - @jakarta.annotation.Nullable - private String pretty; - - private APIreadNamespacedResourceClaimStatusRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace) { - this.name = name; - this.namespace = namespace; - } - - /** - * Set pretty - * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIreadNamespacedResourceClaimStatusRequest - */ - public APIreadNamespacedResourceClaimStatusRequest pretty(@jakarta.annotation.Nullable String pretty) { - this.pretty = pretty; - return this; - } - - /** - * Build call for readNamespacedResourceClaimStatus - * @param _callback ApiCallback API callback - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return readNamespacedResourceClaimStatusCall(name, namespace, pretty, _callback); - } - - /** - * Execute readNamespacedResourceClaimStatus request - * @return V1alpha3ResourceClaim - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public V1alpha3ResourceClaim execute() throws ApiException { - ApiResponse localVarResp = readNamespacedResourceClaimStatusWithHttpInfo(name, namespace, pretty); - return localVarResp.getData(); - } - - /** - * Execute readNamespacedResourceClaimStatus request with HTTP info returned - * @return ApiResponse<V1alpha3ResourceClaim> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public ApiResponse executeWithHttpInfo() throws ApiException { - return readNamespacedResourceClaimStatusWithHttpInfo(name, namespace, pretty); - } - - /** - * Execute readNamespacedResourceClaimStatus request (asynchronously) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return readNamespacedResourceClaimStatusAsync(name, namespace, pretty, _callback); - } - } - - /** - * - * read status of the specified ResourceClaim - * @param name name of the ResourceClaim (required) - * @param namespace object name and auth scope, such as for teams and projects (required) - * @return APIreadNamespacedResourceClaimStatusRequest - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public APIreadNamespacedResourceClaimStatusRequest readNamespacedResourceClaimStatus(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace) { - return new APIreadNamespacedResourceClaimStatusRequest(name, namespace); - } - private okhttp3.Call readNamespacedResourceClaimTemplateCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates/{name}" - .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())) - .replace("{" + "namespace" + "}", localVarApiClient.escapeString(namespace.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (pretty != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); - } - - final String[] localVarAccepts = { - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/cbor" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "BearerToken" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call readNamespacedResourceClaimTemplateValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling readNamespacedResourceClaimTemplate(Async)"); - } - - // verify the required parameter 'namespace' is set - if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling readNamespacedResourceClaimTemplate(Async)"); - } - - return readNamespacedResourceClaimTemplateCall(name, namespace, pretty, _callback); - - } - - - private ApiResponse readNamespacedResourceClaimTemplateWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty) throws ApiException { - okhttp3.Call localVarCall = readNamespacedResourceClaimTemplateValidateBeforeCall(name, namespace, pretty, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - private okhttp3.Call readNamespacedResourceClaimTemplateAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = readNamespacedResourceClaimTemplateValidateBeforeCall(name, namespace, pretty, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - - public class APIreadNamespacedResourceClaimTemplateRequest { - @jakarta.annotation.Nonnull - private final String name; - @jakarta.annotation.Nonnull - private final String namespace; - @jakarta.annotation.Nullable - private String pretty; - - private APIreadNamespacedResourceClaimTemplateRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace) { - this.name = name; - this.namespace = namespace; - } - - /** - * Set pretty - * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIreadNamespacedResourceClaimTemplateRequest - */ - public APIreadNamespacedResourceClaimTemplateRequest pretty(@jakarta.annotation.Nullable String pretty) { - this.pretty = pretty; - return this; - } - - /** - * Build call for readNamespacedResourceClaimTemplate - * @param _callback ApiCallback API callback - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return readNamespacedResourceClaimTemplateCall(name, namespace, pretty, _callback); - } - - /** - * Execute readNamespacedResourceClaimTemplate request - * @return V1alpha3ResourceClaimTemplate - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public V1alpha3ResourceClaimTemplate execute() throws ApiException { - ApiResponse localVarResp = readNamespacedResourceClaimTemplateWithHttpInfo(name, namespace, pretty); - return localVarResp.getData(); - } - - /** - * Execute readNamespacedResourceClaimTemplate request with HTTP info returned - * @return ApiResponse<V1alpha3ResourceClaimTemplate> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public ApiResponse executeWithHttpInfo() throws ApiException { - return readNamespacedResourceClaimTemplateWithHttpInfo(name, namespace, pretty); - } - - /** - * Execute readNamespacedResourceClaimTemplate request (asynchronously) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return readNamespacedResourceClaimTemplateAsync(name, namespace, pretty, _callback); - } - } - - /** - * - * read the specified ResourceClaimTemplate - * @param name name of the ResourceClaimTemplate (required) - * @param namespace object name and auth scope, such as for teams and projects (required) - * @return APIreadNamespacedResourceClaimTemplateRequest - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public APIreadNamespacedResourceClaimTemplateRequest readNamespacedResourceClaimTemplate(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace) { - return new APIreadNamespacedResourceClaimTemplateRequest(name, namespace); - } - private okhttp3.Call readResourceSliceCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/apis/resource.k8s.io/v1alpha3/resourceslices/{name}" - .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (pretty != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); - } - - final String[] localVarAccepts = { - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/cbor" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "BearerToken" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call readResourceSliceValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling readResourceSlice(Async)"); - } - - return readResourceSliceCall(name, pretty, _callback); - - } - - - private ApiResponse readResourceSliceWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty) throws ApiException { - okhttp3.Call localVarCall = readResourceSliceValidateBeforeCall(name, pretty, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - private okhttp3.Call readResourceSliceAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = readResourceSliceValidateBeforeCall(name, pretty, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - - public class APIreadResourceSliceRequest { - @jakarta.annotation.Nonnull - private final String name; - @jakarta.annotation.Nullable - private String pretty; - - private APIreadResourceSliceRequest(@jakarta.annotation.Nonnull String name) { - this.name = name; - } - - /** - * Set pretty - * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIreadResourceSliceRequest - */ - public APIreadResourceSliceRequest pretty(@jakarta.annotation.Nullable String pretty) { - this.pretty = pretty; - return this; - } - - /** - * Build call for readResourceSlice - * @param _callback ApiCallback API callback - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return readResourceSliceCall(name, pretty, _callback); - } - - /** - * Execute readResourceSlice request - * @return V1alpha3ResourceSlice - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public V1alpha3ResourceSlice execute() throws ApiException { - ApiResponse localVarResp = readResourceSliceWithHttpInfo(name, pretty); - return localVarResp.getData(); - } - - /** - * Execute readResourceSlice request with HTTP info returned - * @return ApiResponse<V1alpha3ResourceSlice> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public ApiResponse executeWithHttpInfo() throws ApiException { - return readResourceSliceWithHttpInfo(name, pretty); - } - - /** - * Execute readResourceSlice request (asynchronously) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return readResourceSliceAsync(name, pretty, _callback); - } - } - - /** - * - * read the specified ResourceSlice - * @param name name of the ResourceSlice (required) - * @return APIreadResourceSliceRequest - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
- */ - public APIreadResourceSliceRequest readResourceSlice(@jakarta.annotation.Nonnull String name) { - return new APIreadResourceSliceRequest(name); - } - private okhttp3.Call replaceDeviceClassCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1alpha3DeviceClass body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = body; - - // create path and map variables - String localVarPath = "/apis/resource.k8s.io/v1alpha3/deviceclasses/{name}" - .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (pretty != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); - } - - if (dryRun != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("dryRun", dryRun)); - } - - if (fieldManager != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldManager", fieldManager)); - } - - if (fieldValidation != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldValidation", fieldValidation)); - } - - final String[] localVarAccepts = { - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/cbor" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "BearerToken" }; - return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call replaceDeviceClassValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1alpha3DeviceClass body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling replaceDeviceClass(Async)"); - } - - // verify the required parameter 'body' is set - if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling replaceDeviceClass(Async)"); - } - - return replaceDeviceClassCall(name, body, pretty, dryRun, fieldManager, fieldValidation, _callback); - - } - - - private ApiResponse replaceDeviceClassWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1alpha3DeviceClass body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation) throws ApiException { - okhttp3.Call localVarCall = replaceDeviceClassValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - private okhttp3.Call replaceDeviceClassAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1alpha3DeviceClass body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = replaceDeviceClassValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - - public class APIreplaceDeviceClassRequest { - @jakarta.annotation.Nonnull - private final String name; - @jakarta.annotation.Nonnull - private final V1alpha3DeviceClass body; - @jakarta.annotation.Nullable - private String pretty; - @jakarta.annotation.Nullable - private String dryRun; - @jakarta.annotation.Nullable - private String fieldManager; - @jakarta.annotation.Nullable - private String fieldValidation; - - private APIreplaceDeviceClassRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1alpha3DeviceClass body) { - this.name = name; - this.body = body; - } - - /** - * Set pretty - * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIreplaceDeviceClassRequest - */ - public APIreplaceDeviceClassRequest pretty(@jakarta.annotation.Nullable String pretty) { - this.pretty = pretty; - return this; - } - - /** - * Set dryRun - * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) - * @return APIreplaceDeviceClassRequest - */ - public APIreplaceDeviceClassRequest dryRun(@jakarta.annotation.Nullable String dryRun) { - this.dryRun = dryRun; - return this; - } - - /** - * Set fieldManager - * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) - * @return APIreplaceDeviceClassRequest - */ - public APIreplaceDeviceClassRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { - this.fieldManager = fieldManager; - return this; - } - - /** - * Set fieldValidation - * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) - * @return APIreplaceDeviceClassRequest - */ - public APIreplaceDeviceClassRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { - this.fieldValidation = fieldValidation; - return this; - } - - /** - * Build call for replaceDeviceClass - * @param _callback ApiCallback API callback - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
- */ - public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return replaceDeviceClassCall(name, body, pretty, dryRun, fieldManager, fieldValidation, _callback); - } - - /** - * Execute replaceDeviceClass request - * @return V1alpha3DeviceClass - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
- */ - public V1alpha3DeviceClass execute() throws ApiException { - ApiResponse localVarResp = replaceDeviceClassWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation); - return localVarResp.getData(); - } - - /** - * Execute replaceDeviceClass request with HTTP info returned - * @return ApiResponse<V1alpha3DeviceClass> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
- */ - public ApiResponse executeWithHttpInfo() throws ApiException { - return replaceDeviceClassWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation); - } - - /** - * Execute replaceDeviceClass request (asynchronously) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
- */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return replaceDeviceClassAsync(name, body, pretty, dryRun, fieldManager, fieldValidation, _callback); - } - } - - /** - * - * replace the specified DeviceClass - * @param name name of the DeviceClass (required) - * @param body (required) - * @return APIreplaceDeviceClassRequest - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
- */ - public APIreplaceDeviceClassRequest replaceDeviceClass(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1alpha3DeviceClass body) { - return new APIreplaceDeviceClassRequest(name, body); - } - private okhttp3.Call replaceDeviceTaintRuleCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1alpha3DeviceTaintRule body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = body; - - // create path and map variables - String localVarPath = "/apis/resource.k8s.io/v1alpha3/devicetaintrules/{name}" - .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (pretty != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); - } - - if (dryRun != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("dryRun", dryRun)); - } - - if (fieldManager != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldManager", fieldManager)); - } - - if (fieldValidation != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldValidation", fieldValidation)); - } - - final String[] localVarAccepts = { - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/cbor" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "BearerToken" }; - return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call replaceDeviceTaintRuleValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1alpha3DeviceTaintRule body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling replaceDeviceTaintRule(Async)"); - } - - // verify the required parameter 'body' is set - if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling replaceDeviceTaintRule(Async)"); - } - - return replaceDeviceTaintRuleCall(name, body, pretty, dryRun, fieldManager, fieldValidation, _callback); - - } - - - private ApiResponse replaceDeviceTaintRuleWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1alpha3DeviceTaintRule body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation) throws ApiException { - okhttp3.Call localVarCall = replaceDeviceTaintRuleValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - private okhttp3.Call replaceDeviceTaintRuleAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1alpha3DeviceTaintRule body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = replaceDeviceTaintRuleValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - - public class APIreplaceDeviceTaintRuleRequest { - @jakarta.annotation.Nonnull - private final String name; - @jakarta.annotation.Nonnull - private final V1alpha3DeviceTaintRule body; - @jakarta.annotation.Nullable - private String pretty; - @jakarta.annotation.Nullable - private String dryRun; - @jakarta.annotation.Nullable - private String fieldManager; - @jakarta.annotation.Nullable - private String fieldValidation; - - private APIreplaceDeviceTaintRuleRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1alpha3DeviceTaintRule body) { - this.name = name; - this.body = body; - } - - /** - * Set pretty - * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIreplaceDeviceTaintRuleRequest - */ - public APIreplaceDeviceTaintRuleRequest pretty(@jakarta.annotation.Nullable String pretty) { - this.pretty = pretty; - return this; - } - - /** - * Set dryRun - * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) - * @return APIreplaceDeviceTaintRuleRequest - */ - public APIreplaceDeviceTaintRuleRequest dryRun(@jakarta.annotation.Nullable String dryRun) { - this.dryRun = dryRun; - return this; - } - - /** - * Set fieldManager - * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) - * @return APIreplaceDeviceTaintRuleRequest - */ - public APIreplaceDeviceTaintRuleRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { - this.fieldManager = fieldManager; - return this; - } - - /** - * Set fieldValidation - * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) - * @return APIreplaceDeviceTaintRuleRequest - */ - public APIreplaceDeviceTaintRuleRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { - this.fieldValidation = fieldValidation; - return this; - } - - /** - * Build call for replaceDeviceTaintRule - * @param _callback ApiCallback API callback - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
- */ - public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return replaceDeviceTaintRuleCall(name, body, pretty, dryRun, fieldManager, fieldValidation, _callback); - } - - /** - * Execute replaceDeviceTaintRule request - * @return V1alpha3DeviceTaintRule - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
- */ - public V1alpha3DeviceTaintRule execute() throws ApiException { - ApiResponse localVarResp = replaceDeviceTaintRuleWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation); - return localVarResp.getData(); - } - - /** - * Execute replaceDeviceTaintRule request with HTTP info returned - * @return ApiResponse<V1alpha3DeviceTaintRule> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
- */ - public ApiResponse executeWithHttpInfo() throws ApiException { - return replaceDeviceTaintRuleWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation); - } - - /** - * Execute replaceDeviceTaintRule request (asynchronously) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
- */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return replaceDeviceTaintRuleAsync(name, body, pretty, dryRun, fieldManager, fieldValidation, _callback); - } - } - - /** - * - * replace the specified DeviceTaintRule - * @param name name of the DeviceTaintRule (required) - * @param body (required) - * @return APIreplaceDeviceTaintRuleRequest - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
- */ - public APIreplaceDeviceTaintRuleRequest replaceDeviceTaintRule(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1alpha3DeviceTaintRule body) { - return new APIreplaceDeviceTaintRuleRequest(name, body); - } - private okhttp3.Call replaceNamespacedResourceClaimCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1alpha3ResourceClaim body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = body; - - // create path and map variables - String localVarPath = "/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name}" - .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())) - .replace("{" + "namespace" + "}", localVarApiClient.escapeString(namespace.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (pretty != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); - } - - if (dryRun != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("dryRun", dryRun)); - } - - if (fieldManager != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldManager", fieldManager)); - } - - if (fieldValidation != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldValidation", fieldValidation)); - } - - final String[] localVarAccepts = { - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/cbor" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "BearerToken" }; - return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call replaceNamespacedResourceClaimValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1alpha3ResourceClaim body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedResourceClaim(Async)"); - } - - // verify the required parameter 'namespace' is set - if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedResourceClaim(Async)"); - } - - // verify the required parameter 'body' is set - if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedResourceClaim(Async)"); - } - - return replaceNamespacedResourceClaimCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _callback); - - } - - - private ApiResponse replaceNamespacedResourceClaimWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1alpha3ResourceClaim body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation) throws ApiException { - okhttp3.Call localVarCall = replaceNamespacedResourceClaimValidateBeforeCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - private okhttp3.Call replaceNamespacedResourceClaimAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1alpha3ResourceClaim body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = replaceNamespacedResourceClaimValidateBeforeCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - - public class APIreplaceNamespacedResourceClaimRequest { - @jakarta.annotation.Nonnull - private final String name; - @jakarta.annotation.Nonnull - private final String namespace; - @jakarta.annotation.Nonnull - private final V1alpha3ResourceClaim body; - @jakarta.annotation.Nullable - private String pretty; - @jakarta.annotation.Nullable - private String dryRun; - @jakarta.annotation.Nullable - private String fieldManager; - @jakarta.annotation.Nullable - private String fieldValidation; - - private APIreplaceNamespacedResourceClaimRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1alpha3ResourceClaim body) { - this.name = name; - this.namespace = namespace; - this.body = body; - } - - /** - * Set pretty - * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIreplaceNamespacedResourceClaimRequest + /** + * Set resourceVersionMatch + * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + * @return APIlistDeviceTaintRuleRequest */ - public APIreplaceNamespacedResourceClaimRequest pretty(@jakarta.annotation.Nullable String pretty) { - this.pretty = pretty; + public APIlistDeviceTaintRuleRequest resourceVersionMatch(@jakarta.annotation.Nullable String resourceVersionMatch) { + this.resourceVersionMatch = resourceVersionMatch; return this; } /** - * Set dryRun - * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) - * @return APIreplaceNamespacedResourceClaimRequest + * Set sendInitialEvents + * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) + * @return APIlistDeviceTaintRuleRequest */ - public APIreplaceNamespacedResourceClaimRequest dryRun(@jakarta.annotation.Nullable String dryRun) { - this.dryRun = dryRun; + public APIlistDeviceTaintRuleRequest sendInitialEvents(@jakarta.annotation.Nullable Boolean sendInitialEvents) { + this.sendInitialEvents = sendInitialEvents; return this; } /** - * Set fieldManager - * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) - * @return APIreplaceNamespacedResourceClaimRequest + * Set timeoutSeconds + * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) + * @return APIlistDeviceTaintRuleRequest */ - public APIreplaceNamespacedResourceClaimRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { - this.fieldManager = fieldManager; + public APIlistDeviceTaintRuleRequest timeoutSeconds(@jakarta.annotation.Nullable Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; return this; } /** - * Set fieldValidation - * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) - * @return APIreplaceNamespacedResourceClaimRequest + * Set watch + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return APIlistDeviceTaintRuleRequest */ - public APIreplaceNamespacedResourceClaimRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { - this.fieldValidation = fieldValidation; + public APIlistDeviceTaintRuleRequest watch(@jakarta.annotation.Nullable Boolean watch) { + this.watch = watch; return this; } /** - * Build call for replaceNamespacedResourceClaim + * Build call for listDeviceTaintRule * @param _callback ApiCallback API callback * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -10612,51 +1408,48 @@ public APIreplaceNamespacedResourceClaimRequest fieldValidation(@jakarta.annotat Response Details Status Code Description Response Headers 200 OK - - 201 Created - 401 Unauthorized - */ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return replaceNamespacedResourceClaimCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _callback); + return listDeviceTaintRuleCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); } /** - * Execute replaceNamespacedResourceClaim request - * @return V1alpha3ResourceClaim + * Execute listDeviceTaintRule request + * @return V1alpha3DeviceTaintRuleList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
*/ - public V1alpha3ResourceClaim execute() throws ApiException { - ApiResponse localVarResp = replaceNamespacedResourceClaimWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation); + public V1alpha3DeviceTaintRuleList execute() throws ApiException { + ApiResponse localVarResp = listDeviceTaintRuleWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); return localVarResp.getData(); } /** - * Execute replaceNamespacedResourceClaim request with HTTP info returned - * @return ApiResponse<V1alpha3ResourceClaim> + * Execute listDeviceTaintRule request with HTTP info returned + * @return ApiResponse<V1alpha3DeviceTaintRuleList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return replaceNamespacedResourceClaimWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation); + public ApiResponse executeWithHttpInfo() throws ApiException { + return listDeviceTaintRuleWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); } /** - * Execute replaceNamespacedResourceClaim request (asynchronously) + * Execute listDeviceTaintRule request (asynchronously) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -10665,35 +1458,30 @@ public ApiResponse executeWithHttpInfo() throws ApiExcept Response Details Status Code Description Response Headers 200 OK - - 201 Created - 401 Unauthorized - */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return replaceNamespacedResourceClaimAsync(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _callback); + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return listDeviceTaintRuleAsync(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); } } /** - * - * replace the specified ResourceClaim - * @param name name of the ResourceClaim (required) - * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) - * @return APIreplaceNamespacedResourceClaimRequest + * + * list or watch objects of kind DeviceTaintRule + * @return APIlistDeviceTaintRuleRequest * @http.response.details -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
*/ - public APIreplaceNamespacedResourceClaimRequest replaceNamespacedResourceClaim(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1alpha3ResourceClaim body) { - return new APIreplaceNamespacedResourceClaimRequest(name, namespace, body); + public APIlistDeviceTaintRuleRequest listDeviceTaintRule() { + return new APIlistDeviceTaintRuleRequest(); } - private okhttp3.Call replaceNamespacedResourceClaimStatusCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1alpha3ResourceClaim body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + private okhttp3.Call patchDeviceTaintRuleCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -10710,9 +1498,8 @@ private okhttp3.Call replaceNamespacedResourceClaimStatusCall(@jakarta.annotatio Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name}/status" - .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())) - .replace("{" + "namespace" + "}", localVarApiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/resource.k8s.io/v1alpha3/devicetaintrules/{name}" + .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -10736,6 +1523,10 @@ private okhttp3.Call replaceNamespacedResourceClaimStatusCall(@jakarta.annotatio localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldValidation", fieldValidation)); } + if (force != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("force", force)); + } + final String[] localVarAccepts = { "application/json", "application/yaml", @@ -10756,52 +1547,45 @@ private okhttp3.Call replaceNamespacedResourceClaimStatusCall(@jakarta.annotatio } String[] localVarAuthNames = new String[] { "BearerToken" }; - return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + return localVarApiClient.buildCall(basePath, localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @SuppressWarnings("rawtypes") - private okhttp3.Call replaceNamespacedResourceClaimStatusValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1alpha3ResourceClaim body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + private okhttp3.Call patchDeviceTaintRuleValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedResourceClaimStatus(Async)"); - } - - // verify the required parameter 'namespace' is set - if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedResourceClaimStatus(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling patchDeviceTaintRule(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedResourceClaimStatus(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling patchDeviceTaintRule(Async)"); } - return replaceNamespacedResourceClaimStatusCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _callback); + return patchDeviceTaintRuleCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); } - private ApiResponse replaceNamespacedResourceClaimStatusWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1alpha3ResourceClaim body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation) throws ApiException { - okhttp3.Call localVarCall = replaceNamespacedResourceClaimStatusValidateBeforeCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, null); - Type localVarReturnType = new TypeToken(){}.getType(); + private ApiResponse patchDeviceTaintRuleWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force) throws ApiException { + okhttp3.Call localVarCall = patchDeviceTaintRuleValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, null); + Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } - private okhttp3.Call replaceNamespacedResourceClaimStatusAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1alpha3ResourceClaim body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + private okhttp3.Call patchDeviceTaintRuleAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = replaceNamespacedResourceClaimStatusValidateBeforeCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); + okhttp3.Call localVarCall = patchDeviceTaintRuleValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } - public class APIreplaceNamespacedResourceClaimStatusRequest { + public class APIpatchDeviceTaintRuleRequest { @jakarta.annotation.Nonnull private final String name; @jakarta.annotation.Nonnull - private final String namespace; - @jakarta.annotation.Nonnull - private final V1alpha3ResourceClaim body; + private final V1Patch body; @jakarta.annotation.Nullable private String pretty; @jakarta.annotation.Nullable @@ -10810,19 +1594,20 @@ public class APIreplaceNamespacedResourceClaimStatusRequest { private String fieldManager; @jakarta.annotation.Nullable private String fieldValidation; + @jakarta.annotation.Nullable + private Boolean force; - private APIreplaceNamespacedResourceClaimStatusRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1alpha3ResourceClaim body) { + private APIpatchDeviceTaintRuleRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body) { this.name = name; - this.namespace = namespace; this.body = body; } /** * Set pretty * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIreplaceNamespacedResourceClaimStatusRequest + * @return APIpatchDeviceTaintRuleRequest */ - public APIreplaceNamespacedResourceClaimStatusRequest pretty(@jakarta.annotation.Nullable String pretty) { + public APIpatchDeviceTaintRuleRequest pretty(@jakarta.annotation.Nullable String pretty) { this.pretty = pretty; return this; } @@ -10830,19 +1615,19 @@ public APIreplaceNamespacedResourceClaimStatusRequest pretty(@jakarta.annotation /** * Set dryRun * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) - * @return APIreplaceNamespacedResourceClaimStatusRequest + * @return APIpatchDeviceTaintRuleRequest */ - public APIreplaceNamespacedResourceClaimStatusRequest dryRun(@jakarta.annotation.Nullable String dryRun) { + public APIpatchDeviceTaintRuleRequest dryRun(@jakarta.annotation.Nullable String dryRun) { this.dryRun = dryRun; return this; } /** * Set fieldManager - * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) - * @return APIreplaceNamespacedResourceClaimStatusRequest + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). (optional) + * @return APIpatchDeviceTaintRuleRequest */ - public APIreplaceNamespacedResourceClaimStatusRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { + public APIpatchDeviceTaintRuleRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { this.fieldManager = fieldManager; return this; } @@ -10850,15 +1635,25 @@ public APIreplaceNamespacedResourceClaimStatusRequest fieldManager(@jakarta.anno /** * Set fieldValidation * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) - * @return APIreplaceNamespacedResourceClaimStatusRequest + * @return APIpatchDeviceTaintRuleRequest */ - public APIreplaceNamespacedResourceClaimStatusRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { + public APIpatchDeviceTaintRuleRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { this.fieldValidation = fieldValidation; return this; } /** - * Build call for replaceNamespacedResourceClaimStatus + * Set force + * @param force Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. (optional) + * @return APIpatchDeviceTaintRuleRequest + */ + public APIpatchDeviceTaintRuleRequest force(@jakarta.annotation.Nullable Boolean force) { + this.force = force; + return this; + } + + /** + * Build call for patchDeviceTaintRule * @param _callback ApiCallback API callback * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -10872,12 +1667,12 @@ public APIreplaceNamespacedResourceClaimStatusRequest fieldValidation(@jakarta.a */ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return replaceNamespacedResourceClaimStatusCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _callback); + return patchDeviceTaintRuleCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); } /** - * Execute replaceNamespacedResourceClaimStatus request - * @return V1alpha3ResourceClaim + * Execute patchDeviceTaintRule request + * @return V1alpha3DeviceTaintRule * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -10888,14 +1683,14 @@ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
401 Unauthorized -
*/ - public V1alpha3ResourceClaim execute() throws ApiException { - ApiResponse localVarResp = replaceNamespacedResourceClaimStatusWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation); + public V1alpha3DeviceTaintRule execute() throws ApiException { + ApiResponse localVarResp = patchDeviceTaintRuleWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force); return localVarResp.getData(); } /** - * Execute replaceNamespacedResourceClaimStatus request with HTTP info returned - * @return ApiResponse<V1alpha3ResourceClaim> + * Execute patchDeviceTaintRule request with HTTP info returned + * @return ApiResponse<V1alpha3DeviceTaintRule> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -10906,12 +1701,12 @@ public V1alpha3ResourceClaim execute() throws ApiException {
401 Unauthorized -
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return replaceNamespacedResourceClaimStatusWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation); + public ApiResponse executeWithHttpInfo() throws ApiException { + return patchDeviceTaintRuleWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force); } /** - * Execute replaceNamespacedResourceClaimStatus request (asynchronously) + * Execute patchDeviceTaintRule request (asynchronously) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -10924,18 +1719,17 @@ public ApiResponse executeWithHttpInfo() throws ApiExcept 401 Unauthorized - */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return replaceNamespacedResourceClaimStatusAsync(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _callback); + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return patchDeviceTaintRuleAsync(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); } } /** - * - * replace status of the specified ResourceClaim - * @param name name of the ResourceClaim (required) - * @param namespace object name and auth scope, such as for teams and projects (required) + * + * partially update the specified DeviceTaintRule + * @param name name of the DeviceTaintRule (required) * @param body (required) - * @return APIreplaceNamespacedResourceClaimStatusRequest + * @return APIpatchDeviceTaintRuleRequest * @http.response.details @@ -10945,10 +1739,10 @@ public okhttp3.Call executeAsync(final ApiCallback _callb
Response Details
401 Unauthorized -
*/ - public APIreplaceNamespacedResourceClaimStatusRequest replaceNamespacedResourceClaimStatus(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1alpha3ResourceClaim body) { - return new APIreplaceNamespacedResourceClaimStatusRequest(name, namespace, body); + public APIpatchDeviceTaintRuleRequest patchDeviceTaintRule(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body) { + return new APIpatchDeviceTaintRuleRequest(name, body); } - private okhttp3.Call replaceNamespacedResourceClaimTemplateCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1alpha3ResourceClaimTemplate body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + private okhttp3.Call readDeviceTaintRuleCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -10962,12 +1756,11 @@ private okhttp3.Call replaceNamespacedResourceClaimTemplateCall(@jakarta.annotat basePath = null; } - Object localVarPostBody = body; + Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates/{name}" - .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())) - .replace("{" + "namespace" + "}", localVarApiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/resource.k8s.io/v1alpha3/devicetaintrules/{name}" + .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -10979,18 +1772,6 @@ private okhttp3.Call replaceNamespacedResourceClaimTemplateCall(@jakarta.annotat localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); } - if (dryRun != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("dryRun", dryRun)); - } - - if (fieldManager != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldManager", fieldManager)); - } - - if (fieldValidation != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldValidation", fieldValidation)); - } - final String[] localVarAccepts = { "application/json", "application/yaml", @@ -11003,7 +1784,6 @@ private okhttp3.Call replaceNamespacedResourceClaimTemplateCall(@jakarta.annotat } final String[] localVarContentTypes = { - "application/json" }; final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); if (localVarContentType != null) { @@ -11011,109 +1791,57 @@ private okhttp3.Call replaceNamespacedResourceClaimTemplateCall(@jakarta.annotat } String[] localVarAuthNames = new String[] { "BearerToken" }; - return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @SuppressWarnings("rawtypes") - private okhttp3.Call replaceNamespacedResourceClaimTemplateValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1alpha3ResourceClaimTemplate body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + private okhttp3.Call readDeviceTaintRuleValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedResourceClaimTemplate(Async)"); - } - - // verify the required parameter 'namespace' is set - if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedResourceClaimTemplate(Async)"); - } - - // verify the required parameter 'body' is set - if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedResourceClaimTemplate(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling readDeviceTaintRule(Async)"); } - return replaceNamespacedResourceClaimTemplateCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _callback); + return readDeviceTaintRuleCall(name, pretty, _callback); } - private ApiResponse replaceNamespacedResourceClaimTemplateWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1alpha3ResourceClaimTemplate body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation) throws ApiException { - okhttp3.Call localVarCall = replaceNamespacedResourceClaimTemplateValidateBeforeCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, null); - Type localVarReturnType = new TypeToken(){}.getType(); + private ApiResponse readDeviceTaintRuleWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty) throws ApiException { + okhttp3.Call localVarCall = readDeviceTaintRuleValidateBeforeCall(name, pretty, null); + Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } - private okhttp3.Call replaceNamespacedResourceClaimTemplateAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1alpha3ResourceClaimTemplate body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + private okhttp3.Call readDeviceTaintRuleAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = replaceNamespacedResourceClaimTemplateValidateBeforeCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); + okhttp3.Call localVarCall = readDeviceTaintRuleValidateBeforeCall(name, pretty, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } - public class APIreplaceNamespacedResourceClaimTemplateRequest { + public class APIreadDeviceTaintRuleRequest { @jakarta.annotation.Nonnull private final String name; - @jakarta.annotation.Nonnull - private final String namespace; - @jakarta.annotation.Nonnull - private final V1alpha3ResourceClaimTemplate body; @jakarta.annotation.Nullable private String pretty; - @jakarta.annotation.Nullable - private String dryRun; - @jakarta.annotation.Nullable - private String fieldManager; - @jakarta.annotation.Nullable - private String fieldValidation; - private APIreplaceNamespacedResourceClaimTemplateRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1alpha3ResourceClaimTemplate body) { + private APIreadDeviceTaintRuleRequest(@jakarta.annotation.Nonnull String name) { this.name = name; - this.namespace = namespace; - this.body = body; } /** * Set pretty * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIreplaceNamespacedResourceClaimTemplateRequest + * @return APIreadDeviceTaintRuleRequest */ - public APIreplaceNamespacedResourceClaimTemplateRequest pretty(@jakarta.annotation.Nullable String pretty) { + public APIreadDeviceTaintRuleRequest pretty(@jakarta.annotation.Nullable String pretty) { this.pretty = pretty; return this; } /** - * Set dryRun - * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) - * @return APIreplaceNamespacedResourceClaimTemplateRequest - */ - public APIreplaceNamespacedResourceClaimTemplateRequest dryRun(@jakarta.annotation.Nullable String dryRun) { - this.dryRun = dryRun; - return this; - } - - /** - * Set fieldManager - * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) - * @return APIreplaceNamespacedResourceClaimTemplateRequest - */ - public APIreplaceNamespacedResourceClaimTemplateRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { - this.fieldManager = fieldManager; - return this; - } - - /** - * Set fieldValidation - * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) - * @return APIreplaceNamespacedResourceClaimTemplateRequest - */ - public APIreplaceNamespacedResourceClaimTemplateRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { - this.fieldValidation = fieldValidation; - return this; - } - - /** - * Build call for replaceNamespacedResourceClaimTemplate + * Build call for readDeviceTaintRule * @param _callback ApiCallback API callback * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -11122,51 +1850,48 @@ public APIreplaceNamespacedResourceClaimTemplateRequest fieldValidation(@jakarta Response Details Status Code Description Response Headers 200 OK - - 201 Created - 401 Unauthorized - */ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return replaceNamespacedResourceClaimTemplateCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _callback); + return readDeviceTaintRuleCall(name, pretty, _callback); } /** - * Execute replaceNamespacedResourceClaimTemplate request - * @return V1alpha3ResourceClaimTemplate + * Execute readDeviceTaintRule request + * @return V1alpha3DeviceTaintRule * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
*/ - public V1alpha3ResourceClaimTemplate execute() throws ApiException { - ApiResponse localVarResp = replaceNamespacedResourceClaimTemplateWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation); + public V1alpha3DeviceTaintRule execute() throws ApiException { + ApiResponse localVarResp = readDeviceTaintRuleWithHttpInfo(name, pretty); return localVarResp.getData(); } /** - * Execute replaceNamespacedResourceClaimTemplate request with HTTP info returned - * @return ApiResponse<V1alpha3ResourceClaimTemplate> + * Execute readDeviceTaintRule request with HTTP info returned + * @return ApiResponse<V1alpha3DeviceTaintRule> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return replaceNamespacedResourceClaimTemplateWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation); + public ApiResponse executeWithHttpInfo() throws ApiException { + return readDeviceTaintRuleWithHttpInfo(name, pretty); } /** - * Execute replaceNamespacedResourceClaimTemplate request (asynchronously) + * Execute readDeviceTaintRule request (asynchronously) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -11175,35 +1900,31 @@ public ApiResponse executeWithHttpInfo() throws A Response Details Status Code Description Response Headers 200 OK - - 201 Created - 401 Unauthorized - */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return replaceNamespacedResourceClaimTemplateAsync(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _callback); + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return readDeviceTaintRuleAsync(name, pretty, _callback); } } /** - * - * replace the specified ResourceClaimTemplate - * @param name name of the ResourceClaimTemplate (required) - * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) - * @return APIreplaceNamespacedResourceClaimTemplateRequest + * + * read the specified DeviceTaintRule + * @param name name of the DeviceTaintRule (required) + * @return APIreadDeviceTaintRuleRequest * @http.response.details -
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
*/ - public APIreplaceNamespacedResourceClaimTemplateRequest replaceNamespacedResourceClaimTemplate(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1alpha3ResourceClaimTemplate body) { - return new APIreplaceNamespacedResourceClaimTemplateRequest(name, namespace, body); + public APIreadDeviceTaintRuleRequest readDeviceTaintRule(@jakarta.annotation.Nonnull String name) { + return new APIreadDeviceTaintRuleRequest(name); } - private okhttp3.Call replaceResourceSliceCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1alpha3ResourceSlice body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + private okhttp3.Call replaceDeviceTaintRuleCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1alpha3DeviceTaintRule body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -11220,7 +1941,7 @@ private okhttp3.Call replaceResourceSliceCall(@jakarta.annotation.Nonnull String Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/resource.k8s.io/v1alpha3/resourceslices/{name}" + String localVarPath = "/apis/resource.k8s.io/v1alpha3/devicetaintrules/{name}" .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); @@ -11269,41 +1990,41 @@ private okhttp3.Call replaceResourceSliceCall(@jakarta.annotation.Nonnull String } @SuppressWarnings("rawtypes") - private okhttp3.Call replaceResourceSliceValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1alpha3ResourceSlice body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + private okhttp3.Call replaceDeviceTaintRuleValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1alpha3DeviceTaintRule body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling replaceResourceSlice(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling replaceDeviceTaintRule(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling replaceResourceSlice(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling replaceDeviceTaintRule(Async)"); } - return replaceResourceSliceCall(name, body, pretty, dryRun, fieldManager, fieldValidation, _callback); + return replaceDeviceTaintRuleCall(name, body, pretty, dryRun, fieldManager, fieldValidation, _callback); } - private ApiResponse replaceResourceSliceWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1alpha3ResourceSlice body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation) throws ApiException { - okhttp3.Call localVarCall = replaceResourceSliceValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, null); - Type localVarReturnType = new TypeToken(){}.getType(); + private ApiResponse replaceDeviceTaintRuleWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1alpha3DeviceTaintRule body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation) throws ApiException { + okhttp3.Call localVarCall = replaceDeviceTaintRuleValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, null); + Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } - private okhttp3.Call replaceResourceSliceAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1alpha3ResourceSlice body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + private okhttp3.Call replaceDeviceTaintRuleAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1alpha3DeviceTaintRule body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = replaceResourceSliceValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); + okhttp3.Call localVarCall = replaceDeviceTaintRuleValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } - public class APIreplaceResourceSliceRequest { + public class APIreplaceDeviceTaintRuleRequest { @jakarta.annotation.Nonnull private final String name; @jakarta.annotation.Nonnull - private final V1alpha3ResourceSlice body; + private final V1alpha3DeviceTaintRule body; @jakarta.annotation.Nullable private String pretty; @jakarta.annotation.Nullable @@ -11313,7 +2034,7 @@ public class APIreplaceResourceSliceRequest { @jakarta.annotation.Nullable private String fieldValidation; - private APIreplaceResourceSliceRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1alpha3ResourceSlice body) { + private APIreplaceDeviceTaintRuleRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1alpha3DeviceTaintRule body) { this.name = name; this.body = body; } @@ -11321,9 +2042,9 @@ private APIreplaceResourceSliceRequest(@jakarta.annotation.Nonnull String name, /** * Set pretty * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIreplaceResourceSliceRequest + * @return APIreplaceDeviceTaintRuleRequest */ - public APIreplaceResourceSliceRequest pretty(@jakarta.annotation.Nullable String pretty) { + public APIreplaceDeviceTaintRuleRequest pretty(@jakarta.annotation.Nullable String pretty) { this.pretty = pretty; return this; } @@ -11331,9 +2052,9 @@ public APIreplaceResourceSliceRequest pretty(@jakarta.annotation.Nullable String /** * Set dryRun * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) - * @return APIreplaceResourceSliceRequest + * @return APIreplaceDeviceTaintRuleRequest */ - public APIreplaceResourceSliceRequest dryRun(@jakarta.annotation.Nullable String dryRun) { + public APIreplaceDeviceTaintRuleRequest dryRun(@jakarta.annotation.Nullable String dryRun) { this.dryRun = dryRun; return this; } @@ -11341,9 +2062,9 @@ public APIreplaceResourceSliceRequest dryRun(@jakarta.annotation.Nullable String /** * Set fieldManager * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) - * @return APIreplaceResourceSliceRequest + * @return APIreplaceDeviceTaintRuleRequest */ - public APIreplaceResourceSliceRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { + public APIreplaceDeviceTaintRuleRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { this.fieldManager = fieldManager; return this; } @@ -11351,15 +2072,15 @@ public APIreplaceResourceSliceRequest fieldManager(@jakarta.annotation.Nullable /** * Set fieldValidation * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) - * @return APIreplaceResourceSliceRequest + * @return APIreplaceDeviceTaintRuleRequest */ - public APIreplaceResourceSliceRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { + public APIreplaceDeviceTaintRuleRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { this.fieldValidation = fieldValidation; return this; } /** - * Build call for replaceResourceSlice + * Build call for replaceDeviceTaintRule * @param _callback ApiCallback API callback * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -11373,12 +2094,12 @@ public APIreplaceResourceSliceRequest fieldValidation(@jakarta.annotation.Nullab */ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return replaceResourceSliceCall(name, body, pretty, dryRun, fieldManager, fieldValidation, _callback); + return replaceDeviceTaintRuleCall(name, body, pretty, dryRun, fieldManager, fieldValidation, _callback); } /** - * Execute replaceResourceSlice request - * @return V1alpha3ResourceSlice + * Execute replaceDeviceTaintRule request + * @return V1alpha3DeviceTaintRule * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -11389,14 +2110,14 @@ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
401 Unauthorized -
*/ - public V1alpha3ResourceSlice execute() throws ApiException { - ApiResponse localVarResp = replaceResourceSliceWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation); + public V1alpha3DeviceTaintRule execute() throws ApiException { + ApiResponse localVarResp = replaceDeviceTaintRuleWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation); return localVarResp.getData(); } /** - * Execute replaceResourceSlice request with HTTP info returned - * @return ApiResponse<V1alpha3ResourceSlice> + * Execute replaceDeviceTaintRule request with HTTP info returned + * @return ApiResponse<V1alpha3DeviceTaintRule> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -11407,12 +2128,12 @@ public V1alpha3ResourceSlice execute() throws ApiException {
401 Unauthorized -
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return replaceResourceSliceWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation); + public ApiResponse executeWithHttpInfo() throws ApiException { + return replaceDeviceTaintRuleWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation); } /** - * Execute replaceResourceSlice request (asynchronously) + * Execute replaceDeviceTaintRule request (asynchronously) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -11425,17 +2146,17 @@ public ApiResponse executeWithHttpInfo() throws ApiExcept 401 Unauthorized - */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return replaceResourceSliceAsync(name, body, pretty, dryRun, fieldManager, fieldValidation, _callback); + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return replaceDeviceTaintRuleAsync(name, body, pretty, dryRun, fieldManager, fieldValidation, _callback); } } /** - * - * replace the specified ResourceSlice - * @param name name of the ResourceSlice (required) + * + * replace the specified DeviceTaintRule + * @param name name of the DeviceTaintRule (required) * @param body (required) - * @return APIreplaceResourceSliceRequest + * @return APIreplaceDeviceTaintRuleRequest * @http.response.details @@ -11445,7 +2166,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callb
Response Details
401 Unauthorized -
*/ - public APIreplaceResourceSliceRequest replaceResourceSlice(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1alpha3ResourceSlice body) { - return new APIreplaceResourceSliceRequest(name, body); + public APIreplaceDeviceTaintRuleRequest replaceDeviceTaintRule(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1alpha3DeviceTaintRule body) { + return new APIreplaceDeviceTaintRuleRequest(name, body); } } diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ResourceV1beta1Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ResourceV1beta1Api.java index b1d03602cb..3407ef26e1 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ResourceV1beta1Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ResourceV1beta1Api.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.apis; import io.kubernetes.client.openapi.ApiCallback; @@ -305,7 +306,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback } /** - * + * * create a DeviceClass * @param body (required) * @return APIcreateDeviceClassRequest @@ -554,7 +555,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callba } /** - * + * * create a ResourceClaim * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -804,7 +805,7 @@ public okhttp3.Call executeAsync(final ApiCallback } /** - * + * * create a ResourceClaimTemplate * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -1045,7 +1046,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callba } /** - * + * * create a ResourceSlice * @param body (required) * @return APIcreateResourceSliceRequest @@ -1441,7 +1442,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of DeviceClass * @return APIdeleteCollectionDeviceClassRequest * @http.response.details @@ -1843,7 +1844,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of ResourceClaim * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIdeleteCollectionNamespacedResourceClaimRequest @@ -2246,7 +2247,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of ResourceClaimTemplate * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIdeleteCollectionNamespacedResourceClaimTemplateRequest @@ -2640,7 +2641,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of ResourceSlice * @return APIdeleteCollectionResourceSliceRequest * @http.response.details @@ -2918,7 +2919,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback } /** - * + * * delete a DeviceClass * @param name name of the DeviceClass (required) * @return APIdeleteDeviceClassRequest @@ -3207,7 +3208,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callba } /** - * + * * delete a ResourceClaim * @param name name of the ResourceClaim (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -3497,7 +3498,7 @@ public okhttp3.Call executeAsync(final ApiCallback } /** - * + * * delete a ResourceClaimTemplate * @param name name of the ResourceClaimTemplate (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -3778,7 +3779,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callba } /** - * + * * delete a ResourceSlice * @param name name of the ResourceSlice (required) * @return APIdeleteResourceSliceRequest @@ -3936,7 +3937,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) } /** - * + * * get available resources * @return APIgetAPIResourcesRequest * @http.response.details @@ -4271,7 +4272,7 @@ public okhttp3.Call executeAsync(final ApiCallback _call } /** - * + * * list or watch objects of kind DeviceClass * @return APIlistDeviceClassRequest * @http.response.details @@ -4615,7 +4616,7 @@ public okhttp3.Call executeAsync(final ApiCallback _ca } /** - * + * * list or watch objects of kind ResourceClaim * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIlistNamespacedResourceClaimRequest @@ -4960,7 +4961,7 @@ public okhttp3.Call executeAsync(final ApiCallback _ca } /** - * + * * list or watch objects of kind ResourceClaim * @return APIlistResourceClaimForAllNamespacesRequest * @http.response.details @@ -5631,7 +5632,7 @@ public okhttp3.Call executeAsync(final ApiCallback _ca } /** - * + * * list or watch objects of kind ResourceSlice * @return APIlistResourceSliceRequest * @http.response.details @@ -6224,7 +6225,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback } /** - * + * * partially update the specified DeviceClass * @param name name of the DeviceClass (required) * @param body (required) @@ -6494,7 +6495,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callba } /** - * + * * partially update the specified ResourceClaim * @param name name of the ResourceClaim (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -6765,7 +6766,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callba } /** - * + * * partially update status of the specified ResourceClaim * @param name name of the ResourceClaim (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -7036,7 +7037,7 @@ public okhttp3.Call executeAsync(final ApiCallback } /** - * + * * partially update the specified ResourceClaimTemplate * @param name name of the ResourceClaimTemplate (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -7298,7 +7299,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callba } /** - * + * * partially update the specified ResourceSlice * @param name name of the ResourceSlice (required) * @param body (required) @@ -7482,7 +7483,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback } /** - * + * * read the specified DeviceClass * @param name name of the DeviceClass (required) * @return APIreadDeviceClassRequest @@ -7673,7 +7674,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callba } /** - * + * * read the specified ResourceClaim * @param name name of the ResourceClaim (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -7865,7 +7866,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callba } /** - * + * * read status of the specified ResourceClaim * @param name name of the ResourceClaim (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -8057,7 +8058,7 @@ public okhttp3.Call executeAsync(final ApiCallback } /** - * + * * read the specified ResourceClaimTemplate * @param name name of the ResourceClaimTemplate (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -8240,7 +8241,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callba } /** - * + * * read the specified ResourceSlice * @param name name of the ResourceSlice (required) * @return APIreadResourceSliceRequest @@ -8483,7 +8484,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback } /** - * + * * replace the specified DeviceClass * @param name name of the DeviceClass (required) * @param body (required) @@ -8737,7 +8738,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callba } /** - * + * * replace the specified ResourceClaim * @param name name of the ResourceClaim (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -8992,7 +8993,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callba } /** - * + * * replace status of the specified ResourceClaim * @param name name of the ResourceClaim (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -9247,7 +9248,7 @@ public okhttp3.Call executeAsync(final ApiCallback } /** - * + * * replace the specified ResourceClaimTemplate * @param name name of the ResourceClaimTemplate (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -9493,7 +9494,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callba } /** - * + * * replace the specified ResourceSlice * @param name name of the ResourceSlice (required) * @param body (required) diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ResourceV1beta2Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ResourceV1beta2Api.java index eb8440204b..54a3fe458e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ResourceV1beta2Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ResourceV1beta2Api.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.apis; import io.kubernetes.client.openapi.ApiCallback; @@ -305,7 +306,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback } /** - * + * * create a DeviceClass * @param body (required) * @return APIcreateDeviceClassRequest @@ -554,7 +555,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callba } /** - * + * * create a ResourceClaim * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -804,7 +805,7 @@ public okhttp3.Call executeAsync(final ApiCallback } /** - * + * * create a ResourceClaimTemplate * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -1045,7 +1046,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callba } /** - * + * * create a ResourceSlice * @param body (required) * @return APIcreateResourceSliceRequest @@ -1441,7 +1442,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of DeviceClass * @return APIdeleteCollectionDeviceClassRequest * @http.response.details @@ -1843,7 +1844,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of ResourceClaim * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIdeleteCollectionNamespacedResourceClaimRequest @@ -2246,7 +2247,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of ResourceClaimTemplate * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIdeleteCollectionNamespacedResourceClaimTemplateRequest @@ -2640,7 +2641,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of ResourceSlice * @return APIdeleteCollectionResourceSliceRequest * @http.response.details @@ -2918,7 +2919,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback } /** - * + * * delete a DeviceClass * @param name name of the DeviceClass (required) * @return APIdeleteDeviceClassRequest @@ -3207,7 +3208,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callba } /** - * + * * delete a ResourceClaim * @param name name of the ResourceClaim (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -3497,7 +3498,7 @@ public okhttp3.Call executeAsync(final ApiCallback } /** - * + * * delete a ResourceClaimTemplate * @param name name of the ResourceClaimTemplate (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -3778,7 +3779,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callba } /** - * + * * delete a ResourceSlice * @param name name of the ResourceSlice (required) * @return APIdeleteResourceSliceRequest @@ -3936,7 +3937,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) } /** - * + * * get available resources * @return APIgetAPIResourcesRequest * @http.response.details @@ -4271,7 +4272,7 @@ public okhttp3.Call executeAsync(final ApiCallback _call } /** - * + * * list or watch objects of kind DeviceClass * @return APIlistDeviceClassRequest * @http.response.details @@ -4615,7 +4616,7 @@ public okhttp3.Call executeAsync(final ApiCallback _ca } /** - * + * * list or watch objects of kind ResourceClaim * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIlistNamespacedResourceClaimRequest @@ -4960,7 +4961,7 @@ public okhttp3.Call executeAsync(final ApiCallback _ca } /** - * + * * list or watch objects of kind ResourceClaim * @return APIlistResourceClaimForAllNamespacesRequest * @http.response.details @@ -5631,7 +5632,7 @@ public okhttp3.Call executeAsync(final ApiCallback _ca } /** - * + * * list or watch objects of kind ResourceSlice * @return APIlistResourceSliceRequest * @http.response.details @@ -6224,7 +6225,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback } /** - * + * * partially update the specified DeviceClass * @param name name of the DeviceClass (required) * @param body (required) @@ -6494,7 +6495,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callba } /** - * + * * partially update the specified ResourceClaim * @param name name of the ResourceClaim (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -6765,7 +6766,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callba } /** - * + * * partially update status of the specified ResourceClaim * @param name name of the ResourceClaim (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -7036,7 +7037,7 @@ public okhttp3.Call executeAsync(final ApiCallback } /** - * + * * partially update the specified ResourceClaimTemplate * @param name name of the ResourceClaimTemplate (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -7298,7 +7299,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callba } /** - * + * * partially update the specified ResourceSlice * @param name name of the ResourceSlice (required) * @param body (required) @@ -7482,7 +7483,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback } /** - * + * * read the specified DeviceClass * @param name name of the DeviceClass (required) * @return APIreadDeviceClassRequest @@ -7673,7 +7674,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callba } /** - * + * * read the specified ResourceClaim * @param name name of the ResourceClaim (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -7865,7 +7866,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callba } /** - * + * * read status of the specified ResourceClaim * @param name name of the ResourceClaim (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -8057,7 +8058,7 @@ public okhttp3.Call executeAsync(final ApiCallback } /** - * + * * read the specified ResourceClaimTemplate * @param name name of the ResourceClaimTemplate (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -8240,7 +8241,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callba } /** - * + * * read the specified ResourceSlice * @param name name of the ResourceSlice (required) * @return APIreadResourceSliceRequest @@ -8483,7 +8484,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback } /** - * + * * replace the specified DeviceClass * @param name name of the DeviceClass (required) * @param body (required) @@ -8737,7 +8738,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callba } /** - * + * * replace the specified ResourceClaim * @param name name of the ResourceClaim (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -8992,7 +8993,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callba } /** - * + * * replace status of the specified ResourceClaim * @param name name of the ResourceClaim (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -9247,7 +9248,7 @@ public okhttp3.Call executeAsync(final ApiCallback } /** - * + * * replace the specified ResourceClaimTemplate * @param name name of the ResourceClaimTemplate (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -9493,7 +9494,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callba } /** - * + * * replace the specified ResourceSlice * @param name name of the ResourceSlice (required) * @param body (required) diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/SchedulingApi.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/SchedulingApi.java index b4447b7907..c7533e27ff 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/SchedulingApi.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/SchedulingApi.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.apis; import io.kubernetes.client.openapi.ApiCallback; @@ -212,7 +213,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws } /** - * + * * get information of a group * @return APIgetAPIGroupRequest * @http.response.details diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/SchedulingV1Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/SchedulingV1Api.java index 8c86558182..698209b8f2 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/SchedulingV1Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/SchedulingV1Api.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.apis; import io.kubernetes.client.openapi.ApiCallback; @@ -299,7 +300,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) t } /** - * + * * create a PriorityClass * @param body (required) * @return APIcreatePriorityClassRequest @@ -695,7 +696,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of PriorityClass * @return APIdeleteCollectionPriorityClassRequest * @http.response.details @@ -973,7 +974,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete a PriorityClass * @param name name of the PriorityClass (required) * @return APIdeletePriorityClassRequest @@ -1131,7 +1132,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) } /** - * + * * get available resources * @return APIgetAPIResourcesRequest * @http.response.details @@ -1466,7 +1467,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callbac } /** - * + * * list or watch objects of kind PriorityClass * @return APIlistPriorityClassRequest * @http.response.details @@ -1724,7 +1725,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) t } /** - * + * * partially update the specified PriorityClass * @param name name of the PriorityClass (required) * @param body (required) @@ -1908,7 +1909,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) t } /** - * + * * read the specified PriorityClass * @param name name of the PriorityClass (required) * @return APIreadPriorityClassRequest @@ -2151,7 +2152,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) t } /** - * + * * replace the specified PriorityClass * @param name name of the PriorityClass (required) * @param body (required) diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/StorageApi.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/StorageApi.java index 5dfb2a2197..cd4afe6952 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/StorageApi.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/StorageApi.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.apis; import io.kubernetes.client.openapi.ApiCallback; @@ -212,7 +213,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws } /** - * + * * get information of a group * @return APIgetAPIGroupRequest * @http.response.details diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/StorageV1Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/StorageV1Api.java index 329fa4f1c3..64c10c35f3 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/StorageV1Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/StorageV1Api.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.apis; import io.kubernetes.client.openapi.ApiCallback; @@ -40,6 +41,8 @@ import io.kubernetes.client.openapi.models.V1StorageClassList; import io.kubernetes.client.openapi.models.V1VolumeAttachment; import io.kubernetes.client.openapi.models.V1VolumeAttachmentList; +import io.kubernetes.client.openapi.models.V1VolumeAttributesClass; +import io.kubernetes.client.openapi.models.V1VolumeAttributesClassList; import java.lang.reflect.Type; import java.util.ArrayList; @@ -307,7 +310,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throw } /** - * + * * create a CSIDriver * @param body (required) * @return APIcreateCSIDriverRequest @@ -547,7 +550,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws } /** - * + * * create a CSINode * @param body (required) * @return APIcreateCSINodeRequest @@ -796,7 +799,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callba } /** - * + * * create a CSIStorageCapacity * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -1037,7 +1040,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) th } /** - * + * * create a StorageClass * @param body (required) * @return APIcreateStorageClassRequest @@ -1277,7 +1280,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback } /** - * + * * create a VolumeAttachment * @param body (required) * @return APIcreateVolumeAttachmentRequest @@ -1294,6 +1297,246 @@ public okhttp3.Call executeAsync(final ApiCallback _callback public APIcreateVolumeAttachmentRequest createVolumeAttachment(@jakarta.annotation.Nonnull V1VolumeAttachment body) { return new APIcreateVolumeAttachmentRequest(body); } + private okhttp3.Call createVolumeAttributesClassCall(@jakarta.annotation.Nonnull V1VolumeAttributesClass body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/storage.k8s.io/v1/volumeattributesclasses"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (pretty != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); + } + + if (dryRun != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("dryRun", dryRun)); + } + + if (fieldManager != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldManager", fieldManager)); + } + + if (fieldValidation != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldValidation", fieldValidation)); + } + + final String[] localVarAccepts = { + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call createVolumeAttributesClassValidateBeforeCall(@jakarta.annotation.Nonnull V1VolumeAttributesClass body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling createVolumeAttributesClass(Async)"); + } + + return createVolumeAttributesClassCall(body, pretty, dryRun, fieldManager, fieldValidation, _callback); + + } + + + private ApiResponse createVolumeAttributesClassWithHttpInfo(@jakarta.annotation.Nonnull V1VolumeAttributesClass body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation) throws ApiException { + okhttp3.Call localVarCall = createVolumeAttributesClassValidateBeforeCall(body, pretty, dryRun, fieldManager, fieldValidation, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + private okhttp3.Call createVolumeAttributesClassAsync(@jakarta.annotation.Nonnull V1VolumeAttributesClass body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = createVolumeAttributesClassValidateBeforeCall(body, pretty, dryRun, fieldManager, fieldValidation, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + public class APIcreateVolumeAttributesClassRequest { + @jakarta.annotation.Nonnull + private final V1VolumeAttributesClass body; + @jakarta.annotation.Nullable + private String pretty; + @jakarta.annotation.Nullable + private String dryRun; + @jakarta.annotation.Nullable + private String fieldManager; + @jakarta.annotation.Nullable + private String fieldValidation; + + private APIcreateVolumeAttributesClassRequest(@jakarta.annotation.Nonnull V1VolumeAttributesClass body) { + this.body = body; + } + + /** + * Set pretty + * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + * @return APIcreateVolumeAttributesClassRequest + */ + public APIcreateVolumeAttributesClassRequest pretty(@jakarta.annotation.Nullable String pretty) { + this.pretty = pretty; + return this; + } + + /** + * Set dryRun + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + * @return APIcreateVolumeAttributesClassRequest + */ + public APIcreateVolumeAttributesClassRequest dryRun(@jakarta.annotation.Nullable String dryRun) { + this.dryRun = dryRun; + return this; + } + + /** + * Set fieldManager + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) + * @return APIcreateVolumeAttributesClassRequest + */ + public APIcreateVolumeAttributesClassRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { + this.fieldManager = fieldManager; + return this; + } + + /** + * Set fieldValidation + * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) + * @return APIcreateVolumeAttributesClassRequest + */ + public APIcreateVolumeAttributesClassRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { + this.fieldValidation = fieldValidation; + return this; + } + + /** + * Build call for createVolumeAttributesClass + * @param _callback ApiCallback API callback + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
202 Accepted -
401 Unauthorized -
+ */ + public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { + return createVolumeAttributesClassCall(body, pretty, dryRun, fieldManager, fieldValidation, _callback); + } + + /** + * Execute createVolumeAttributesClass request + * @return V1VolumeAttributesClass + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
202 Accepted -
401 Unauthorized -
+ */ + public V1VolumeAttributesClass execute() throws ApiException { + ApiResponse localVarResp = createVolumeAttributesClassWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation); + return localVarResp.getData(); + } + + /** + * Execute createVolumeAttributesClass request with HTTP info returned + * @return ApiResponse<V1VolumeAttributesClass> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
202 Accepted -
401 Unauthorized -
+ */ + public ApiResponse executeWithHttpInfo() throws ApiException { + return createVolumeAttributesClassWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation); + } + + /** + * Execute createVolumeAttributesClass request (asynchronously) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
202 Accepted -
401 Unauthorized -
+ */ + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return createVolumeAttributesClassAsync(body, pretty, dryRun, fieldManager, fieldValidation, _callback); + } + } + + /** + * + * create a VolumeAttributesClass + * @param body (required) + * @return APIcreateVolumeAttributesClassRequest + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
202 Accepted -
401 Unauthorized -
+ */ + public APIcreateVolumeAttributesClassRequest createVolumeAttributesClass(@jakarta.annotation.Nonnull V1VolumeAttributesClass body) { + return new APIcreateVolumeAttributesClassRequest(body); + } private okhttp3.Call deleteCSIDriverCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers @@ -1558,7 +1801,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throw } /** - * + * * delete a CSIDriver * @param name name of the CSIDriver (required) * @return APIdeleteCSIDriverRequest @@ -1838,7 +2081,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws } /** - * + * * delete a CSINode * @param name name of the CSINode (required) * @return APIdeleteCSINodeRequest @@ -2233,7 +2476,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of CSIDriver * @return APIdeleteCollectionCSIDriverRequest * @http.response.details @@ -2626,7 +2869,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of CSINode * @return APIdeleteCollectionCSINodeRequest * @http.response.details @@ -3028,7 +3271,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of CSIStorageCapacity * @param namespace object name and auth scope, such as for teams and projects (required) * @return APIdeleteCollectionNamespacedCSIStorageCapacityRequest @@ -3422,7 +3665,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of StorageClass * @return APIdeleteCollectionStorageClassRequest * @http.response.details @@ -3815,7 +4058,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of VolumeAttachment * @return APIdeleteCollectionVolumeAttachmentRequest * @http.response.details @@ -3829,7 +4072,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A public APIdeleteCollectionVolumeAttachmentRequest deleteCollectionVolumeAttachment() { return new APIdeleteCollectionVolumeAttachmentRequest(); } - private okhttp3.Call deleteNamespacedCSIStorageCapacityCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { + private okhttp3.Call deleteCollectionVolumeAttributesClassCall(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -3846,9 +4089,7 @@ private okhttp3.Call deleteNamespacedCSIStorageCapacityCall(@jakarta.annotation. Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/storage.k8s.io/v1/namespaces/{namespace}/csistoragecapacities/{name}" - .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())) - .replace("{" + "namespace" + "}", localVarApiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/storage.k8s.io/v1/volumeattributesclasses"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -3860,10 +4101,18 @@ private okhttp3.Call deleteNamespacedCSIStorageCapacityCall(@jakarta.annotation. localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); } + if (_continue != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("continue", _continue)); + } + if (dryRun != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("dryRun", dryRun)); } + if (fieldSelector != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldSelector", fieldSelector)); + } + if (gracePeriodSeconds != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("gracePeriodSeconds", gracePeriodSeconds)); } @@ -3872,6 +4121,14 @@ private okhttp3.Call deleteNamespacedCSIStorageCapacityCall(@jakarta.annotation. localVarQueryParams.addAll(localVarApiClient.parameterToPair("ignoreStoreReadErrorWithClusterBreakingPotential", ignoreStoreReadErrorWithClusterBreakingPotential)); } + if (labelSelector != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("labelSelector", labelSelector)); + } + + if (limit != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); + } + if (orphanDependents != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("orphanDependents", orphanDependents)); } @@ -3880,6 +4137,22 @@ private okhttp3.Call deleteNamespacedCSIStorageCapacityCall(@jakarta.annotation. localVarQueryParams.addAll(localVarApiClient.parameterToPair("propagationPolicy", propagationPolicy)); } + if (resourceVersion != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("resourceVersion", resourceVersion)); + } + + if (resourceVersionMatch != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("resourceVersionMatch", resourceVersionMatch)); + } + + if (sendInitialEvents != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sendInitialEvents", sendInitialEvents)); + } + + if (timeoutSeconds != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + } + final String[] localVarAccepts = { "application/json", "application/yaml", @@ -3904,87 +4177,107 @@ private okhttp3.Call deleteNamespacedCSIStorageCapacityCall(@jakarta.annotation. } @SuppressWarnings("rawtypes") - private okhttp3.Call deleteNamespacedCSIStorageCapacityValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling deleteNamespacedCSIStorageCapacity(Async)"); - } - - // verify the required parameter 'namespace' is set - if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling deleteNamespacedCSIStorageCapacity(Async)"); - } - - return deleteNamespacedCSIStorageCapacityCall(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); + private okhttp3.Call deleteCollectionVolumeAttributesClassValidateBeforeCall(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { + return deleteCollectionVolumeAttributesClassCall(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _callback); } - private ApiResponse deleteNamespacedCSIStorageCapacityWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body) throws ApiException { - okhttp3.Call localVarCall = deleteNamespacedCSIStorageCapacityValidateBeforeCall(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, null); + private ApiResponse deleteCollectionVolumeAttributesClassWithHttpInfo(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable V1DeleteOptions body) throws ApiException { + okhttp3.Call localVarCall = deleteCollectionVolumeAttributesClassValidateBeforeCall(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } - private okhttp3.Call deleteNamespacedCSIStorageCapacityAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { + private okhttp3.Call deleteCollectionVolumeAttributesClassAsync(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = deleteNamespacedCSIStorageCapacityValidateBeforeCall(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); + okhttp3.Call localVarCall = deleteCollectionVolumeAttributesClassValidateBeforeCall(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } - public class APIdeleteNamespacedCSIStorageCapacityRequest { - @jakarta.annotation.Nonnull - private final String name; - @jakarta.annotation.Nonnull - private final String namespace; + public class APIdeleteCollectionVolumeAttributesClassRequest { @jakarta.annotation.Nullable private String pretty; @jakarta.annotation.Nullable + private String _continue; + @jakarta.annotation.Nullable private String dryRun; @jakarta.annotation.Nullable + private String fieldSelector; + @jakarta.annotation.Nullable private Integer gracePeriodSeconds; @jakarta.annotation.Nullable private Boolean ignoreStoreReadErrorWithClusterBreakingPotential; @jakarta.annotation.Nullable + private String labelSelector; + @jakarta.annotation.Nullable + private Integer limit; + @jakarta.annotation.Nullable private Boolean orphanDependents; @jakarta.annotation.Nullable private String propagationPolicy; @jakarta.annotation.Nullable + private String resourceVersion; + @jakarta.annotation.Nullable + private String resourceVersionMatch; + @jakarta.annotation.Nullable + private Boolean sendInitialEvents; + @jakarta.annotation.Nullable + private Integer timeoutSeconds; + @jakarta.annotation.Nullable private V1DeleteOptions body; - private APIdeleteNamespacedCSIStorageCapacityRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace) { - this.name = name; - this.namespace = namespace; + private APIdeleteCollectionVolumeAttributesClassRequest() { } /** * Set pretty * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIdeleteNamespacedCSIStorageCapacityRequest + * @return APIdeleteCollectionVolumeAttributesClassRequest */ - public APIdeleteNamespacedCSIStorageCapacityRequest pretty(@jakarta.annotation.Nullable String pretty) { + public APIdeleteCollectionVolumeAttributesClassRequest pretty(@jakarta.annotation.Nullable String pretty) { this.pretty = pretty; return this; } + /** + * Set _continue + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @return APIdeleteCollectionVolumeAttributesClassRequest + */ + public APIdeleteCollectionVolumeAttributesClassRequest _continue(@jakarta.annotation.Nullable String _continue) { + this._continue = _continue; + return this; + } + /** * Set dryRun * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) - * @return APIdeleteNamespacedCSIStorageCapacityRequest + * @return APIdeleteCollectionVolumeAttributesClassRequest */ - public APIdeleteNamespacedCSIStorageCapacityRequest dryRun(@jakarta.annotation.Nullable String dryRun) { + public APIdeleteCollectionVolumeAttributesClassRequest dryRun(@jakarta.annotation.Nullable String dryRun) { this.dryRun = dryRun; return this; } + /** + * Set fieldSelector + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @return APIdeleteCollectionVolumeAttributesClassRequest + */ + public APIdeleteCollectionVolumeAttributesClassRequest fieldSelector(@jakarta.annotation.Nullable String fieldSelector) { + this.fieldSelector = fieldSelector; + return this; + } + /** * Set gracePeriodSeconds * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) - * @return APIdeleteNamespacedCSIStorageCapacityRequest + * @return APIdeleteCollectionVolumeAttributesClassRequest */ - public APIdeleteNamespacedCSIStorageCapacityRequest gracePeriodSeconds(@jakarta.annotation.Nullable Integer gracePeriodSeconds) { + public APIdeleteCollectionVolumeAttributesClassRequest gracePeriodSeconds(@jakarta.annotation.Nullable Integer gracePeriodSeconds) { this.gracePeriodSeconds = gracePeriodSeconds; return this; } @@ -3992,19 +4285,39 @@ public APIdeleteNamespacedCSIStorageCapacityRequest gracePeriodSeconds(@jakarta. /** * Set ignoreStoreReadErrorWithClusterBreakingPotential * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) - * @return APIdeleteNamespacedCSIStorageCapacityRequest + * @return APIdeleteCollectionVolumeAttributesClassRequest */ - public APIdeleteNamespacedCSIStorageCapacityRequest ignoreStoreReadErrorWithClusterBreakingPotential(@jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential) { + public APIdeleteCollectionVolumeAttributesClassRequest ignoreStoreReadErrorWithClusterBreakingPotential(@jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential) { this.ignoreStoreReadErrorWithClusterBreakingPotential = ignoreStoreReadErrorWithClusterBreakingPotential; return this; } + /** + * Set labelSelector + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @return APIdeleteCollectionVolumeAttributesClassRequest + */ + public APIdeleteCollectionVolumeAttributesClassRequest labelSelector(@jakarta.annotation.Nullable String labelSelector) { + this.labelSelector = labelSelector; + return this; + } + + /** + * Set limit + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @return APIdeleteCollectionVolumeAttributesClassRequest + */ + public APIdeleteCollectionVolumeAttributesClassRequest limit(@jakarta.annotation.Nullable Integer limit) { + this.limit = limit; + return this; + } + /** * Set orphanDependents * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) - * @return APIdeleteNamespacedCSIStorageCapacityRequest + * @return APIdeleteCollectionVolumeAttributesClassRequest */ - public APIdeleteNamespacedCSIStorageCapacityRequest orphanDependents(@jakarta.annotation.Nullable Boolean orphanDependents) { + public APIdeleteCollectionVolumeAttributesClassRequest orphanDependents(@jakarta.annotation.Nullable Boolean orphanDependents) { this.orphanDependents = orphanDependents; return this; } @@ -4012,25 +4325,65 @@ public APIdeleteNamespacedCSIStorageCapacityRequest orphanDependents(@jakarta.an /** * Set propagationPolicy * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) - * @return APIdeleteNamespacedCSIStorageCapacityRequest + * @return APIdeleteCollectionVolumeAttributesClassRequest */ - public APIdeleteNamespacedCSIStorageCapacityRequest propagationPolicy(@jakarta.annotation.Nullable String propagationPolicy) { + public APIdeleteCollectionVolumeAttributesClassRequest propagationPolicy(@jakarta.annotation.Nullable String propagationPolicy) { this.propagationPolicy = propagationPolicy; return this; } + /** + * Set resourceVersion + * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + * @return APIdeleteCollectionVolumeAttributesClassRequest + */ + public APIdeleteCollectionVolumeAttributesClassRequest resourceVersion(@jakarta.annotation.Nullable String resourceVersion) { + this.resourceVersion = resourceVersion; + return this; + } + + /** + * Set resourceVersionMatch + * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + * @return APIdeleteCollectionVolumeAttributesClassRequest + */ + public APIdeleteCollectionVolumeAttributesClassRequest resourceVersionMatch(@jakarta.annotation.Nullable String resourceVersionMatch) { + this.resourceVersionMatch = resourceVersionMatch; + return this; + } + + /** + * Set sendInitialEvents + * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) + * @return APIdeleteCollectionVolumeAttributesClassRequest + */ + public APIdeleteCollectionVolumeAttributesClassRequest sendInitialEvents(@jakarta.annotation.Nullable Boolean sendInitialEvents) { + this.sendInitialEvents = sendInitialEvents; + return this; + } + + /** + * Set timeoutSeconds + * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) + * @return APIdeleteCollectionVolumeAttributesClassRequest + */ + public APIdeleteCollectionVolumeAttributesClassRequest timeoutSeconds(@jakarta.annotation.Nullable Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + return this; + } + /** * Set body * @param body (optional) - * @return APIdeleteNamespacedCSIStorageCapacityRequest + * @return APIdeleteCollectionVolumeAttributesClassRequest */ - public APIdeleteNamespacedCSIStorageCapacityRequest body(@jakarta.annotation.Nullable V1DeleteOptions body) { + public APIdeleteCollectionVolumeAttributesClassRequest body(@jakarta.annotation.Nullable V1DeleteOptions body) { this.body = body; return this; } /** - * Build call for deleteNamespacedCSIStorageCapacity + * Build call for deleteCollectionVolumeAttributesClass * @param _callback ApiCallback API callback * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -4039,16 +4392,15 @@ public APIdeleteNamespacedCSIStorageCapacityRequest body(@jakarta.annotation.Nul Response Details Status Code Description Response Headers 200 OK - - 202 Accepted - 401 Unauthorized - */ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return deleteNamespacedCSIStorageCapacityCall(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); + return deleteCollectionVolumeAttributesClassCall(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _callback); } /** - * Execute deleteNamespacedCSIStorageCapacity request + * Execute deleteCollectionVolumeAttributesClass request * @return V1Status * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -4056,17 +4408,16 @@ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { Response Details Status Code Description Response Headers 200 OK - - 202 Accepted - 401 Unauthorized - */ public V1Status execute() throws ApiException { - ApiResponse localVarResp = deleteNamespacedCSIStorageCapacityWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body); + ApiResponse localVarResp = deleteCollectionVolumeAttributesClassWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body); return localVarResp.getData(); } /** - * Execute deleteNamespacedCSIStorageCapacity request with HTTP info returned + * Execute deleteCollectionVolumeAttributesClass request with HTTP info returned * @return ApiResponse<V1Status> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -4074,16 +4425,15 @@ public V1Status execute() throws ApiException { Response Details Status Code Description Response Headers 200 OK - - 202 Accepted - 401 Unauthorized - */ public ApiResponse executeWithHttpInfo() throws ApiException { - return deleteNamespacedCSIStorageCapacityWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body); + return deleteCollectionVolumeAttributesClassWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body); } /** - * Execute deleteNamespacedCSIStorageCapacity request (asynchronously) + * Execute deleteCollectionVolumeAttributesClass request (asynchronously) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -4092,34 +4442,30 @@ public ApiResponse executeWithHttpInfo() throws ApiException { Response Details Status Code Description Response Headers 200 OK - - 202 Accepted - 401 Unauthorized - */ public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return deleteNamespacedCSIStorageCapacityAsync(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); + return deleteCollectionVolumeAttributesClassAsync(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _callback); } } /** - * - * delete a CSIStorageCapacity - * @param name name of the CSIStorageCapacity (required) - * @param namespace object name and auth scope, such as for teams and projects (required) - * @return APIdeleteNamespacedCSIStorageCapacityRequest + * + * delete collection of VolumeAttributesClass + * @return APIdeleteCollectionVolumeAttributesClassRequest * @http.response.details -
Response Details
Status Code Description Response Headers
200 OK -
202 Accepted -
401 Unauthorized -
*/ - public APIdeleteNamespacedCSIStorageCapacityRequest deleteNamespacedCSIStorageCapacity(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace) { - return new APIdeleteNamespacedCSIStorageCapacityRequest(name, namespace); + public APIdeleteCollectionVolumeAttributesClassRequest deleteCollectionVolumeAttributesClass() { + return new APIdeleteCollectionVolumeAttributesClassRequest(); } - private okhttp3.Call deleteStorageClassCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { + private okhttp3.Call deleteNamespacedCSIStorageCapacityCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -4136,8 +4482,9 @@ private okhttp3.Call deleteStorageClassCall(@jakarta.annotation.Nonnull String n Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/storage.k8s.io/v1/storageclasses/{name}" - .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())); + String localVarPath = "/apis/storage.k8s.io/v1/namespaces/{namespace}/csistoragecapacities/{name}" + .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())) + .replace("{" + "namespace" + "}", localVarApiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -4193,34 +4540,41 @@ private okhttp3.Call deleteStorageClassCall(@jakarta.annotation.Nonnull String n } @SuppressWarnings("rawtypes") - private okhttp3.Call deleteStorageClassValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { + private okhttp3.Call deleteNamespacedCSIStorageCapacityValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling deleteStorageClass(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling deleteNamespacedCSIStorageCapacity(Async)"); } - return deleteStorageClassCall(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling deleteNamespacedCSIStorageCapacity(Async)"); + } + + return deleteNamespacedCSIStorageCapacityCall(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); } - private ApiResponse deleteStorageClassWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body) throws ApiException { - okhttp3.Call localVarCall = deleteStorageClassValidateBeforeCall(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, null); - Type localVarReturnType = new TypeToken(){}.getType(); + private ApiResponse deleteNamespacedCSIStorageCapacityWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body) throws ApiException { + okhttp3.Call localVarCall = deleteNamespacedCSIStorageCapacityValidateBeforeCall(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, null); + Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } - private okhttp3.Call deleteStorageClassAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { + private okhttp3.Call deleteNamespacedCSIStorageCapacityAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = deleteStorageClassValidateBeforeCall(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); + okhttp3.Call localVarCall = deleteNamespacedCSIStorageCapacityValidateBeforeCall(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } - public class APIdeleteStorageClassRequest { + public class APIdeleteNamespacedCSIStorageCapacityRequest { @jakarta.annotation.Nonnull private final String name; + @jakarta.annotation.Nonnull + private final String namespace; @jakarta.annotation.Nullable private String pretty; @jakarta.annotation.Nullable @@ -4236,16 +4590,17 @@ public class APIdeleteStorageClassRequest { @jakarta.annotation.Nullable private V1DeleteOptions body; - private APIdeleteStorageClassRequest(@jakarta.annotation.Nonnull String name) { + private APIdeleteNamespacedCSIStorageCapacityRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace) { this.name = name; + this.namespace = namespace; } /** * Set pretty * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIdeleteStorageClassRequest + * @return APIdeleteNamespacedCSIStorageCapacityRequest */ - public APIdeleteStorageClassRequest pretty(@jakarta.annotation.Nullable String pretty) { + public APIdeleteNamespacedCSIStorageCapacityRequest pretty(@jakarta.annotation.Nullable String pretty) { this.pretty = pretty; return this; } @@ -4253,9 +4608,9 @@ public APIdeleteStorageClassRequest pretty(@jakarta.annotation.Nullable String p /** * Set dryRun * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) - * @return APIdeleteStorageClassRequest + * @return APIdeleteNamespacedCSIStorageCapacityRequest */ - public APIdeleteStorageClassRequest dryRun(@jakarta.annotation.Nullable String dryRun) { + public APIdeleteNamespacedCSIStorageCapacityRequest dryRun(@jakarta.annotation.Nullable String dryRun) { this.dryRun = dryRun; return this; } @@ -4263,9 +4618,9 @@ public APIdeleteStorageClassRequest dryRun(@jakarta.annotation.Nullable String d /** * Set gracePeriodSeconds * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) - * @return APIdeleteStorageClassRequest + * @return APIdeleteNamespacedCSIStorageCapacityRequest */ - public APIdeleteStorageClassRequest gracePeriodSeconds(@jakarta.annotation.Nullable Integer gracePeriodSeconds) { + public APIdeleteNamespacedCSIStorageCapacityRequest gracePeriodSeconds(@jakarta.annotation.Nullable Integer gracePeriodSeconds) { this.gracePeriodSeconds = gracePeriodSeconds; return this; } @@ -4273,9 +4628,9 @@ public APIdeleteStorageClassRequest gracePeriodSeconds(@jakarta.annotation.Nulla /** * Set ignoreStoreReadErrorWithClusterBreakingPotential * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) - * @return APIdeleteStorageClassRequest + * @return APIdeleteNamespacedCSIStorageCapacityRequest */ - public APIdeleteStorageClassRequest ignoreStoreReadErrorWithClusterBreakingPotential(@jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential) { + public APIdeleteNamespacedCSIStorageCapacityRequest ignoreStoreReadErrorWithClusterBreakingPotential(@jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential) { this.ignoreStoreReadErrorWithClusterBreakingPotential = ignoreStoreReadErrorWithClusterBreakingPotential; return this; } @@ -4283,9 +4638,9 @@ public APIdeleteStorageClassRequest ignoreStoreReadErrorWithClusterBreakingPoten /** * Set orphanDependents * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) - * @return APIdeleteStorageClassRequest + * @return APIdeleteNamespacedCSIStorageCapacityRequest */ - public APIdeleteStorageClassRequest orphanDependents(@jakarta.annotation.Nullable Boolean orphanDependents) { + public APIdeleteNamespacedCSIStorageCapacityRequest orphanDependents(@jakarta.annotation.Nullable Boolean orphanDependents) { this.orphanDependents = orphanDependents; return this; } @@ -4293,9 +4648,9 @@ public APIdeleteStorageClassRequest orphanDependents(@jakarta.annotation.Nullabl /** * Set propagationPolicy * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) - * @return APIdeleteStorageClassRequest + * @return APIdeleteNamespacedCSIStorageCapacityRequest */ - public APIdeleteStorageClassRequest propagationPolicy(@jakarta.annotation.Nullable String propagationPolicy) { + public APIdeleteNamespacedCSIStorageCapacityRequest propagationPolicy(@jakarta.annotation.Nullable String propagationPolicy) { this.propagationPolicy = propagationPolicy; return this; } @@ -4303,15 +4658,15 @@ public APIdeleteStorageClassRequest propagationPolicy(@jakarta.annotation.Nullab /** * Set body * @param body (optional) - * @return APIdeleteStorageClassRequest + * @return APIdeleteNamespacedCSIStorageCapacityRequest */ - public APIdeleteStorageClassRequest body(@jakarta.annotation.Nullable V1DeleteOptions body) { + public APIdeleteNamespacedCSIStorageCapacityRequest body(@jakarta.annotation.Nullable V1DeleteOptions body) { this.body = body; return this; } /** - * Build call for deleteStorageClass + * Build call for deleteNamespacedCSIStorageCapacity * @param _callback ApiCallback API callback * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -4325,12 +4680,12 @@ public APIdeleteStorageClassRequest body(@jakarta.annotation.Nullable V1DeleteOp */ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return deleteStorageClassCall(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); + return deleteNamespacedCSIStorageCapacityCall(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); } /** - * Execute deleteStorageClass request - * @return V1StorageClass + * Execute deleteNamespacedCSIStorageCapacity request + * @return V1Status * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -4341,14 +4696,14 @@ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
401 Unauthorized -
*/ - public V1StorageClass execute() throws ApiException { - ApiResponse localVarResp = deleteStorageClassWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body); + public V1Status execute() throws ApiException { + ApiResponse localVarResp = deleteNamespacedCSIStorageCapacityWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body); return localVarResp.getData(); } /** - * Execute deleteStorageClass request with HTTP info returned - * @return ApiResponse<V1StorageClass> + * Execute deleteNamespacedCSIStorageCapacity request with HTTP info returned + * @return ApiResponse<V1Status> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -4359,12 +4714,12 @@ public V1StorageClass execute() throws ApiException {
401 Unauthorized -
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return deleteStorageClassWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body); + public ApiResponse executeWithHttpInfo() throws ApiException { + return deleteNamespacedCSIStorageCapacityWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body); } /** - * Execute deleteStorageClass request (asynchronously) + * Execute deleteNamespacedCSIStorageCapacity request (asynchronously) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -4377,16 +4732,17 @@ public ApiResponse executeWithHttpInfo() throws ApiException { 401 Unauthorized - */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return deleteStorageClassAsync(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return deleteNamespacedCSIStorageCapacityAsync(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); } } /** - * - * delete a StorageClass - * @param name name of the StorageClass (required) - * @return APIdeleteStorageClassRequest + * + * delete a CSIStorageCapacity + * @param name name of the CSIStorageCapacity (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @return APIdeleteNamespacedCSIStorageCapacityRequest * @http.response.details @@ -4396,10 +4752,10 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) th
Response Details
401 Unauthorized -
*/ - public APIdeleteStorageClassRequest deleteStorageClass(@jakarta.annotation.Nonnull String name) { - return new APIdeleteStorageClassRequest(name); + public APIdeleteNamespacedCSIStorageCapacityRequest deleteNamespacedCSIStorageCapacity(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace) { + return new APIdeleteNamespacedCSIStorageCapacityRequest(name, namespace); } - private okhttp3.Call deleteVolumeAttachmentCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { + private okhttp3.Call deleteStorageClassCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -4416,7 +4772,7 @@ private okhttp3.Call deleteVolumeAttachmentCall(@jakarta.annotation.Nonnull Stri Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/storage.k8s.io/v1/volumeattachments/{name}" + String localVarPath = "/apis/storage.k8s.io/v1/storageclasses/{name}" .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); @@ -4473,32 +4829,32 @@ private okhttp3.Call deleteVolumeAttachmentCall(@jakarta.annotation.Nonnull Stri } @SuppressWarnings("rawtypes") - private okhttp3.Call deleteVolumeAttachmentValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { + private okhttp3.Call deleteStorageClassValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling deleteVolumeAttachment(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling deleteStorageClass(Async)"); } - return deleteVolumeAttachmentCall(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); + return deleteStorageClassCall(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); } - private ApiResponse deleteVolumeAttachmentWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body) throws ApiException { - okhttp3.Call localVarCall = deleteVolumeAttachmentValidateBeforeCall(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, null); - Type localVarReturnType = new TypeToken(){}.getType(); + private ApiResponse deleteStorageClassWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body) throws ApiException { + okhttp3.Call localVarCall = deleteStorageClassValidateBeforeCall(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, null); + Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } - private okhttp3.Call deleteVolumeAttachmentAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { + private okhttp3.Call deleteStorageClassAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = deleteVolumeAttachmentValidateBeforeCall(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); + okhttp3.Call localVarCall = deleteStorageClassValidateBeforeCall(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } - public class APIdeleteVolumeAttachmentRequest { + public class APIdeleteStorageClassRequest { @jakarta.annotation.Nonnull private final String name; @jakarta.annotation.Nullable @@ -4516,16 +4872,16 @@ public class APIdeleteVolumeAttachmentRequest { @jakarta.annotation.Nullable private V1DeleteOptions body; - private APIdeleteVolumeAttachmentRequest(@jakarta.annotation.Nonnull String name) { + private APIdeleteStorageClassRequest(@jakarta.annotation.Nonnull String name) { this.name = name; } /** * Set pretty * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIdeleteVolumeAttachmentRequest + * @return APIdeleteStorageClassRequest */ - public APIdeleteVolumeAttachmentRequest pretty(@jakarta.annotation.Nullable String pretty) { + public APIdeleteStorageClassRequest pretty(@jakarta.annotation.Nullable String pretty) { this.pretty = pretty; return this; } @@ -4533,9 +4889,9 @@ public APIdeleteVolumeAttachmentRequest pretty(@jakarta.annotation.Nullable Stri /** * Set dryRun * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) - * @return APIdeleteVolumeAttachmentRequest + * @return APIdeleteStorageClassRequest */ - public APIdeleteVolumeAttachmentRequest dryRun(@jakarta.annotation.Nullable String dryRun) { + public APIdeleteStorageClassRequest dryRun(@jakarta.annotation.Nullable String dryRun) { this.dryRun = dryRun; return this; } @@ -4543,9 +4899,9 @@ public APIdeleteVolumeAttachmentRequest dryRun(@jakarta.annotation.Nullable Stri /** * Set gracePeriodSeconds * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) - * @return APIdeleteVolumeAttachmentRequest + * @return APIdeleteStorageClassRequest */ - public APIdeleteVolumeAttachmentRequest gracePeriodSeconds(@jakarta.annotation.Nullable Integer gracePeriodSeconds) { + public APIdeleteStorageClassRequest gracePeriodSeconds(@jakarta.annotation.Nullable Integer gracePeriodSeconds) { this.gracePeriodSeconds = gracePeriodSeconds; return this; } @@ -4553,9 +4909,9 @@ public APIdeleteVolumeAttachmentRequest gracePeriodSeconds(@jakarta.annotation.N /** * Set ignoreStoreReadErrorWithClusterBreakingPotential * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) - * @return APIdeleteVolumeAttachmentRequest + * @return APIdeleteStorageClassRequest */ - public APIdeleteVolumeAttachmentRequest ignoreStoreReadErrorWithClusterBreakingPotential(@jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential) { + public APIdeleteStorageClassRequest ignoreStoreReadErrorWithClusterBreakingPotential(@jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential) { this.ignoreStoreReadErrorWithClusterBreakingPotential = ignoreStoreReadErrorWithClusterBreakingPotential; return this; } @@ -4563,9 +4919,9 @@ public APIdeleteVolumeAttachmentRequest ignoreStoreReadErrorWithClusterBreakingP /** * Set orphanDependents * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) - * @return APIdeleteVolumeAttachmentRequest + * @return APIdeleteStorageClassRequest */ - public APIdeleteVolumeAttachmentRequest orphanDependents(@jakarta.annotation.Nullable Boolean orphanDependents) { + public APIdeleteStorageClassRequest orphanDependents(@jakarta.annotation.Nullable Boolean orphanDependents) { this.orphanDependents = orphanDependents; return this; } @@ -4573,9 +4929,9 @@ public APIdeleteVolumeAttachmentRequest orphanDependents(@jakarta.annotation.Nul /** * Set propagationPolicy * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) - * @return APIdeleteVolumeAttachmentRequest + * @return APIdeleteStorageClassRequest */ - public APIdeleteVolumeAttachmentRequest propagationPolicy(@jakarta.annotation.Nullable String propagationPolicy) { + public APIdeleteStorageClassRequest propagationPolicy(@jakarta.annotation.Nullable String propagationPolicy) { this.propagationPolicy = propagationPolicy; return this; } @@ -4583,15 +4939,15 @@ public APIdeleteVolumeAttachmentRequest propagationPolicy(@jakarta.annotation.Nu /** * Set body * @param body (optional) - * @return APIdeleteVolumeAttachmentRequest + * @return APIdeleteStorageClassRequest */ - public APIdeleteVolumeAttachmentRequest body(@jakarta.annotation.Nullable V1DeleteOptions body) { + public APIdeleteStorageClassRequest body(@jakarta.annotation.Nullable V1DeleteOptions body) { this.body = body; return this; } /** - * Build call for deleteVolumeAttachment + * Build call for deleteStorageClass * @param _callback ApiCallback API callback * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -4605,12 +4961,12 @@ public APIdeleteVolumeAttachmentRequest body(@jakarta.annotation.Nullable V1Dele */ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return deleteVolumeAttachmentCall(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); + return deleteStorageClassCall(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); } /** - * Execute deleteVolumeAttachment request - * @return V1VolumeAttachment + * Execute deleteStorageClass request + * @return V1StorageClass * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -4621,14 +4977,14 @@ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
401 Unauthorized -
*/ - public V1VolumeAttachment execute() throws ApiException { - ApiResponse localVarResp = deleteVolumeAttachmentWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body); + public V1StorageClass execute() throws ApiException { + ApiResponse localVarResp = deleteStorageClassWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body); return localVarResp.getData(); } /** - * Execute deleteVolumeAttachment request with HTTP info returned - * @return ApiResponse<V1VolumeAttachment> + * Execute deleteStorageClass request with HTTP info returned + * @return ApiResponse<V1StorageClass> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -4639,12 +4995,12 @@ public V1VolumeAttachment execute() throws ApiException {
401 Unauthorized -
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return deleteVolumeAttachmentWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body); + public ApiResponse executeWithHttpInfo() throws ApiException { + return deleteStorageClassWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body); } /** - * Execute deleteVolumeAttachment request (asynchronously) + * Execute deleteStorageClass request (asynchronously) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -4657,16 +5013,16 @@ public ApiResponse executeWithHttpInfo() throws ApiException 401 Unauthorized - */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return deleteVolumeAttachmentAsync(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return deleteStorageClassAsync(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); } } /** - * - * delete a VolumeAttachment - * @param name name of the VolumeAttachment (required) - * @return APIdeleteVolumeAttachmentRequest + * + * delete a StorageClass + * @param name name of the StorageClass (required) + * @return APIdeleteStorageClassRequest * @http.response.details @@ -4676,10 +5032,10 @@ public okhttp3.Call executeAsync(final ApiCallback _callback
Response Details
401 Unauthorized -
*/ - public APIdeleteVolumeAttachmentRequest deleteVolumeAttachment(@jakarta.annotation.Nonnull String name) { - return new APIdeleteVolumeAttachmentRequest(name); + public APIdeleteStorageClassRequest deleteStorageClass(@jakarta.annotation.Nonnull String name) { + return new APIdeleteStorageClassRequest(name); } - private okhttp3.Call getAPIResourcesCall(final ApiCallback _callback) throws ApiException { + private okhttp3.Call deleteVolumeAttachmentCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -4693,10 +5049,11 @@ private okhttp3.Call getAPIResourcesCall(final ApiCallback _callback) throws Api basePath = null; } - Object localVarPostBody = null; + Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/storage.k8s.io/v1/"; + String localVarPath = "/apis/storage.k8s.io/v1/volumeattachments/{name}" + .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -4704,6 +5061,30 @@ private okhttp3.Call getAPIResourcesCall(final ApiCallback _callback) throws Api Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); + if (pretty != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); + } + + if (dryRun != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("dryRun", dryRun)); + } + + if (gracePeriodSeconds != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("gracePeriodSeconds", gracePeriodSeconds)); + } + + if (ignoreStoreReadErrorWithClusterBreakingPotential != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("ignoreStoreReadErrorWithClusterBreakingPotential", ignoreStoreReadErrorWithClusterBreakingPotential)); + } + + if (orphanDependents != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("orphanDependents", orphanDependents)); + } + + if (propagationPolicy != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("propagationPolicy", propagationPolicy)); + } + final String[] localVarAccepts = { "application/json", "application/yaml", @@ -4716,6 +5097,7 @@ private okhttp3.Call getAPIResourcesCall(final ApiCallback _callback) throws Api } final String[] localVarContentTypes = { + "application/json" }; final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); if (localVarContentType != null) { @@ -4723,37 +5105,1241 @@ private okhttp3.Call getAPIResourcesCall(final ApiCallback _callback) throws Api } String[] localVarAuthNames = new String[] { "BearerToken" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @SuppressWarnings("rawtypes") - private okhttp3.Call getAPIResourcesValidateBeforeCall(final ApiCallback _callback) throws ApiException { - return getAPIResourcesCall(_callback); + private okhttp3.Call deleteVolumeAttachmentValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling deleteVolumeAttachment(Async)"); + } + + return deleteVolumeAttachmentCall(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); } - private ApiResponse getAPIResourcesWithHttpInfo() throws ApiException { - okhttp3.Call localVarCall = getAPIResourcesValidateBeforeCall(null); - Type localVarReturnType = new TypeToken(){}.getType(); + private ApiResponse deleteVolumeAttachmentWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body) throws ApiException { + okhttp3.Call localVarCall = deleteVolumeAttachmentValidateBeforeCall(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, null); + Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } - private okhttp3.Call getAPIResourcesAsync(final ApiCallback _callback) throws ApiException { + private okhttp3.Call deleteVolumeAttachmentAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = deleteVolumeAttachmentValidateBeforeCall(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + public class APIdeleteVolumeAttachmentRequest { + @jakarta.annotation.Nonnull + private final String name; + @jakarta.annotation.Nullable + private String pretty; + @jakarta.annotation.Nullable + private String dryRun; + @jakarta.annotation.Nullable + private Integer gracePeriodSeconds; + @jakarta.annotation.Nullable + private Boolean ignoreStoreReadErrorWithClusterBreakingPotential; + @jakarta.annotation.Nullable + private Boolean orphanDependents; + @jakarta.annotation.Nullable + private String propagationPolicy; + @jakarta.annotation.Nullable + private V1DeleteOptions body; + + private APIdeleteVolumeAttachmentRequest(@jakarta.annotation.Nonnull String name) { + this.name = name; + } + + /** + * Set pretty + * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + * @return APIdeleteVolumeAttachmentRequest + */ + public APIdeleteVolumeAttachmentRequest pretty(@jakarta.annotation.Nullable String pretty) { + this.pretty = pretty; + return this; + } + + /** + * Set dryRun + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + * @return APIdeleteVolumeAttachmentRequest + */ + public APIdeleteVolumeAttachmentRequest dryRun(@jakarta.annotation.Nullable String dryRun) { + this.dryRun = dryRun; + return this; + } + + /** + * Set gracePeriodSeconds + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @return APIdeleteVolumeAttachmentRequest + */ + public APIdeleteVolumeAttachmentRequest gracePeriodSeconds(@jakarta.annotation.Nullable Integer gracePeriodSeconds) { + this.gracePeriodSeconds = gracePeriodSeconds; + return this; + } + + /** + * Set ignoreStoreReadErrorWithClusterBreakingPotential + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + * @return APIdeleteVolumeAttachmentRequest + */ + public APIdeleteVolumeAttachmentRequest ignoreStoreReadErrorWithClusterBreakingPotential(@jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential) { + this.ignoreStoreReadErrorWithClusterBreakingPotential = ignoreStoreReadErrorWithClusterBreakingPotential; + return this; + } + + /** + * Set orphanDependents + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @return APIdeleteVolumeAttachmentRequest + */ + public APIdeleteVolumeAttachmentRequest orphanDependents(@jakarta.annotation.Nullable Boolean orphanDependents) { + this.orphanDependents = orphanDependents; + return this; + } + + /** + * Set propagationPolicy + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) + * @return APIdeleteVolumeAttachmentRequest + */ + public APIdeleteVolumeAttachmentRequest propagationPolicy(@jakarta.annotation.Nullable String propagationPolicy) { + this.propagationPolicy = propagationPolicy; + return this; + } + + /** + * Set body + * @param body (optional) + * @return APIdeleteVolumeAttachmentRequest + */ + public APIdeleteVolumeAttachmentRequest body(@jakarta.annotation.Nullable V1DeleteOptions body) { + this.body = body; + return this; + } + + /** + * Build call for deleteVolumeAttachment + * @param _callback ApiCallback API callback + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
202 Accepted -
401 Unauthorized -
+ */ + public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { + return deleteVolumeAttachmentCall(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); + } + + /** + * Execute deleteVolumeAttachment request + * @return V1VolumeAttachment + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
202 Accepted -
401 Unauthorized -
+ */ + public V1VolumeAttachment execute() throws ApiException { + ApiResponse localVarResp = deleteVolumeAttachmentWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body); + return localVarResp.getData(); + } + + /** + * Execute deleteVolumeAttachment request with HTTP info returned + * @return ApiResponse<V1VolumeAttachment> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
202 Accepted -
401 Unauthorized -
+ */ + public ApiResponse executeWithHttpInfo() throws ApiException { + return deleteVolumeAttachmentWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body); + } + + /** + * Execute deleteVolumeAttachment request (asynchronously) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
202 Accepted -
401 Unauthorized -
+ */ + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return deleteVolumeAttachmentAsync(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); + } + } + + /** + * + * delete a VolumeAttachment + * @param name name of the VolumeAttachment (required) + * @return APIdeleteVolumeAttachmentRequest + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
202 Accepted -
401 Unauthorized -
+ */ + public APIdeleteVolumeAttachmentRequest deleteVolumeAttachment(@jakarta.annotation.Nonnull String name) { + return new APIdeleteVolumeAttachmentRequest(name); + } + private okhttp3.Call deleteVolumeAttributesClassCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/storage.k8s.io/v1/volumeattributesclasses/{name}" + .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (pretty != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); + } + + if (dryRun != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("dryRun", dryRun)); + } + + if (gracePeriodSeconds != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("gracePeriodSeconds", gracePeriodSeconds)); + } + + if (ignoreStoreReadErrorWithClusterBreakingPotential != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("ignoreStoreReadErrorWithClusterBreakingPotential", ignoreStoreReadErrorWithClusterBreakingPotential)); + } + + if (orphanDependents != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("orphanDependents", orphanDependents)); + } + + if (propagationPolicy != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("propagationPolicy", propagationPolicy)); + } + + final String[] localVarAccepts = { + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call deleteVolumeAttributesClassValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling deleteVolumeAttributesClass(Async)"); + } + + return deleteVolumeAttributesClassCall(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); + + } + + + private ApiResponse deleteVolumeAttributesClassWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body) throws ApiException { + okhttp3.Call localVarCall = deleteVolumeAttributesClassValidateBeforeCall(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + private okhttp3.Call deleteVolumeAttributesClassAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable Integer gracePeriodSeconds, @jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential, @jakarta.annotation.Nullable Boolean orphanDependents, @jakarta.annotation.Nullable String propagationPolicy, @jakarta.annotation.Nullable V1DeleteOptions body, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = deleteVolumeAttributesClassValidateBeforeCall(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + public class APIdeleteVolumeAttributesClassRequest { + @jakarta.annotation.Nonnull + private final String name; + @jakarta.annotation.Nullable + private String pretty; + @jakarta.annotation.Nullable + private String dryRun; + @jakarta.annotation.Nullable + private Integer gracePeriodSeconds; + @jakarta.annotation.Nullable + private Boolean ignoreStoreReadErrorWithClusterBreakingPotential; + @jakarta.annotation.Nullable + private Boolean orphanDependents; + @jakarta.annotation.Nullable + private String propagationPolicy; + @jakarta.annotation.Nullable + private V1DeleteOptions body; + + private APIdeleteVolumeAttributesClassRequest(@jakarta.annotation.Nonnull String name) { + this.name = name; + } + + /** + * Set pretty + * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + * @return APIdeleteVolumeAttributesClassRequest + */ + public APIdeleteVolumeAttributesClassRequest pretty(@jakarta.annotation.Nullable String pretty) { + this.pretty = pretty; + return this; + } + + /** + * Set dryRun + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + * @return APIdeleteVolumeAttributesClassRequest + */ + public APIdeleteVolumeAttributesClassRequest dryRun(@jakarta.annotation.Nullable String dryRun) { + this.dryRun = dryRun; + return this; + } + + /** + * Set gracePeriodSeconds + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @return APIdeleteVolumeAttributesClassRequest + */ + public APIdeleteVolumeAttributesClassRequest gracePeriodSeconds(@jakarta.annotation.Nullable Integer gracePeriodSeconds) { + this.gracePeriodSeconds = gracePeriodSeconds; + return this; + } + + /** + * Set ignoreStoreReadErrorWithClusterBreakingPotential + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + * @return APIdeleteVolumeAttributesClassRequest + */ + public APIdeleteVolumeAttributesClassRequest ignoreStoreReadErrorWithClusterBreakingPotential(@jakarta.annotation.Nullable Boolean ignoreStoreReadErrorWithClusterBreakingPotential) { + this.ignoreStoreReadErrorWithClusterBreakingPotential = ignoreStoreReadErrorWithClusterBreakingPotential; + return this; + } + + /** + * Set orphanDependents + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @return APIdeleteVolumeAttributesClassRequest + */ + public APIdeleteVolumeAttributesClassRequest orphanDependents(@jakarta.annotation.Nullable Boolean orphanDependents) { + this.orphanDependents = orphanDependents; + return this; + } + + /** + * Set propagationPolicy + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) + * @return APIdeleteVolumeAttributesClassRequest + */ + public APIdeleteVolumeAttributesClassRequest propagationPolicy(@jakarta.annotation.Nullable String propagationPolicy) { + this.propagationPolicy = propagationPolicy; + return this; + } + + /** + * Set body + * @param body (optional) + * @return APIdeleteVolumeAttributesClassRequest + */ + public APIdeleteVolumeAttributesClassRequest body(@jakarta.annotation.Nullable V1DeleteOptions body) { + this.body = body; + return this; + } + + /** + * Build call for deleteVolumeAttributesClass + * @param _callback ApiCallback API callback + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
202 Accepted -
401 Unauthorized -
+ */ + public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { + return deleteVolumeAttributesClassCall(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); + } + + /** + * Execute deleteVolumeAttributesClass request + * @return V1VolumeAttributesClass + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
202 Accepted -
401 Unauthorized -
+ */ + public V1VolumeAttributesClass execute() throws ApiException { + ApiResponse localVarResp = deleteVolumeAttributesClassWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body); + return localVarResp.getData(); + } + + /** + * Execute deleteVolumeAttributesClass request with HTTP info returned + * @return ApiResponse<V1VolumeAttributesClass> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
202 Accepted -
401 Unauthorized -
+ */ + public ApiResponse executeWithHttpInfo() throws ApiException { + return deleteVolumeAttributesClassWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body); + } + + /** + * Execute deleteVolumeAttributesClass request (asynchronously) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
202 Accepted -
401 Unauthorized -
+ */ + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return deleteVolumeAttributesClassAsync(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _callback); + } + } + + /** + * + * delete a VolumeAttributesClass + * @param name name of the VolumeAttributesClass (required) + * @return APIdeleteVolumeAttributesClassRequest + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
202 Accepted -
401 Unauthorized -
+ */ + public APIdeleteVolumeAttributesClassRequest deleteVolumeAttributesClass(@jakarta.annotation.Nonnull String name) { + return new APIdeleteVolumeAttributesClassRequest(name); + } + private okhttp3.Call getAPIResourcesCall(final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/storage.k8s.io/v1/"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getAPIResourcesValidateBeforeCall(final ApiCallback _callback) throws ApiException { + return getAPIResourcesCall(_callback); + + } + + + private ApiResponse getAPIResourcesWithHttpInfo() throws ApiException { + okhttp3.Call localVarCall = getAPIResourcesValidateBeforeCall(null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + private okhttp3.Call getAPIResourcesAsync(final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getAPIResourcesValidateBeforeCall(_callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + public class APIgetAPIResourcesRequest { + + private APIgetAPIResourcesRequest() { + } + + /** + * Build call for getAPIResources + * @param _callback ApiCallback API callback + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { + return getAPIResourcesCall(_callback); + } + + /** + * Execute getAPIResources request + * @return V1APIResourceList + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public V1APIResourceList execute() throws ApiException { + ApiResponse localVarResp = getAPIResourcesWithHttpInfo(); + return localVarResp.getData(); + } + + /** + * Execute getAPIResources request with HTTP info returned + * @return ApiResponse<V1APIResourceList> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public ApiResponse executeWithHttpInfo() throws ApiException { + return getAPIResourcesWithHttpInfo(); + } + + /** + * Execute getAPIResources request (asynchronously) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return getAPIResourcesAsync(_callback); + } + } + + /** + * + * get available resources + * @return APIgetAPIResourcesRequest + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public APIgetAPIResourcesRequest getAPIResources() { + return new APIgetAPIResourcesRequest(); + } + private okhttp3.Call listCSIDriverCall(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/storage.k8s.io/v1/csidrivers"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (pretty != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); + } + + if (allowWatchBookmarks != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("allowWatchBookmarks", allowWatchBookmarks)); + } + + if (_continue != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("continue", _continue)); + } + + if (fieldSelector != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldSelector", fieldSelector)); + } + + if (labelSelector != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("labelSelector", labelSelector)); + } + + if (limit != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); + } + + if (resourceVersion != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("resourceVersion", resourceVersion)); + } + + if (resourceVersionMatch != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("resourceVersionMatch", resourceVersionMatch)); + } + + if (sendInitialEvents != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sendInitialEvents", sendInitialEvents)); + } + + if (timeoutSeconds != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + } + + if (watch != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("watch", watch)); + } + + final String[] localVarAccepts = { + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call listCSIDriverValidateBeforeCall(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { + return listCSIDriverCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + + } + + + private ApiResponse listCSIDriverWithHttpInfo(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch) throws ApiException { + okhttp3.Call localVarCall = listCSIDriverValidateBeforeCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + private okhttp3.Call listCSIDriverAsync(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = listCSIDriverValidateBeforeCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + public class APIlistCSIDriverRequest { + @jakarta.annotation.Nullable + private String pretty; + @jakarta.annotation.Nullable + private Boolean allowWatchBookmarks; + @jakarta.annotation.Nullable + private String _continue; + @jakarta.annotation.Nullable + private String fieldSelector; + @jakarta.annotation.Nullable + private String labelSelector; + @jakarta.annotation.Nullable + private Integer limit; + @jakarta.annotation.Nullable + private String resourceVersion; + @jakarta.annotation.Nullable + private String resourceVersionMatch; + @jakarta.annotation.Nullable + private Boolean sendInitialEvents; + @jakarta.annotation.Nullable + private Integer timeoutSeconds; + @jakarta.annotation.Nullable + private Boolean watch; + + private APIlistCSIDriverRequest() { + } + + /** + * Set pretty + * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + * @return APIlistCSIDriverRequest + */ + public APIlistCSIDriverRequest pretty(@jakarta.annotation.Nullable String pretty) { + this.pretty = pretty; + return this; + } + + /** + * Set allowWatchBookmarks + * @param allowWatchBookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) + * @return APIlistCSIDriverRequest + */ + public APIlistCSIDriverRequest allowWatchBookmarks(@jakarta.annotation.Nullable Boolean allowWatchBookmarks) { + this.allowWatchBookmarks = allowWatchBookmarks; + return this; + } + + /** + * Set _continue + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @return APIlistCSIDriverRequest + */ + public APIlistCSIDriverRequest _continue(@jakarta.annotation.Nullable String _continue) { + this._continue = _continue; + return this; + } + + /** + * Set fieldSelector + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @return APIlistCSIDriverRequest + */ + public APIlistCSIDriverRequest fieldSelector(@jakarta.annotation.Nullable String fieldSelector) { + this.fieldSelector = fieldSelector; + return this; + } + + /** + * Set labelSelector + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @return APIlistCSIDriverRequest + */ + public APIlistCSIDriverRequest labelSelector(@jakarta.annotation.Nullable String labelSelector) { + this.labelSelector = labelSelector; + return this; + } + + /** + * Set limit + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @return APIlistCSIDriverRequest + */ + public APIlistCSIDriverRequest limit(@jakarta.annotation.Nullable Integer limit) { + this.limit = limit; + return this; + } + + /** + * Set resourceVersion + * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + * @return APIlistCSIDriverRequest + */ + public APIlistCSIDriverRequest resourceVersion(@jakarta.annotation.Nullable String resourceVersion) { + this.resourceVersion = resourceVersion; + return this; + } + + /** + * Set resourceVersionMatch + * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + * @return APIlistCSIDriverRequest + */ + public APIlistCSIDriverRequest resourceVersionMatch(@jakarta.annotation.Nullable String resourceVersionMatch) { + this.resourceVersionMatch = resourceVersionMatch; + return this; + } + + /** + * Set sendInitialEvents + * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) + * @return APIlistCSIDriverRequest + */ + public APIlistCSIDriverRequest sendInitialEvents(@jakarta.annotation.Nullable Boolean sendInitialEvents) { + this.sendInitialEvents = sendInitialEvents; + return this; + } + + /** + * Set timeoutSeconds + * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) + * @return APIlistCSIDriverRequest + */ + public APIlistCSIDriverRequest timeoutSeconds(@jakarta.annotation.Nullable Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + return this; + } + + /** + * Set watch + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return APIlistCSIDriverRequest + */ + public APIlistCSIDriverRequest watch(@jakarta.annotation.Nullable Boolean watch) { + this.watch = watch; + return this; + } + + /** + * Build call for listCSIDriver + * @param _callback ApiCallback API callback + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { + return listCSIDriverCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + } + + /** + * Execute listCSIDriver request + * @return V1CSIDriverList + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public V1CSIDriverList execute() throws ApiException { + ApiResponse localVarResp = listCSIDriverWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); + return localVarResp.getData(); + } + + /** + * Execute listCSIDriver request with HTTP info returned + * @return ApiResponse<V1CSIDriverList> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public ApiResponse executeWithHttpInfo() throws ApiException { + return listCSIDriverWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); + } + + /** + * Execute listCSIDriver request (asynchronously) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return listCSIDriverAsync(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + } + } + + /** + * + * list or watch objects of kind CSIDriver + * @return APIlistCSIDriverRequest + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public APIlistCSIDriverRequest listCSIDriver() { + return new APIlistCSIDriverRequest(); + } + private okhttp3.Call listCSINodeCall(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/storage.k8s.io/v1/csinodes"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (pretty != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); + } + + if (allowWatchBookmarks != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("allowWatchBookmarks", allowWatchBookmarks)); + } + + if (_continue != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("continue", _continue)); + } + + if (fieldSelector != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldSelector", fieldSelector)); + } + + if (labelSelector != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("labelSelector", labelSelector)); + } + + if (limit != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); + } + + if (resourceVersion != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("resourceVersion", resourceVersion)); + } + + if (resourceVersionMatch != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("resourceVersionMatch", resourceVersionMatch)); + } + + if (sendInitialEvents != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sendInitialEvents", sendInitialEvents)); + } + + if (timeoutSeconds != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + } + + if (watch != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("watch", watch)); + } + + final String[] localVarAccepts = { + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call listCSINodeValidateBeforeCall(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { + return listCSINodeCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + + } + + + private ApiResponse listCSINodeWithHttpInfo(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch) throws ApiException { + okhttp3.Call localVarCall = listCSINodeValidateBeforeCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + private okhttp3.Call listCSINodeAsync(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = listCSINodeValidateBeforeCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + public class APIlistCSINodeRequest { + @jakarta.annotation.Nullable + private String pretty; + @jakarta.annotation.Nullable + private Boolean allowWatchBookmarks; + @jakarta.annotation.Nullable + private String _continue; + @jakarta.annotation.Nullable + private String fieldSelector; + @jakarta.annotation.Nullable + private String labelSelector; + @jakarta.annotation.Nullable + private Integer limit; + @jakarta.annotation.Nullable + private String resourceVersion; + @jakarta.annotation.Nullable + private String resourceVersionMatch; + @jakarta.annotation.Nullable + private Boolean sendInitialEvents; + @jakarta.annotation.Nullable + private Integer timeoutSeconds; + @jakarta.annotation.Nullable + private Boolean watch; + + private APIlistCSINodeRequest() { + } + + /** + * Set pretty + * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + * @return APIlistCSINodeRequest + */ + public APIlistCSINodeRequest pretty(@jakarta.annotation.Nullable String pretty) { + this.pretty = pretty; + return this; + } + + /** + * Set allowWatchBookmarks + * @param allowWatchBookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) + * @return APIlistCSINodeRequest + */ + public APIlistCSINodeRequest allowWatchBookmarks(@jakarta.annotation.Nullable Boolean allowWatchBookmarks) { + this.allowWatchBookmarks = allowWatchBookmarks; + return this; + } + + /** + * Set _continue + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @return APIlistCSINodeRequest + */ + public APIlistCSINodeRequest _continue(@jakarta.annotation.Nullable String _continue) { + this._continue = _continue; + return this; + } + + /** + * Set fieldSelector + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @return APIlistCSINodeRequest + */ + public APIlistCSINodeRequest fieldSelector(@jakarta.annotation.Nullable String fieldSelector) { + this.fieldSelector = fieldSelector; + return this; + } + + /** + * Set labelSelector + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @return APIlistCSINodeRequest + */ + public APIlistCSINodeRequest labelSelector(@jakarta.annotation.Nullable String labelSelector) { + this.labelSelector = labelSelector; + return this; + } + + /** + * Set limit + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @return APIlistCSINodeRequest + */ + public APIlistCSINodeRequest limit(@jakarta.annotation.Nullable Integer limit) { + this.limit = limit; + return this; + } + + /** + * Set resourceVersion + * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + * @return APIlistCSINodeRequest + */ + public APIlistCSINodeRequest resourceVersion(@jakarta.annotation.Nullable String resourceVersion) { + this.resourceVersion = resourceVersion; + return this; + } + + /** + * Set resourceVersionMatch + * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + * @return APIlistCSINodeRequest + */ + public APIlistCSINodeRequest resourceVersionMatch(@jakarta.annotation.Nullable String resourceVersionMatch) { + this.resourceVersionMatch = resourceVersionMatch; + return this; + } - okhttp3.Call localVarCall = getAPIResourcesValidateBeforeCall(_callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } + /** + * Set sendInitialEvents + * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) + * @return APIlistCSINodeRequest + */ + public APIlistCSINodeRequest sendInitialEvents(@jakarta.annotation.Nullable Boolean sendInitialEvents) { + this.sendInitialEvents = sendInitialEvents; + return this; + } - public class APIgetAPIResourcesRequest { + /** + * Set timeoutSeconds + * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) + * @return APIlistCSINodeRequest + */ + public APIlistCSINodeRequest timeoutSeconds(@jakarta.annotation.Nullable Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + return this; + } - private APIgetAPIResourcesRequest() { + /** + * Set watch + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return APIlistCSINodeRequest + */ + public APIlistCSINodeRequest watch(@jakarta.annotation.Nullable Boolean watch) { + this.watch = watch; + return this; } /** - * Build call for getAPIResources + * Build call for listCSINode * @param _callback ApiCallback API callback * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -4766,12 +6352,12 @@ private APIgetAPIResourcesRequest() { */ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return getAPIResourcesCall(_callback); + return listCSINodeCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); } /** - * Execute getAPIResources request - * @return V1APIResourceList + * Execute listCSINode request + * @return V1CSINodeList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -4781,14 +6367,14 @@ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
401 Unauthorized -
*/ - public V1APIResourceList execute() throws ApiException { - ApiResponse localVarResp = getAPIResourcesWithHttpInfo(); + public V1CSINodeList execute() throws ApiException { + ApiResponse localVarResp = listCSINodeWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); return localVarResp.getData(); } /** - * Execute getAPIResources request with HTTP info returned - * @return ApiResponse<V1APIResourceList> + * Execute listCSINode request with HTTP info returned + * @return ApiResponse<V1CSINodeList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -4798,12 +6384,12 @@ public V1APIResourceList execute() throws ApiException {
401 Unauthorized -
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return getAPIResourcesWithHttpInfo(); + public ApiResponse executeWithHttpInfo() throws ApiException { + return listCSINodeWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); } /** - * Execute getAPIResources request (asynchronously) + * Execute listCSINode request (asynchronously) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -4815,15 +6401,15 @@ public ApiResponse executeWithHttpInfo() throws ApiException 401 Unauthorized - */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return getAPIResourcesAsync(_callback); + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return listCSINodeAsync(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); } } /** - * - * get available resources - * @return APIgetAPIResourcesRequest + * + * list or watch objects of kind CSINode + * @return APIlistCSINodeRequest * @http.response.details @@ -4832,10 +6418,10 @@ public okhttp3.Call executeAsync(final ApiCallback _callback)
Response Details
401 Unauthorized -
*/ - public APIgetAPIResourcesRequest getAPIResources() { - return new APIgetAPIResourcesRequest(); + public APIlistCSINodeRequest listCSINode() { + return new APIlistCSINodeRequest(); } - private okhttp3.Call listCSIDriverCall(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { + private okhttp3.Call listCSIStorageCapacityForAllNamespacesCall(@jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -4852,7 +6438,7 @@ private okhttp3.Call listCSIDriverCall(@jakarta.annotation.Nullable String prett Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/storage.k8s.io/v1/csidrivers"; + String localVarPath = "/apis/storage.k8s.io/v1/csistoragecapacities"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -4860,10 +6446,6 @@ private okhttp3.Call listCSIDriverCall(@jakarta.annotation.Nullable String prett Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); - if (pretty != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); - } - if (allowWatchBookmarks != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("allowWatchBookmarks", allowWatchBookmarks)); } @@ -4884,6 +6466,10 @@ private okhttp3.Call listCSIDriverCall(@jakarta.annotation.Nullable String prett localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); } + if (pretty != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); + } + if (resourceVersion != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("resourceVersion", resourceVersion)); } @@ -4930,29 +6516,27 @@ private okhttp3.Call listCSIDriverCall(@jakarta.annotation.Nullable String prett } @SuppressWarnings("rawtypes") - private okhttp3.Call listCSIDriverValidateBeforeCall(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { - return listCSIDriverCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + private okhttp3.Call listCSIStorageCapacityForAllNamespacesValidateBeforeCall(@jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { + return listCSIStorageCapacityForAllNamespacesCall(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); } - private ApiResponse listCSIDriverWithHttpInfo(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch) throws ApiException { - okhttp3.Call localVarCall = listCSIDriverValidateBeforeCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, null); - Type localVarReturnType = new TypeToken(){}.getType(); + private ApiResponse listCSIStorageCapacityForAllNamespacesWithHttpInfo(@jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch) throws ApiException { + okhttp3.Call localVarCall = listCSIStorageCapacityForAllNamespacesValidateBeforeCall(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, null); + Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } - private okhttp3.Call listCSIDriverAsync(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { + private okhttp3.Call listCSIStorageCapacityForAllNamespacesAsync(@jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = listCSIDriverValidateBeforeCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); + okhttp3.Call localVarCall = listCSIStorageCapacityForAllNamespacesValidateBeforeCall(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } - public class APIlistCSIDriverRequest { - @jakarta.annotation.Nullable - private String pretty; + public class APIlistCSIStorageCapacityForAllNamespacesRequest { @jakarta.annotation.Nullable private Boolean allowWatchBookmarks; @jakarta.annotation.Nullable @@ -4964,6 +6548,8 @@ public class APIlistCSIDriverRequest { @jakarta.annotation.Nullable private Integer limit; @jakarta.annotation.Nullable + private String pretty; + @jakarta.annotation.Nullable private String resourceVersion; @jakarta.annotation.Nullable private String resourceVersionMatch; @@ -4974,25 +6560,15 @@ public class APIlistCSIDriverRequest { @jakarta.annotation.Nullable private Boolean watch; - private APIlistCSIDriverRequest() { - } - - /** - * Set pretty - * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIlistCSIDriverRequest - */ - public APIlistCSIDriverRequest pretty(@jakarta.annotation.Nullable String pretty) { - this.pretty = pretty; - return this; + private APIlistCSIStorageCapacityForAllNamespacesRequest() { } /** * Set allowWatchBookmarks * @param allowWatchBookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) - * @return APIlistCSIDriverRequest + * @return APIlistCSIStorageCapacityForAllNamespacesRequest */ - public APIlistCSIDriverRequest allowWatchBookmarks(@jakarta.annotation.Nullable Boolean allowWatchBookmarks) { + public APIlistCSIStorageCapacityForAllNamespacesRequest allowWatchBookmarks(@jakarta.annotation.Nullable Boolean allowWatchBookmarks) { this.allowWatchBookmarks = allowWatchBookmarks; return this; } @@ -5000,9 +6576,9 @@ public APIlistCSIDriverRequest allowWatchBookmarks(@jakarta.annotation.Nullable /** * Set _continue * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) - * @return APIlistCSIDriverRequest + * @return APIlistCSIStorageCapacityForAllNamespacesRequest */ - public APIlistCSIDriverRequest _continue(@jakarta.annotation.Nullable String _continue) { + public APIlistCSIStorageCapacityForAllNamespacesRequest _continue(@jakarta.annotation.Nullable String _continue) { this._continue = _continue; return this; } @@ -5010,9 +6586,9 @@ public APIlistCSIDriverRequest _continue(@jakarta.annotation.Nullable String _co /** * Set fieldSelector * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @return APIlistCSIDriverRequest + * @return APIlistCSIStorageCapacityForAllNamespacesRequest */ - public APIlistCSIDriverRequest fieldSelector(@jakarta.annotation.Nullable String fieldSelector) { + public APIlistCSIStorageCapacityForAllNamespacesRequest fieldSelector(@jakarta.annotation.Nullable String fieldSelector) { this.fieldSelector = fieldSelector; return this; } @@ -5020,9 +6596,9 @@ public APIlistCSIDriverRequest fieldSelector(@jakarta.annotation.Nullable String /** * Set labelSelector * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) - * @return APIlistCSIDriverRequest + * @return APIlistCSIStorageCapacityForAllNamespacesRequest */ - public APIlistCSIDriverRequest labelSelector(@jakarta.annotation.Nullable String labelSelector) { + public APIlistCSIStorageCapacityForAllNamespacesRequest labelSelector(@jakarta.annotation.Nullable String labelSelector) { this.labelSelector = labelSelector; return this; } @@ -5030,19 +6606,29 @@ public APIlistCSIDriverRequest labelSelector(@jakarta.annotation.Nullable String /** * Set limit * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) - * @return APIlistCSIDriverRequest + * @return APIlistCSIStorageCapacityForAllNamespacesRequest */ - public APIlistCSIDriverRequest limit(@jakarta.annotation.Nullable Integer limit) { + public APIlistCSIStorageCapacityForAllNamespacesRequest limit(@jakarta.annotation.Nullable Integer limit) { this.limit = limit; return this; } + /** + * Set pretty + * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + * @return APIlistCSIStorageCapacityForAllNamespacesRequest + */ + public APIlistCSIStorageCapacityForAllNamespacesRequest pretty(@jakarta.annotation.Nullable String pretty) { + this.pretty = pretty; + return this; + } + /** * Set resourceVersion * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) - * @return APIlistCSIDriverRequest + * @return APIlistCSIStorageCapacityForAllNamespacesRequest */ - public APIlistCSIDriverRequest resourceVersion(@jakarta.annotation.Nullable String resourceVersion) { + public APIlistCSIStorageCapacityForAllNamespacesRequest resourceVersion(@jakarta.annotation.Nullable String resourceVersion) { this.resourceVersion = resourceVersion; return this; } @@ -5050,9 +6636,9 @@ public APIlistCSIDriverRequest resourceVersion(@jakarta.annotation.Nullable Stri /** * Set resourceVersionMatch * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) - * @return APIlistCSIDriverRequest + * @return APIlistCSIStorageCapacityForAllNamespacesRequest */ - public APIlistCSIDriverRequest resourceVersionMatch(@jakarta.annotation.Nullable String resourceVersionMatch) { + public APIlistCSIStorageCapacityForAllNamespacesRequest resourceVersionMatch(@jakarta.annotation.Nullable String resourceVersionMatch) { this.resourceVersionMatch = resourceVersionMatch; return this; } @@ -5060,9 +6646,9 @@ public APIlistCSIDriverRequest resourceVersionMatch(@jakarta.annotation.Nullable /** * Set sendInitialEvents * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) - * @return APIlistCSIDriverRequest + * @return APIlistCSIStorageCapacityForAllNamespacesRequest */ - public APIlistCSIDriverRequest sendInitialEvents(@jakarta.annotation.Nullable Boolean sendInitialEvents) { + public APIlistCSIStorageCapacityForAllNamespacesRequest sendInitialEvents(@jakarta.annotation.Nullable Boolean sendInitialEvents) { this.sendInitialEvents = sendInitialEvents; return this; } @@ -5070,9 +6656,9 @@ public APIlistCSIDriverRequest sendInitialEvents(@jakarta.annotation.Nullable Bo /** * Set timeoutSeconds * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) - * @return APIlistCSIDriverRequest + * @return APIlistCSIStorageCapacityForAllNamespacesRequest */ - public APIlistCSIDriverRequest timeoutSeconds(@jakarta.annotation.Nullable Integer timeoutSeconds) { + public APIlistCSIStorageCapacityForAllNamespacesRequest timeoutSeconds(@jakarta.annotation.Nullable Integer timeoutSeconds) { this.timeoutSeconds = timeoutSeconds; return this; } @@ -5080,15 +6666,15 @@ public APIlistCSIDriverRequest timeoutSeconds(@jakarta.annotation.Nullable Integ /** * Set watch * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return APIlistCSIDriverRequest + * @return APIlistCSIStorageCapacityForAllNamespacesRequest */ - public APIlistCSIDriverRequest watch(@jakarta.annotation.Nullable Boolean watch) { + public APIlistCSIStorageCapacityForAllNamespacesRequest watch(@jakarta.annotation.Nullable Boolean watch) { this.watch = watch; return this; } /** - * Build call for listCSIDriver + * Build call for listCSIStorageCapacityForAllNamespaces * @param _callback ApiCallback API callback * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -5101,12 +6687,12 @@ public APIlistCSIDriverRequest watch(@jakarta.annotation.Nullable Boolean watch) */ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return listCSIDriverCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + return listCSIStorageCapacityForAllNamespacesCall(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); } /** - * Execute listCSIDriver request - * @return V1CSIDriverList + * Execute listCSIStorageCapacityForAllNamespaces request + * @return V1CSIStorageCapacityList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -5116,14 +6702,14 @@ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
401 Unauthorized -
*/ - public V1CSIDriverList execute() throws ApiException { - ApiResponse localVarResp = listCSIDriverWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); + public V1CSIStorageCapacityList execute() throws ApiException { + ApiResponse localVarResp = listCSIStorageCapacityForAllNamespacesWithHttpInfo(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); return localVarResp.getData(); } /** - * Execute listCSIDriver request with HTTP info returned - * @return ApiResponse<V1CSIDriverList> + * Execute listCSIStorageCapacityForAllNamespaces request with HTTP info returned + * @return ApiResponse<V1CSIStorageCapacityList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -5133,12 +6719,12 @@ public V1CSIDriverList execute() throws ApiException {
401 Unauthorized -
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return listCSIDriverWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); + public ApiResponse executeWithHttpInfo() throws ApiException { + return listCSIStorageCapacityForAllNamespacesWithHttpInfo(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); } /** - * Execute listCSIDriver request (asynchronously) + * Execute listCSIStorageCapacityForAllNamespaces request (asynchronously) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -5150,15 +6736,15 @@ public ApiResponse executeWithHttpInfo() throws ApiException { 401 Unauthorized - */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return listCSIDriverAsync(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return listCSIStorageCapacityForAllNamespacesAsync(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); } } /** - * - * list or watch objects of kind CSIDriver - * @return APIlistCSIDriverRequest + * + * list or watch objects of kind CSIStorageCapacity + * @return APIlistCSIStorageCapacityForAllNamespacesRequest * @http.response.details @@ -5167,10 +6753,10 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) t
Response Details
401 Unauthorized -
*/ - public APIlistCSIDriverRequest listCSIDriver() { - return new APIlistCSIDriverRequest(); + public APIlistCSIStorageCapacityForAllNamespacesRequest listCSIStorageCapacityForAllNamespaces() { + return new APIlistCSIStorageCapacityForAllNamespacesRequest(); } - private okhttp3.Call listCSINodeCall(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { + private okhttp3.Call listNamespacedCSIStorageCapacityCall(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -5187,7 +6773,8 @@ private okhttp3.Call listCSINodeCall(@jakarta.annotation.Nullable String pretty, Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/storage.k8s.io/v1/csinodes"; + String localVarPath = "/apis/storage.k8s.io/v1/namespaces/{namespace}/csistoragecapacities" + .replace("{" + "namespace" + "}", localVarApiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -5265,27 +6852,34 @@ private okhttp3.Call listCSINodeCall(@jakarta.annotation.Nullable String pretty, } @SuppressWarnings("rawtypes") - private okhttp3.Call listCSINodeValidateBeforeCall(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { - return listCSINodeCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + private okhttp3.Call listNamespacedCSIStorageCapacityValidateBeforeCall(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling listNamespacedCSIStorageCapacity(Async)"); + } + + return listNamespacedCSIStorageCapacityCall(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); } - private ApiResponse listCSINodeWithHttpInfo(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch) throws ApiException { - okhttp3.Call localVarCall = listCSINodeValidateBeforeCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, null); - Type localVarReturnType = new TypeToken(){}.getType(); + private ApiResponse listNamespacedCSIStorageCapacityWithHttpInfo(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch) throws ApiException { + okhttp3.Call localVarCall = listNamespacedCSIStorageCapacityValidateBeforeCall(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, null); + Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } - private okhttp3.Call listCSINodeAsync(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { + private okhttp3.Call listNamespacedCSIStorageCapacityAsync(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = listCSINodeValidateBeforeCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); + okhttp3.Call localVarCall = listNamespacedCSIStorageCapacityValidateBeforeCall(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } - public class APIlistCSINodeRequest { + public class APIlistNamespacedCSIStorageCapacityRequest { + @jakarta.annotation.Nonnull + private final String namespace; @jakarta.annotation.Nullable private String pretty; @jakarta.annotation.Nullable @@ -5309,15 +6903,16 @@ public class APIlistCSINodeRequest { @jakarta.annotation.Nullable private Boolean watch; - private APIlistCSINodeRequest() { + private APIlistNamespacedCSIStorageCapacityRequest(@jakarta.annotation.Nonnull String namespace) { + this.namespace = namespace; } /** * Set pretty * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIlistCSINodeRequest + * @return APIlistNamespacedCSIStorageCapacityRequest */ - public APIlistCSINodeRequest pretty(@jakarta.annotation.Nullable String pretty) { + public APIlistNamespacedCSIStorageCapacityRequest pretty(@jakarta.annotation.Nullable String pretty) { this.pretty = pretty; return this; } @@ -5325,9 +6920,9 @@ public APIlistCSINodeRequest pretty(@jakarta.annotation.Nullable String pretty) /** * Set allowWatchBookmarks * @param allowWatchBookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) - * @return APIlistCSINodeRequest + * @return APIlistNamespacedCSIStorageCapacityRequest */ - public APIlistCSINodeRequest allowWatchBookmarks(@jakarta.annotation.Nullable Boolean allowWatchBookmarks) { + public APIlistNamespacedCSIStorageCapacityRequest allowWatchBookmarks(@jakarta.annotation.Nullable Boolean allowWatchBookmarks) { this.allowWatchBookmarks = allowWatchBookmarks; return this; } @@ -5335,9 +6930,9 @@ public APIlistCSINodeRequest allowWatchBookmarks(@jakarta.annotation.Nullable Bo /** * Set _continue * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) - * @return APIlistCSINodeRequest + * @return APIlistNamespacedCSIStorageCapacityRequest */ - public APIlistCSINodeRequest _continue(@jakarta.annotation.Nullable String _continue) { + public APIlistNamespacedCSIStorageCapacityRequest _continue(@jakarta.annotation.Nullable String _continue) { this._continue = _continue; return this; } @@ -5345,9 +6940,9 @@ public APIlistCSINodeRequest _continue(@jakarta.annotation.Nullable String _cont /** * Set fieldSelector * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @return APIlistCSINodeRequest + * @return APIlistNamespacedCSIStorageCapacityRequest */ - public APIlistCSINodeRequest fieldSelector(@jakarta.annotation.Nullable String fieldSelector) { + public APIlistNamespacedCSIStorageCapacityRequest fieldSelector(@jakarta.annotation.Nullable String fieldSelector) { this.fieldSelector = fieldSelector; return this; } @@ -5355,9 +6950,9 @@ public APIlistCSINodeRequest fieldSelector(@jakarta.annotation.Nullable String f /** * Set labelSelector * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) - * @return APIlistCSINodeRequest + * @return APIlistNamespacedCSIStorageCapacityRequest */ - public APIlistCSINodeRequest labelSelector(@jakarta.annotation.Nullable String labelSelector) { + public APIlistNamespacedCSIStorageCapacityRequest labelSelector(@jakarta.annotation.Nullable String labelSelector) { this.labelSelector = labelSelector; return this; } @@ -5365,9 +6960,9 @@ public APIlistCSINodeRequest labelSelector(@jakarta.annotation.Nullable String l /** * Set limit * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) - * @return APIlistCSINodeRequest + * @return APIlistNamespacedCSIStorageCapacityRequest */ - public APIlistCSINodeRequest limit(@jakarta.annotation.Nullable Integer limit) { + public APIlistNamespacedCSIStorageCapacityRequest limit(@jakarta.annotation.Nullable Integer limit) { this.limit = limit; return this; } @@ -5375,9 +6970,9 @@ public APIlistCSINodeRequest limit(@jakarta.annotation.Nullable Integer limit) { /** * Set resourceVersion * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) - * @return APIlistCSINodeRequest + * @return APIlistNamespacedCSIStorageCapacityRequest */ - public APIlistCSINodeRequest resourceVersion(@jakarta.annotation.Nullable String resourceVersion) { + public APIlistNamespacedCSIStorageCapacityRequest resourceVersion(@jakarta.annotation.Nullable String resourceVersion) { this.resourceVersion = resourceVersion; return this; } @@ -5385,9 +6980,9 @@ public APIlistCSINodeRequest resourceVersion(@jakarta.annotation.Nullable String /** * Set resourceVersionMatch * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) - * @return APIlistCSINodeRequest + * @return APIlistNamespacedCSIStorageCapacityRequest */ - public APIlistCSINodeRequest resourceVersionMatch(@jakarta.annotation.Nullable String resourceVersionMatch) { + public APIlistNamespacedCSIStorageCapacityRequest resourceVersionMatch(@jakarta.annotation.Nullable String resourceVersionMatch) { this.resourceVersionMatch = resourceVersionMatch; return this; } @@ -5395,9 +6990,9 @@ public APIlistCSINodeRequest resourceVersionMatch(@jakarta.annotation.Nullable S /** * Set sendInitialEvents * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) - * @return APIlistCSINodeRequest + * @return APIlistNamespacedCSIStorageCapacityRequest */ - public APIlistCSINodeRequest sendInitialEvents(@jakarta.annotation.Nullable Boolean sendInitialEvents) { + public APIlistNamespacedCSIStorageCapacityRequest sendInitialEvents(@jakarta.annotation.Nullable Boolean sendInitialEvents) { this.sendInitialEvents = sendInitialEvents; return this; } @@ -5405,9 +7000,9 @@ public APIlistCSINodeRequest sendInitialEvents(@jakarta.annotation.Nullable Bool /** * Set timeoutSeconds * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) - * @return APIlistCSINodeRequest + * @return APIlistNamespacedCSIStorageCapacityRequest */ - public APIlistCSINodeRequest timeoutSeconds(@jakarta.annotation.Nullable Integer timeoutSeconds) { + public APIlistNamespacedCSIStorageCapacityRequest timeoutSeconds(@jakarta.annotation.Nullable Integer timeoutSeconds) { this.timeoutSeconds = timeoutSeconds; return this; } @@ -5415,15 +7010,15 @@ public APIlistCSINodeRequest timeoutSeconds(@jakarta.annotation.Nullable Integer /** * Set watch * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return APIlistCSINodeRequest + * @return APIlistNamespacedCSIStorageCapacityRequest */ - public APIlistCSINodeRequest watch(@jakarta.annotation.Nullable Boolean watch) { + public APIlistNamespacedCSIStorageCapacityRequest watch(@jakarta.annotation.Nullable Boolean watch) { this.watch = watch; return this; } /** - * Build call for listCSINode + * Build call for listNamespacedCSIStorageCapacity * @param _callback ApiCallback API callback * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -5436,12 +7031,12 @@ public APIlistCSINodeRequest watch(@jakarta.annotation.Nullable Boolean watch) { */ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return listCSINodeCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + return listNamespacedCSIStorageCapacityCall(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); } /** - * Execute listCSINode request - * @return V1CSINodeList + * Execute listNamespacedCSIStorageCapacity request + * @return V1CSIStorageCapacityList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -5451,14 +7046,14 @@ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
401 Unauthorized -
*/ - public V1CSINodeList execute() throws ApiException { - ApiResponse localVarResp = listCSINodeWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); + public V1CSIStorageCapacityList execute() throws ApiException { + ApiResponse localVarResp = listNamespacedCSIStorageCapacityWithHttpInfo(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); return localVarResp.getData(); } /** - * Execute listCSINode request with HTTP info returned - * @return ApiResponse<V1CSINodeList> + * Execute listNamespacedCSIStorageCapacity request with HTTP info returned + * @return ApiResponse<V1CSIStorageCapacityList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -5468,12 +7063,12 @@ public V1CSINodeList execute() throws ApiException {
401 Unauthorized -
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return listCSINodeWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); + public ApiResponse executeWithHttpInfo() throws ApiException { + return listNamespacedCSIStorageCapacityWithHttpInfo(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); } /** - * Execute listCSINode request (asynchronously) + * Execute listNamespacedCSIStorageCapacity request (asynchronously) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -5485,15 +7080,16 @@ public ApiResponse executeWithHttpInfo() throws ApiException { 401 Unauthorized - */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return listCSINodeAsync(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return listNamespacedCSIStorageCapacityAsync(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); } } /** - * - * list or watch objects of kind CSINode - * @return APIlistCSINodeRequest + * + * list or watch objects of kind CSIStorageCapacity + * @param namespace object name and auth scope, such as for teams and projects (required) + * @return APIlistNamespacedCSIStorageCapacityRequest * @http.response.details @@ -5502,10 +7098,10 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thr
Response Details
401 Unauthorized -
*/ - public APIlistCSINodeRequest listCSINode() { - return new APIlistCSINodeRequest(); + public APIlistNamespacedCSIStorageCapacityRequest listNamespacedCSIStorageCapacity(@jakarta.annotation.Nonnull String namespace) { + return new APIlistNamespacedCSIStorageCapacityRequest(namespace); } - private okhttp3.Call listCSIStorageCapacityForAllNamespacesCall(@jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { + private okhttp3.Call listStorageClassCall(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -5522,7 +7118,7 @@ private okhttp3.Call listCSIStorageCapacityForAllNamespacesCall(@jakarta.annotat Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/storage.k8s.io/v1/csistoragecapacities"; + String localVarPath = "/apis/storage.k8s.io/v1/storageclasses"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -5530,6 +7126,10 @@ private okhttp3.Call listCSIStorageCapacityForAllNamespacesCall(@jakarta.annotat Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); + if (pretty != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); + } + if (allowWatchBookmarks != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("allowWatchBookmarks", allowWatchBookmarks)); } @@ -5550,10 +7150,6 @@ private okhttp3.Call listCSIStorageCapacityForAllNamespacesCall(@jakarta.annotat localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); } - if (pretty != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); - } - if (resourceVersion != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("resourceVersion", resourceVersion)); } @@ -5600,27 +7196,29 @@ private okhttp3.Call listCSIStorageCapacityForAllNamespacesCall(@jakarta.annotat } @SuppressWarnings("rawtypes") - private okhttp3.Call listCSIStorageCapacityForAllNamespacesValidateBeforeCall(@jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { - return listCSIStorageCapacityForAllNamespacesCall(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + private okhttp3.Call listStorageClassValidateBeforeCall(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { + return listStorageClassCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); } - private ApiResponse listCSIStorageCapacityForAllNamespacesWithHttpInfo(@jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch) throws ApiException { - okhttp3.Call localVarCall = listCSIStorageCapacityForAllNamespacesValidateBeforeCall(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, null); - Type localVarReturnType = new TypeToken(){}.getType(); + private ApiResponse listStorageClassWithHttpInfo(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch) throws ApiException { + okhttp3.Call localVarCall = listStorageClassValidateBeforeCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, null); + Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } - private okhttp3.Call listCSIStorageCapacityForAllNamespacesAsync(@jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { + private okhttp3.Call listStorageClassAsync(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = listCSIStorageCapacityForAllNamespacesValidateBeforeCall(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); + okhttp3.Call localVarCall = listStorageClassValidateBeforeCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } - public class APIlistCSIStorageCapacityForAllNamespacesRequest { + public class APIlistStorageClassRequest { + @jakarta.annotation.Nullable + private String pretty; @jakarta.annotation.Nullable private Boolean allowWatchBookmarks; @jakarta.annotation.Nullable @@ -5632,8 +7230,6 @@ public class APIlistCSIStorageCapacityForAllNamespacesRequest { @jakarta.annotation.Nullable private Integer limit; @jakarta.annotation.Nullable - private String pretty; - @jakarta.annotation.Nullable private String resourceVersion; @jakarta.annotation.Nullable private String resourceVersionMatch; @@ -5644,15 +7240,25 @@ public class APIlistCSIStorageCapacityForAllNamespacesRequest { @jakarta.annotation.Nullable private Boolean watch; - private APIlistCSIStorageCapacityForAllNamespacesRequest() { + private APIlistStorageClassRequest() { + } + + /** + * Set pretty + * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + * @return APIlistStorageClassRequest + */ + public APIlistStorageClassRequest pretty(@jakarta.annotation.Nullable String pretty) { + this.pretty = pretty; + return this; } /** * Set allowWatchBookmarks * @param allowWatchBookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) - * @return APIlistCSIStorageCapacityForAllNamespacesRequest + * @return APIlistStorageClassRequest */ - public APIlistCSIStorageCapacityForAllNamespacesRequest allowWatchBookmarks(@jakarta.annotation.Nullable Boolean allowWatchBookmarks) { + public APIlistStorageClassRequest allowWatchBookmarks(@jakarta.annotation.Nullable Boolean allowWatchBookmarks) { this.allowWatchBookmarks = allowWatchBookmarks; return this; } @@ -5660,9 +7266,9 @@ public APIlistCSIStorageCapacityForAllNamespacesRequest allowWatchBookmarks(@jak /** * Set _continue * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) - * @return APIlistCSIStorageCapacityForAllNamespacesRequest + * @return APIlistStorageClassRequest */ - public APIlistCSIStorageCapacityForAllNamespacesRequest _continue(@jakarta.annotation.Nullable String _continue) { + public APIlistStorageClassRequest _continue(@jakarta.annotation.Nullable String _continue) { this._continue = _continue; return this; } @@ -5670,9 +7276,9 @@ public APIlistCSIStorageCapacityForAllNamespacesRequest _continue(@jakarta.annot /** * Set fieldSelector * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @return APIlistCSIStorageCapacityForAllNamespacesRequest + * @return APIlistStorageClassRequest */ - public APIlistCSIStorageCapacityForAllNamespacesRequest fieldSelector(@jakarta.annotation.Nullable String fieldSelector) { + public APIlistStorageClassRequest fieldSelector(@jakarta.annotation.Nullable String fieldSelector) { this.fieldSelector = fieldSelector; return this; } @@ -5680,9 +7286,9 @@ public APIlistCSIStorageCapacityForAllNamespacesRequest fieldSelector(@jakarta.a /** * Set labelSelector * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) - * @return APIlistCSIStorageCapacityForAllNamespacesRequest + * @return APIlistStorageClassRequest */ - public APIlistCSIStorageCapacityForAllNamespacesRequest labelSelector(@jakarta.annotation.Nullable String labelSelector) { + public APIlistStorageClassRequest labelSelector(@jakarta.annotation.Nullable String labelSelector) { this.labelSelector = labelSelector; return this; } @@ -5690,29 +7296,19 @@ public APIlistCSIStorageCapacityForAllNamespacesRequest labelSelector(@jakarta.a /** * Set limit * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) - * @return APIlistCSIStorageCapacityForAllNamespacesRequest + * @return APIlistStorageClassRequest */ - public APIlistCSIStorageCapacityForAllNamespacesRequest limit(@jakarta.annotation.Nullable Integer limit) { + public APIlistStorageClassRequest limit(@jakarta.annotation.Nullable Integer limit) { this.limit = limit; return this; } - /** - * Set pretty - * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIlistCSIStorageCapacityForAllNamespacesRequest - */ - public APIlistCSIStorageCapacityForAllNamespacesRequest pretty(@jakarta.annotation.Nullable String pretty) { - this.pretty = pretty; - return this; - } - /** * Set resourceVersion * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) - * @return APIlistCSIStorageCapacityForAllNamespacesRequest + * @return APIlistStorageClassRequest */ - public APIlistCSIStorageCapacityForAllNamespacesRequest resourceVersion(@jakarta.annotation.Nullable String resourceVersion) { + public APIlistStorageClassRequest resourceVersion(@jakarta.annotation.Nullable String resourceVersion) { this.resourceVersion = resourceVersion; return this; } @@ -5720,9 +7316,9 @@ public APIlistCSIStorageCapacityForAllNamespacesRequest resourceVersion(@jakarta /** * Set resourceVersionMatch * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) - * @return APIlistCSIStorageCapacityForAllNamespacesRequest + * @return APIlistStorageClassRequest */ - public APIlistCSIStorageCapacityForAllNamespacesRequest resourceVersionMatch(@jakarta.annotation.Nullable String resourceVersionMatch) { + public APIlistStorageClassRequest resourceVersionMatch(@jakarta.annotation.Nullable String resourceVersionMatch) { this.resourceVersionMatch = resourceVersionMatch; return this; } @@ -5730,9 +7326,9 @@ public APIlistCSIStorageCapacityForAllNamespacesRequest resourceVersionMatch(@ja /** * Set sendInitialEvents * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) - * @return APIlistCSIStorageCapacityForAllNamespacesRequest + * @return APIlistStorageClassRequest */ - public APIlistCSIStorageCapacityForAllNamespacesRequest sendInitialEvents(@jakarta.annotation.Nullable Boolean sendInitialEvents) { + public APIlistStorageClassRequest sendInitialEvents(@jakarta.annotation.Nullable Boolean sendInitialEvents) { this.sendInitialEvents = sendInitialEvents; return this; } @@ -5740,9 +7336,9 @@ public APIlistCSIStorageCapacityForAllNamespacesRequest sendInitialEvents(@jakar /** * Set timeoutSeconds * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) - * @return APIlistCSIStorageCapacityForAllNamespacesRequest + * @return APIlistStorageClassRequest */ - public APIlistCSIStorageCapacityForAllNamespacesRequest timeoutSeconds(@jakarta.annotation.Nullable Integer timeoutSeconds) { + public APIlistStorageClassRequest timeoutSeconds(@jakarta.annotation.Nullable Integer timeoutSeconds) { this.timeoutSeconds = timeoutSeconds; return this; } @@ -5750,15 +7346,15 @@ public APIlistCSIStorageCapacityForAllNamespacesRequest timeoutSeconds(@jakarta. /** * Set watch * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return APIlistCSIStorageCapacityForAllNamespacesRequest + * @return APIlistStorageClassRequest */ - public APIlistCSIStorageCapacityForAllNamespacesRequest watch(@jakarta.annotation.Nullable Boolean watch) { + public APIlistStorageClassRequest watch(@jakarta.annotation.Nullable Boolean watch) { this.watch = watch; return this; } /** - * Build call for listCSIStorageCapacityForAllNamespaces + * Build call for listStorageClass * @param _callback ApiCallback API callback * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -5771,12 +7367,12 @@ public APIlistCSIStorageCapacityForAllNamespacesRequest watch(@jakarta.annotatio */ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return listCSIStorageCapacityForAllNamespacesCall(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + return listStorageClassCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); } /** - * Execute listCSIStorageCapacityForAllNamespaces request - * @return V1CSIStorageCapacityList + * Execute listStorageClass request + * @return V1StorageClassList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -5786,14 +7382,14 @@ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
401 Unauthorized -
*/ - public V1CSIStorageCapacityList execute() throws ApiException { - ApiResponse localVarResp = listCSIStorageCapacityForAllNamespacesWithHttpInfo(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); + public V1StorageClassList execute() throws ApiException { + ApiResponse localVarResp = listStorageClassWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); return localVarResp.getData(); } /** - * Execute listCSIStorageCapacityForAllNamespaces request with HTTP info returned - * @return ApiResponse<V1CSIStorageCapacityList> + * Execute listStorageClass request with HTTP info returned + * @return ApiResponse<V1StorageClassList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -5803,12 +7399,12 @@ public V1CSIStorageCapacityList execute() throws ApiException {
401 Unauthorized -
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return listCSIStorageCapacityForAllNamespacesWithHttpInfo(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); + public ApiResponse executeWithHttpInfo() throws ApiException { + return listStorageClassWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); } /** - * Execute listCSIStorageCapacityForAllNamespaces request (asynchronously) + * Execute listStorageClass request (asynchronously) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -5820,15 +7416,15 @@ public ApiResponse executeWithHttpInfo() throws ApiExc 401 Unauthorized - */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return listCSIStorageCapacityForAllNamespacesAsync(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return listStorageClassAsync(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); } } /** - * - * list or watch objects of kind CSIStorageCapacity - * @return APIlistCSIStorageCapacityForAllNamespacesRequest + * + * list or watch objects of kind StorageClass + * @return APIlistStorageClassRequest * @http.response.details @@ -5837,10 +7433,10 @@ public okhttp3.Call executeAsync(final ApiCallback _ca
Response Details
401 Unauthorized -
*/ - public APIlistCSIStorageCapacityForAllNamespacesRequest listCSIStorageCapacityForAllNamespaces() { - return new APIlistCSIStorageCapacityForAllNamespacesRequest(); + public APIlistStorageClassRequest listStorageClass() { + return new APIlistStorageClassRequest(); } - private okhttp3.Call listNamespacedCSIStorageCapacityCall(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { + private okhttp3.Call listVolumeAttachmentCall(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -5857,8 +7453,7 @@ private okhttp3.Call listNamespacedCSIStorageCapacityCall(@jakarta.annotation.No Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/storage.k8s.io/v1/namespaces/{namespace}/csistoragecapacities" - .replace("{" + "namespace" + "}", localVarApiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/storage.k8s.io/v1/volumeattachments"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -5936,34 +7531,27 @@ private okhttp3.Call listNamespacedCSIStorageCapacityCall(@jakarta.annotation.No } @SuppressWarnings("rawtypes") - private okhttp3.Call listNamespacedCSIStorageCapacityValidateBeforeCall(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'namespace' is set - if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling listNamespacedCSIStorageCapacity(Async)"); - } - - return listNamespacedCSIStorageCapacityCall(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + private okhttp3.Call listVolumeAttachmentValidateBeforeCall(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { + return listVolumeAttachmentCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); } - private ApiResponse listNamespacedCSIStorageCapacityWithHttpInfo(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch) throws ApiException { - okhttp3.Call localVarCall = listNamespacedCSIStorageCapacityValidateBeforeCall(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, null); - Type localVarReturnType = new TypeToken(){}.getType(); + private ApiResponse listVolumeAttachmentWithHttpInfo(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch) throws ApiException { + okhttp3.Call localVarCall = listVolumeAttachmentValidateBeforeCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, null); + Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } - private okhttp3.Call listNamespacedCSIStorageCapacityAsync(@jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { + private okhttp3.Call listVolumeAttachmentAsync(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = listNamespacedCSIStorageCapacityValidateBeforeCall(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); + okhttp3.Call localVarCall = listVolumeAttachmentValidateBeforeCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } - public class APIlistNamespacedCSIStorageCapacityRequest { - @jakarta.annotation.Nonnull - private final String namespace; + public class APIlistVolumeAttachmentRequest { @jakarta.annotation.Nullable private String pretty; @jakarta.annotation.Nullable @@ -5987,16 +7575,15 @@ public class APIlistNamespacedCSIStorageCapacityRequest { @jakarta.annotation.Nullable private Boolean watch; - private APIlistNamespacedCSIStorageCapacityRequest(@jakarta.annotation.Nonnull String namespace) { - this.namespace = namespace; + private APIlistVolumeAttachmentRequest() { } /** * Set pretty * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIlistNamespacedCSIStorageCapacityRequest + * @return APIlistVolumeAttachmentRequest */ - public APIlistNamespacedCSIStorageCapacityRequest pretty(@jakarta.annotation.Nullable String pretty) { + public APIlistVolumeAttachmentRequest pretty(@jakarta.annotation.Nullable String pretty) { this.pretty = pretty; return this; } @@ -6004,9 +7591,9 @@ public APIlistNamespacedCSIStorageCapacityRequest pretty(@jakarta.annotation.Nul /** * Set allowWatchBookmarks * @param allowWatchBookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) - * @return APIlistNamespacedCSIStorageCapacityRequest + * @return APIlistVolumeAttachmentRequest */ - public APIlistNamespacedCSIStorageCapacityRequest allowWatchBookmarks(@jakarta.annotation.Nullable Boolean allowWatchBookmarks) { + public APIlistVolumeAttachmentRequest allowWatchBookmarks(@jakarta.annotation.Nullable Boolean allowWatchBookmarks) { this.allowWatchBookmarks = allowWatchBookmarks; return this; } @@ -6014,9 +7601,9 @@ public APIlistNamespacedCSIStorageCapacityRequest allowWatchBookmarks(@jakarta.a /** * Set _continue * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) - * @return APIlistNamespacedCSIStorageCapacityRequest + * @return APIlistVolumeAttachmentRequest */ - public APIlistNamespacedCSIStorageCapacityRequest _continue(@jakarta.annotation.Nullable String _continue) { + public APIlistVolumeAttachmentRequest _continue(@jakarta.annotation.Nullable String _continue) { this._continue = _continue; return this; } @@ -6024,9 +7611,9 @@ public APIlistNamespacedCSIStorageCapacityRequest _continue(@jakarta.annotation. /** * Set fieldSelector * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @return APIlistNamespacedCSIStorageCapacityRequest + * @return APIlistVolumeAttachmentRequest */ - public APIlistNamespacedCSIStorageCapacityRequest fieldSelector(@jakarta.annotation.Nullable String fieldSelector) { + public APIlistVolumeAttachmentRequest fieldSelector(@jakarta.annotation.Nullable String fieldSelector) { this.fieldSelector = fieldSelector; return this; } @@ -6034,9 +7621,9 @@ public APIlistNamespacedCSIStorageCapacityRequest fieldSelector(@jakarta.annotat /** * Set labelSelector * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) - * @return APIlistNamespacedCSIStorageCapacityRequest + * @return APIlistVolumeAttachmentRequest */ - public APIlistNamespacedCSIStorageCapacityRequest labelSelector(@jakarta.annotation.Nullable String labelSelector) { + public APIlistVolumeAttachmentRequest labelSelector(@jakarta.annotation.Nullable String labelSelector) { this.labelSelector = labelSelector; return this; } @@ -6044,9 +7631,9 @@ public APIlistNamespacedCSIStorageCapacityRequest labelSelector(@jakarta.annotat /** * Set limit * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) - * @return APIlistNamespacedCSIStorageCapacityRequest + * @return APIlistVolumeAttachmentRequest */ - public APIlistNamespacedCSIStorageCapacityRequest limit(@jakarta.annotation.Nullable Integer limit) { + public APIlistVolumeAttachmentRequest limit(@jakarta.annotation.Nullable Integer limit) { this.limit = limit; return this; } @@ -6054,9 +7641,9 @@ public APIlistNamespacedCSIStorageCapacityRequest limit(@jakarta.annotation.Null /** * Set resourceVersion * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) - * @return APIlistNamespacedCSIStorageCapacityRequest + * @return APIlistVolumeAttachmentRequest */ - public APIlistNamespacedCSIStorageCapacityRequest resourceVersion(@jakarta.annotation.Nullable String resourceVersion) { + public APIlistVolumeAttachmentRequest resourceVersion(@jakarta.annotation.Nullable String resourceVersion) { this.resourceVersion = resourceVersion; return this; } @@ -6064,9 +7651,9 @@ public APIlistNamespacedCSIStorageCapacityRequest resourceVersion(@jakarta.annot /** * Set resourceVersionMatch * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) - * @return APIlistNamespacedCSIStorageCapacityRequest + * @return APIlistVolumeAttachmentRequest */ - public APIlistNamespacedCSIStorageCapacityRequest resourceVersionMatch(@jakarta.annotation.Nullable String resourceVersionMatch) { + public APIlistVolumeAttachmentRequest resourceVersionMatch(@jakarta.annotation.Nullable String resourceVersionMatch) { this.resourceVersionMatch = resourceVersionMatch; return this; } @@ -6074,9 +7661,9 @@ public APIlistNamespacedCSIStorageCapacityRequest resourceVersionMatch(@jakarta. /** * Set sendInitialEvents * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) - * @return APIlistNamespacedCSIStorageCapacityRequest + * @return APIlistVolumeAttachmentRequest */ - public APIlistNamespacedCSIStorageCapacityRequest sendInitialEvents(@jakarta.annotation.Nullable Boolean sendInitialEvents) { + public APIlistVolumeAttachmentRequest sendInitialEvents(@jakarta.annotation.Nullable Boolean sendInitialEvents) { this.sendInitialEvents = sendInitialEvents; return this; } @@ -6084,9 +7671,9 @@ public APIlistNamespacedCSIStorageCapacityRequest sendInitialEvents(@jakarta.ann /** * Set timeoutSeconds * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) - * @return APIlistNamespacedCSIStorageCapacityRequest + * @return APIlistVolumeAttachmentRequest */ - public APIlistNamespacedCSIStorageCapacityRequest timeoutSeconds(@jakarta.annotation.Nullable Integer timeoutSeconds) { + public APIlistVolumeAttachmentRequest timeoutSeconds(@jakarta.annotation.Nullable Integer timeoutSeconds) { this.timeoutSeconds = timeoutSeconds; return this; } @@ -6094,15 +7681,15 @@ public APIlistNamespacedCSIStorageCapacityRequest timeoutSeconds(@jakarta.annota /** * Set watch * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return APIlistNamespacedCSIStorageCapacityRequest + * @return APIlistVolumeAttachmentRequest */ - public APIlistNamespacedCSIStorageCapacityRequest watch(@jakarta.annotation.Nullable Boolean watch) { + public APIlistVolumeAttachmentRequest watch(@jakarta.annotation.Nullable Boolean watch) { this.watch = watch; return this; } /** - * Build call for listNamespacedCSIStorageCapacity + * Build call for listVolumeAttachment * @param _callback ApiCallback API callback * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -6115,12 +7702,12 @@ public APIlistNamespacedCSIStorageCapacityRequest watch(@jakarta.annotation.Null */ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return listNamespacedCSIStorageCapacityCall(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + return listVolumeAttachmentCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); } /** - * Execute listNamespacedCSIStorageCapacity request - * @return V1CSIStorageCapacityList + * Execute listVolumeAttachment request + * @return V1VolumeAttachmentList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -6130,14 +7717,14 @@ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
401 Unauthorized -
*/ - public V1CSIStorageCapacityList execute() throws ApiException { - ApiResponse localVarResp = listNamespacedCSIStorageCapacityWithHttpInfo(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); + public V1VolumeAttachmentList execute() throws ApiException { + ApiResponse localVarResp = listVolumeAttachmentWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); return localVarResp.getData(); } /** - * Execute listNamespacedCSIStorageCapacity request with HTTP info returned - * @return ApiResponse<V1CSIStorageCapacityList> + * Execute listVolumeAttachment request with HTTP info returned + * @return ApiResponse<V1VolumeAttachmentList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -6147,12 +7734,12 @@ public V1CSIStorageCapacityList execute() throws ApiException {
401 Unauthorized -
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return listNamespacedCSIStorageCapacityWithHttpInfo(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); + public ApiResponse executeWithHttpInfo() throws ApiException { + return listVolumeAttachmentWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); } /** - * Execute listNamespacedCSIStorageCapacity request (asynchronously) + * Execute listVolumeAttachment request (asynchronously) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -6164,16 +7751,15 @@ public ApiResponse executeWithHttpInfo() throws ApiExc 401 Unauthorized - */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return listNamespacedCSIStorageCapacityAsync(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return listVolumeAttachmentAsync(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); } } /** - * - * list or watch objects of kind CSIStorageCapacity - * @param namespace object name and auth scope, such as for teams and projects (required) - * @return APIlistNamespacedCSIStorageCapacityRequest + * + * list or watch objects of kind VolumeAttachment + * @return APIlistVolumeAttachmentRequest * @http.response.details @@ -6182,10 +7768,10 @@ public okhttp3.Call executeAsync(final ApiCallback _ca
Response Details
401 Unauthorized -
*/ - public APIlistNamespacedCSIStorageCapacityRequest listNamespacedCSIStorageCapacity(@jakarta.annotation.Nonnull String namespace) { - return new APIlistNamespacedCSIStorageCapacityRequest(namespace); + public APIlistVolumeAttachmentRequest listVolumeAttachment() { + return new APIlistVolumeAttachmentRequest(); } - private okhttp3.Call listStorageClassCall(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { + private okhttp3.Call listVolumeAttributesClassCall(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -6202,7 +7788,7 @@ private okhttp3.Call listStorageClassCall(@jakarta.annotation.Nullable String pr Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/storage.k8s.io/v1/storageclasses"; + String localVarPath = "/apis/storage.k8s.io/v1/volumeattributesclasses"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -6280,27 +7866,27 @@ private okhttp3.Call listStorageClassCall(@jakarta.annotation.Nullable String pr } @SuppressWarnings("rawtypes") - private okhttp3.Call listStorageClassValidateBeforeCall(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { - return listStorageClassCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + private okhttp3.Call listVolumeAttributesClassValidateBeforeCall(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { + return listVolumeAttributesClassCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); } - private ApiResponse listStorageClassWithHttpInfo(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch) throws ApiException { - okhttp3.Call localVarCall = listStorageClassValidateBeforeCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, null); - Type localVarReturnType = new TypeToken(){}.getType(); + private ApiResponse listVolumeAttributesClassWithHttpInfo(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch) throws ApiException { + okhttp3.Call localVarCall = listVolumeAttributesClassValidateBeforeCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, null); + Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } - private okhttp3.Call listStorageClassAsync(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { + private okhttp3.Call listVolumeAttributesClassAsync(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = listStorageClassValidateBeforeCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); + okhttp3.Call localVarCall = listVolumeAttributesClassValidateBeforeCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } - public class APIlistStorageClassRequest { + public class APIlistVolumeAttributesClassRequest { @jakarta.annotation.Nullable private String pretty; @jakarta.annotation.Nullable @@ -6324,15 +7910,15 @@ public class APIlistStorageClassRequest { @jakarta.annotation.Nullable private Boolean watch; - private APIlistStorageClassRequest() { + private APIlistVolumeAttributesClassRequest() { } /** * Set pretty * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIlistStorageClassRequest + * @return APIlistVolumeAttributesClassRequest */ - public APIlistStorageClassRequest pretty(@jakarta.annotation.Nullable String pretty) { + public APIlistVolumeAttributesClassRequest pretty(@jakarta.annotation.Nullable String pretty) { this.pretty = pretty; return this; } @@ -6340,9 +7926,9 @@ public APIlistStorageClassRequest pretty(@jakarta.annotation.Nullable String pre /** * Set allowWatchBookmarks * @param allowWatchBookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) - * @return APIlistStorageClassRequest + * @return APIlistVolumeAttributesClassRequest */ - public APIlistStorageClassRequest allowWatchBookmarks(@jakarta.annotation.Nullable Boolean allowWatchBookmarks) { + public APIlistVolumeAttributesClassRequest allowWatchBookmarks(@jakarta.annotation.Nullable Boolean allowWatchBookmarks) { this.allowWatchBookmarks = allowWatchBookmarks; return this; } @@ -6350,9 +7936,9 @@ public APIlistStorageClassRequest allowWatchBookmarks(@jakarta.annotation.Nullab /** * Set _continue * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) - * @return APIlistStorageClassRequest + * @return APIlistVolumeAttributesClassRequest */ - public APIlistStorageClassRequest _continue(@jakarta.annotation.Nullable String _continue) { + public APIlistVolumeAttributesClassRequest _continue(@jakarta.annotation.Nullable String _continue) { this._continue = _continue; return this; } @@ -6360,9 +7946,9 @@ public APIlistStorageClassRequest _continue(@jakarta.annotation.Nullable String /** * Set fieldSelector * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @return APIlistStorageClassRequest + * @return APIlistVolumeAttributesClassRequest */ - public APIlistStorageClassRequest fieldSelector(@jakarta.annotation.Nullable String fieldSelector) { + public APIlistVolumeAttributesClassRequest fieldSelector(@jakarta.annotation.Nullable String fieldSelector) { this.fieldSelector = fieldSelector; return this; } @@ -6370,9 +7956,9 @@ public APIlistStorageClassRequest fieldSelector(@jakarta.annotation.Nullable Str /** * Set labelSelector * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) - * @return APIlistStorageClassRequest + * @return APIlistVolumeAttributesClassRequest */ - public APIlistStorageClassRequest labelSelector(@jakarta.annotation.Nullable String labelSelector) { + public APIlistVolumeAttributesClassRequest labelSelector(@jakarta.annotation.Nullable String labelSelector) { this.labelSelector = labelSelector; return this; } @@ -6380,9 +7966,9 @@ public APIlistStorageClassRequest labelSelector(@jakarta.annotation.Nullable Str /** * Set limit * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) - * @return APIlistStorageClassRequest + * @return APIlistVolumeAttributesClassRequest */ - public APIlistStorageClassRequest limit(@jakarta.annotation.Nullable Integer limit) { + public APIlistVolumeAttributesClassRequest limit(@jakarta.annotation.Nullable Integer limit) { this.limit = limit; return this; } @@ -6390,9 +7976,9 @@ public APIlistStorageClassRequest limit(@jakarta.annotation.Nullable Integer lim /** * Set resourceVersion * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) - * @return APIlistStorageClassRequest + * @return APIlistVolumeAttributesClassRequest */ - public APIlistStorageClassRequest resourceVersion(@jakarta.annotation.Nullable String resourceVersion) { + public APIlistVolumeAttributesClassRequest resourceVersion(@jakarta.annotation.Nullable String resourceVersion) { this.resourceVersion = resourceVersion; return this; } @@ -6400,9 +7986,9 @@ public APIlistStorageClassRequest resourceVersion(@jakarta.annotation.Nullable S /** * Set resourceVersionMatch * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) - * @return APIlistStorageClassRequest + * @return APIlistVolumeAttributesClassRequest */ - public APIlistStorageClassRequest resourceVersionMatch(@jakarta.annotation.Nullable String resourceVersionMatch) { + public APIlistVolumeAttributesClassRequest resourceVersionMatch(@jakarta.annotation.Nullable String resourceVersionMatch) { this.resourceVersionMatch = resourceVersionMatch; return this; } @@ -6410,9 +7996,9 @@ public APIlistStorageClassRequest resourceVersionMatch(@jakarta.annotation.Nulla /** * Set sendInitialEvents * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) - * @return APIlistStorageClassRequest + * @return APIlistVolumeAttributesClassRequest */ - public APIlistStorageClassRequest sendInitialEvents(@jakarta.annotation.Nullable Boolean sendInitialEvents) { + public APIlistVolumeAttributesClassRequest sendInitialEvents(@jakarta.annotation.Nullable Boolean sendInitialEvents) { this.sendInitialEvents = sendInitialEvents; return this; } @@ -6420,9 +8006,9 @@ public APIlistStorageClassRequest sendInitialEvents(@jakarta.annotation.Nullable /** * Set timeoutSeconds * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) - * @return APIlistStorageClassRequest + * @return APIlistVolumeAttributesClassRequest */ - public APIlistStorageClassRequest timeoutSeconds(@jakarta.annotation.Nullable Integer timeoutSeconds) { + public APIlistVolumeAttributesClassRequest timeoutSeconds(@jakarta.annotation.Nullable Integer timeoutSeconds) { this.timeoutSeconds = timeoutSeconds; return this; } @@ -6430,15 +8016,15 @@ public APIlistStorageClassRequest timeoutSeconds(@jakarta.annotation.Nullable In /** * Set watch * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return APIlistStorageClassRequest + * @return APIlistVolumeAttributesClassRequest */ - public APIlistStorageClassRequest watch(@jakarta.annotation.Nullable Boolean watch) { + public APIlistVolumeAttributesClassRequest watch(@jakarta.annotation.Nullable Boolean watch) { this.watch = watch; return this; } /** - * Build call for listStorageClass + * Build call for listVolumeAttributesClass * @param _callback ApiCallback API callback * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -6451,12 +8037,12 @@ public APIlistStorageClassRequest watch(@jakarta.annotation.Nullable Boolean wat */ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return listStorageClassCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + return listVolumeAttributesClassCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); } /** - * Execute listStorageClass request - * @return V1StorageClassList + * Execute listVolumeAttributesClass request + * @return V1VolumeAttributesClassList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -6466,14 +8052,14 @@ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
401 Unauthorized -
*/ - public V1StorageClassList execute() throws ApiException { - ApiResponse localVarResp = listStorageClassWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); + public V1VolumeAttributesClassList execute() throws ApiException { + ApiResponse localVarResp = listVolumeAttributesClassWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); return localVarResp.getData(); } /** - * Execute listStorageClass request with HTTP info returned - * @return ApiResponse<V1StorageClassList> + * Execute listVolumeAttributesClass request with HTTP info returned + * @return ApiResponse<V1VolumeAttributesClassList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -6483,12 +8069,12 @@ public V1StorageClassList execute() throws ApiException {
401 Unauthorized -
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return listStorageClassWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); + public ApiResponse executeWithHttpInfo() throws ApiException { + return listVolumeAttributesClassWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); } /** - * Execute listStorageClass request (asynchronously) + * Execute listVolumeAttributesClass request (asynchronously) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -6500,15 +8086,15 @@ public ApiResponse executeWithHttpInfo() throws ApiException 401 Unauthorized - */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return listStorageClassAsync(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return listVolumeAttributesClassAsync(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); } } /** - * - * list or watch objects of kind StorageClass - * @return APIlistStorageClassRequest + * + * list or watch objects of kind VolumeAttributesClass + * @return APIlistVolumeAttributesClassRequest * @http.response.details @@ -6517,10 +8103,10 @@ public okhttp3.Call executeAsync(final ApiCallback _callback
Response Details
401 Unauthorized -
*/ - public APIlistStorageClassRequest listStorageClass() { - return new APIlistStorageClassRequest(); + public APIlistVolumeAttributesClassRequest listVolumeAttributesClass() { + return new APIlistVolumeAttributesClassRequest(); } - private okhttp3.Call listVolumeAttachmentCall(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { + private okhttp3.Call patchCSIDriverCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -6534,10 +8120,11 @@ private okhttp3.Call listVolumeAttachmentCall(@jakarta.annotation.Nullable Strin basePath = null; } - Object localVarPostBody = null; + Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/storage.k8s.io/v1/volumeattachments"; + String localVarPath = "/apis/storage.k8s.io/v1/csidrivers/{name}" + .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -6549,54 +8136,27 @@ private okhttp3.Call listVolumeAttachmentCall(@jakarta.annotation.Nullable Strin localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); } - if (allowWatchBookmarks != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("allowWatchBookmarks", allowWatchBookmarks)); - } - - if (_continue != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("continue", _continue)); - } - - if (fieldSelector != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldSelector", fieldSelector)); - } - - if (labelSelector != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("labelSelector", labelSelector)); - } - - if (limit != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); - } - - if (resourceVersion != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("resourceVersion", resourceVersion)); - } - - if (resourceVersionMatch != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("resourceVersionMatch", resourceVersionMatch)); + if (dryRun != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("dryRun", dryRun)); } - if (sendInitialEvents != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("sendInitialEvents", sendInitialEvents)); + if (fieldManager != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldManager", fieldManager)); } - if (timeoutSeconds != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + if (fieldValidation != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldValidation", fieldValidation)); } - if (watch != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("watch", watch)); + if (force != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("force", force)); } final String[] localVarAccepts = { "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", - "application/cbor", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch", - "application/cbor-seq" + "application/cbor" }; final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) { @@ -6604,6 +8164,7 @@ private okhttp3.Call listVolumeAttachmentCall(@jakarta.annotation.Nullable Strin } final String[] localVarContentTypes = { + "application/json" }; final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); if (localVarContentType != null) { @@ -6611,169 +8172,113 @@ private okhttp3.Call listVolumeAttachmentCall(@jakarta.annotation.Nullable Strin } String[] localVarAuthNames = new String[] { "BearerToken" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + return localVarApiClient.buildCall(basePath, localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @SuppressWarnings("rawtypes") - private okhttp3.Call listVolumeAttachmentValidateBeforeCall(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { - return listVolumeAttachmentCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + private okhttp3.Call patchCSIDriverValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling patchCSIDriver(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling patchCSIDriver(Async)"); + } + + return patchCSIDriverCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); } - private ApiResponse listVolumeAttachmentWithHttpInfo(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch) throws ApiException { - okhttp3.Call localVarCall = listVolumeAttachmentValidateBeforeCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, null); - Type localVarReturnType = new TypeToken(){}.getType(); + private ApiResponse patchCSIDriverWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force) throws ApiException { + okhttp3.Call localVarCall = patchCSIDriverValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, null); + Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } - private okhttp3.Call listVolumeAttachmentAsync(@jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable Boolean allowWatchBookmarks, @jakarta.annotation.Nullable String _continue, @jakarta.annotation.Nullable String fieldSelector, @jakarta.annotation.Nullable String labelSelector, @jakarta.annotation.Nullable Integer limit, @jakarta.annotation.Nullable String resourceVersion, @jakarta.annotation.Nullable String resourceVersionMatch, @jakarta.annotation.Nullable Boolean sendInitialEvents, @jakarta.annotation.Nullable Integer timeoutSeconds, @jakarta.annotation.Nullable Boolean watch, final ApiCallback _callback) throws ApiException { + private okhttp3.Call patchCSIDriverAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = listVolumeAttachmentValidateBeforeCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); + okhttp3.Call localVarCall = patchCSIDriverValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } - public class APIlistVolumeAttachmentRequest { - @jakarta.annotation.Nullable - private String pretty; - @jakarta.annotation.Nullable - private Boolean allowWatchBookmarks; - @jakarta.annotation.Nullable - private String _continue; - @jakarta.annotation.Nullable - private String fieldSelector; - @jakarta.annotation.Nullable - private String labelSelector; - @jakarta.annotation.Nullable - private Integer limit; - @jakarta.annotation.Nullable - private String resourceVersion; - @jakarta.annotation.Nullable - private String resourceVersionMatch; - @jakarta.annotation.Nullable - private Boolean sendInitialEvents; - @jakarta.annotation.Nullable - private Integer timeoutSeconds; - @jakarta.annotation.Nullable - private Boolean watch; - - private APIlistVolumeAttachmentRequest() { - } - - /** - * Set pretty - * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIlistVolumeAttachmentRequest - */ - public APIlistVolumeAttachmentRequest pretty(@jakarta.annotation.Nullable String pretty) { - this.pretty = pretty; - return this; - } - - /** - * Set allowWatchBookmarks - * @param allowWatchBookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) - * @return APIlistVolumeAttachmentRequest - */ - public APIlistVolumeAttachmentRequest allowWatchBookmarks(@jakarta.annotation.Nullable Boolean allowWatchBookmarks) { - this.allowWatchBookmarks = allowWatchBookmarks; - return this; - } - - /** - * Set _continue - * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) - * @return APIlistVolumeAttachmentRequest - */ - public APIlistVolumeAttachmentRequest _continue(@jakarta.annotation.Nullable String _continue) { - this._continue = _continue; - return this; - } - - /** - * Set fieldSelector - * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @return APIlistVolumeAttachmentRequest - */ - public APIlistVolumeAttachmentRequest fieldSelector(@jakarta.annotation.Nullable String fieldSelector) { - this.fieldSelector = fieldSelector; - return this; - } - - /** - * Set labelSelector - * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) - * @return APIlistVolumeAttachmentRequest - */ - public APIlistVolumeAttachmentRequest labelSelector(@jakarta.annotation.Nullable String labelSelector) { - this.labelSelector = labelSelector; - return this; - } + public class APIpatchCSIDriverRequest { + @jakarta.annotation.Nonnull + private final String name; + @jakarta.annotation.Nonnull + private final V1Patch body; + @jakarta.annotation.Nullable + private String pretty; + @jakarta.annotation.Nullable + private String dryRun; + @jakarta.annotation.Nullable + private String fieldManager; + @jakarta.annotation.Nullable + private String fieldValidation; + @jakarta.annotation.Nullable + private Boolean force; - /** - * Set limit - * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) - * @return APIlistVolumeAttachmentRequest - */ - public APIlistVolumeAttachmentRequest limit(@jakarta.annotation.Nullable Integer limit) { - this.limit = limit; - return this; + private APIpatchCSIDriverRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body) { + this.name = name; + this.body = body; } /** - * Set resourceVersion - * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) - * @return APIlistVolumeAttachmentRequest + * Set pretty + * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + * @return APIpatchCSIDriverRequest */ - public APIlistVolumeAttachmentRequest resourceVersion(@jakarta.annotation.Nullable String resourceVersion) { - this.resourceVersion = resourceVersion; + public APIpatchCSIDriverRequest pretty(@jakarta.annotation.Nullable String pretty) { + this.pretty = pretty; return this; } /** - * Set resourceVersionMatch - * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) - * @return APIlistVolumeAttachmentRequest + * Set dryRun + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + * @return APIpatchCSIDriverRequest */ - public APIlistVolumeAttachmentRequest resourceVersionMatch(@jakarta.annotation.Nullable String resourceVersionMatch) { - this.resourceVersionMatch = resourceVersionMatch; + public APIpatchCSIDriverRequest dryRun(@jakarta.annotation.Nullable String dryRun) { + this.dryRun = dryRun; return this; } /** - * Set sendInitialEvents - * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) - * @return APIlistVolumeAttachmentRequest + * Set fieldManager + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). (optional) + * @return APIpatchCSIDriverRequest */ - public APIlistVolumeAttachmentRequest sendInitialEvents(@jakarta.annotation.Nullable Boolean sendInitialEvents) { - this.sendInitialEvents = sendInitialEvents; + public APIpatchCSIDriverRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { + this.fieldManager = fieldManager; return this; } /** - * Set timeoutSeconds - * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) - * @return APIlistVolumeAttachmentRequest + * Set fieldValidation + * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) + * @return APIpatchCSIDriverRequest */ - public APIlistVolumeAttachmentRequest timeoutSeconds(@jakarta.annotation.Nullable Integer timeoutSeconds) { - this.timeoutSeconds = timeoutSeconds; + public APIpatchCSIDriverRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { + this.fieldValidation = fieldValidation; return this; } /** - * Set watch - * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return APIlistVolumeAttachmentRequest + * Set force + * @param force Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. (optional) + * @return APIpatchCSIDriverRequest */ - public APIlistVolumeAttachmentRequest watch(@jakarta.annotation.Nullable Boolean watch) { - this.watch = watch; + public APIpatchCSIDriverRequest force(@jakarta.annotation.Nullable Boolean force) { + this.force = force; return this; } /** - * Build call for listVolumeAttachment + * Build call for patchCSIDriver * @param _callback ApiCallback API callback * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -6782,48 +8287,51 @@ public APIlistVolumeAttachmentRequest watch(@jakarta.annotation.Nullable Boolean Response Details Status Code Description Response Headers 200 OK - + 201 Created - 401 Unauthorized - */ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return listVolumeAttachmentCall(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + return patchCSIDriverCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); } /** - * Execute listVolumeAttachment request - * @return V1VolumeAttachmentList + * Execute patchCSIDriver request + * @return V1CSIDriver * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
*/ - public V1VolumeAttachmentList execute() throws ApiException { - ApiResponse localVarResp = listVolumeAttachmentWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); + public V1CSIDriver execute() throws ApiException { + ApiResponse localVarResp = patchCSIDriverWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force); return localVarResp.getData(); } /** - * Execute listVolumeAttachment request with HTTP info returned - * @return ApiResponse<V1VolumeAttachmentList> + * Execute patchCSIDriver request with HTTP info returned + * @return ApiResponse<V1CSIDriver> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return listVolumeAttachmentWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch); + public ApiResponse executeWithHttpInfo() throws ApiException { + return patchCSIDriverWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force); } /** - * Execute listVolumeAttachment request (asynchronously) + * Execute patchCSIDriver request (asynchronously) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -6832,30 +8340,34 @@ public ApiResponse executeWithHttpInfo() throws ApiExcep Response Details Status Code Description Response Headers 200 OK - + 201 Created - 401 Unauthorized - */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return listVolumeAttachmentAsync(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _callback); + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return patchCSIDriverAsync(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); } } /** - * - * list or watch objects of kind VolumeAttachment - * @return APIlistVolumeAttachmentRequest + * + * partially update the specified CSIDriver + * @param name name of the CSIDriver (required) + * @param body (required) + * @return APIpatchCSIDriverRequest * @http.response.details +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
*/ - public APIlistVolumeAttachmentRequest listVolumeAttachment() { - return new APIlistVolumeAttachmentRequest(); + public APIpatchCSIDriverRequest patchCSIDriver(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body) { + return new APIpatchCSIDriverRequest(name, body); } - private okhttp3.Call patchCSIDriverCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { + private okhttp3.Call patchCSINodeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -6872,7 +8384,7 @@ private okhttp3.Call patchCSIDriverCall(@jakarta.annotation.Nonnull String name, Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/storage.k8s.io/v1/csidrivers/{name}" + String localVarPath = "/apis/storage.k8s.io/v1/csinodes/{name}" .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); @@ -6925,37 +8437,37 @@ private okhttp3.Call patchCSIDriverCall(@jakarta.annotation.Nonnull String name, } @SuppressWarnings("rawtypes") - private okhttp3.Call patchCSIDriverValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { + private okhttp3.Call patchCSINodeValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling patchCSIDriver(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling patchCSINode(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling patchCSIDriver(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling patchCSINode(Async)"); } - return patchCSIDriverCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + return patchCSINodeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); } - private ApiResponse patchCSIDriverWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force) throws ApiException { - okhttp3.Call localVarCall = patchCSIDriverValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, null); - Type localVarReturnType = new TypeToken(){}.getType(); + private ApiResponse patchCSINodeWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force) throws ApiException { + okhttp3.Call localVarCall = patchCSINodeValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, null); + Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } - private okhttp3.Call patchCSIDriverAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { + private okhttp3.Call patchCSINodeAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = patchCSIDriverValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); + okhttp3.Call localVarCall = patchCSINodeValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } - public class APIpatchCSIDriverRequest { + public class APIpatchCSINodeRequest { @jakarta.annotation.Nonnull private final String name; @jakarta.annotation.Nonnull @@ -6971,7 +8483,7 @@ public class APIpatchCSIDriverRequest { @jakarta.annotation.Nullable private Boolean force; - private APIpatchCSIDriverRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body) { + private APIpatchCSINodeRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body) { this.name = name; this.body = body; } @@ -6979,9 +8491,9 @@ private APIpatchCSIDriverRequest(@jakarta.annotation.Nonnull String name, @jakar /** * Set pretty * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIpatchCSIDriverRequest + * @return APIpatchCSINodeRequest */ - public APIpatchCSIDriverRequest pretty(@jakarta.annotation.Nullable String pretty) { + public APIpatchCSINodeRequest pretty(@jakarta.annotation.Nullable String pretty) { this.pretty = pretty; return this; } @@ -6989,9 +8501,9 @@ public APIpatchCSIDriverRequest pretty(@jakarta.annotation.Nullable String prett /** * Set dryRun * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) - * @return APIpatchCSIDriverRequest + * @return APIpatchCSINodeRequest */ - public APIpatchCSIDriverRequest dryRun(@jakarta.annotation.Nullable String dryRun) { + public APIpatchCSINodeRequest dryRun(@jakarta.annotation.Nullable String dryRun) { this.dryRun = dryRun; return this; } @@ -6999,9 +8511,9 @@ public APIpatchCSIDriverRequest dryRun(@jakarta.annotation.Nullable String dryRu /** * Set fieldManager * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). (optional) - * @return APIpatchCSIDriverRequest + * @return APIpatchCSINodeRequest */ - public APIpatchCSIDriverRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { + public APIpatchCSINodeRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { this.fieldManager = fieldManager; return this; } @@ -7009,9 +8521,9 @@ public APIpatchCSIDriverRequest fieldManager(@jakarta.annotation.Nullable String /** * Set fieldValidation * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) - * @return APIpatchCSIDriverRequest + * @return APIpatchCSINodeRequest */ - public APIpatchCSIDriverRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { + public APIpatchCSINodeRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { this.fieldValidation = fieldValidation; return this; } @@ -7019,15 +8531,15 @@ public APIpatchCSIDriverRequest fieldValidation(@jakarta.annotation.Nullable Str /** * Set force * @param force Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. (optional) - * @return APIpatchCSIDriverRequest + * @return APIpatchCSINodeRequest */ - public APIpatchCSIDriverRequest force(@jakarta.annotation.Nullable Boolean force) { + public APIpatchCSINodeRequest force(@jakarta.annotation.Nullable Boolean force) { this.force = force; return this; } /** - * Build call for patchCSIDriver + * Build call for patchCSINode * @param _callback ApiCallback API callback * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -7041,12 +8553,12 @@ public APIpatchCSIDriverRequest force(@jakarta.annotation.Nullable Boolean force */ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return patchCSIDriverCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + return patchCSINodeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); } /** - * Execute patchCSIDriver request - * @return V1CSIDriver + * Execute patchCSINode request + * @return V1CSINode * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -7057,14 +8569,14 @@ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
401 Unauthorized -
*/ - public V1CSIDriver execute() throws ApiException { - ApiResponse localVarResp = patchCSIDriverWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force); + public V1CSINode execute() throws ApiException { + ApiResponse localVarResp = patchCSINodeWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force); return localVarResp.getData(); } /** - * Execute patchCSIDriver request with HTTP info returned - * @return ApiResponse<V1CSIDriver> + * Execute patchCSINode request with HTTP info returned + * @return ApiResponse<V1CSINode> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -7075,12 +8587,12 @@ public V1CSIDriver execute() throws ApiException {
401 Unauthorized -
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return patchCSIDriverWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force); + public ApiResponse executeWithHttpInfo() throws ApiException { + return patchCSINodeWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force); } /** - * Execute patchCSIDriver request (asynchronously) + * Execute patchCSINode request (asynchronously) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -7093,17 +8605,17 @@ public ApiResponse executeWithHttpInfo() throws ApiException { 401 Unauthorized - */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return patchCSIDriverAsync(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return patchCSINodeAsync(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); } } /** - * - * partially update the specified CSIDriver - * @param name name of the CSIDriver (required) + * + * partially update the specified CSINode + * @param name name of the CSINode (required) * @param body (required) - * @return APIpatchCSIDriverRequest + * @return APIpatchCSINodeRequest * @http.response.details @@ -7113,10 +8625,10 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throw
Response Details
401 Unauthorized -
*/ - public APIpatchCSIDriverRequest patchCSIDriver(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body) { - return new APIpatchCSIDriverRequest(name, body); + public APIpatchCSINodeRequest patchCSINode(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body) { + return new APIpatchCSINodeRequest(name, body); } - private okhttp3.Call patchCSINodeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { + private okhttp3.Call patchNamespacedCSIStorageCapacityCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -7133,8 +8645,9 @@ private okhttp3.Call patchCSINodeCall(@jakarta.annotation.Nonnull String name, @ Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/storage.k8s.io/v1/csinodes/{name}" - .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())); + String localVarPath = "/apis/storage.k8s.io/v1/namespaces/{namespace}/csistoragecapacities/{name}" + .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())) + .replace("{" + "namespace" + "}", localVarApiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -7186,40 +8699,47 @@ private okhttp3.Call patchCSINodeCall(@jakarta.annotation.Nonnull String name, @ } @SuppressWarnings("rawtypes") - private okhttp3.Call patchCSINodeValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { + private okhttp3.Call patchNamespacedCSIStorageCapacityValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling patchCSINode(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedCSIStorageCapacity(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedCSIStorageCapacity(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling patchCSINode(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedCSIStorageCapacity(Async)"); } - return patchCSINodeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + return patchNamespacedCSIStorageCapacityCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); } - private ApiResponse patchCSINodeWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force) throws ApiException { - okhttp3.Call localVarCall = patchCSINodeValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, null); - Type localVarReturnType = new TypeToken(){}.getType(); + private ApiResponse patchNamespacedCSIStorageCapacityWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force) throws ApiException { + okhttp3.Call localVarCall = patchNamespacedCSIStorageCapacityValidateBeforeCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, null); + Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } - private okhttp3.Call patchCSINodeAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { + private okhttp3.Call patchNamespacedCSIStorageCapacityAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = patchCSINodeValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); + okhttp3.Call localVarCall = patchNamespacedCSIStorageCapacityValidateBeforeCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } - public class APIpatchCSINodeRequest { + public class APIpatchNamespacedCSIStorageCapacityRequest { @jakarta.annotation.Nonnull private final String name; @jakarta.annotation.Nonnull + private final String namespace; + @jakarta.annotation.Nonnull private final V1Patch body; @jakarta.annotation.Nullable private String pretty; @@ -7232,17 +8752,18 @@ public class APIpatchCSINodeRequest { @jakarta.annotation.Nullable private Boolean force; - private APIpatchCSINodeRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body) { + private APIpatchNamespacedCSIStorageCapacityRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1Patch body) { this.name = name; + this.namespace = namespace; this.body = body; } /** * Set pretty * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIpatchCSINodeRequest + * @return APIpatchNamespacedCSIStorageCapacityRequest */ - public APIpatchCSINodeRequest pretty(@jakarta.annotation.Nullable String pretty) { + public APIpatchNamespacedCSIStorageCapacityRequest pretty(@jakarta.annotation.Nullable String pretty) { this.pretty = pretty; return this; } @@ -7250,9 +8771,9 @@ public APIpatchCSINodeRequest pretty(@jakarta.annotation.Nullable String pretty) /** * Set dryRun * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) - * @return APIpatchCSINodeRequest + * @return APIpatchNamespacedCSIStorageCapacityRequest */ - public APIpatchCSINodeRequest dryRun(@jakarta.annotation.Nullable String dryRun) { + public APIpatchNamespacedCSIStorageCapacityRequest dryRun(@jakarta.annotation.Nullable String dryRun) { this.dryRun = dryRun; return this; } @@ -7260,9 +8781,9 @@ public APIpatchCSINodeRequest dryRun(@jakarta.annotation.Nullable String dryRun) /** * Set fieldManager * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). (optional) - * @return APIpatchCSINodeRequest + * @return APIpatchNamespacedCSIStorageCapacityRequest */ - public APIpatchCSINodeRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { + public APIpatchNamespacedCSIStorageCapacityRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { this.fieldManager = fieldManager; return this; } @@ -7270,9 +8791,9 @@ public APIpatchCSINodeRequest fieldManager(@jakarta.annotation.Nullable String f /** * Set fieldValidation * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) - * @return APIpatchCSINodeRequest + * @return APIpatchNamespacedCSIStorageCapacityRequest */ - public APIpatchCSINodeRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { + public APIpatchNamespacedCSIStorageCapacityRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { this.fieldValidation = fieldValidation; return this; } @@ -7280,15 +8801,15 @@ public APIpatchCSINodeRequest fieldValidation(@jakarta.annotation.Nullable Strin /** * Set force * @param force Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. (optional) - * @return APIpatchCSINodeRequest + * @return APIpatchNamespacedCSIStorageCapacityRequest */ - public APIpatchCSINodeRequest force(@jakarta.annotation.Nullable Boolean force) { + public APIpatchNamespacedCSIStorageCapacityRequest force(@jakarta.annotation.Nullable Boolean force) { this.force = force; return this; } /** - * Build call for patchCSINode + * Build call for patchNamespacedCSIStorageCapacity * @param _callback ApiCallback API callback * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -7302,12 +8823,12 @@ public APIpatchCSINodeRequest force(@jakarta.annotation.Nullable Boolean force) */ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return patchCSINodeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + return patchNamespacedCSIStorageCapacityCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); } /** - * Execute patchCSINode request - * @return V1CSINode + * Execute patchNamespacedCSIStorageCapacity request + * @return V1CSIStorageCapacity * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -7318,14 +8839,14 @@ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
401 Unauthorized -
*/ - public V1CSINode execute() throws ApiException { - ApiResponse localVarResp = patchCSINodeWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force); + public V1CSIStorageCapacity execute() throws ApiException { + ApiResponse localVarResp = patchNamespacedCSIStorageCapacityWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force); return localVarResp.getData(); } /** - * Execute patchCSINode request with HTTP info returned - * @return ApiResponse<V1CSINode> + * Execute patchNamespacedCSIStorageCapacity request with HTTP info returned + * @return ApiResponse<V1CSIStorageCapacity> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -7336,12 +8857,12 @@ public V1CSINode execute() throws ApiException {
401 Unauthorized -
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return patchCSINodeWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force); + public ApiResponse executeWithHttpInfo() throws ApiException { + return patchNamespacedCSIStorageCapacityWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force); } /** - * Execute patchCSINode request (asynchronously) + * Execute patchNamespacedCSIStorageCapacity request (asynchronously) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -7354,17 +8875,18 @@ public ApiResponse executeWithHttpInfo() throws ApiException { 401 Unauthorized - */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return patchCSINodeAsync(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return patchNamespacedCSIStorageCapacityAsync(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); } } /** - * - * partially update the specified CSINode - * @param name name of the CSINode (required) + * + * partially update the specified CSIStorageCapacity + * @param name name of the CSIStorageCapacity (required) + * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) - * @return APIpatchCSINodeRequest + * @return APIpatchNamespacedCSIStorageCapacityRequest * @http.response.details @@ -7374,10 +8896,10 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws
Response Details
401 Unauthorized -
*/ - public APIpatchCSINodeRequest patchCSINode(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body) { - return new APIpatchCSINodeRequest(name, body); + public APIpatchNamespacedCSIStorageCapacityRequest patchNamespacedCSIStorageCapacity(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1Patch body) { + return new APIpatchNamespacedCSIStorageCapacityRequest(name, namespace, body); } - private okhttp3.Call patchNamespacedCSIStorageCapacityCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { + private okhttp3.Call patchStorageClassCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -7394,9 +8916,8 @@ private okhttp3.Call patchNamespacedCSIStorageCapacityCall(@jakarta.annotation.N Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/storage.k8s.io/v1/namespaces/{namespace}/csistoragecapacities/{name}" - .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())) - .replace("{" + "namespace" + "}", localVarApiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/storage.k8s.io/v1/storageclasses/{name}" + .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -7448,47 +8969,40 @@ private okhttp3.Call patchNamespacedCSIStorageCapacityCall(@jakarta.annotation.N } @SuppressWarnings("rawtypes") - private okhttp3.Call patchNamespacedCSIStorageCapacityValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { + private okhttp3.Call patchStorageClassValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedCSIStorageCapacity(Async)"); - } - - // verify the required parameter 'namespace' is set - if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedCSIStorageCapacity(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling patchStorageClass(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedCSIStorageCapacity(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling patchStorageClass(Async)"); } - return patchNamespacedCSIStorageCapacityCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + return patchStorageClassCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); } - private ApiResponse patchNamespacedCSIStorageCapacityWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force) throws ApiException { - okhttp3.Call localVarCall = patchNamespacedCSIStorageCapacityValidateBeforeCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, null); - Type localVarReturnType = new TypeToken(){}.getType(); + private ApiResponse patchStorageClassWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force) throws ApiException { + okhttp3.Call localVarCall = patchStorageClassValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, null); + Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } - private okhttp3.Call patchNamespacedCSIStorageCapacityAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { + private okhttp3.Call patchStorageClassAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = patchNamespacedCSIStorageCapacityValidateBeforeCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); + okhttp3.Call localVarCall = patchStorageClassValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } - public class APIpatchNamespacedCSIStorageCapacityRequest { + public class APIpatchStorageClassRequest { @jakarta.annotation.Nonnull private final String name; @jakarta.annotation.Nonnull - private final String namespace; - @jakarta.annotation.Nonnull private final V1Patch body; @jakarta.annotation.Nullable private String pretty; @@ -7501,18 +9015,17 @@ public class APIpatchNamespacedCSIStorageCapacityRequest { @jakarta.annotation.Nullable private Boolean force; - private APIpatchNamespacedCSIStorageCapacityRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1Patch body) { + private APIpatchStorageClassRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body) { this.name = name; - this.namespace = namespace; this.body = body; } /** * Set pretty * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIpatchNamespacedCSIStorageCapacityRequest + * @return APIpatchStorageClassRequest */ - public APIpatchNamespacedCSIStorageCapacityRequest pretty(@jakarta.annotation.Nullable String pretty) { + public APIpatchStorageClassRequest pretty(@jakarta.annotation.Nullable String pretty) { this.pretty = pretty; return this; } @@ -7520,9 +9033,9 @@ public APIpatchNamespacedCSIStorageCapacityRequest pretty(@jakarta.annotation.Nu /** * Set dryRun * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) - * @return APIpatchNamespacedCSIStorageCapacityRequest + * @return APIpatchStorageClassRequest */ - public APIpatchNamespacedCSIStorageCapacityRequest dryRun(@jakarta.annotation.Nullable String dryRun) { + public APIpatchStorageClassRequest dryRun(@jakarta.annotation.Nullable String dryRun) { this.dryRun = dryRun; return this; } @@ -7530,9 +9043,9 @@ public APIpatchNamespacedCSIStorageCapacityRequest dryRun(@jakarta.annotation.Nu /** * Set fieldManager * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). (optional) - * @return APIpatchNamespacedCSIStorageCapacityRequest + * @return APIpatchStorageClassRequest */ - public APIpatchNamespacedCSIStorageCapacityRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { + public APIpatchStorageClassRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { this.fieldManager = fieldManager; return this; } @@ -7540,9 +9053,9 @@ public APIpatchNamespacedCSIStorageCapacityRequest fieldManager(@jakarta.annotat /** * Set fieldValidation * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) - * @return APIpatchNamespacedCSIStorageCapacityRequest + * @return APIpatchStorageClassRequest */ - public APIpatchNamespacedCSIStorageCapacityRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { + public APIpatchStorageClassRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { this.fieldValidation = fieldValidation; return this; } @@ -7550,15 +9063,15 @@ public APIpatchNamespacedCSIStorageCapacityRequest fieldValidation(@jakarta.anno /** * Set force * @param force Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. (optional) - * @return APIpatchNamespacedCSIStorageCapacityRequest + * @return APIpatchStorageClassRequest */ - public APIpatchNamespacedCSIStorageCapacityRequest force(@jakarta.annotation.Nullable Boolean force) { + public APIpatchStorageClassRequest force(@jakarta.annotation.Nullable Boolean force) { this.force = force; return this; } /** - * Build call for patchNamespacedCSIStorageCapacity + * Build call for patchStorageClass * @param _callback ApiCallback API callback * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -7572,12 +9085,12 @@ public APIpatchNamespacedCSIStorageCapacityRequest force(@jakarta.annotation.Nul */ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return patchNamespacedCSIStorageCapacityCall(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + return patchStorageClassCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); } /** - * Execute patchNamespacedCSIStorageCapacity request - * @return V1CSIStorageCapacity + * Execute patchStorageClass request + * @return V1StorageClass * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -7588,14 +9101,14 @@ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
401 Unauthorized -
*/ - public V1CSIStorageCapacity execute() throws ApiException { - ApiResponse localVarResp = patchNamespacedCSIStorageCapacityWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force); + public V1StorageClass execute() throws ApiException { + ApiResponse localVarResp = patchStorageClassWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force); return localVarResp.getData(); } /** - * Execute patchNamespacedCSIStorageCapacity request with HTTP info returned - * @return ApiResponse<V1CSIStorageCapacity> + * Execute patchStorageClass request with HTTP info returned + * @return ApiResponse<V1StorageClass> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -7606,12 +9119,12 @@ public V1CSIStorageCapacity execute() throws ApiException {
401 Unauthorized -
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return patchNamespacedCSIStorageCapacityWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force); + public ApiResponse executeWithHttpInfo() throws ApiException { + return patchStorageClassWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force); } /** - * Execute patchNamespacedCSIStorageCapacity request (asynchronously) + * Execute patchStorageClass request (asynchronously) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -7624,18 +9137,17 @@ public ApiResponse executeWithHttpInfo() throws ApiExcepti 401 Unauthorized - */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return patchNamespacedCSIStorageCapacityAsync(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return patchStorageClassAsync(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); } } /** - * - * partially update the specified CSIStorageCapacity - * @param name name of the CSIStorageCapacity (required) - * @param namespace object name and auth scope, such as for teams and projects (required) + * + * partially update the specified StorageClass + * @param name name of the StorageClass (required) * @param body (required) - * @return APIpatchNamespacedCSIStorageCapacityRequest + * @return APIpatchStorageClassRequest * @http.response.details @@ -7645,10 +9157,10 @@ public okhttp3.Call executeAsync(final ApiCallback _callba
Response Details
401 Unauthorized -
*/ - public APIpatchNamespacedCSIStorageCapacityRequest patchNamespacedCSIStorageCapacity(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1Patch body) { - return new APIpatchNamespacedCSIStorageCapacityRequest(name, namespace, body); + public APIpatchStorageClassRequest patchStorageClass(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body) { + return new APIpatchStorageClassRequest(name, body); } - private okhttp3.Call patchStorageClassCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { + private okhttp3.Call patchVolumeAttachmentCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -7665,7 +9177,7 @@ private okhttp3.Call patchStorageClassCall(@jakarta.annotation.Nonnull String na Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/storage.k8s.io/v1/storageclasses/{name}" + String localVarPath = "/apis/storage.k8s.io/v1/volumeattachments/{name}" .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); @@ -7718,37 +9230,37 @@ private okhttp3.Call patchStorageClassCall(@jakarta.annotation.Nonnull String na } @SuppressWarnings("rawtypes") - private okhttp3.Call patchStorageClassValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { + private okhttp3.Call patchVolumeAttachmentValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling patchStorageClass(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling patchVolumeAttachment(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling patchStorageClass(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling patchVolumeAttachment(Async)"); } - return patchStorageClassCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + return patchVolumeAttachmentCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); } - private ApiResponse patchStorageClassWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force) throws ApiException { - okhttp3.Call localVarCall = patchStorageClassValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, null); - Type localVarReturnType = new TypeToken(){}.getType(); + private ApiResponse patchVolumeAttachmentWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force) throws ApiException { + okhttp3.Call localVarCall = patchVolumeAttachmentValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, null); + Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } - private okhttp3.Call patchStorageClassAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { + private okhttp3.Call patchVolumeAttachmentAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = patchStorageClassValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); + okhttp3.Call localVarCall = patchVolumeAttachmentValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } - public class APIpatchStorageClassRequest { + public class APIpatchVolumeAttachmentRequest { @jakarta.annotation.Nonnull private final String name; @jakarta.annotation.Nonnull @@ -7764,7 +9276,7 @@ public class APIpatchStorageClassRequest { @jakarta.annotation.Nullable private Boolean force; - private APIpatchStorageClassRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body) { + private APIpatchVolumeAttachmentRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body) { this.name = name; this.body = body; } @@ -7772,9 +9284,9 @@ private APIpatchStorageClassRequest(@jakarta.annotation.Nonnull String name, @ja /** * Set pretty * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIpatchStorageClassRequest + * @return APIpatchVolumeAttachmentRequest */ - public APIpatchStorageClassRequest pretty(@jakarta.annotation.Nullable String pretty) { + public APIpatchVolumeAttachmentRequest pretty(@jakarta.annotation.Nullable String pretty) { this.pretty = pretty; return this; } @@ -7782,9 +9294,9 @@ public APIpatchStorageClassRequest pretty(@jakarta.annotation.Nullable String pr /** * Set dryRun * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) - * @return APIpatchStorageClassRequest + * @return APIpatchVolumeAttachmentRequest */ - public APIpatchStorageClassRequest dryRun(@jakarta.annotation.Nullable String dryRun) { + public APIpatchVolumeAttachmentRequest dryRun(@jakarta.annotation.Nullable String dryRun) { this.dryRun = dryRun; return this; } @@ -7792,9 +9304,9 @@ public APIpatchStorageClassRequest dryRun(@jakarta.annotation.Nullable String dr /** * Set fieldManager * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). (optional) - * @return APIpatchStorageClassRequest + * @return APIpatchVolumeAttachmentRequest */ - public APIpatchStorageClassRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { + public APIpatchVolumeAttachmentRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { this.fieldManager = fieldManager; return this; } @@ -7802,9 +9314,9 @@ public APIpatchStorageClassRequest fieldManager(@jakarta.annotation.Nullable Str /** * Set fieldValidation * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) - * @return APIpatchStorageClassRequest + * @return APIpatchVolumeAttachmentRequest */ - public APIpatchStorageClassRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { + public APIpatchVolumeAttachmentRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { this.fieldValidation = fieldValidation; return this; } @@ -7812,15 +9324,15 @@ public APIpatchStorageClassRequest fieldValidation(@jakarta.annotation.Nullable /** * Set force * @param force Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. (optional) - * @return APIpatchStorageClassRequest + * @return APIpatchVolumeAttachmentRequest */ - public APIpatchStorageClassRequest force(@jakarta.annotation.Nullable Boolean force) { + public APIpatchVolumeAttachmentRequest force(@jakarta.annotation.Nullable Boolean force) { this.force = force; return this; } /** - * Build call for patchStorageClass + * Build call for patchVolumeAttachment * @param _callback ApiCallback API callback * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -7834,12 +9346,12 @@ public APIpatchStorageClassRequest force(@jakarta.annotation.Nullable Boolean fo */ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return patchStorageClassCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + return patchVolumeAttachmentCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); } /** - * Execute patchStorageClass request - * @return V1StorageClass + * Execute patchVolumeAttachment request + * @return V1VolumeAttachment * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -7850,14 +9362,14 @@ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
401 Unauthorized -
*/ - public V1StorageClass execute() throws ApiException { - ApiResponse localVarResp = patchStorageClassWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force); + public V1VolumeAttachment execute() throws ApiException { + ApiResponse localVarResp = patchVolumeAttachmentWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force); return localVarResp.getData(); } /** - * Execute patchStorageClass request with HTTP info returned - * @return ApiResponse<V1StorageClass> + * Execute patchVolumeAttachment request with HTTP info returned + * @return ApiResponse<V1VolumeAttachment> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -7868,12 +9380,12 @@ public V1StorageClass execute() throws ApiException {
401 Unauthorized -
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return patchStorageClassWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force); + public ApiResponse executeWithHttpInfo() throws ApiException { + return patchVolumeAttachmentWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force); } /** - * Execute patchStorageClass request (asynchronously) + * Execute patchVolumeAttachment request (asynchronously) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -7886,17 +9398,17 @@ public ApiResponse executeWithHttpInfo() throws ApiException { 401 Unauthorized - */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return patchStorageClassAsync(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return patchVolumeAttachmentAsync(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); } } /** - * - * partially update the specified StorageClass - * @param name name of the StorageClass (required) + * + * partially update the specified VolumeAttachment + * @param name name of the VolumeAttachment (required) * @param body (required) - * @return APIpatchStorageClassRequest + * @return APIpatchVolumeAttachmentRequest * @http.response.details @@ -7906,10 +9418,10 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) th
Response Details
401 Unauthorized -
*/ - public APIpatchStorageClassRequest patchStorageClass(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body) { - return new APIpatchStorageClassRequest(name, body); + public APIpatchVolumeAttachmentRequest patchVolumeAttachment(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body) { + return new APIpatchVolumeAttachmentRequest(name, body); } - private okhttp3.Call patchVolumeAttachmentCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { + private okhttp3.Call patchVolumeAttachmentStatusCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -7926,7 +9438,7 @@ private okhttp3.Call patchVolumeAttachmentCall(@jakarta.annotation.Nonnull Strin Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/storage.k8s.io/v1/volumeattachments/{name}" + String localVarPath = "/apis/storage.k8s.io/v1/volumeattachments/{name}/status" .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); @@ -7979,37 +9491,37 @@ private okhttp3.Call patchVolumeAttachmentCall(@jakarta.annotation.Nonnull Strin } @SuppressWarnings("rawtypes") - private okhttp3.Call patchVolumeAttachmentValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { + private okhttp3.Call patchVolumeAttachmentStatusValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling patchVolumeAttachment(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling patchVolumeAttachmentStatus(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling patchVolumeAttachment(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling patchVolumeAttachmentStatus(Async)"); } - return patchVolumeAttachmentCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + return patchVolumeAttachmentStatusCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); } - private ApiResponse patchVolumeAttachmentWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force) throws ApiException { - okhttp3.Call localVarCall = patchVolumeAttachmentValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, null); + private ApiResponse patchVolumeAttachmentStatusWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force) throws ApiException { + okhttp3.Call localVarCall = patchVolumeAttachmentStatusValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } - private okhttp3.Call patchVolumeAttachmentAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { + private okhttp3.Call patchVolumeAttachmentStatusAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = patchVolumeAttachmentValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + okhttp3.Call localVarCall = patchVolumeAttachmentStatusValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } - public class APIpatchVolumeAttachmentRequest { + public class APIpatchVolumeAttachmentStatusRequest { @jakarta.annotation.Nonnull private final String name; @jakarta.annotation.Nonnull @@ -8025,7 +9537,7 @@ public class APIpatchVolumeAttachmentRequest { @jakarta.annotation.Nullable private Boolean force; - private APIpatchVolumeAttachmentRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body) { + private APIpatchVolumeAttachmentStatusRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body) { this.name = name; this.body = body; } @@ -8033,9 +9545,9 @@ private APIpatchVolumeAttachmentRequest(@jakarta.annotation.Nonnull String name, /** * Set pretty * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIpatchVolumeAttachmentRequest + * @return APIpatchVolumeAttachmentStatusRequest */ - public APIpatchVolumeAttachmentRequest pretty(@jakarta.annotation.Nullable String pretty) { + public APIpatchVolumeAttachmentStatusRequest pretty(@jakarta.annotation.Nullable String pretty) { this.pretty = pretty; return this; } @@ -8043,9 +9555,9 @@ public APIpatchVolumeAttachmentRequest pretty(@jakarta.annotation.Nullable Strin /** * Set dryRun * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) - * @return APIpatchVolumeAttachmentRequest + * @return APIpatchVolumeAttachmentStatusRequest */ - public APIpatchVolumeAttachmentRequest dryRun(@jakarta.annotation.Nullable String dryRun) { + public APIpatchVolumeAttachmentStatusRequest dryRun(@jakarta.annotation.Nullable String dryRun) { this.dryRun = dryRun; return this; } @@ -8053,9 +9565,9 @@ public APIpatchVolumeAttachmentRequest dryRun(@jakarta.annotation.Nullable Strin /** * Set fieldManager * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). (optional) - * @return APIpatchVolumeAttachmentRequest + * @return APIpatchVolumeAttachmentStatusRequest */ - public APIpatchVolumeAttachmentRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { + public APIpatchVolumeAttachmentStatusRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { this.fieldManager = fieldManager; return this; } @@ -8063,9 +9575,9 @@ public APIpatchVolumeAttachmentRequest fieldManager(@jakarta.annotation.Nullable /** * Set fieldValidation * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) - * @return APIpatchVolumeAttachmentRequest + * @return APIpatchVolumeAttachmentStatusRequest */ - public APIpatchVolumeAttachmentRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { + public APIpatchVolumeAttachmentStatusRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { this.fieldValidation = fieldValidation; return this; } @@ -8073,15 +9585,15 @@ public APIpatchVolumeAttachmentRequest fieldValidation(@jakarta.annotation.Nulla /** * Set force * @param force Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. (optional) - * @return APIpatchVolumeAttachmentRequest + * @return APIpatchVolumeAttachmentStatusRequest */ - public APIpatchVolumeAttachmentRequest force(@jakarta.annotation.Nullable Boolean force) { + public APIpatchVolumeAttachmentStatusRequest force(@jakarta.annotation.Nullable Boolean force) { this.force = force; return this; } /** - * Build call for patchVolumeAttachment + * Build call for patchVolumeAttachmentStatus * @param _callback ApiCallback API callback * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -8095,11 +9607,11 @@ public APIpatchVolumeAttachmentRequest force(@jakarta.annotation.Nullable Boolea */ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return patchVolumeAttachmentCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + return patchVolumeAttachmentStatusCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); } /** - * Execute patchVolumeAttachment request + * Execute patchVolumeAttachmentStatus request * @return V1VolumeAttachment * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -8112,12 +9624,12 @@ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { */ public V1VolumeAttachment execute() throws ApiException { - ApiResponse localVarResp = patchVolumeAttachmentWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force); + ApiResponse localVarResp = patchVolumeAttachmentStatusWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force); return localVarResp.getData(); } /** - * Execute patchVolumeAttachment request with HTTP info returned + * Execute patchVolumeAttachmentStatus request with HTTP info returned * @return ApiResponse<V1VolumeAttachment> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -8130,11 +9642,11 @@ public V1VolumeAttachment execute() throws ApiException { */ public ApiResponse executeWithHttpInfo() throws ApiException { - return patchVolumeAttachmentWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force); + return patchVolumeAttachmentStatusWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force); } /** - * Execute patchVolumeAttachment request (asynchronously) + * Execute patchVolumeAttachmentStatus request (asynchronously) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -8148,16 +9660,16 @@ public ApiResponse executeWithHttpInfo() throws ApiException */ public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return patchVolumeAttachmentAsync(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + return patchVolumeAttachmentStatusAsync(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); } } /** - * - * partially update the specified VolumeAttachment + * + * partially update status of the specified VolumeAttachment * @param name name of the VolumeAttachment (required) * @param body (required) - * @return APIpatchVolumeAttachmentRequest + * @return APIpatchVolumeAttachmentStatusRequest * @http.response.details @@ -8167,10 +9679,10 @@ public okhttp3.Call executeAsync(final ApiCallback _callback
Response Details
401 Unauthorized -
*/ - public APIpatchVolumeAttachmentRequest patchVolumeAttachment(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body) { - return new APIpatchVolumeAttachmentRequest(name, body); + public APIpatchVolumeAttachmentStatusRequest patchVolumeAttachmentStatus(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body) { + return new APIpatchVolumeAttachmentStatusRequest(name, body); } - private okhttp3.Call patchVolumeAttachmentStatusCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { + private okhttp3.Call patchVolumeAttributesClassCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -8187,7 +9699,7 @@ private okhttp3.Call patchVolumeAttachmentStatusCall(@jakarta.annotation.Nonnull Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/storage.k8s.io/v1/volumeattachments/{name}/status" + String localVarPath = "/apis/storage.k8s.io/v1/volumeattributesclasses/{name}" .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); @@ -8240,37 +9752,37 @@ private okhttp3.Call patchVolumeAttachmentStatusCall(@jakarta.annotation.Nonnull } @SuppressWarnings("rawtypes") - private okhttp3.Call patchVolumeAttachmentStatusValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { + private okhttp3.Call patchVolumeAttributesClassValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling patchVolumeAttachmentStatus(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling patchVolumeAttributesClass(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling patchVolumeAttachmentStatus(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling patchVolumeAttributesClass(Async)"); } - return patchVolumeAttachmentStatusCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + return patchVolumeAttributesClassCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); } - private ApiResponse patchVolumeAttachmentStatusWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force) throws ApiException { - okhttp3.Call localVarCall = patchVolumeAttachmentStatusValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, null); - Type localVarReturnType = new TypeToken(){}.getType(); + private ApiResponse patchVolumeAttributesClassWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force) throws ApiException { + okhttp3.Call localVarCall = patchVolumeAttributesClassValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, null); + Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } - private okhttp3.Call patchVolumeAttachmentStatusAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { + private okhttp3.Call patchVolumeAttributesClassAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, @jakarta.annotation.Nullable Boolean force, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = patchVolumeAttachmentStatusValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); + okhttp3.Call localVarCall = patchVolumeAttributesClassValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } - public class APIpatchVolumeAttachmentStatusRequest { + public class APIpatchVolumeAttributesClassRequest { @jakarta.annotation.Nonnull private final String name; @jakarta.annotation.Nonnull @@ -8286,7 +9798,7 @@ public class APIpatchVolumeAttachmentStatusRequest { @jakarta.annotation.Nullable private Boolean force; - private APIpatchVolumeAttachmentStatusRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body) { + private APIpatchVolumeAttributesClassRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body) { this.name = name; this.body = body; } @@ -8294,9 +9806,9 @@ private APIpatchVolumeAttachmentStatusRequest(@jakarta.annotation.Nonnull String /** * Set pretty * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIpatchVolumeAttachmentStatusRequest + * @return APIpatchVolumeAttributesClassRequest */ - public APIpatchVolumeAttachmentStatusRequest pretty(@jakarta.annotation.Nullable String pretty) { + public APIpatchVolumeAttributesClassRequest pretty(@jakarta.annotation.Nullable String pretty) { this.pretty = pretty; return this; } @@ -8304,9 +9816,9 @@ public APIpatchVolumeAttachmentStatusRequest pretty(@jakarta.annotation.Nullable /** * Set dryRun * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) - * @return APIpatchVolumeAttachmentStatusRequest + * @return APIpatchVolumeAttributesClassRequest */ - public APIpatchVolumeAttachmentStatusRequest dryRun(@jakarta.annotation.Nullable String dryRun) { + public APIpatchVolumeAttributesClassRequest dryRun(@jakarta.annotation.Nullable String dryRun) { this.dryRun = dryRun; return this; } @@ -8314,9 +9826,9 @@ public APIpatchVolumeAttachmentStatusRequest dryRun(@jakarta.annotation.Nullable /** * Set fieldManager * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). (optional) - * @return APIpatchVolumeAttachmentStatusRequest + * @return APIpatchVolumeAttributesClassRequest */ - public APIpatchVolumeAttachmentStatusRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { + public APIpatchVolumeAttributesClassRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { this.fieldManager = fieldManager; return this; } @@ -8324,9 +9836,9 @@ public APIpatchVolumeAttachmentStatusRequest fieldManager(@jakarta.annotation.Nu /** * Set fieldValidation * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) - * @return APIpatchVolumeAttachmentStatusRequest + * @return APIpatchVolumeAttributesClassRequest */ - public APIpatchVolumeAttachmentStatusRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { + public APIpatchVolumeAttributesClassRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { this.fieldValidation = fieldValidation; return this; } @@ -8334,15 +9846,15 @@ public APIpatchVolumeAttachmentStatusRequest fieldValidation(@jakarta.annotation /** * Set force * @param force Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. (optional) - * @return APIpatchVolumeAttachmentStatusRequest + * @return APIpatchVolumeAttributesClassRequest */ - public APIpatchVolumeAttachmentStatusRequest force(@jakarta.annotation.Nullable Boolean force) { + public APIpatchVolumeAttributesClassRequest force(@jakarta.annotation.Nullable Boolean force) { this.force = force; return this; } /** - * Build call for patchVolumeAttachmentStatus + * Build call for patchVolumeAttributesClass * @param _callback ApiCallback API callback * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -8356,12 +9868,12 @@ public APIpatchVolumeAttachmentStatusRequest force(@jakarta.annotation.Nullable */ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return patchVolumeAttachmentStatusCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + return patchVolumeAttributesClassCall(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); } /** - * Execute patchVolumeAttachmentStatus request - * @return V1VolumeAttachment + * Execute patchVolumeAttributesClass request + * @return V1VolumeAttributesClass * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -8372,14 +9884,14 @@ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
401 Unauthorized -
*/ - public V1VolumeAttachment execute() throws ApiException { - ApiResponse localVarResp = patchVolumeAttachmentStatusWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force); + public V1VolumeAttributesClass execute() throws ApiException { + ApiResponse localVarResp = patchVolumeAttributesClassWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force); return localVarResp.getData(); } /** - * Execute patchVolumeAttachmentStatus request with HTTP info returned - * @return ApiResponse<V1VolumeAttachment> + * Execute patchVolumeAttributesClass request with HTTP info returned + * @return ApiResponse<V1VolumeAttributesClass> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -8390,12 +9902,12 @@ public V1VolumeAttachment execute() throws ApiException {
401 Unauthorized -
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return patchVolumeAttachmentStatusWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force); + public ApiResponse executeWithHttpInfo() throws ApiException { + return patchVolumeAttributesClassWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force); } /** - * Execute patchVolumeAttachmentStatus request (asynchronously) + * Execute patchVolumeAttributesClass request (asynchronously) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -8408,17 +9920,17 @@ public ApiResponse executeWithHttpInfo() throws ApiException 401 Unauthorized - */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return patchVolumeAttachmentStatusAsync(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return patchVolumeAttributesClassAsync(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _callback); } } /** - * - * partially update status of the specified VolumeAttachment - * @param name name of the VolumeAttachment (required) + * + * partially update the specified VolumeAttributesClass + * @param name name of the VolumeAttributesClass (required) * @param body (required) - * @return APIpatchVolumeAttachmentStatusRequest + * @return APIpatchVolumeAttributesClassRequest * @http.response.details @@ -8428,8 +9940,8 @@ public okhttp3.Call executeAsync(final ApiCallback _callback
Response Details
401 Unauthorized -
*/ - public APIpatchVolumeAttachmentStatusRequest patchVolumeAttachmentStatus(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body) { - return new APIpatchVolumeAttachmentStatusRequest(name, body); + public APIpatchVolumeAttributesClassRequest patchVolumeAttributesClass(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1Patch body) { + return new APIpatchVolumeAttributesClassRequest(name, body); } private okhttp3.Call readCSIDriverCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { String basePath = null; @@ -8598,7 +10110,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throw } /** - * + * * read the specified CSIDriver * @param name name of the CSIDriver (required) * @return APIreadCSIDriverRequest @@ -8780,7 +10292,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws } /** - * + * * read the specified CSINode * @param name name of the CSINode (required) * @return APIreadCSINodeRequest @@ -8971,7 +10483,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callba } /** - * + * * read the specified CSIStorageCapacity * @param name name of the CSIStorageCapacity (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -9154,7 +10666,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) th } /** - * + * * read the specified StorageClass * @param name name of the StorageClass (required) * @return APIreadStorageClassRequest @@ -9285,7 +10797,189 @@ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { } /** - * Execute readVolumeAttachment request + * Execute readVolumeAttachment request + * @return V1VolumeAttachment + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public V1VolumeAttachment execute() throws ApiException { + ApiResponse localVarResp = readVolumeAttachmentWithHttpInfo(name, pretty); + return localVarResp.getData(); + } + + /** + * Execute readVolumeAttachment request with HTTP info returned + * @return ApiResponse<V1VolumeAttachment> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public ApiResponse executeWithHttpInfo() throws ApiException { + return readVolumeAttachmentWithHttpInfo(name, pretty); + } + + /** + * Execute readVolumeAttachment request (asynchronously) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return readVolumeAttachmentAsync(name, pretty, _callback); + } + } + + /** + * + * read the specified VolumeAttachment + * @param name name of the VolumeAttachment (required) + * @return APIreadVolumeAttachmentRequest + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public APIreadVolumeAttachmentRequest readVolumeAttachment(@jakarta.annotation.Nonnull String name) { + return new APIreadVolumeAttachmentRequest(name); + } + private okhttp3.Call readVolumeAttachmentStatusCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/storage.k8s.io/v1/volumeattachments/{name}/status" + .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (pretty != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); + } + + final String[] localVarAccepts = { + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call readVolumeAttachmentStatusValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling readVolumeAttachmentStatus(Async)"); + } + + return readVolumeAttachmentStatusCall(name, pretty, _callback); + + } + + + private ApiResponse readVolumeAttachmentStatusWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty) throws ApiException { + okhttp3.Call localVarCall = readVolumeAttachmentStatusValidateBeforeCall(name, pretty, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + private okhttp3.Call readVolumeAttachmentStatusAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = readVolumeAttachmentStatusValidateBeforeCall(name, pretty, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + public class APIreadVolumeAttachmentStatusRequest { + @jakarta.annotation.Nonnull + private final String name; + @jakarta.annotation.Nullable + private String pretty; + + private APIreadVolumeAttachmentStatusRequest(@jakarta.annotation.Nonnull String name) { + this.name = name; + } + + /** + * Set pretty + * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + * @return APIreadVolumeAttachmentStatusRequest + */ + public APIreadVolumeAttachmentStatusRequest pretty(@jakarta.annotation.Nullable String pretty) { + this.pretty = pretty; + return this; + } + + /** + * Build call for readVolumeAttachmentStatus + * @param _callback ApiCallback API callback + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
401 Unauthorized -
+ */ + public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { + return readVolumeAttachmentStatusCall(name, pretty, _callback); + } + + /** + * Execute readVolumeAttachmentStatus request * @return V1VolumeAttachment * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -9297,12 +10991,12 @@ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { */ public V1VolumeAttachment execute() throws ApiException { - ApiResponse localVarResp = readVolumeAttachmentWithHttpInfo(name, pretty); + ApiResponse localVarResp = readVolumeAttachmentStatusWithHttpInfo(name, pretty); return localVarResp.getData(); } /** - * Execute readVolumeAttachment request with HTTP info returned + * Execute readVolumeAttachmentStatus request with HTTP info returned * @return ApiResponse<V1VolumeAttachment> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -9314,11 +11008,11 @@ public V1VolumeAttachment execute() throws ApiException { */ public ApiResponse executeWithHttpInfo() throws ApiException { - return readVolumeAttachmentWithHttpInfo(name, pretty); + return readVolumeAttachmentStatusWithHttpInfo(name, pretty); } /** - * Execute readVolumeAttachment request (asynchronously) + * Execute readVolumeAttachmentStatus request (asynchronously) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -9331,15 +11025,15 @@ public ApiResponse executeWithHttpInfo() throws ApiException */ public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return readVolumeAttachmentAsync(name, pretty, _callback); + return readVolumeAttachmentStatusAsync(name, pretty, _callback); } } /** - * - * read the specified VolumeAttachment + * + * read status of the specified VolumeAttachment * @param name name of the VolumeAttachment (required) - * @return APIreadVolumeAttachmentRequest + * @return APIreadVolumeAttachmentStatusRequest * @http.response.details @@ -9348,10 +11042,10 @@ public okhttp3.Call executeAsync(final ApiCallback _callback
Response Details
401 Unauthorized -
*/ - public APIreadVolumeAttachmentRequest readVolumeAttachment(@jakarta.annotation.Nonnull String name) { - return new APIreadVolumeAttachmentRequest(name); + public APIreadVolumeAttachmentStatusRequest readVolumeAttachmentStatus(@jakarta.annotation.Nonnull String name) { + return new APIreadVolumeAttachmentStatusRequest(name); } - private okhttp3.Call readVolumeAttachmentStatusCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { + private okhttp3.Call readVolumeAttributesClassCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -9368,7 +11062,7 @@ private okhttp3.Call readVolumeAttachmentStatusCall(@jakarta.annotation.Nonnull Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/storage.k8s.io/v1/volumeattachments/{name}/status" + String localVarPath = "/apis/storage.k8s.io/v1/volumeattributesclasses/{name}" .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); @@ -9404,53 +11098,53 @@ private okhttp3.Call readVolumeAttachmentStatusCall(@jakarta.annotation.Nonnull } @SuppressWarnings("rawtypes") - private okhttp3.Call readVolumeAttachmentStatusValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { + private okhttp3.Call readVolumeAttributesClassValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling readVolumeAttachmentStatus(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling readVolumeAttributesClass(Async)"); } - return readVolumeAttachmentStatusCall(name, pretty, _callback); + return readVolumeAttributesClassCall(name, pretty, _callback); } - private ApiResponse readVolumeAttachmentStatusWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty) throws ApiException { - okhttp3.Call localVarCall = readVolumeAttachmentStatusValidateBeforeCall(name, pretty, null); - Type localVarReturnType = new TypeToken(){}.getType(); + private ApiResponse readVolumeAttributesClassWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty) throws ApiException { + okhttp3.Call localVarCall = readVolumeAttributesClassValidateBeforeCall(name, pretty, null); + Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } - private okhttp3.Call readVolumeAttachmentStatusAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { + private okhttp3.Call readVolumeAttributesClassAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nullable String pretty, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = readVolumeAttachmentStatusValidateBeforeCall(name, pretty, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); + okhttp3.Call localVarCall = readVolumeAttributesClassValidateBeforeCall(name, pretty, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } - public class APIreadVolumeAttachmentStatusRequest { + public class APIreadVolumeAttributesClassRequest { @jakarta.annotation.Nonnull private final String name; @jakarta.annotation.Nullable private String pretty; - private APIreadVolumeAttachmentStatusRequest(@jakarta.annotation.Nonnull String name) { + private APIreadVolumeAttributesClassRequest(@jakarta.annotation.Nonnull String name) { this.name = name; } /** * Set pretty * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - * @return APIreadVolumeAttachmentStatusRequest + * @return APIreadVolumeAttributesClassRequest */ - public APIreadVolumeAttachmentStatusRequest pretty(@jakarta.annotation.Nullable String pretty) { + public APIreadVolumeAttributesClassRequest pretty(@jakarta.annotation.Nullable String pretty) { this.pretty = pretty; return this; } /** - * Build call for readVolumeAttachmentStatus + * Build call for readVolumeAttributesClass * @param _callback ApiCallback API callback * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -9463,12 +11157,12 @@ public APIreadVolumeAttachmentStatusRequest pretty(@jakarta.annotation.Nullable */ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return readVolumeAttachmentStatusCall(name, pretty, _callback); + return readVolumeAttributesClassCall(name, pretty, _callback); } /** - * Execute readVolumeAttachmentStatus request - * @return V1VolumeAttachment + * Execute readVolumeAttributesClass request + * @return V1VolumeAttributesClass * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -9478,14 +11172,14 @@ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
401 Unauthorized -
*/ - public V1VolumeAttachment execute() throws ApiException { - ApiResponse localVarResp = readVolumeAttachmentStatusWithHttpInfo(name, pretty); + public V1VolumeAttributesClass execute() throws ApiException { + ApiResponse localVarResp = readVolumeAttributesClassWithHttpInfo(name, pretty); return localVarResp.getData(); } /** - * Execute readVolumeAttachmentStatus request with HTTP info returned - * @return ApiResponse<V1VolumeAttachment> + * Execute readVolumeAttributesClass request with HTTP info returned + * @return ApiResponse<V1VolumeAttributesClass> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -9495,12 +11189,12 @@ public V1VolumeAttachment execute() throws ApiException {
401 Unauthorized -
*/ - public ApiResponse executeWithHttpInfo() throws ApiException { - return readVolumeAttachmentStatusWithHttpInfo(name, pretty); + public ApiResponse executeWithHttpInfo() throws ApiException { + return readVolumeAttributesClassWithHttpInfo(name, pretty); } /** - * Execute readVolumeAttachmentStatus request (asynchronously) + * Execute readVolumeAttributesClass request (asynchronously) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -9512,16 +11206,16 @@ public ApiResponse executeWithHttpInfo() throws ApiException 401 Unauthorized - */ - public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return readVolumeAttachmentStatusAsync(name, pretty, _callback); + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return readVolumeAttributesClassAsync(name, pretty, _callback); } } /** - * - * read status of the specified VolumeAttachment - * @param name name of the VolumeAttachment (required) - * @return APIreadVolumeAttachmentStatusRequest + * + * read the specified VolumeAttributesClass + * @param name name of the VolumeAttributesClass (required) + * @return APIreadVolumeAttributesClassRequest * @http.response.details @@ -9530,8 +11224,8 @@ public okhttp3.Call executeAsync(final ApiCallback _callback
Response Details
401 Unauthorized -
*/ - public APIreadVolumeAttachmentStatusRequest readVolumeAttachmentStatus(@jakarta.annotation.Nonnull String name) { - return new APIreadVolumeAttachmentStatusRequest(name); + public APIreadVolumeAttributesClassRequest readVolumeAttributesClass(@jakarta.annotation.Nonnull String name) { + return new APIreadVolumeAttributesClassRequest(name); } private okhttp3.Call replaceCSIDriverCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1CSIDriver body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { String basePath = null; @@ -9761,7 +11455,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throw } /** - * + * * replace the specified CSIDriver * @param name name of the CSIDriver (required) * @param body (required) @@ -10006,7 +11700,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws } /** - * + * * replace the specified CSINode * @param name name of the CSINode (required) * @param body (required) @@ -10260,7 +11954,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callba } /** - * + * * replace the specified CSIStorageCapacity * @param name name of the CSIStorageCapacity (required) * @param namespace object name and auth scope, such as for teams and projects (required) @@ -10506,7 +12200,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) th } /** - * + * * replace the specified StorageClass * @param name name of the StorageClass (required) * @param body (required) @@ -10751,7 +12445,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback } /** - * + * * replace the specified VolumeAttachment * @param name name of the VolumeAttachment (required) * @param body (required) @@ -10996,7 +12690,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback } /** - * + * * replace status of the specified VolumeAttachment * @param name name of the VolumeAttachment (required) * @param body (required) @@ -11013,4 +12707,249 @@ public okhttp3.Call executeAsync(final ApiCallback _callback public APIreplaceVolumeAttachmentStatusRequest replaceVolumeAttachmentStatus(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1VolumeAttachment body) { return new APIreplaceVolumeAttachmentStatusRequest(name, body); } + private okhttp3.Call replaceVolumeAttributesClassCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1VolumeAttributesClass body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/storage.k8s.io/v1/volumeattributesclasses/{name}" + .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (pretty != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("pretty", pretty)); + } + + if (dryRun != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("dryRun", dryRun)); + } + + if (fieldManager != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldManager", fieldManager)); + } + + if (fieldValidation != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fieldValidation", fieldValidation)); + } + + final String[] localVarAccepts = { + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call replaceVolumeAttributesClassValidateBeforeCall(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1VolumeAttributesClass body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling replaceVolumeAttributesClass(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling replaceVolumeAttributesClass(Async)"); + } + + return replaceVolumeAttributesClassCall(name, body, pretty, dryRun, fieldManager, fieldValidation, _callback); + + } + + + private ApiResponse replaceVolumeAttributesClassWithHttpInfo(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1VolumeAttributesClass body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation) throws ApiException { + okhttp3.Call localVarCall = replaceVolumeAttributesClassValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + private okhttp3.Call replaceVolumeAttributesClassAsync(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1VolumeAttributesClass body, @jakarta.annotation.Nullable String pretty, @jakarta.annotation.Nullable String dryRun, @jakarta.annotation.Nullable String fieldManager, @jakarta.annotation.Nullable String fieldValidation, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = replaceVolumeAttributesClassValidateBeforeCall(name, body, pretty, dryRun, fieldManager, fieldValidation, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + public class APIreplaceVolumeAttributesClassRequest { + @jakarta.annotation.Nonnull + private final String name; + @jakarta.annotation.Nonnull + private final V1VolumeAttributesClass body; + @jakarta.annotation.Nullable + private String pretty; + @jakarta.annotation.Nullable + private String dryRun; + @jakarta.annotation.Nullable + private String fieldManager; + @jakarta.annotation.Nullable + private String fieldValidation; + + private APIreplaceVolumeAttributesClassRequest(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1VolumeAttributesClass body) { + this.name = name; + this.body = body; + } + + /** + * Set pretty + * @param pretty If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + * @return APIreplaceVolumeAttributesClassRequest + */ + public APIreplaceVolumeAttributesClassRequest pretty(@jakarta.annotation.Nullable String pretty) { + this.pretty = pretty; + return this; + } + + /** + * Set dryRun + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + * @return APIreplaceVolumeAttributesClassRequest + */ + public APIreplaceVolumeAttributesClassRequest dryRun(@jakarta.annotation.Nullable String dryRun) { + this.dryRun = dryRun; + return this; + } + + /** + * Set fieldManager + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) + * @return APIreplaceVolumeAttributesClassRequest + */ + public APIreplaceVolumeAttributesClassRequest fieldManager(@jakarta.annotation.Nullable String fieldManager) { + this.fieldManager = fieldManager; + return this; + } + + /** + * Set fieldValidation + * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) + * @return APIreplaceVolumeAttributesClassRequest + */ + public APIreplaceVolumeAttributesClassRequest fieldValidation(@jakarta.annotation.Nullable String fieldValidation) { + this.fieldValidation = fieldValidation; + return this; + } + + /** + * Build call for replaceVolumeAttributesClass + * @param _callback ApiCallback API callback + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { + return replaceVolumeAttributesClassCall(name, body, pretty, dryRun, fieldManager, fieldValidation, _callback); + } + + /** + * Execute replaceVolumeAttributesClass request + * @return V1VolumeAttributesClass + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public V1VolumeAttributesClass execute() throws ApiException { + ApiResponse localVarResp = replaceVolumeAttributesClassWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation); + return localVarResp.getData(); + } + + /** + * Execute replaceVolumeAttributesClass request with HTTP info returned + * @return ApiResponse<V1VolumeAttributesClass> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public ApiResponse executeWithHttpInfo() throws ApiException { + return replaceVolumeAttributesClassWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation); + } + + /** + * Execute replaceVolumeAttributesClass request (asynchronously) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { + return replaceVolumeAttributesClassAsync(name, body, pretty, dryRun, fieldManager, fieldValidation, _callback); + } + } + + /** + * + * replace the specified VolumeAttributesClass + * @param name name of the VolumeAttributesClass (required) + * @param body (required) + * @return APIreplaceVolumeAttributesClassRequest + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 OK -
201 Created -
401 Unauthorized -
+ */ + public APIreplaceVolumeAttributesClassRequest replaceVolumeAttributesClass(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull V1VolumeAttributesClass body) { + return new APIreplaceVolumeAttributesClassRequest(name, body); + } } diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/StorageV1alpha1Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/StorageV1alpha1Api.java index 0fdc27ef4d..6cd792d694 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/StorageV1alpha1Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/StorageV1alpha1Api.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.apis; import io.kubernetes.client.openapi.ApiCallback; @@ -299,7 +300,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of VolumeAttributesClass * @return APIdeleteCollectionVolumeAttributesClassRequest * @http.response.details @@ -973,7 +974,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) } /** - * + * * get available resources * @return APIgetAPIResourcesRequest * @http.response.details @@ -1466,7 +1467,7 @@ public okhttp3.Call executeAsync(final ApiCallback } /** - * + * * create a VolumeAttributesClass * @param body (required) * @return APIcreateVolumeAttributesClassRequest @@ -695,7 +696,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of VolumeAttributesClass * @return APIdeleteCollectionVolumeAttributesClassRequest * @http.response.details @@ -973,7 +974,7 @@ public okhttp3.Call executeAsync(final ApiCallback } /** - * + * * delete a VolumeAttributesClass * @param name name of the VolumeAttributesClass (required) * @return APIdeleteVolumeAttributesClassRequest @@ -1131,7 +1132,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) } /** - * + * * get available resources * @return APIgetAPIResourcesRequest * @http.response.details @@ -1466,7 +1467,7 @@ public okhttp3.Call executeAsync(final ApiCallback } /** - * + * * partially update the specified VolumeAttributesClass * @param name name of the VolumeAttributesClass (required) * @param body (required) @@ -1908,7 +1909,7 @@ public okhttp3.Call executeAsync(final ApiCallback } /** - * + * * read the specified VolumeAttributesClass * @param name name of the VolumeAttributesClass (required) * @return APIreadVolumeAttributesClassRequest @@ -2151,7 +2152,7 @@ public okhttp3.Call executeAsync(final ApiCallback } /** - * + * * replace the specified VolumeAttributesClass * @param name name of the VolumeAttributesClass (required) * @param body (required) diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/StoragemigrationApi.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/StoragemigrationApi.java index 0d1bce2f93..e040b13066 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/StoragemigrationApi.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/StoragemigrationApi.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.apis; import io.kubernetes.client.openapi.ApiCallback; @@ -212,7 +213,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws } /** - * + * * get information of a group * @return APIgetAPIGroupRequest * @http.response.details diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/StoragemigrationV1alpha1Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/StoragemigrationV1alpha1Api.java index f0fdf9bceb..c0d346c891 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/StoragemigrationV1alpha1Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/StoragemigrationV1alpha1Api.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.apis; import io.kubernetes.client.openapi.ApiCallback; @@ -299,7 +300,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete collection of StorageVersionMigration * @return APIdeleteCollectionStorageVersionMigrationRequest * @http.response.details @@ -973,7 +974,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws A } /** - * + * * delete a StorageVersionMigration * @param name name of the StorageVersionMigration (required) * @return APIdeleteStorageVersionMigrationRequest @@ -1131,7 +1132,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) } /** - * + * * get available resources * @return APIgetAPIResourcesRequest * @http.response.details @@ -1466,7 +1467,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throw } /** - * + * * get the version information for this server * @return APIgetCodeRequest * @http.response.details diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/WellKnownApi.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/WellKnownApi.java index 035dc0b4c6..46efd5d1da 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/WellKnownApi.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/WellKnownApi.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.apis; import io.kubernetes.client.openapi.ApiCallback; @@ -209,7 +210,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws Api } /** - * + * * get service account issuer OpenID configuration, also known as the 'OIDC discovery doc' * @return APIgetServiceAccountIssuerOpenIDConfigurationRequest * @http.response.details diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/auth/ApiKeyAuth.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/auth/ApiKeyAuth.java index 2f80ab5b18..795bb167dd 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/auth/ApiKeyAuth.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/auth/ApiKeyAuth.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.auth; import io.kubernetes.client.openapi.ApiException; @@ -19,7 +20,7 @@ import java.util.Map; import java.util.List; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/auth/Authentication.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/auth/Authentication.java index 730fa8701b..7e9f3dd92a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/auth/Authentication.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/auth/Authentication.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.auth; import io.kubernetes.client.openapi.Pair; @@ -19,7 +20,7 @@ import java.util.Map; import java.util.List; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public interface Authentication { /** * Apply authentication settings to header and query params. diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/auth/HttpBasicAuth.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/auth/HttpBasicAuth.java index 84d6891f1c..482ae8901a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/auth/HttpBasicAuth.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/auth/HttpBasicAuth.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.auth; import io.kubernetes.client.openapi.Pair; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/auth/HttpBearerAuth.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/auth/HttpBearerAuth.java index 74ad1b8805..4841261d53 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/auth/HttpBearerAuth.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/auth/HttpBearerAuth.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.auth; import io.kubernetes.client.openapi.ApiException; @@ -21,7 +22,7 @@ import java.util.Optional; import java.util.function.Supplier; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class HttpBearerAuth implements Authentication { private final String scheme; private Supplier tokenSupplier; diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/AbstractOpenApiSchema.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/AbstractOpenApiSchema.java index 002915bde8..986e355580 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/AbstractOpenApiSchema.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/AbstractOpenApiSchema.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import io.kubernetes.client.openapi.ApiException; @@ -20,7 +21,7 @@ /** * Abstract class for oneOf,anyOf schemas defined in OpenAPI spec */ -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public abstract class AbstractOpenApiSchema { // store the actual instance of the schema/object diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/AdmissionregistrationV1ServiceReference.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/AdmissionregistrationV1ServiceReference.java index 42a25fa59c..dedc126f4c 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/AdmissionregistrationV1ServiceReference.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/AdmissionregistrationV1ServiceReference.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * ServiceReference holds a reference to Service.legacy.k8s.io */ @ApiModel(description = "ServiceReference holds a reference to Service.legacy.k8s.io") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class AdmissionregistrationV1ServiceReference { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -305,3 +306,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/AdmissionregistrationV1WebhookClientConfig.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/AdmissionregistrationV1WebhookClientConfig.java index 88a6ca4c02..4706881bce 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/AdmissionregistrationV1WebhookClientConfig.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/AdmissionregistrationV1WebhookClientConfig.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * WebhookClientConfig contains the information to make a TLS connection with the webhook */ @ApiModel(description = "WebhookClientConfig contains the information to make a TLS connection with the webhook") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class AdmissionregistrationV1WebhookClientConfig { public static final String SERIALIZED_NAME_CA_BUNDLE = "caBundle"; @SerializedName(SERIALIZED_NAME_CA_BUNDLE) @@ -267,3 +268,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ApiextensionsV1ServiceReference.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ApiextensionsV1ServiceReference.java index 49b0170e44..a951187c14 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ApiextensionsV1ServiceReference.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ApiextensionsV1ServiceReference.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * ServiceReference holds a reference to Service.legacy.k8s.io */ @ApiModel(description = "ServiceReference holds a reference to Service.legacy.k8s.io") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class ApiextensionsV1ServiceReference { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -305,3 +306,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ApiextensionsV1WebhookClientConfig.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ApiextensionsV1WebhookClientConfig.java index 774a3c41b2..fb4206b5fb 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ApiextensionsV1WebhookClientConfig.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ApiextensionsV1WebhookClientConfig.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * WebhookClientConfig contains the information to make a TLS connection with the webhook. */ @ApiModel(description = "WebhookClientConfig contains the information to make a TLS connection with the webhook.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class ApiextensionsV1WebhookClientConfig { public static final String SERIALIZED_NAME_CA_BUNDLE = "caBundle"; @SerializedName(SERIALIZED_NAME_CA_BUNDLE) @@ -267,3 +268,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ApiregistrationV1ServiceReference.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ApiregistrationV1ServiceReference.java index 5f06745b66..9ee015652f 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ApiregistrationV1ServiceReference.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ApiregistrationV1ServiceReference.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * ServiceReference holds a reference to Service.legacy.k8s.io */ @ApiModel(description = "ServiceReference holds a reference to Service.legacy.k8s.io") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class ApiregistrationV1ServiceReference { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -265,3 +266,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/AuthenticationV1TokenRequest.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/AuthenticationV1TokenRequest.java index c3766c2406..3d39dc0faa 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/AuthenticationV1TokenRequest.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/AuthenticationV1TokenRequest.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * TokenRequest requests a token for a given service account. */ @ApiModel(description = "TokenRequest requests a token for a given service account.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class AuthenticationV1TokenRequest implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -342,3 +343,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/CoreV1EndpointPort.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/CoreV1EndpointPort.java index 7e86eb0359..5418858c0d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/CoreV1EndpointPort.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/CoreV1EndpointPort.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * EndpointPort is a tuple that describes a single port. Deprecated: This API is deprecated in v1.33+. */ @ApiModel(description = "EndpointPort is a tuple that describes a single port. Deprecated: This API is deprecated in v1.33+.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class CoreV1EndpointPort { public static final String SERIALIZED_NAME_APP_PROTOCOL = "appProtocol"; @SerializedName(SERIALIZED_NAME_APP_PROTOCOL) @@ -304,3 +305,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/CoreV1Event.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/CoreV1Event.java index 35940b1d84..4cb8eccbb9 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/CoreV1Event.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/CoreV1Event.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -55,7 +56,7 @@ * Event is a report of an event somewhere in the cluster. Events have a limited retention time and triggers and messages may evolve with time. Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason. Events should be treated as informative, best-effort, supplemental data. */ @ApiModel(description = "Event is a report of an event somewhere in the cluster. Events have a limited retention time and triggers and messages may evolve with time. Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason. Events should be treated as informative, best-effort, supplemental data.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class CoreV1Event implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_ACTION = "action"; @SerializedName(SERIALIZED_NAME_ACTION) @@ -705,3 +706,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/CoreV1EventList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/CoreV1EventList.java index 24b9d9adc6..ed3d9843af 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/CoreV1EventList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/CoreV1EventList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * EventList is a list of events. */ @ApiModel(description = "EventList is a list of events.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class CoreV1EventList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/CoreV1EventSeries.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/CoreV1EventSeries.java index 2f23ddca59..24fecc835a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/CoreV1EventSeries.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/CoreV1EventSeries.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time. */ @ApiModel(description = "EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class CoreV1EventSeries { public static final String SERIALIZED_NAME_COUNT = "count"; @SerializedName(SERIALIZED_NAME_COUNT) @@ -232,3 +233,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceClaim.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/CoreV1ResourceClaim.java similarity index 73% rename from kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceClaim.java rename to kubernetes/src/main/java/io/kubernetes/client/openapi/models/CoreV1ResourceClaim.java index a806fb638f..37db3a36c4 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceClaim.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/CoreV1ResourceClaim.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,8 +51,8 @@ * ResourceClaim references one entry in PodSpec.ResourceClaims. */ @ApiModel(description = "ResourceClaim references one entry in PodSpec.ResourceClaims.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") -public class V1ResourceClaim { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class CoreV1ResourceClaim { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @jakarta.annotation.Nonnull @@ -62,10 +63,10 @@ public class V1ResourceClaim { @jakarta.annotation.Nullable private String request; - public V1ResourceClaim() { + public CoreV1ResourceClaim() { } - public V1ResourceClaim name(@jakarta.annotation.Nonnull String name) { + public CoreV1ResourceClaim name(@jakarta.annotation.Nonnull String name) { this.name = name; return this; } @@ -85,7 +86,7 @@ public void setName(@jakarta.annotation.Nonnull String name) { } - public V1ResourceClaim request(@jakarta.annotation.Nullable String request) { + public CoreV1ResourceClaim request(@jakarta.annotation.Nullable String request) { this.request = request; return this; } @@ -114,9 +115,9 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V1ResourceClaim v1ResourceClaim = (V1ResourceClaim) o; - return Objects.equals(this.name, v1ResourceClaim.name) && - Objects.equals(this.request, v1ResourceClaim.request); + CoreV1ResourceClaim coreV1ResourceClaim = (CoreV1ResourceClaim) o; + return Objects.equals(this.name, coreV1ResourceClaim.name) && + Objects.equals(this.request, coreV1ResourceClaim.request); } @Override @@ -127,7 +128,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V1ResourceClaim {\n"); + sb.append("class CoreV1ResourceClaim {\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append(" request: ").append(toIndentedString(request)).append("\n"); sb.append("}"); @@ -164,25 +165,25 @@ private String toIndentedString(Object o) { * Validates the JSON Element and throws an exception if issues found * * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to V1ResourceClaim + * @throws IOException if the JSON Element is invalid with respect to CoreV1ResourceClaim */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - if (!V1ResourceClaim.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in V1ResourceClaim is not found in the empty JSON string", V1ResourceClaim.openapiRequiredFields.toString())); + if (!CoreV1ResourceClaim.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in CoreV1ResourceClaim is not found in the empty JSON string", CoreV1ResourceClaim.openapiRequiredFields.toString())); } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { - if (!V1ResourceClaim.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1ResourceClaim` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + if (!CoreV1ResourceClaim.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `CoreV1ResourceClaim` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } // check to make sure all required properties/fields are present in the JSON string - for (String requiredField : V1ResourceClaim.openapiRequiredFields) { + for (String requiredField : CoreV1ResourceClaim.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); } @@ -200,22 +201,22 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1ResourceClaim.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1ResourceClaim' and its subtypes + if (!CoreV1ResourceClaim.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'CoreV1ResourceClaim' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1ResourceClaim.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(CoreV1ResourceClaim.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, V1ResourceClaim value) throws IOException { + public void write(JsonWriter out, CoreV1ResourceClaim value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public V1ResourceClaim read(JsonReader in) throws IOException { + public CoreV1ResourceClaim read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -226,18 +227,18 @@ public V1ResourceClaim read(JsonReader in) throws IOException { } /** - * Create an instance of V1ResourceClaim given an JSON string + * Create an instance of CoreV1ResourceClaim given an JSON string * * @param jsonString JSON string - * @return An instance of V1ResourceClaim - * @throws IOException if the JSON string is invalid with respect to V1ResourceClaim + * @return An instance of CoreV1ResourceClaim + * @throws IOException if the JSON string is invalid with respect to CoreV1ResourceClaim */ - public static V1ResourceClaim fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1ResourceClaim.class); + public static CoreV1ResourceClaim fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, CoreV1ResourceClaim.class); } /** - * Convert an instance of V1ResourceClaim to an JSON string + * Convert an instance of CoreV1ResourceClaim to an JSON string * * @return JSON string */ @@ -245,3 +246,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/DiscoveryV1EndpointPort.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/DiscoveryV1EndpointPort.java index 289ac75426..06870842b6 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/DiscoveryV1EndpointPort.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/DiscoveryV1EndpointPort.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * EndpointPort represents a Port used by an EndpointSlice */ @ApiModel(description = "EndpointPort represents a Port used by an EndpointSlice") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class DiscoveryV1EndpointPort { public static final String SERIALIZED_NAME_APP_PROTOCOL = "appProtocol"; @SerializedName(SERIALIZED_NAME_APP_PROTOCOL) @@ -296,3 +297,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/EventsV1Event.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/EventsV1Event.java index 80833a986a..a663de0d96 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/EventsV1Event.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/EventsV1Event.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -55,7 +56,7 @@ * Event is a report of an event somewhere in the cluster. It generally denotes some state change in the system. Events have a limited retention time and triggers and messages may evolve with time. Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason. Events should be treated as informative, best-effort, supplemental data. */ @ApiModel(description = "Event is a report of an event somewhere in the cluster. It generally denotes some state change in the system. Events have a limited retention time and triggers and messages may evolve with time. Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason. Events should be treated as informative, best-effort, supplemental data.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class EventsV1Event implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_ACTION = "action"; @SerializedName(SERIALIZED_NAME_ACTION) @@ -708,3 +709,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/EventsV1EventList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/EventsV1EventList.java index aabee34508..0adc0de21e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/EventsV1EventList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/EventsV1EventList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * EventList is a list of Event objects. */ @ApiModel(description = "EventList is a list of Event objects.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class EventsV1EventList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/EventsV1EventSeries.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/EventsV1EventSeries.java index 8ca33b6728..2c8b02a161 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/EventsV1EventSeries.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/EventsV1EventSeries.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time. How often to update the EventSeries is up to the event reporters. The default event reporter in \"k8s.io/client-go/tools/events/event_broadcaster.go\" shows how this struct is updated on heartbeats and can guide customized reporter implementations. */ @ApiModel(description = "EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time. How often to update the EventSeries is up to the event reporters. The default event reporter in \"k8s.io/client-go/tools/events/event_broadcaster.go\" shows how this struct is updated on heartbeats and can guide customized reporter implementations.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class EventsV1EventSeries { public static final String SERIALIZED_NAME_COUNT = "count"; @SerializedName(SERIALIZED_NAME_COUNT) @@ -241,3 +242,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/FlowcontrolV1Subject.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/FlowcontrolV1Subject.java index 256f971f61..b9a49aab96 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/FlowcontrolV1Subject.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/FlowcontrolV1Subject.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * Subject matches the originator of a request, as identified by the request authentication system. There are three ways of matching an originator; by user, group, or service account. */ @ApiModel(description = "Subject matches the originator of a request, as identified by the request authentication system. There are three ways of matching an originator; by user, group, or service account.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class FlowcontrolV1Subject { public static final String SERIALIZED_NAME_GROUP = "group"; @SerializedName(SERIALIZED_NAME_GROUP) @@ -313,3 +314,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/RbacV1Subject.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/RbacV1Subject.java index fba1a6a1a7..b7d1e65a64 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/RbacV1Subject.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/RbacV1Subject.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names. */ @ApiModel(description = "Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class RbacV1Subject { public static final String SERIALIZED_NAME_API_GROUP = "apiGroup"; @SerializedName(SERIALIZED_NAME_API_GROUP) @@ -308,3 +309,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3ResourceClaim.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ResourceV1ResourceClaim.java similarity index 72% rename from kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3ResourceClaim.java rename to kubernetes/src/main/java/io/kubernetes/client/openapi/models/ResourceV1ResourceClaim.java index 2b3a65dcb1..0a46959720 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3ResourceClaim.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/ResourceV1ResourceClaim.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -19,8 +20,8 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import io.kubernetes.client.openapi.models.V1ObjectMeta; -import io.kubernetes.client.openapi.models.V1alpha3ResourceClaimSpec; -import io.kubernetes.client.openapi.models.V1alpha3ResourceClaimStatus; +import io.kubernetes.client.openapi.models.V1ResourceClaimSpec; +import io.kubernetes.client.openapi.models.V1ResourceClaimStatus; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; @@ -53,8 +54,8 @@ * ResourceClaim describes a request for access to resources in the cluster, for use by workloads. For example, if a workload needs an accelerator device with specific properties, this is how that request is expressed. The status stanza tracks whether this claim has been satisfied and what specific resources have been allocated. This is an alpha type and requires enabling the DynamicResourceAllocation feature gate. */ @ApiModel(description = "ResourceClaim describes a request for access to resources in the cluster, for use by workloads. For example, if a workload needs an accelerator device with specific properties, this is how that request is expressed. The status stanza tracks whether this claim has been satisfied and what specific resources have been allocated. This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") -public class V1alpha3ResourceClaim implements io.kubernetes.client.common.KubernetesObject { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class ResourceV1ResourceClaim implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @jakarta.annotation.Nullable @@ -73,17 +74,17 @@ public class V1alpha3ResourceClaim implements io.kubernetes.client.common.Kubern public static final String SERIALIZED_NAME_SPEC = "spec"; @SerializedName(SERIALIZED_NAME_SPEC) @jakarta.annotation.Nonnull - private V1alpha3ResourceClaimSpec spec; + private V1ResourceClaimSpec spec; public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) @jakarta.annotation.Nullable - private V1alpha3ResourceClaimStatus status; + private V1ResourceClaimStatus status; - public V1alpha3ResourceClaim() { + public ResourceV1ResourceClaim() { } - public V1alpha3ResourceClaim apiVersion(@jakarta.annotation.Nullable String apiVersion) { + public ResourceV1ResourceClaim apiVersion(@jakarta.annotation.Nullable String apiVersion) { this.apiVersion = apiVersion; return this; } @@ -103,7 +104,7 @@ public void setApiVersion(@jakarta.annotation.Nullable String apiVersion) { } - public V1alpha3ResourceClaim kind(@jakarta.annotation.Nullable String kind) { + public ResourceV1ResourceClaim kind(@jakarta.annotation.Nullable String kind) { this.kind = kind; return this; } @@ -123,7 +124,7 @@ public void setKind(@jakarta.annotation.Nullable String kind) { } - public V1alpha3ResourceClaim metadata(@jakarta.annotation.Nullable V1ObjectMeta metadata) { + public ResourceV1ResourceClaim metadata(@jakarta.annotation.Nullable V1ObjectMeta metadata) { this.metadata = metadata; return this; } @@ -143,7 +144,7 @@ public void setMetadata(@jakarta.annotation.Nullable V1ObjectMeta metadata) { } - public V1alpha3ResourceClaim spec(@jakarta.annotation.Nonnull V1alpha3ResourceClaimSpec spec) { + public ResourceV1ResourceClaim spec(@jakarta.annotation.Nonnull V1ResourceClaimSpec spec) { this.spec = spec; return this; } @@ -154,16 +155,16 @@ public V1alpha3ResourceClaim spec(@jakarta.annotation.Nonnull V1alpha3ResourceCl */ @jakarta.annotation.Nonnull @ApiModelProperty(required = true, value = "") - public V1alpha3ResourceClaimSpec getSpec() { + public V1ResourceClaimSpec getSpec() { return spec; } - public void setSpec(@jakarta.annotation.Nonnull V1alpha3ResourceClaimSpec spec) { + public void setSpec(@jakarta.annotation.Nonnull V1ResourceClaimSpec spec) { this.spec = spec; } - public V1alpha3ResourceClaim status(@jakarta.annotation.Nullable V1alpha3ResourceClaimStatus status) { + public ResourceV1ResourceClaim status(@jakarta.annotation.Nullable V1ResourceClaimStatus status) { this.status = status; return this; } @@ -174,11 +175,11 @@ public V1alpha3ResourceClaim status(@jakarta.annotation.Nullable V1alpha3Resourc */ @jakarta.annotation.Nullable @ApiModelProperty(value = "") - public V1alpha3ResourceClaimStatus getStatus() { + public V1ResourceClaimStatus getStatus() { return status; } - public void setStatus(@jakarta.annotation.Nullable V1alpha3ResourceClaimStatus status) { + public void setStatus(@jakarta.annotation.Nullable V1ResourceClaimStatus status) { this.status = status; } @@ -192,12 +193,12 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V1alpha3ResourceClaim v1alpha3ResourceClaim = (V1alpha3ResourceClaim) o; - return Objects.equals(this.apiVersion, v1alpha3ResourceClaim.apiVersion) && - Objects.equals(this.kind, v1alpha3ResourceClaim.kind) && - Objects.equals(this.metadata, v1alpha3ResourceClaim.metadata) && - Objects.equals(this.spec, v1alpha3ResourceClaim.spec) && - Objects.equals(this.status, v1alpha3ResourceClaim.status); + ResourceV1ResourceClaim resourceV1ResourceClaim = (ResourceV1ResourceClaim) o; + return Objects.equals(this.apiVersion, resourceV1ResourceClaim.apiVersion) && + Objects.equals(this.kind, resourceV1ResourceClaim.kind) && + Objects.equals(this.metadata, resourceV1ResourceClaim.metadata) && + Objects.equals(this.spec, resourceV1ResourceClaim.spec) && + Objects.equals(this.status, resourceV1ResourceClaim.status); } @Override @@ -208,7 +209,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V1alpha3ResourceClaim {\n"); + sb.append("class ResourceV1ResourceClaim {\n"); sb.append(" apiVersion: ").append(toIndentedString(apiVersion)).append("\n"); sb.append(" kind: ").append(toIndentedString(kind)).append("\n"); sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); @@ -251,25 +252,25 @@ private String toIndentedString(Object o) { * Validates the JSON Element and throws an exception if issues found * * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to V1alpha3ResourceClaim + * @throws IOException if the JSON Element is invalid with respect to ResourceV1ResourceClaim */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - if (!V1alpha3ResourceClaim.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in V1alpha3ResourceClaim is not found in the empty JSON string", V1alpha3ResourceClaim.openapiRequiredFields.toString())); + if (!ResourceV1ResourceClaim.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in ResourceV1ResourceClaim is not found in the empty JSON string", ResourceV1ResourceClaim.openapiRequiredFields.toString())); } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { - if (!V1alpha3ResourceClaim.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1alpha3ResourceClaim` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + if (!ResourceV1ResourceClaim.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ResourceV1ResourceClaim` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } // check to make sure all required properties/fields are present in the JSON string - for (String requiredField : V1alpha3ResourceClaim.openapiRequiredFields) { + for (String requiredField : ResourceV1ResourceClaim.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); } @@ -286,10 +287,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti V1ObjectMeta.validateJsonElement(jsonObj.get("metadata")); } // validate the required field `spec` - V1alpha3ResourceClaimSpec.validateJsonElement(jsonObj.get("spec")); + V1ResourceClaimSpec.validateJsonElement(jsonObj.get("spec")); // validate the optional field `status` if (jsonObj.get("status") != null && !jsonObj.get("status").isJsonNull()) { - V1alpha3ResourceClaimStatus.validateJsonElement(jsonObj.get("status")); + V1ResourceClaimStatus.validateJsonElement(jsonObj.get("status")); } } @@ -297,22 +298,22 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1alpha3ResourceClaim.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1alpha3ResourceClaim' and its subtypes + if (!ResourceV1ResourceClaim.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'ResourceV1ResourceClaim' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1alpha3ResourceClaim.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(ResourceV1ResourceClaim.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, V1alpha3ResourceClaim value) throws IOException { + public void write(JsonWriter out, ResourceV1ResourceClaim value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public V1alpha3ResourceClaim read(JsonReader in) throws IOException { + public ResourceV1ResourceClaim read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -323,18 +324,18 @@ public V1alpha3ResourceClaim read(JsonReader in) throws IOException { } /** - * Create an instance of V1alpha3ResourceClaim given an JSON string + * Create an instance of ResourceV1ResourceClaim given an JSON string * * @param jsonString JSON string - * @return An instance of V1alpha3ResourceClaim - * @throws IOException if the JSON string is invalid with respect to V1alpha3ResourceClaim + * @return An instance of ResourceV1ResourceClaim + * @throws IOException if the JSON string is invalid with respect to ResourceV1ResourceClaim */ - public static V1alpha3ResourceClaim fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1alpha3ResourceClaim.class); + public static ResourceV1ResourceClaim fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, ResourceV1ResourceClaim.class); } /** - * Convert an instance of V1alpha3ResourceClaim to an JSON string + * Convert an instance of ResourceV1ResourceClaim to an JSON string * * @return JSON string */ @@ -342,3 +343,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/StorageV1TokenRequest.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/StorageV1TokenRequest.java index df65ed14f0..1bff4b6bf5 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/StorageV1TokenRequest.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/StorageV1TokenRequest.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * TokenRequest contains parameters of a service account token. */ @ApiModel(description = "TokenRequest contains parameters of a service account token.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class StorageV1TokenRequest { public static final String SERIALIZED_NAME_AUDIENCE = "audience"; @SerializedName(SERIALIZED_NAME_AUDIENCE) @@ -242,3 +243,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIGroup.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIGroup.java index 8578747b53..16f2ab3672 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIGroup.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIGroup.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * APIGroup contains the name, the supported versions, and the preferred version of a group. */ @ApiModel(description = "APIGroup contains the name, the supported versions, and the preferred version of a group.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1APIGroup { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -409,3 +410,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIGroupList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIGroupList.java index e7b32b18d4..dd0d81c11b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIGroupList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIGroupList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * APIGroupList is a list of APIGroup, to allow clients to discover the API at /apis. */ @ApiModel(description = "APIGroupList is a list of APIGroup, to allow clients to discover the API at /apis.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1APIGroupList { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -294,3 +295,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIResource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIResource.java index cd9730621a..28e035628e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIResource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIResource.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * APIResource specifies the name of a resource and whether it is namespaced. */ @ApiModel(description = "APIResource specifies the name of a resource and whether it is namespaced.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1APIResource { public static final String SERIALIZED_NAME_CATEGORIES = "categories"; @SerializedName(SERIALIZED_NAME_CATEGORIES) @@ -525,3 +526,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIResourceList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIResourceList.java index 87537d81f5..c556e9e864 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIResourceList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIResourceList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * APIResourceList is a list of APIResource, it is used to expose the name of the resources supported in a specific group and version, and if the resource is namespaced. */ @ApiModel(description = "APIResourceList is a list of APIResource, it is used to expose the name of the resources supported in a specific group and version, and if the resource is namespaced.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1APIResourceList { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -326,3 +327,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIService.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIService.java index 93fa260687..b6d7b8c56a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIService.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIService.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * APIService represents a server for a particular GroupVersion. Name must be \"version.group\". */ @ApiModel(description = "APIService represents a server for a particular GroupVersion. Name must be \"version.group\".") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1APIService implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -336,3 +337,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIServiceCondition.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIServiceCondition.java index b5af4e8026..5224369dd0 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIServiceCondition.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIServiceCondition.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * APIServiceCondition describes the state of an APIService at a particular point */ @ApiModel(description = "APIServiceCondition describes the state of an APIService at a particular point") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1APIServiceCondition { public static final String SERIALIZED_NAME_LAST_TRANSITION_TIME = "lastTransitionTime"; @SerializedName(SERIALIZED_NAME_LAST_TRANSITION_TIME) @@ -337,3 +338,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIServiceList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIServiceList.java index c0ab4feece..619a38397a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIServiceList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIServiceList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * APIServiceList is a list of APIService objects. */ @ApiModel(description = "APIServiceList is a list of APIService objects.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1APIServiceList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIServiceSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIServiceSpec.java index 6ec0eeb48a..4fc0ec99cd 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIServiceSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIServiceSpec.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * APIServiceSpec contains information for locating and communicating with a server. Only https is supported, though you are able to disable certificate verification. */ @ApiModel(description = "APIServiceSpec contains information for locating and communicating with a server. Only https is supported, though you are able to disable certificate verification.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1APIServiceSpec { public static final String SERIALIZED_NAME_CA_BUNDLE = "caBundle"; @SerializedName(SERIALIZED_NAME_CA_BUNDLE) @@ -391,3 +392,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIServiceStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIServiceStatus.java index 171f0547d9..00bdffb5d9 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIServiceStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIServiceStatus.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * APIServiceStatus contains derived information about an API server */ @ApiModel(description = "APIServiceStatus contains derived information about an API server") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1APIServiceStatus { public static final String SERIALIZED_NAME_CONDITIONS = "conditions"; @SerializedName(SERIALIZED_NAME_CONDITIONS) @@ -228,3 +229,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIVersions.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIVersions.java index 1501a439b9..3e45162b49 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIVersions.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1APIVersions.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * APIVersions lists the versions that are available, to allow clients to discover the API at /api, which is the root path of the legacy v1 API. */ @ApiModel(description = "APIVersions lists the versions that are available, to allow clients to discover the API at /api, which is the root path of the legacy v1 API.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1APIVersions { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -337,3 +338,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AWSElasticBlockStoreVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AWSElasticBlockStoreVolumeSource.java index d268a9cc49..8f11dccbfa 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AWSElasticBlockStoreVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AWSElasticBlockStoreVolumeSource.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * Represents a Persistent Disk resource in AWS. An AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling. */ @ApiModel(description = "Represents a Persistent Disk resource in AWS. An AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1AWSElasticBlockStoreVolumeSource { public static final String SERIALIZED_NAME_FS_TYPE = "fsType"; @SerializedName(SERIALIZED_NAME_FS_TYPE) @@ -301,3 +302,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Affinity.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Affinity.java index 6dd6a86130..28375261f3 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Affinity.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Affinity.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * Affinity is a group of affinity scheduling rules. */ @ApiModel(description = "Affinity is a group of affinity scheduling rules.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1Affinity { public static final String SERIALIZED_NAME_NODE_AFFINITY = "nodeAffinity"; @SerializedName(SERIALIZED_NAME_NODE_AFFINITY) @@ -274,3 +275,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AggregationRule.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AggregationRule.java index 6dc9266408..68adcf7bc5 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AggregationRule.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AggregationRule.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole */ @ApiModel(description = "AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1AggregationRule { public static final String SERIALIZED_NAME_CLUSTER_ROLE_SELECTORS = "clusterRoleSelectors"; @SerializedName(SERIALIZED_NAME_CLUSTER_ROLE_SELECTORS) @@ -228,3 +229,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3AllocatedDeviceStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AllocatedDeviceStatus.java similarity index 70% rename from kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3AllocatedDeviceStatus.java rename to kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AllocatedDeviceStatus.java index 0d6535eced..627653054f 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3AllocatedDeviceStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AllocatedDeviceStatus.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -19,7 +20,7 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import io.kubernetes.client.openapi.models.V1Condition; -import io.kubernetes.client.openapi.models.V1alpha3NetworkDeviceData; +import io.kubernetes.client.openapi.models.V1NetworkDeviceData; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; @@ -51,11 +52,11 @@ import io.kubernetes.client.openapi.JSON; /** - * AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it. This may include driver-specific information. + * AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it. This may include driver-specific information. The combination of Driver, Pool, Device, and ShareID must match the corresponding key in Status.Allocation.Devices. */ -@ApiModel(description = "AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it. This may include driver-specific information.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") -public class V1alpha3AllocatedDeviceStatus { +@ApiModel(description = "AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it. This may include driver-specific information. The combination of Driver, Pool, Device, and ShareID must match the corresponding key in Status.Allocation.Devices.") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1AllocatedDeviceStatus { public static final String SERIALIZED_NAME_CONDITIONS = "conditions"; @SerializedName(SERIALIZED_NAME_CONDITIONS) @jakarta.annotation.Nullable @@ -79,22 +80,27 @@ public class V1alpha3AllocatedDeviceStatus { public static final String SERIALIZED_NAME_NETWORK_DATA = "networkData"; @SerializedName(SERIALIZED_NAME_NETWORK_DATA) @jakarta.annotation.Nullable - private V1alpha3NetworkDeviceData networkData; + private V1NetworkDeviceData networkData; public static final String SERIALIZED_NAME_POOL = "pool"; @SerializedName(SERIALIZED_NAME_POOL) @jakarta.annotation.Nonnull private String pool; - public V1alpha3AllocatedDeviceStatus() { + public static final String SERIALIZED_NAME_SHARE_I_D = "shareID"; + @SerializedName(SERIALIZED_NAME_SHARE_I_D) + @jakarta.annotation.Nullable + private String shareID; + + public V1AllocatedDeviceStatus() { } - public V1alpha3AllocatedDeviceStatus conditions(@jakarta.annotation.Nullable List conditions) { + public V1AllocatedDeviceStatus conditions(@jakarta.annotation.Nullable List conditions) { this.conditions = conditions; return this; } - public V1alpha3AllocatedDeviceStatus addConditionsItem(V1Condition conditionsItem) { + public V1AllocatedDeviceStatus addConditionsItem(V1Condition conditionsItem) { if (this.conditions == null) { this.conditions = new ArrayList<>(); } @@ -117,7 +123,7 @@ public void setConditions(@jakarta.annotation.Nullable List conditi } - public V1alpha3AllocatedDeviceStatus data(@jakarta.annotation.Nullable Object data) { + public V1AllocatedDeviceStatus data(@jakarta.annotation.Nullable Object data) { this.data = data; return this; } @@ -137,7 +143,7 @@ public void setData(@jakarta.annotation.Nullable Object data) { } - public V1alpha3AllocatedDeviceStatus device(@jakarta.annotation.Nonnull String device) { + public V1AllocatedDeviceStatus device(@jakarta.annotation.Nonnull String device) { this.device = device; return this; } @@ -157,7 +163,7 @@ public void setDevice(@jakarta.annotation.Nonnull String device) { } - public V1alpha3AllocatedDeviceStatus driver(@jakarta.annotation.Nonnull String driver) { + public V1AllocatedDeviceStatus driver(@jakarta.annotation.Nonnull String driver) { this.driver = driver; return this; } @@ -177,7 +183,7 @@ public void setDriver(@jakarta.annotation.Nonnull String driver) { } - public V1alpha3AllocatedDeviceStatus networkData(@jakarta.annotation.Nullable V1alpha3NetworkDeviceData networkData) { + public V1AllocatedDeviceStatus networkData(@jakarta.annotation.Nullable V1NetworkDeviceData networkData) { this.networkData = networkData; return this; } @@ -188,16 +194,16 @@ public V1alpha3AllocatedDeviceStatus networkData(@jakarta.annotation.Nullable V1 */ @jakarta.annotation.Nullable @ApiModelProperty(value = "") - public V1alpha3NetworkDeviceData getNetworkData() { + public V1NetworkDeviceData getNetworkData() { return networkData; } - public void setNetworkData(@jakarta.annotation.Nullable V1alpha3NetworkDeviceData networkData) { + public void setNetworkData(@jakarta.annotation.Nullable V1NetworkDeviceData networkData) { this.networkData = networkData; } - public V1alpha3AllocatedDeviceStatus pool(@jakarta.annotation.Nonnull String pool) { + public V1AllocatedDeviceStatus pool(@jakarta.annotation.Nonnull String pool) { this.pool = pool; return this; } @@ -217,6 +223,26 @@ public void setPool(@jakarta.annotation.Nonnull String pool) { } + public V1AllocatedDeviceStatus shareID(@jakarta.annotation.Nullable String shareID) { + this.shareID = shareID; + return this; + } + + /** + * ShareID uniquely identifies an individual allocation share of the device. + * @return shareID + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "ShareID uniquely identifies an individual allocation share of the device.") + public String getShareID() { + return shareID; + } + + public void setShareID(@jakarta.annotation.Nullable String shareID) { + this.shareID = shareID; + } + + @Override public boolean equals(Object o) { @@ -226,30 +252,32 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V1alpha3AllocatedDeviceStatus v1alpha3AllocatedDeviceStatus = (V1alpha3AllocatedDeviceStatus) o; - return Objects.equals(this.conditions, v1alpha3AllocatedDeviceStatus.conditions) && - Objects.equals(this.data, v1alpha3AllocatedDeviceStatus.data) && - Objects.equals(this.device, v1alpha3AllocatedDeviceStatus.device) && - Objects.equals(this.driver, v1alpha3AllocatedDeviceStatus.driver) && - Objects.equals(this.networkData, v1alpha3AllocatedDeviceStatus.networkData) && - Objects.equals(this.pool, v1alpha3AllocatedDeviceStatus.pool); + V1AllocatedDeviceStatus v1AllocatedDeviceStatus = (V1AllocatedDeviceStatus) o; + return Objects.equals(this.conditions, v1AllocatedDeviceStatus.conditions) && + Objects.equals(this.data, v1AllocatedDeviceStatus.data) && + Objects.equals(this.device, v1AllocatedDeviceStatus.device) && + Objects.equals(this.driver, v1AllocatedDeviceStatus.driver) && + Objects.equals(this.networkData, v1AllocatedDeviceStatus.networkData) && + Objects.equals(this.pool, v1AllocatedDeviceStatus.pool) && + Objects.equals(this.shareID, v1AllocatedDeviceStatus.shareID); } @Override public int hashCode() { - return Objects.hash(conditions, data, device, driver, networkData, pool); + return Objects.hash(conditions, data, device, driver, networkData, pool, shareID); } @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V1alpha3AllocatedDeviceStatus {\n"); + sb.append("class V1AllocatedDeviceStatus {\n"); sb.append(" conditions: ").append(toIndentedString(conditions)).append("\n"); sb.append(" data: ").append(toIndentedString(data)).append("\n"); sb.append(" device: ").append(toIndentedString(device)).append("\n"); sb.append(" driver: ").append(toIndentedString(driver)).append("\n"); sb.append(" networkData: ").append(toIndentedString(networkData)).append("\n"); sb.append(" pool: ").append(toIndentedString(pool)).append("\n"); + sb.append(" shareID: ").append(toIndentedString(shareID)).append("\n"); sb.append("}"); return sb.toString(); } @@ -278,6 +306,7 @@ private String toIndentedString(Object o) { openapiFields.add("driver"); openapiFields.add("networkData"); openapiFields.add("pool"); + openapiFields.add("shareID"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); @@ -290,25 +319,25 @@ private String toIndentedString(Object o) { * Validates the JSON Element and throws an exception if issues found * * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to V1alpha3AllocatedDeviceStatus + * @throws IOException if the JSON Element is invalid with respect to V1AllocatedDeviceStatus */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - if (!V1alpha3AllocatedDeviceStatus.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in V1alpha3AllocatedDeviceStatus is not found in the empty JSON string", V1alpha3AllocatedDeviceStatus.openapiRequiredFields.toString())); + if (!V1AllocatedDeviceStatus.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1AllocatedDeviceStatus is not found in the empty JSON string", V1AllocatedDeviceStatus.openapiRequiredFields.toString())); } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { - if (!V1alpha3AllocatedDeviceStatus.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1alpha3AllocatedDeviceStatus` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + if (!V1AllocatedDeviceStatus.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1AllocatedDeviceStatus` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } // check to make sure all required properties/fields are present in the JSON string - for (String requiredField : V1alpha3AllocatedDeviceStatus.openapiRequiredFields) { + for (String requiredField : V1AllocatedDeviceStatus.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); } @@ -336,33 +365,36 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } // validate the optional field `networkData` if (jsonObj.get("networkData") != null && !jsonObj.get("networkData").isJsonNull()) { - V1alpha3NetworkDeviceData.validateJsonElement(jsonObj.get("networkData")); + V1NetworkDeviceData.validateJsonElement(jsonObj.get("networkData")); } if (!jsonObj.get("pool").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `pool` to be a primitive type in the JSON string but got `%s`", jsonObj.get("pool").toString())); } + if ((jsonObj.get("shareID") != null && !jsonObj.get("shareID").isJsonNull()) && !jsonObj.get("shareID").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `shareID` to be a primitive type in the JSON string but got `%s`", jsonObj.get("shareID").toString())); + } } public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1alpha3AllocatedDeviceStatus.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1alpha3AllocatedDeviceStatus' and its subtypes + if (!V1AllocatedDeviceStatus.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1AllocatedDeviceStatus' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1alpha3AllocatedDeviceStatus.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1AllocatedDeviceStatus.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, V1alpha3AllocatedDeviceStatus value) throws IOException { + public void write(JsonWriter out, V1AllocatedDeviceStatus value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public V1alpha3AllocatedDeviceStatus read(JsonReader in) throws IOException { + public V1AllocatedDeviceStatus read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -373,18 +405,18 @@ public V1alpha3AllocatedDeviceStatus read(JsonReader in) throws IOException { } /** - * Create an instance of V1alpha3AllocatedDeviceStatus given an JSON string + * Create an instance of V1AllocatedDeviceStatus given an JSON string * * @param jsonString JSON string - * @return An instance of V1alpha3AllocatedDeviceStatus - * @throws IOException if the JSON string is invalid with respect to V1alpha3AllocatedDeviceStatus + * @return An instance of V1AllocatedDeviceStatus + * @throws IOException if the JSON string is invalid with respect to V1AllocatedDeviceStatus */ - public static V1alpha3AllocatedDeviceStatus fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1alpha3AllocatedDeviceStatus.class); + public static V1AllocatedDeviceStatus fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1AllocatedDeviceStatus.class); } /** - * Convert an instance of V1alpha3AllocatedDeviceStatus to an JSON string + * Convert an instance of V1AllocatedDeviceStatus to an JSON string * * @return JSON string */ @@ -392,3 +424,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3AllocationResult.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AllocationResult.java similarity index 57% rename from kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3AllocationResult.java rename to kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AllocationResult.java index 081f8eeef0..03caca5653 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3AllocationResult.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AllocationResult.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -18,11 +19,12 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.openapi.models.V1DeviceAllocationResult; import io.kubernetes.client.openapi.models.V1NodeSelector; -import io.kubernetes.client.openapi.models.V1alpha3DeviceAllocationResult; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; +import java.time.OffsetDateTime; import java.util.Arrays; import com.google.gson.Gson; @@ -52,22 +54,47 @@ * AllocationResult contains attributes of an allocated resource. */ @ApiModel(description = "AllocationResult contains attributes of an allocated resource.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") -public class V1alpha3AllocationResult { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1AllocationResult { + public static final String SERIALIZED_NAME_ALLOCATION_TIMESTAMP = "allocationTimestamp"; + @SerializedName(SERIALIZED_NAME_ALLOCATION_TIMESTAMP) + @jakarta.annotation.Nullable + private OffsetDateTime allocationTimestamp; + public static final String SERIALIZED_NAME_DEVICES = "devices"; @SerializedName(SERIALIZED_NAME_DEVICES) @jakarta.annotation.Nullable - private V1alpha3DeviceAllocationResult devices; + private V1DeviceAllocationResult devices; public static final String SERIALIZED_NAME_NODE_SELECTOR = "nodeSelector"; @SerializedName(SERIALIZED_NAME_NODE_SELECTOR) @jakarta.annotation.Nullable private V1NodeSelector nodeSelector; - public V1alpha3AllocationResult() { + public V1AllocationResult() { } - public V1alpha3AllocationResult devices(@jakarta.annotation.Nullable V1alpha3DeviceAllocationResult devices) { + public V1AllocationResult allocationTimestamp(@jakarta.annotation.Nullable OffsetDateTime allocationTimestamp) { + this.allocationTimestamp = allocationTimestamp; + return this; + } + + /** + * 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 feature gate. + * @return allocationTimestamp + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "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 feature gate.") + public OffsetDateTime getAllocationTimestamp() { + return allocationTimestamp; + } + + public void setAllocationTimestamp(@jakarta.annotation.Nullable OffsetDateTime allocationTimestamp) { + this.allocationTimestamp = allocationTimestamp; + } + + + public V1AllocationResult devices(@jakarta.annotation.Nullable V1DeviceAllocationResult devices) { this.devices = devices; return this; } @@ -78,16 +105,16 @@ public V1alpha3AllocationResult devices(@jakarta.annotation.Nullable V1alpha3Dev */ @jakarta.annotation.Nullable @ApiModelProperty(value = "") - public V1alpha3DeviceAllocationResult getDevices() { + public V1DeviceAllocationResult getDevices() { return devices; } - public void setDevices(@jakarta.annotation.Nullable V1alpha3DeviceAllocationResult devices) { + public void setDevices(@jakarta.annotation.Nullable V1DeviceAllocationResult devices) { this.devices = devices; } - public V1alpha3AllocationResult nodeSelector(@jakarta.annotation.Nullable V1NodeSelector nodeSelector) { + public V1AllocationResult nodeSelector(@jakarta.annotation.Nullable V1NodeSelector nodeSelector) { this.nodeSelector = nodeSelector; return this; } @@ -116,20 +143,22 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V1alpha3AllocationResult v1alpha3AllocationResult = (V1alpha3AllocationResult) o; - return Objects.equals(this.devices, v1alpha3AllocationResult.devices) && - Objects.equals(this.nodeSelector, v1alpha3AllocationResult.nodeSelector); + V1AllocationResult v1AllocationResult = (V1AllocationResult) o; + return Objects.equals(this.allocationTimestamp, v1AllocationResult.allocationTimestamp) && + Objects.equals(this.devices, v1AllocationResult.devices) && + Objects.equals(this.nodeSelector, v1AllocationResult.nodeSelector); } @Override public int hashCode() { - return Objects.hash(devices, nodeSelector); + return Objects.hash(allocationTimestamp, devices, nodeSelector); } @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V1alpha3AllocationResult {\n"); + sb.append("class V1AllocationResult {\n"); + sb.append(" allocationTimestamp: ").append(toIndentedString(allocationTimestamp)).append("\n"); sb.append(" devices: ").append(toIndentedString(devices)).append("\n"); sb.append(" nodeSelector: ").append(toIndentedString(nodeSelector)).append("\n"); sb.append("}"); @@ -154,6 +183,7 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); + openapiFields.add("allocationTimestamp"); openapiFields.add("devices"); openapiFields.add("nodeSelector"); @@ -165,26 +195,26 @@ private String toIndentedString(Object o) { * Validates the JSON Element and throws an exception if issues found * * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to V1alpha3AllocationResult + * @throws IOException if the JSON Element is invalid with respect to V1AllocationResult */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - if (!V1alpha3AllocationResult.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in V1alpha3AllocationResult is not found in the empty JSON string", V1alpha3AllocationResult.openapiRequiredFields.toString())); + if (!V1AllocationResult.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1AllocationResult is not found in the empty JSON string", V1AllocationResult.openapiRequiredFields.toString())); } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { - if (!V1alpha3AllocationResult.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1alpha3AllocationResult` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + if (!V1AllocationResult.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1AllocationResult` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); // validate the optional field `devices` if (jsonObj.get("devices") != null && !jsonObj.get("devices").isJsonNull()) { - V1alpha3DeviceAllocationResult.validateJsonElement(jsonObj.get("devices")); + V1DeviceAllocationResult.validateJsonElement(jsonObj.get("devices")); } // validate the optional field `nodeSelector` if (jsonObj.get("nodeSelector") != null && !jsonObj.get("nodeSelector").isJsonNull()) { @@ -196,22 +226,22 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1alpha3AllocationResult.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1alpha3AllocationResult' and its subtypes + if (!V1AllocationResult.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1AllocationResult' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1alpha3AllocationResult.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1AllocationResult.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, V1alpha3AllocationResult value) throws IOException { + public void write(JsonWriter out, V1AllocationResult value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public V1alpha3AllocationResult read(JsonReader in) throws IOException { + public V1AllocationResult read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -222,18 +252,18 @@ public V1alpha3AllocationResult read(JsonReader in) throws IOException { } /** - * Create an instance of V1alpha3AllocationResult given an JSON string + * Create an instance of V1AllocationResult given an JSON string * * @param jsonString JSON string - * @return An instance of V1alpha3AllocationResult - * @throws IOException if the JSON string is invalid with respect to V1alpha3AllocationResult + * @return An instance of V1AllocationResult + * @throws IOException if the JSON string is invalid with respect to V1AllocationResult */ - public static V1alpha3AllocationResult fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1alpha3AllocationResult.class); + public static V1AllocationResult fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1AllocationResult.class); } /** - * Convert an instance of V1alpha3AllocationResult to an JSON string + * Convert an instance of V1AllocationResult to an JSON string * * @return JSON string */ @@ -241,3 +271,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AppArmorProfile.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AppArmorProfile.java index dbc1930ea0..3dc0caf22c 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AppArmorProfile.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AppArmorProfile.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * AppArmorProfile defines a pod or container's AppArmor settings. */ @ApiModel(description = "AppArmorProfile defines a pod or container's AppArmor settings.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1AppArmorProfile { public static final String SERIALIZED_NAME_LOCALHOST_PROFILE = "localhostProfile"; @SerializedName(SERIALIZED_NAME_LOCALHOST_PROFILE) @@ -245,3 +246,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AttachedVolume.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AttachedVolume.java index 716d5e1310..9169f02bb9 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AttachedVolume.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AttachedVolume.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * AttachedVolume describes a volume attached to a node */ @ApiModel(description = "AttachedVolume describes a volume attached to a node") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1AttachedVolume { public static final String SERIALIZED_NAME_DEVICE_PATH = "devicePath"; @SerializedName(SERIALIZED_NAME_DEVICE_PATH) @@ -246,3 +247,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AuditAnnotation.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AuditAnnotation.java index 1692896d8f..3499a902c1 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AuditAnnotation.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AuditAnnotation.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * AuditAnnotation describes how to produce an audit annotation for an API request. */ @ApiModel(description = "AuditAnnotation describes how to produce an audit annotation for an API request.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1AuditAnnotation { public static final String SERIALIZED_NAME_KEY = "key"; @SerializedName(SERIALIZED_NAME_KEY) @@ -246,3 +247,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AzureDiskVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AzureDiskVolumeSource.java index d712dc565e..02682da6ee 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AzureDiskVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AzureDiskVolumeSource.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. */ @ApiModel(description = "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1AzureDiskVolumeSource { public static final String SERIALIZED_NAME_CACHING_MODE = "cachingMode"; @SerializedName(SERIALIZED_NAME_CACHING_MODE) @@ -367,3 +368,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AzureFilePersistentVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AzureFilePersistentVolumeSource.java index c97dccda95..7ecc5fe07f 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AzureFilePersistentVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AzureFilePersistentVolumeSource.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * AzureFile represents an Azure File Service mount on the host and bind mount to the pod. */ @ApiModel(description = "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1AzureFilePersistentVolumeSource { public static final String SERIALIZED_NAME_READ_ONLY = "readOnly"; @SerializedName(SERIALIZED_NAME_READ_ONLY) @@ -305,3 +306,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AzureFileVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AzureFileVolumeSource.java index 94701c39f5..0b99061321 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AzureFileVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1AzureFileVolumeSource.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * AzureFile represents an Azure File Service mount on the host and bind mount to the pod. */ @ApiModel(description = "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1AzureFileVolumeSource { public static final String SERIALIZED_NAME_READ_ONLY = "readOnly"; @SerializedName(SERIALIZED_NAME_READ_ONLY) @@ -274,3 +275,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Binding.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Binding.java index 159ac24ba8..5d64a488c2 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Binding.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Binding.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * Binding ties one object to another; for example, a pod is bound to a node by a scheduler. */ @ApiModel(description = "Binding ties one object to another; for example, a pod is bound to a node by a scheduler.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1Binding implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -309,3 +310,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1BoundObjectReference.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1BoundObjectReference.java index 1e3bfe228a..9b5cf03ff5 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1BoundObjectReference.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1BoundObjectReference.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * BoundObjectReference is a reference to an object that a token is bound to. */ @ApiModel(description = "BoundObjectReference is a reference to an object that a token is bound to.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1BoundObjectReference { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -299,3 +300,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CELDeviceSelector.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CELDeviceSelector.java new file mode 100644 index 0000000000..fadc35dd19 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CELDeviceSelector.java @@ -0,0 +1,218 @@ +/* + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package io.kubernetes.client.openapi.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.Arrays; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import io.kubernetes.client.openapi.JSON; + +/** + * CELDeviceSelector contains a CEL expression for selecting a device. + */ +@ApiModel(description = "CELDeviceSelector contains a CEL expression for selecting a device.") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1CELDeviceSelector { + public static final String SERIALIZED_NAME_EXPRESSION = "expression"; + @SerializedName(SERIALIZED_NAME_EXPRESSION) + @jakarta.annotation.Nonnull + private String expression; + + public V1CELDeviceSelector() { + } + + public V1CELDeviceSelector expression(@jakarta.annotation.Nonnull String expression) { + this.expression = expression; + return this; + } + + /** + * Expression is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort. The expression's input is an object named \"device\", which carries the following properties: - driver (string): the name of the driver which defines this device. - attributes (map[string]object): the device's attributes, grouped by prefix (e.g. device.attributes[\"dra.example.com\"] evaluates to an object with all of the attributes which were prefixed by \"dra.example.com\". - capacity (map[string]object): the device's capacities, grouped by prefix. - allowMultipleAllocations (bool): the allowMultipleAllocations property of the device (v1.34+ with the DRAConsumableCapacity feature enabled). Example: Consider a device with driver=\"dra.example.com\", which exposes two attributes named \"model\" and \"ext.example.com/family\" and which exposes one capacity named \"modules\". This input to this expression would have the following fields: device.driver device.attributes[\"dra.example.com\"].model device.attributes[\"ext.example.com\"].family device.capacity[\"dra.example.com\"].modules The device.driver field can be used to check for a specific driver, either as a high-level precondition (i.e. you only want to consider devices from this driver) or as part of a multi-clause expression that is meant to consider devices from different drivers. The value type of each attribute is defined by the device definition, and users who write these expressions must consult the documentation for their specific drivers. The value type of each capacity is Quantity. If an unknown prefix is used as a lookup in either device.attributes or device.capacity, an empty map will be returned. Any reference to an unknown field will cause an evaluation error and allocation to abort. A robust expression should check for the existence of attributes before referencing them. For ease of use, the cel.bind() function is enabled, and can be used to simplify expressions that access multiple attributes with the same domain. For example: cel.bind(dra, device.attributes[\"dra.example.com\"], dra.someBool && dra.anotherBool) 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. + * @return expression + */ + @jakarta.annotation.Nonnull + @ApiModelProperty(required = true, value = "Expression is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort. The expression's input is an object named \"device\", which carries the following properties: - driver (string): the name of the driver which defines this device. - attributes (map[string]object): the device's attributes, grouped by prefix (e.g. device.attributes[\"dra.example.com\"] evaluates to an object with all of the attributes which were prefixed by \"dra.example.com\". - capacity (map[string]object): the device's capacities, grouped by prefix. - allowMultipleAllocations (bool): the allowMultipleAllocations property of the device (v1.34+ with the DRAConsumableCapacity feature enabled). Example: Consider a device with driver=\"dra.example.com\", which exposes two attributes named \"model\" and \"ext.example.com/family\" and which exposes one capacity named \"modules\". This input to this expression would have the following fields: device.driver device.attributes[\"dra.example.com\"].model device.attributes[\"ext.example.com\"].family device.capacity[\"dra.example.com\"].modules The device.driver field can be used to check for a specific driver, either as a high-level precondition (i.e. you only want to consider devices from this driver) or as part of a multi-clause expression that is meant to consider devices from different drivers. The value type of each attribute is defined by the device definition, and users who write these expressions must consult the documentation for their specific drivers. The value type of each capacity is Quantity. If an unknown prefix is used as a lookup in either device.attributes or device.capacity, an empty map will be returned. Any reference to an unknown field will cause an evaluation error and allocation to abort. A robust expression should check for the existence of attributes before referencing them. For ease of use, the cel.bind() function is enabled, and can be used to simplify expressions that access multiple attributes with the same domain. For example: cel.bind(dra, device.attributes[\"dra.example.com\"], dra.someBool && dra.anotherBool) 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.") + public String getExpression() { + return expression; + } + + public void setExpression(@jakarta.annotation.Nonnull String expression) { + this.expression = expression; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1CELDeviceSelector v1CELDeviceSelector = (V1CELDeviceSelector) o; + return Objects.equals(this.expression, v1CELDeviceSelector.expression); + } + + @Override + public int hashCode() { + return Objects.hash(expression); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1CELDeviceSelector {\n"); + sb.append(" expression: ").append(toIndentedString(expression)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("expression"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("expression"); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to V1CELDeviceSelector + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!V1CELDeviceSelector.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1CELDeviceSelector is not found in the empty JSON string", V1CELDeviceSelector.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!V1CELDeviceSelector.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1CELDeviceSelector` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : V1CELDeviceSelector.openapiRequiredFields) { + if (jsonElement.getAsJsonObject().get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if (!jsonObj.get("expression").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `expression` to be a primitive type in the JSON string but got `%s`", jsonObj.get("expression").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!V1CELDeviceSelector.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1CELDeviceSelector' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1CELDeviceSelector.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, V1CELDeviceSelector value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public V1CELDeviceSelector read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of V1CELDeviceSelector given an JSON string + * + * @param jsonString JSON string + * @return An instance of V1CELDeviceSelector + * @throws IOException if the JSON string is invalid with respect to V1CELDeviceSelector + */ + public static V1CELDeviceSelector fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1CELDeviceSelector.class); + } + + /** + * Convert an instance of V1CELDeviceSelector to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIDriver.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIDriver.java index ebf632a0ea..2167dd33bf 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIDriver.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIDriver.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * CSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster. Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced. */ @ApiModel(description = "CSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster. Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1CSIDriver implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -309,3 +310,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIDriverList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIDriverList.java index 4c20406dee..4b38b20e67 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIDriverList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIDriverList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * CSIDriverList is a collection of CSIDriver objects. */ @ApiModel(description = "CSIDriverList is a collection of CSIDriver objects.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1CSIDriverList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIDriverSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIDriverSpec.java index 9f0d016978..7fc99e21ef 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIDriverSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIDriverSpec.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * CSIDriverSpec is the specification of a CSIDriver. */ @ApiModel(description = "CSIDriverSpec is the specification of a CSIDriver.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1CSIDriverSpec { public static final String SERIALIZED_NAME_ATTACH_REQUIRED = "attachRequired"; @SerializedName(SERIALIZED_NAME_ATTACH_REQUIRED) @@ -109,11 +110,11 @@ public V1CSIDriverSpec attachRequired(@jakarta.annotation.Nullable Boolean attac } /** - * attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the CSIDriverRegistry feature gate is enabled and the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called. This field is immutable. + * attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called. This field is immutable. * @return attachRequired */ @jakarta.annotation.Nullable - @ApiModelProperty(value = "attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the CSIDriverRegistry feature gate is enabled and the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called. This field is immutable.") + @ApiModelProperty(value = "attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called. This field is immutable.") public Boolean getAttachRequired() { return attachRequired; } @@ -149,11 +150,11 @@ public V1CSIDriverSpec nodeAllocatableUpdatePeriodSeconds(@jakarta.annotation.Nu } /** - * nodeAllocatableUpdatePeriodSeconds specifies the interval between periodic updates of the CSINode allocatable capacity for this driver. When set, both periodic updates and updates triggered by capacity-related failures are enabled. If not set, no updates occur (neither periodic nor upon detecting capacity-related failures), and the allocatable.count remains static. The minimum allowed value for this field is 10 seconds. This is an alpha feature and requires the MutableCSINodeAllocatableCount feature gate to be enabled. This field is mutable. + * nodeAllocatableUpdatePeriodSeconds specifies the interval between periodic updates of the CSINode allocatable capacity for this driver. When set, both periodic updates and updates triggered by capacity-related failures are enabled. If not set, no updates occur (neither periodic nor upon detecting capacity-related failures), and the allocatable.count remains static. The minimum allowed value for this field is 10 seconds. This is a beta feature and requires the MutableCSINodeAllocatableCount feature gate to be enabled. This field is mutable. * @return nodeAllocatableUpdatePeriodSeconds */ @jakarta.annotation.Nullable - @ApiModelProperty(value = "nodeAllocatableUpdatePeriodSeconds specifies the interval between periodic updates of the CSINode allocatable capacity for this driver. When set, both periodic updates and updates triggered by capacity-related failures are enabled. If not set, no updates occur (neither periodic nor upon detecting capacity-related failures), and the allocatable.count remains static. The minimum allowed value for this field is 10 seconds. This is an alpha feature and requires the MutableCSINodeAllocatableCount feature gate to be enabled. This field is mutable.") + @ApiModelProperty(value = "nodeAllocatableUpdatePeriodSeconds specifies the interval between periodic updates of the CSINode allocatable capacity for this driver. When set, both periodic updates and updates triggered by capacity-related failures are enabled. If not set, no updates occur (neither periodic nor upon detecting capacity-related failures), and the allocatable.count remains static. The minimum allowed value for this field is 10 seconds. This is a beta feature and requires the MutableCSINodeAllocatableCount feature gate to be enabled. This field is mutable.") public Long getNodeAllocatableUpdatePeriodSeconds() { return nodeAllocatableUpdatePeriodSeconds; } @@ -467,3 +468,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSINode.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSINode.java index 72291896c0..ce0600d0b3 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSINode.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSINode.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object. */ @ApiModel(description = "CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1CSINode implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -309,3 +310,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSINodeDriver.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSINodeDriver.java index 396822bd2c..1e9d5b546e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSINodeDriver.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSINodeDriver.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * CSINodeDriver holds information about the specification of one CSI driver installed on a node */ @ApiModel(description = "CSINodeDriver holds information about the specification of one CSI driver installed on a node") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1CSINodeDriver { public static final String SERIALIZED_NAME_ALLOCATABLE = "allocatable"; @SerializedName(SERIALIZED_NAME_ALLOCATABLE) @@ -321,3 +322,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSINodeList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSINodeList.java index 2c8bc17640..1316f8fe77 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSINodeList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSINodeList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * CSINodeList is a collection of CSINode objects. */ @ApiModel(description = "CSINodeList is a collection of CSINode objects.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1CSINodeList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSINodeSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSINodeSpec.java index 450dc473db..708f7e416d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSINodeSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSINodeSpec.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * CSINodeSpec holds information about the specification of all CSI drivers installed on a node */ @ApiModel(description = "CSINodeSpec holds information about the specification of all CSI drivers installed on a node") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1CSINodeSpec { public static final String SERIALIZED_NAME_DRIVERS = "drivers"; @SerializedName(SERIALIZED_NAME_DRIVERS) @@ -232,3 +233,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIPersistentVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIPersistentVolumeSource.java index b10d6921dd..d1b0404913 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIPersistentVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIPersistentVolumeSource.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * Represents storage that is managed by an external CSI volume driver */ @ApiModel(description = "Represents storage that is managed by an external CSI volume driver") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1CSIPersistentVolumeSource { public static final String SERIALIZED_NAME_CONTROLLER_EXPAND_SECRET_REF = "controllerExpandSecretRef"; @SerializedName(SERIALIZED_NAME_CONTROLLER_EXPAND_SECRET_REF) @@ -504,3 +505,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIStorageCapacity.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIStorageCapacity.java index 1e15019c96..cb3ea3dccf 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIStorageCapacity.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIStorageCapacity.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * CSIStorageCapacity stores the result of one CSI GetCapacity call. For a given StorageClass, this describes the available capacity in a particular topology segment. This can be used when considering where to instantiate new PersistentVolumes. For example this can express things like: - StorageClass \"standard\" has \"1234 GiB\" available in \"topology.kubernetes.io/zone=us-east1\" - StorageClass \"localssd\" has \"10 GiB\" available in \"kubernetes.io/hostname=knode-abc123\" The following three cases all imply that no capacity is available for a certain combination: - no object exists with suitable topology and storage class name - such an object exists, but the capacity is unset - such an object exists, but the capacity is zero The producer of these objects can decide which approach is more suitable. They are consumed by the kube-scheduler when a CSI driver opts into capacity-aware scheduling with CSIDriverSpec.StorageCapacity. The scheduler compares the MaximumVolumeSize against the requested size of pending volumes to filter out unsuitable nodes. If MaximumVolumeSize is unset, it falls back to a comparison against the less precise Capacity. If that is also unset, the scheduler assumes that capacity is insufficient and tries some other node. */ @ApiModel(description = "CSIStorageCapacity stores the result of one CSI GetCapacity call. For a given StorageClass, this describes the available capacity in a particular topology segment. This can be used when considering where to instantiate new PersistentVolumes. For example this can express things like: - StorageClass \"standard\" has \"1234 GiB\" available in \"topology.kubernetes.io/zone=us-east1\" - StorageClass \"localssd\" has \"10 GiB\" available in \"kubernetes.io/hostname=knode-abc123\" The following three cases all imply that no capacity is available for a certain combination: - no object exists with suitable topology and storage class name - such an object exists, but the capacity is unset - such an object exists, but the capacity is zero The producer of these objects can decide which approach is more suitable. They are consumed by the kube-scheduler when a CSI driver opts into capacity-aware scheduling with CSIDriverSpec.StorageCapacity. The scheduler compares the MaximumVolumeSize against the requested size of pending volumes to filter out unsuitable nodes. If MaximumVolumeSize is unset, it falls back to a comparison against the less precise Capacity. If that is also unset, the scheduler assumes that capacity is insufficient and tries some other node.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1CSIStorageCapacity implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -405,3 +406,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIStorageCapacityList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIStorageCapacityList.java index 2d4dac5764..8d1ed76072 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIStorageCapacityList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIStorageCapacityList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * CSIStorageCapacityList is a collection of CSIStorageCapacity objects. */ @ApiModel(description = "CSIStorageCapacityList is a collection of CSIStorageCapacity objects.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1CSIStorageCapacityList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIVolumeSource.java index b31fb58829..5f823c3615 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CSIVolumeSource.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * Represents a source location of a volume to mount, managed by an external CSI driver */ @ApiModel(description = "Represents a source location of a volume to mount, managed by an external CSI driver") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1CSIVolumeSource { public static final String SERIALIZED_NAME_DRIVER = "driver"; @SerializedName(SERIALIZED_NAME_DRIVER) @@ -344,3 +345,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Capabilities.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Capabilities.java index b061dd78b5..95b538bce4 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Capabilities.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Capabilities.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * Adds and removes POSIX capabilities from running containers. */ @ApiModel(description = "Adds and removes POSIX capabilities from running containers.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1Capabilities { public static final String SERIALIZED_NAME_ADD = "add"; @SerializedName(SERIALIZED_NAME_ADD) @@ -257,3 +258,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CapacityRequestPolicy.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CapacityRequestPolicy.java new file mode 100644 index 0000000000..fa6dba4fe0 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CapacityRequestPolicy.java @@ -0,0 +1,286 @@ +/* + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package io.kubernetes.client.openapi.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.custom.Quantity; +import io.kubernetes.client.openapi.models.V1CapacityRequestPolicyRange; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import io.kubernetes.client.openapi.JSON; + +/** + * CapacityRequestPolicy defines how requests consume device capacity. Must not set more than one ValidRequestValues. + */ +@ApiModel(description = "CapacityRequestPolicy defines how requests consume device capacity. Must not set more than one ValidRequestValues.") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1CapacityRequestPolicy { + public static final String SERIALIZED_NAME_DEFAULT = "default"; + @SerializedName(SERIALIZED_NAME_DEFAULT) + @jakarta.annotation.Nullable + private Quantity _default; + + public static final String SERIALIZED_NAME_VALID_RANGE = "validRange"; + @SerializedName(SERIALIZED_NAME_VALID_RANGE) + @jakarta.annotation.Nullable + private V1CapacityRequestPolicyRange validRange; + + public static final String SERIALIZED_NAME_VALID_VALUES = "validValues"; + @SerializedName(SERIALIZED_NAME_VALID_VALUES) + @jakarta.annotation.Nullable + private List validValues = new ArrayList<>(); + + public V1CapacityRequestPolicy() { + } + + public V1CapacityRequestPolicy _default(@jakarta.annotation.Nullable Quantity _default) { + this._default = _default; + return this; + } + + /** + * Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. The serialization format is: ``` <quantity> ::= <signedNumber><suffix> (Note that <suffix> may be empty, from the \"\" case in <decimalSI>.) <digit> ::= 0 | 1 | ... | 9 <digits> ::= <digit> | <digit><digits> <number> ::= <digits> | <digits>.<digits> | <digits>. | .<digits> <sign> ::= \"+\" | \"-\" <signedNumber> ::= <number> | <sign><number> <suffix> ::= <binarySI> | <decimalExponent> | <decimalSI> <binarySI> ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) <decimalSI> ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) <decimalExponent> ::= \"e\" <signedNumber> | \"E\" <signedNumber> ``` No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: - No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: - 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation. + * @return _default + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. The serialization format is: ``` ::= (Note that may be empty, from the \"\" case in .) ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) ::= \"e\" | \"E\" ``` No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: - No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: - 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.") + public Quantity getDefault() { + return _default; + } + + public void setDefault(@jakarta.annotation.Nullable Quantity _default) { + this._default = _default; + } + + + public V1CapacityRequestPolicy validRange(@jakarta.annotation.Nullable V1CapacityRequestPolicyRange validRange) { + this.validRange = validRange; + return this; + } + + /** + * Get validRange + * @return validRange + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "") + public V1CapacityRequestPolicyRange getValidRange() { + return validRange; + } + + public void setValidRange(@jakarta.annotation.Nullable V1CapacityRequestPolicyRange validRange) { + this.validRange = validRange; + } + + + public V1CapacityRequestPolicy validValues(@jakarta.annotation.Nullable List validValues) { + this.validValues = validValues; + return this; + } + + public V1CapacityRequestPolicy addValidValuesItem(Quantity validValuesItem) { + if (this.validValues == null) { + this.validValues = new ArrayList<>(); + } + this.validValues.add(validValuesItem); + return this; + } + + /** + * ValidValues defines a set of acceptable quantity values in consuming requests. Must not contain more than 10 entries. Must be sorted in ascending order. If this field is set, Default must be defined and it must be included in ValidValues list. If the requested amount does not match any valid value but smaller than some valid values, the scheduler calculates the smallest valid value that is greater than or equal to the request. That is: min(ceil(requestedValue) ∈ validValues), where requestedValue ≤ max(validValues). If the requested amount exceeds all valid values, the request violates the policy, and this device cannot be allocated. + * @return validValues + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "ValidValues defines a set of acceptable quantity values in consuming requests. Must not contain more than 10 entries. Must be sorted in ascending order. If this field is set, Default must be defined and it must be included in ValidValues list. If the requested amount does not match any valid value but smaller than some valid values, the scheduler calculates the smallest valid value that is greater than or equal to the request. That is: min(ceil(requestedValue) ∈ validValues), where requestedValue ≤ max(validValues). If the requested amount exceeds all valid values, the request violates the policy, and this device cannot be allocated.") + public List getValidValues() { + return validValues; + } + + public void setValidValues(@jakarta.annotation.Nullable List validValues) { + this.validValues = validValues; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1CapacityRequestPolicy v1CapacityRequestPolicy = (V1CapacityRequestPolicy) o; + return Objects.equals(this._default, v1CapacityRequestPolicy._default) && + Objects.equals(this.validRange, v1CapacityRequestPolicy.validRange) && + Objects.equals(this.validValues, v1CapacityRequestPolicy.validValues); + } + + @Override + public int hashCode() { + return Objects.hash(_default, validRange, validValues); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1CapacityRequestPolicy {\n"); + sb.append(" _default: ").append(toIndentedString(_default)).append("\n"); + sb.append(" validRange: ").append(toIndentedString(validRange)).append("\n"); + sb.append(" validValues: ").append(toIndentedString(validValues)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("default"); + openapiFields.add("validRange"); + openapiFields.add("validValues"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to V1CapacityRequestPolicy + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!V1CapacityRequestPolicy.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1CapacityRequestPolicy is not found in the empty JSON string", V1CapacityRequestPolicy.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!V1CapacityRequestPolicy.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1CapacityRequestPolicy` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("default") != null && !jsonObj.get("default").isJsonNull()) && !jsonObj.get("default").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `default` to be a primitive type in the JSON string but got `%s`", jsonObj.get("default").toString())); + } + // validate the optional field `validRange` + if (jsonObj.get("validRange") != null && !jsonObj.get("validRange").isJsonNull()) { + V1CapacityRequestPolicyRange.validateJsonElement(jsonObj.get("validRange")); + } + // ensure the optional json data is an array if present + if (jsonObj.get("validValues") != null && !jsonObj.get("validValues").isJsonNull() && !jsonObj.get("validValues").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `validValues` to be an array in the JSON string but got `%s`", jsonObj.get("validValues").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!V1CapacityRequestPolicy.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1CapacityRequestPolicy' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1CapacityRequestPolicy.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, V1CapacityRequestPolicy value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public V1CapacityRequestPolicy read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of V1CapacityRequestPolicy given an JSON string + * + * @param jsonString JSON string + * @return An instance of V1CapacityRequestPolicy + * @throws IOException if the JSON string is invalid with respect to V1CapacityRequestPolicy + */ + public static V1CapacityRequestPolicy fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1CapacityRequestPolicy.class); + } + + /** + * Convert an instance of V1CapacityRequestPolicy to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CapacityRequestPolicyRange.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CapacityRequestPolicyRange.java new file mode 100644 index 0000000000..3169165542 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CapacityRequestPolicyRange.java @@ -0,0 +1,281 @@ +/* + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package io.kubernetes.client.openapi.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.custom.Quantity; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.Arrays; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import io.kubernetes.client.openapi.JSON; + +/** + * CapacityRequestPolicyRange defines a valid range for consumable capacity values. - If the requested amount is less than Min, it is rounded up to the Min value. - If Step is set and the requested amount is between Min and Max but not aligned with Step, it will be rounded up to the next value equal to Min + (n * Step). - If Step is not set, the requested amount is used as-is if it falls within the range Min to Max (if set). - If the requested or rounded amount exceeds Max (if set), the request does not satisfy the policy, and the device cannot be allocated. + */ +@ApiModel(description = "CapacityRequestPolicyRange defines a valid range for consumable capacity values. - If the requested amount is less than Min, it is rounded up to the Min value. - If Step is set and the requested amount is between Min and Max but not aligned with Step, it will be rounded up to the next value equal to Min + (n * Step). - If Step is not set, the requested amount is used as-is if it falls within the range Min to Max (if set). - If the requested or rounded amount exceeds Max (if set), the request does not satisfy the policy, and the device cannot be allocated.") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1CapacityRequestPolicyRange { + public static final String SERIALIZED_NAME_MAX = "max"; + @SerializedName(SERIALIZED_NAME_MAX) + @jakarta.annotation.Nullable + private Quantity max; + + public static final String SERIALIZED_NAME_MIN = "min"; + @SerializedName(SERIALIZED_NAME_MIN) + @jakarta.annotation.Nonnull + private Quantity min; + + public static final String SERIALIZED_NAME_STEP = "step"; + @SerializedName(SERIALIZED_NAME_STEP) + @jakarta.annotation.Nullable + private Quantity step; + + public V1CapacityRequestPolicyRange() { + } + + public V1CapacityRequestPolicyRange max(@jakarta.annotation.Nullable Quantity max) { + this.max = max; + return this; + } + + /** + * Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. The serialization format is: ``` <quantity> ::= <signedNumber><suffix> (Note that <suffix> may be empty, from the \"\" case in <decimalSI>.) <digit> ::= 0 | 1 | ... | 9 <digits> ::= <digit> | <digit><digits> <number> ::= <digits> | <digits>.<digits> | <digits>. | .<digits> <sign> ::= \"+\" | \"-\" <signedNumber> ::= <number> | <sign><number> <suffix> ::= <binarySI> | <decimalExponent> | <decimalSI> <binarySI> ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) <decimalSI> ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) <decimalExponent> ::= \"e\" <signedNumber> | \"E\" <signedNumber> ``` No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: - No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: - 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation. + * @return max + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. The serialization format is: ``` ::= (Note that may be empty, from the \"\" case in .) ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) ::= \"e\" | \"E\" ``` No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: - No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: - 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.") + public Quantity getMax() { + return max; + } + + public void setMax(@jakarta.annotation.Nullable Quantity max) { + this.max = max; + } + + + public V1CapacityRequestPolicyRange min(@jakarta.annotation.Nonnull Quantity min) { + this.min = min; + return this; + } + + /** + * Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. The serialization format is: ``` <quantity> ::= <signedNumber><suffix> (Note that <suffix> may be empty, from the \"\" case in <decimalSI>.) <digit> ::= 0 | 1 | ... | 9 <digits> ::= <digit> | <digit><digits> <number> ::= <digits> | <digits>.<digits> | <digits>. | .<digits> <sign> ::= \"+\" | \"-\" <signedNumber> ::= <number> | <sign><number> <suffix> ::= <binarySI> | <decimalExponent> | <decimalSI> <binarySI> ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) <decimalSI> ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) <decimalExponent> ::= \"e\" <signedNumber> | \"E\" <signedNumber> ``` No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: - No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: - 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation. + * @return min + */ + @jakarta.annotation.Nonnull + @ApiModelProperty(required = true, value = "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. The serialization format is: ``` ::= (Note that may be empty, from the \"\" case in .) ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) ::= \"e\" | \"E\" ``` No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: - No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: - 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.") + public Quantity getMin() { + return min; + } + + public void setMin(@jakarta.annotation.Nonnull Quantity min) { + this.min = min; + } + + + public V1CapacityRequestPolicyRange step(@jakarta.annotation.Nullable Quantity step) { + this.step = step; + return this; + } + + /** + * Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. The serialization format is: ``` <quantity> ::= <signedNumber><suffix> (Note that <suffix> may be empty, from the \"\" case in <decimalSI>.) <digit> ::= 0 | 1 | ... | 9 <digits> ::= <digit> | <digit><digits> <number> ::= <digits> | <digits>.<digits> | <digits>. | .<digits> <sign> ::= \"+\" | \"-\" <signedNumber> ::= <number> | <sign><number> <suffix> ::= <binarySI> | <decimalExponent> | <decimalSI> <binarySI> ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) <decimalSI> ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) <decimalExponent> ::= \"e\" <signedNumber> | \"E\" <signedNumber> ``` No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: - No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: - 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation. + * @return step + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. The serialization format is: ``` ::= (Note that may be empty, from the \"\" case in .) ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) ::= \"e\" | \"E\" ``` No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: - No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: - 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.") + public Quantity getStep() { + return step; + } + + public void setStep(@jakarta.annotation.Nullable Quantity step) { + this.step = step; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1CapacityRequestPolicyRange v1CapacityRequestPolicyRange = (V1CapacityRequestPolicyRange) o; + return Objects.equals(this.max, v1CapacityRequestPolicyRange.max) && + Objects.equals(this.min, v1CapacityRequestPolicyRange.min) && + Objects.equals(this.step, v1CapacityRequestPolicyRange.step); + } + + @Override + public int hashCode() { + return Objects.hash(max, min, step); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1CapacityRequestPolicyRange {\n"); + sb.append(" max: ").append(toIndentedString(max)).append("\n"); + sb.append(" min: ").append(toIndentedString(min)).append("\n"); + sb.append(" step: ").append(toIndentedString(step)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("max"); + openapiFields.add("min"); + openapiFields.add("step"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("min"); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to V1CapacityRequestPolicyRange + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!V1CapacityRequestPolicyRange.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1CapacityRequestPolicyRange is not found in the empty JSON string", V1CapacityRequestPolicyRange.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!V1CapacityRequestPolicyRange.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1CapacityRequestPolicyRange` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : V1CapacityRequestPolicyRange.openapiRequiredFields) { + if (jsonElement.getAsJsonObject().get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("max") != null && !jsonObj.get("max").isJsonNull()) && !jsonObj.get("max").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `max` to be a primitive type in the JSON string but got `%s`", jsonObj.get("max").toString())); + } + if (!jsonObj.get("min").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `min` to be a primitive type in the JSON string but got `%s`", jsonObj.get("min").toString())); + } + if ((jsonObj.get("step") != null && !jsonObj.get("step").isJsonNull()) && !jsonObj.get("step").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `step` to be a primitive type in the JSON string but got `%s`", jsonObj.get("step").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!V1CapacityRequestPolicyRange.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1CapacityRequestPolicyRange' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1CapacityRequestPolicyRange.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, V1CapacityRequestPolicyRange value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public V1CapacityRequestPolicyRange read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of V1CapacityRequestPolicyRange given an JSON string + * + * @param jsonString JSON string + * @return An instance of V1CapacityRequestPolicyRange + * @throws IOException if the JSON string is invalid with respect to V1CapacityRequestPolicyRange + */ + public static V1CapacityRequestPolicyRange fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1CapacityRequestPolicyRange.class); + } + + /** + * Convert an instance of V1CapacityRequestPolicyRange to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CapacityRequirements.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CapacityRequirements.java new file mode 100644 index 0000000000..4f2e414c79 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CapacityRequirements.java @@ -0,0 +1,218 @@ +/* + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package io.kubernetes.client.openapi.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.custom.Quantity; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import io.kubernetes.client.openapi.JSON; + +/** + * CapacityRequirements defines the capacity requirements for a specific device request. + */ +@ApiModel(description = "CapacityRequirements defines the capacity requirements for a specific device request.") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1CapacityRequirements { + public static final String SERIALIZED_NAME_REQUESTS = "requests"; + @SerializedName(SERIALIZED_NAME_REQUESTS) + @jakarta.annotation.Nullable + private Map requests = new HashMap<>(); + + public V1CapacityRequirements() { + } + + public V1CapacityRequirements requests(@jakarta.annotation.Nullable Map requests) { + this.requests = requests; + return this; + } + + public V1CapacityRequirements putRequestsItem(String key, Quantity requestsItem) { + if (this.requests == null) { + this.requests = new HashMap<>(); + } + this.requests.put(key, requestsItem); + return this; + } + + /** + * Requests represent individual device resource requests for distinct resources, all of which must be provided by the device. This value is used as an additional filtering condition against the available capacity on the device. This is semantically equivalent to a CEL selector with `device.capacity[<domain>].<name>.compareTo(quantity(<request quantity>)) >= 0`. For example, device.capacity['test-driver.cdi.k8s.io'].counters.compareTo(quantity('2')) >= 0. When a requestPolicy is defined, the requested amount is adjusted upward to the nearest valid value based on the policy. If the requested amount cannot be adjusted to a valid value—because it exceeds what the requestPolicy allows— the device is considered ineligible for allocation. For any capacity that is not explicitly requested: - If no requestPolicy is set, the default consumed capacity is equal to the full device capacity (i.e., the whole device is claimed). - If a requestPolicy is set, the default consumed capacity is determined according to that policy. If the device allows multiple allocation, 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. + * @return requests + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "Requests represent individual device resource requests for distinct resources, all of which must be provided by the device. This value is used as an additional filtering condition against the available capacity on the device. This is semantically equivalent to a CEL selector with `device.capacity[]..compareTo(quantity()) >= 0`. For example, device.capacity['test-driver.cdi.k8s.io'].counters.compareTo(quantity('2')) >= 0. When a requestPolicy is defined, the requested amount is adjusted upward to the nearest valid value based on the policy. If the requested amount cannot be adjusted to a valid value—because it exceeds what the requestPolicy allows— the device is considered ineligible for allocation. For any capacity that is not explicitly requested: - If no requestPolicy is set, the default consumed capacity is equal to the full device capacity (i.e., the whole device is claimed). - If a requestPolicy is set, the default consumed capacity is determined according to that policy. If the device allows multiple allocation, 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.") + public Map getRequests() { + return requests; + } + + public void setRequests(@jakarta.annotation.Nullable Map requests) { + this.requests = requests; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1CapacityRequirements v1CapacityRequirements = (V1CapacityRequirements) o; + return Objects.equals(this.requests, v1CapacityRequirements.requests); + } + + @Override + public int hashCode() { + return Objects.hash(requests); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1CapacityRequirements {\n"); + sb.append(" requests: ").append(toIndentedString(requests)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("requests"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to V1CapacityRequirements + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!V1CapacityRequirements.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1CapacityRequirements is not found in the empty JSON string", V1CapacityRequirements.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!V1CapacityRequirements.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1CapacityRequirements` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!V1CapacityRequirements.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1CapacityRequirements' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1CapacityRequirements.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, V1CapacityRequirements value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public V1CapacityRequirements read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of V1CapacityRequirements given an JSON string + * + * @param jsonString JSON string + * @return An instance of V1CapacityRequirements + * @throws IOException if the JSON string is invalid with respect to V1CapacityRequirements + */ + public static V1CapacityRequirements fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1CapacityRequirements.class); + } + + /** + * Convert an instance of V1CapacityRequirements to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CephFSPersistentVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CephFSPersistentVolumeSource.java index a3e8dd69e7..c66a58c680 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CephFSPersistentVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CephFSPersistentVolumeSource.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling. */ @ApiModel(description = "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1CephFSPersistentVolumeSource { public static final String SERIALIZED_NAME_MONITORS = "monitors"; @SerializedName(SERIALIZED_NAME_MONITORS) @@ -381,3 +382,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CephFSVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CephFSVolumeSource.java index 6522561c31..d2b0e0937f 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CephFSVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CephFSVolumeSource.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling. */ @ApiModel(description = "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1CephFSVolumeSource { public static final String SERIALIZED_NAME_MONITORS = "monitors"; @SerializedName(SERIALIZED_NAME_MONITORS) @@ -381,3 +382,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CertificateSigningRequest.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CertificateSigningRequest.java index 8da7b6d1fe..964937ea26 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CertificateSigningRequest.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CertificateSigningRequest.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * CertificateSigningRequest objects provide a mechanism to obtain x509 certificates by submitting a certificate signing request, and having it asynchronously approved and issued. Kubelets use this API to obtain: 1. client certificates to authenticate to kube-apiserver (with the \"kubernetes.io/kube-apiserver-client-kubelet\" signerName). 2. serving certificates for TLS endpoints kube-apiserver can connect to securely (with the \"kubernetes.io/kubelet-serving\" signerName). This API can be used to request client certificates to authenticate to kube-apiserver (with the \"kubernetes.io/kube-apiserver-client\" signerName), or to obtain certificates from custom non-Kubernetes signers. */ @ApiModel(description = "CertificateSigningRequest objects provide a mechanism to obtain x509 certificates by submitting a certificate signing request, and having it asynchronously approved and issued. Kubelets use this API to obtain: 1. client certificates to authenticate to kube-apiserver (with the \"kubernetes.io/kube-apiserver-client-kubelet\" signerName). 2. serving certificates for TLS endpoints kube-apiserver can connect to securely (with the \"kubernetes.io/kubelet-serving\" signerName). This API can be used to request client certificates to authenticate to kube-apiserver (with the \"kubernetes.io/kube-apiserver-client\" signerName), or to obtain certificates from custom non-Kubernetes signers.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1CertificateSigningRequest implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -342,3 +343,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CertificateSigningRequestCondition.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CertificateSigningRequestCondition.java index d61ab9e751..c39438a1f8 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CertificateSigningRequestCondition.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CertificateSigningRequestCondition.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * CertificateSigningRequestCondition describes a condition of a CertificateSigningRequest object */ @ApiModel(description = "CertificateSigningRequestCondition describes a condition of a CertificateSigningRequest object") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1CertificateSigningRequestCondition { public static final String SERIALIZED_NAME_LAST_TRANSITION_TIME = "lastTransitionTime"; @SerializedName(SERIALIZED_NAME_LAST_TRANSITION_TIME) @@ -365,3 +366,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CertificateSigningRequestList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CertificateSigningRequestList.java index d10a7b1542..2b0efaed5c 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CertificateSigningRequestList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CertificateSigningRequestList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * CertificateSigningRequestList is a collection of CertificateSigningRequest objects */ @ApiModel(description = "CertificateSigningRequestList is a collection of CertificateSigningRequest objects") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1CertificateSigningRequestList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CertificateSigningRequestSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CertificateSigningRequestSpec.java index 37e3a6b258..0dc41d0858 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CertificateSigningRequestSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CertificateSigningRequestSpec.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * CertificateSigningRequestSpec contains the certificate request. */ @ApiModel(description = "CertificateSigningRequestSpec contains the certificate request.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1CertificateSigningRequestSpec { public static final String SERIALIZED_NAME_EXPIRATION_SECONDS = "expirationSeconds"; @SerializedName(SERIALIZED_NAME_EXPIRATION_SECONDS) @@ -453,3 +454,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CertificateSigningRequestStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CertificateSigningRequestStatus.java index b2f1e6f4b9..0898359c9c 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CertificateSigningRequestStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CertificateSigningRequestStatus.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * CertificateSigningRequestStatus contains conditions used to indicate approved/denied/failed status of the request, and the issued certificate. */ @ApiModel(description = "CertificateSigningRequestStatus contains conditions used to indicate approved/denied/failed status of the request, and the issued certificate.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1CertificateSigningRequestStatus { public static final String SERIALIZED_NAME_CERTIFICATE = "certificate"; @SerializedName(SERIALIZED_NAME_CERTIFICATE) @@ -256,3 +257,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CinderPersistentVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CinderPersistentVolumeSource.java index c280dcb05b..e45e50dfa2 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CinderPersistentVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CinderPersistentVolumeSource.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling. */ @ApiModel(description = "Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1CinderPersistentVolumeSource { public static final String SERIALIZED_NAME_FS_TYPE = "fsType"; @SerializedName(SERIALIZED_NAME_FS_TYPE) @@ -306,3 +307,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CinderVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CinderVolumeSource.java index f232cc34cc..87bc988da1 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CinderVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CinderVolumeSource.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling. */ @ApiModel(description = "Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1CinderVolumeSource { public static final String SERIALIZED_NAME_FS_TYPE = "fsType"; @SerializedName(SERIALIZED_NAME_FS_TYPE) @@ -306,3 +307,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClientIPConfig.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClientIPConfig.java index 03ec14ef72..c7c6ff0762 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClientIPConfig.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClientIPConfig.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * ClientIPConfig represents the configurations of Client IP based session affinity. */ @ApiModel(description = "ClientIPConfig represents the configurations of Client IP based session affinity.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ClientIPConfig { public static final String SERIALIZED_NAME_TIMEOUT_SECONDS = "timeoutSeconds"; @SerializedName(SERIALIZED_NAME_TIMEOUT_SECONDS) @@ -203,3 +204,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClusterRole.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClusterRole.java index 48cd7fdfd8..451e44b151 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClusterRole.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClusterRole.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -55,7 +56,7 @@ * ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. */ @ApiModel(description = "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ClusterRole implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_AGGREGATION_RULE = "aggregationRule"; @SerializedName(SERIALIZED_NAME_AGGREGATION_RULE) @@ -356,3 +357,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClusterRoleBinding.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClusterRoleBinding.java index 3002a28821..ffd51f8a73 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClusterRoleBinding.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClusterRoleBinding.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -55,7 +56,7 @@ * ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject. */ @ApiModel(description = "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ClusterRoleBinding implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -362,3 +363,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClusterRoleBindingList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClusterRoleBindingList.java index 6368a0490b..04fc5bdf61 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClusterRoleBindingList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClusterRoleBindingList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * ClusterRoleBindingList is a collection of ClusterRoleBindings */ @ApiModel(description = "ClusterRoleBindingList is a collection of ClusterRoleBindings") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ClusterRoleBindingList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClusterRoleList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClusterRoleList.java index d69cdb5309..0f7e0a4a49 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClusterRoleList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClusterRoleList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * ClusterRoleList is a collection of ClusterRoles */ @ApiModel(description = "ClusterRoleList is a collection of ClusterRoles") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ClusterRoleList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClusterTrustBundleProjection.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClusterTrustBundleProjection.java index 88822df6fb..fb5f9e0abe 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClusterTrustBundleProjection.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ClusterTrustBundleProjection.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * ClusterTrustBundleProjection describes how to select a set of ClusterTrustBundle objects and project their contents into the pod filesystem. */ @ApiModel(description = "ClusterTrustBundleProjection describes how to select a set of ClusterTrustBundle objects and project their contents into the pod filesystem.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ClusterTrustBundleProjection { public static final String SERIALIZED_NAME_LABEL_SELECTOR = "labelSelector"; @SerializedName(SERIALIZED_NAME_LABEL_SELECTOR) @@ -337,3 +338,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ComponentCondition.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ComponentCondition.java index 0f1a2f6c4a..36dbcabc35 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ComponentCondition.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ComponentCondition.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * Information about the condition of a component. */ @ApiModel(description = "Information about the condition of a component.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ComponentCondition { public static final String SERIALIZED_NAME_ERROR = "error"; @SerializedName(SERIALIZED_NAME_ERROR) @@ -308,3 +309,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ComponentStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ComponentStatus.java index 92c76f9c03..95471c9f3f 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ComponentStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ComponentStatus.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * ComponentStatus (and ComponentStatusList) holds the cluster validation info. Deprecated: This API is deprecated in v1.19+ */ @ApiModel(description = "ComponentStatus (and ComponentStatusList) holds the cluster validation info. Deprecated: This API is deprecated in v1.19+") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ComponentStatus implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -323,3 +324,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ComponentStatusList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ComponentStatusList.java index d2180679a9..0d06b27231 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ComponentStatusList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ComponentStatusList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * Status of all the conditions for the component as a list of ComponentStatus objects. Deprecated: This API is deprecated in v1.19+ */ @ApiModel(description = "Status of all the conditions for the component as a list of ComponentStatus objects. Deprecated: This API is deprecated in v1.19+") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ComponentStatusList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Condition.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Condition.java index 81ec6aa090..b9d414ad51 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Condition.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Condition.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * Condition contains details for one aspect of the current state of this API Resource. */ @ApiModel(description = "Condition contains details for one aspect of the current state of this API Resource.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1Condition { public static final String SERIALIZED_NAME_LAST_TRANSITION_TIME = "lastTransitionTime"; @SerializedName(SERIALIZED_NAME_LAST_TRANSITION_TIME) @@ -368,3 +369,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMap.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMap.java index f5f9d64c34..78a80a385c 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMap.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMap.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * ConfigMap holds configuration data for pods to consume. */ @ApiModel(description = "ConfigMap holds configuration data for pods to consume.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ConfigMap implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -372,3 +373,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapEnvSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapEnvSource.java index 3a9ff8add8..24e863ae27 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapEnvSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapEnvSource.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * ConfigMapEnvSource selects a ConfigMap to populate the environment variables with. The contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables. */ @ApiModel(description = "ConfigMapEnvSource selects a ConfigMap to populate the environment variables with. The contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ConfigMapEnvSource { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -234,3 +235,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapKeySelector.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapKeySelector.java index a4931861c4..7e47716b51 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapKeySelector.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapKeySelector.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * Selects a key from a ConfigMap. */ @ApiModel(description = "Selects a key from a ConfigMap.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ConfigMapKeySelector { public static final String SERIALIZED_NAME_KEY = "key"; @SerializedName(SERIALIZED_NAME_KEY) @@ -273,3 +274,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapList.java index daafd93a9a..aa0349ff9c 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * ConfigMapList is a resource containing a list of ConfigMap objects. */ @ApiModel(description = "ConfigMapList is a resource containing a list of ConfigMap objects.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ConfigMapList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapNodeConfigSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapNodeConfigSource.java index 32497acc7b..41dc5af7c4 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapNodeConfigSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapNodeConfigSource.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * ConfigMapNodeConfigSource contains the information to reference a ConfigMap as a config source for the Node. This API is deprecated since 1.22: https://git.k8s.io/enhancements/keps/sig-node/281-dynamic-kubelet-configuration */ @ApiModel(description = "ConfigMapNodeConfigSource contains the information to reference a ConfigMap as a config source for the Node. This API is deprecated since 1.22: https://git.k8s.io/enhancements/keps/sig-node/281-dynamic-kubelet-configuration") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ConfigMapNodeConfigSource { public static final String SERIALIZED_NAME_KUBELET_CONFIG_KEY = "kubeletConfigKey"; @SerializedName(SERIALIZED_NAME_KUBELET_CONFIG_KEY) @@ -340,3 +341,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapProjection.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapProjection.java index 24a8e9ee17..5e44883a0e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapProjection.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapProjection.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * Adapts a ConfigMap into a projected volume. The contents of the target ConfigMap's Data field will be presented in a projected volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. Note that this is identical to a configmap volume source without the default mode. */ @ApiModel(description = "Adapts a ConfigMap into a projected volume. The contents of the target ConfigMap's Data field will be presented in a projected volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. Note that this is identical to a configmap volume source without the default mode.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ConfigMapProjection { public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) @@ -287,3 +288,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapVolumeSource.java index 1966486ab2..eec4403ac3 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapVolumeSource.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * Adapts a ConfigMap into a volume. The contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling. */ @ApiModel(description = "Adapts a ConfigMap into a volume. The contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ConfigMapVolumeSource { public static final String SERIALIZED_NAME_DEFAULT_MODE = "defaultMode"; @SerializedName(SERIALIZED_NAME_DEFAULT_MODE) @@ -315,3 +316,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Container.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Container.java index b0d4564cc3..2457596e4e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Container.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Container.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -20,6 +21,7 @@ import com.google.gson.stream.JsonWriter; import io.kubernetes.client.openapi.models.V1ContainerPort; import io.kubernetes.client.openapi.models.V1ContainerResizePolicy; +import io.kubernetes.client.openapi.models.V1ContainerRestartRule; import io.kubernetes.client.openapi.models.V1EnvFromSource; import io.kubernetes.client.openapi.models.V1EnvVar; import io.kubernetes.client.openapi.models.V1Lifecycle; @@ -62,7 +64,7 @@ * A single application container that you want to run within a pod. */ @ApiModel(description = "A single application container that you want to run within a pod.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1Container { public static final String SERIALIZED_NAME_ARGS = "args"; @SerializedName(SERIALIZED_NAME_ARGS) @@ -134,6 +136,11 @@ public class V1Container { @jakarta.annotation.Nullable private String restartPolicy; + public static final String SERIALIZED_NAME_RESTART_POLICY_RULES = "restartPolicyRules"; + @SerializedName(SERIALIZED_NAME_RESTART_POLICY_RULES) + @jakarta.annotation.Nullable + private List restartPolicyRules = new ArrayList<>(); + public static final String SERIALIZED_NAME_SECURITY_CONTEXT = "securityContext"; @SerializedName(SERIALIZED_NAME_SECURITY_CONTEXT) @jakarta.annotation.Nullable @@ -285,11 +292,11 @@ public V1Container addEnvFromItem(V1EnvFromSource envFromItem) { } /** - * List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. + * List of sources to populate environment variables in the container. The keys defined within a source may consist of any printable ASCII characters except '='. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. * @return envFrom */ @jakarta.annotation.Nullable - @ApiModelProperty(value = "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.") + @ApiModelProperty(value = "List of sources to populate environment variables in the container. The keys defined within a source may consist of any printable ASCII characters except '='. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.") public List getEnvFrom() { return envFrom; } @@ -501,11 +508,11 @@ public V1Container restartPolicy(@jakarta.annotation.Nullable String restartPoli } /** - * RestartPolicy defines the restart behavior of individual containers in a pod. This field may only be set for init containers, and the only allowed value is \"Always\". For non-init containers or when this field is not specified, the restart behavior is defined by the Pod's restart policy and the container type. Setting the RestartPolicy as \"Always\" for the init container will have the following effect: this init container will be continually restarted on exit until all regular containers have terminated. Once all regular containers have completed, all init containers with restartPolicy \"Always\" will be shut down. This lifecycle differs from normal init containers and is often referred to as a \"sidecar\" container. Although this init container still starts in the init container sequence, it does not wait for the container to complete before proceeding to the next init container. Instead, the next init container starts immediately after this init container is started, or after any startupProbe has successfully completed. + * RestartPolicy defines the restart behavior of individual containers in a pod. This overrides the pod-level restart policy. When this field is not specified, the restart behavior is defined by the Pod's restart policy and the container type. Additionally, setting the RestartPolicy as \"Always\" for the init container will have the following effect: this init container will be continually restarted on exit until all regular containers have terminated. Once all regular containers have completed, all init containers with restartPolicy \"Always\" will be shut down. This lifecycle differs from normal init containers and is often referred to as a \"sidecar\" container. Although this init container still starts in the init container sequence, it does not wait for the container to complete before proceeding to the next init container. Instead, the next init container starts immediately after this init container is started, or after any startupProbe has successfully completed. * @return restartPolicy */ @jakarta.annotation.Nullable - @ApiModelProperty(value = "RestartPolicy defines the restart behavior of individual containers in a pod. This field may only be set for init containers, and the only allowed value is \"Always\". For non-init containers or when this field is not specified, the restart behavior is defined by the Pod's restart policy and the container type. Setting the RestartPolicy as \"Always\" for the init container will have the following effect: this init container will be continually restarted on exit until all regular containers have terminated. Once all regular containers have completed, all init containers with restartPolicy \"Always\" will be shut down. This lifecycle differs from normal init containers and is often referred to as a \"sidecar\" container. Although this init container still starts in the init container sequence, it does not wait for the container to complete before proceeding to the next init container. Instead, the next init container starts immediately after this init container is started, or after any startupProbe has successfully completed.") + @ApiModelProperty(value = "RestartPolicy defines the restart behavior of individual containers in a pod. This overrides the pod-level restart policy. When this field is not specified, the restart behavior is defined by the Pod's restart policy and the container type. Additionally, setting the RestartPolicy as \"Always\" for the init container will have the following effect: this init container will be continually restarted on exit until all regular containers have terminated. Once all regular containers have completed, all init containers with restartPolicy \"Always\" will be shut down. This lifecycle differs from normal init containers and is often referred to as a \"sidecar\" container. Although this init container still starts in the init container sequence, it does not wait for the container to complete before proceeding to the next init container. Instead, the next init container starts immediately after this init container is started, or after any startupProbe has successfully completed.") public String getRestartPolicy() { return restartPolicy; } @@ -515,6 +522,34 @@ public void setRestartPolicy(@jakarta.annotation.Nullable String restartPolicy) } + public V1Container restartPolicyRules(@jakarta.annotation.Nullable List restartPolicyRules) { + this.restartPolicyRules = restartPolicyRules; + return this; + } + + public V1Container addRestartPolicyRulesItem(V1ContainerRestartRule restartPolicyRulesItem) { + if (this.restartPolicyRules == null) { + this.restartPolicyRules = new ArrayList<>(); + } + this.restartPolicyRules.add(restartPolicyRulesItem); + return this; + } + + /** + * Represents a list of rules to be checked to determine if the container should be restarted on exit. The rules are evaluated in order. Once a rule matches a container exit condition, the remaining rules are ignored. If no rule matches the container exit condition, the Container-level restart policy determines the whether the container is restarted or not. Constraints on the rules: - At most 20 rules are allowed. - Rules can have the same action. - Identical rules are not forbidden in validations. When rules are specified, container MUST set RestartPolicy explicitly even it if matches the Pod's RestartPolicy. + * @return restartPolicyRules + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "Represents a list of rules to be checked to determine if the container should be restarted on exit. The rules are evaluated in order. Once a rule matches a container exit condition, the remaining rules are ignored. If no rule matches the container exit condition, the Container-level restart policy determines the whether the container is restarted or not. Constraints on the rules: - At most 20 rules are allowed. - Rules can have the same action. - Identical rules are not forbidden in validations. When rules are specified, container MUST set RestartPolicy explicitly even it if matches the Pod's RestartPolicy.") + public List getRestartPolicyRules() { + return restartPolicyRules; + } + + public void setRestartPolicyRules(@jakarta.annotation.Nullable List restartPolicyRules) { + this.restartPolicyRules = restartPolicyRules; + } + + public V1Container securityContext(@jakarta.annotation.Nullable V1SecurityContext securityContext) { this.securityContext = securityContext; return this; @@ -755,6 +790,7 @@ public boolean equals(Object o) { Objects.equals(this.resizePolicy, v1Container.resizePolicy) && Objects.equals(this.resources, v1Container.resources) && Objects.equals(this.restartPolicy, v1Container.restartPolicy) && + Objects.equals(this.restartPolicyRules, v1Container.restartPolicyRules) && Objects.equals(this.securityContext, v1Container.securityContext) && Objects.equals(this.startupProbe, v1Container.startupProbe) && Objects.equals(this.stdin, v1Container.stdin) && @@ -769,7 +805,7 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(args, command, env, envFrom, image, imagePullPolicy, lifecycle, livenessProbe, name, ports, readinessProbe, resizePolicy, resources, restartPolicy, securityContext, startupProbe, stdin, stdinOnce, terminationMessagePath, terminationMessagePolicy, tty, volumeDevices, volumeMounts, workingDir); + return Objects.hash(args, command, env, envFrom, image, imagePullPolicy, lifecycle, livenessProbe, name, ports, readinessProbe, resizePolicy, resources, restartPolicy, restartPolicyRules, securityContext, startupProbe, stdin, stdinOnce, terminationMessagePath, terminationMessagePolicy, tty, volumeDevices, volumeMounts, workingDir); } @Override @@ -790,6 +826,7 @@ public String toString() { sb.append(" resizePolicy: ").append(toIndentedString(resizePolicy)).append("\n"); sb.append(" resources: ").append(toIndentedString(resources)).append("\n"); sb.append(" restartPolicy: ").append(toIndentedString(restartPolicy)).append("\n"); + sb.append(" restartPolicyRules: ").append(toIndentedString(restartPolicyRules)).append("\n"); sb.append(" securityContext: ").append(toIndentedString(securityContext)).append("\n"); sb.append(" startupProbe: ").append(toIndentedString(startupProbe)).append("\n"); sb.append(" stdin: ").append(toIndentedString(stdin)).append("\n"); @@ -836,6 +873,7 @@ private String toIndentedString(Object o) { openapiFields.add("resizePolicy"); openapiFields.add("resources"); openapiFields.add("restartPolicy"); + openapiFields.add("restartPolicyRules"); openapiFields.add("securityContext"); openapiFields.add("startupProbe"); openapiFields.add("stdin"); @@ -972,6 +1010,20 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if ((jsonObj.get("restartPolicy") != null && !jsonObj.get("restartPolicy").isJsonNull()) && !jsonObj.get("restartPolicy").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `restartPolicy` to be a primitive type in the JSON string but got `%s`", jsonObj.get("restartPolicy").toString())); } + if (jsonObj.get("restartPolicyRules") != null && !jsonObj.get("restartPolicyRules").isJsonNull()) { + JsonArray jsonArrayrestartPolicyRules = jsonObj.getAsJsonArray("restartPolicyRules"); + if (jsonArrayrestartPolicyRules != null) { + // ensure the json data is an array + if (!jsonObj.get("restartPolicyRules").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `restartPolicyRules` to be an array in the JSON string but got `%s`", jsonObj.get("restartPolicyRules").toString())); + } + + // validate the optional field `restartPolicyRules` (array) + for (int i = 0; i < jsonArrayrestartPolicyRules.size(); i++) { + V1ContainerRestartRule.validateJsonElement(jsonArrayrestartPolicyRules.get(i)); + }; + } + } // validate the optional field `securityContext` if (jsonObj.get("securityContext") != null && !jsonObj.get("securityContext").isJsonNull()) { V1SecurityContext.validateJsonElement(jsonObj.get("securityContext")); @@ -1068,3 +1120,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerExtendedResourceRequest.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerExtendedResourceRequest.java new file mode 100644 index 0000000000..35ccf28303 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerExtendedResourceRequest.java @@ -0,0 +1,282 @@ +/* + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package io.kubernetes.client.openapi.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.Arrays; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import io.kubernetes.client.openapi.JSON; + +/** + * ContainerExtendedResourceRequest has the mapping of container name, extended resource name to the device request name. + */ +@ApiModel(description = "ContainerExtendedResourceRequest has the mapping of container name, extended resource name to the device request name.") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1ContainerExtendedResourceRequest { + public static final String SERIALIZED_NAME_CONTAINER_NAME = "containerName"; + @SerializedName(SERIALIZED_NAME_CONTAINER_NAME) + @jakarta.annotation.Nonnull + private String containerName; + + public static final String SERIALIZED_NAME_REQUEST_NAME = "requestName"; + @SerializedName(SERIALIZED_NAME_REQUEST_NAME) + @jakarta.annotation.Nonnull + private String requestName; + + public static final String SERIALIZED_NAME_RESOURCE_NAME = "resourceName"; + @SerializedName(SERIALIZED_NAME_RESOURCE_NAME) + @jakarta.annotation.Nonnull + private String resourceName; + + public V1ContainerExtendedResourceRequest() { + } + + public V1ContainerExtendedResourceRequest containerName(@jakarta.annotation.Nonnull String containerName) { + this.containerName = containerName; + return this; + } + + /** + * The name of the container requesting resources. + * @return containerName + */ + @jakarta.annotation.Nonnull + @ApiModelProperty(required = true, value = "The name of the container requesting resources.") + public String getContainerName() { + return containerName; + } + + public void setContainerName(@jakarta.annotation.Nonnull String containerName) { + this.containerName = containerName; + } + + + public V1ContainerExtendedResourceRequest requestName(@jakarta.annotation.Nonnull String requestName) { + this.requestName = requestName; + return this; + } + + /** + * The name of the request in the special ResourceClaim which corresponds to the extended resource. + * @return requestName + */ + @jakarta.annotation.Nonnull + @ApiModelProperty(required = true, value = "The name of the request in the special ResourceClaim which corresponds to the extended resource.") + public String getRequestName() { + return requestName; + } + + public void setRequestName(@jakarta.annotation.Nonnull String requestName) { + this.requestName = requestName; + } + + + public V1ContainerExtendedResourceRequest resourceName(@jakarta.annotation.Nonnull String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * The name of the extended resource in that container which gets backed by DRA. + * @return resourceName + */ + @jakarta.annotation.Nonnull + @ApiModelProperty(required = true, value = "The name of the extended resource in that container which gets backed by DRA.") + public String getResourceName() { + return resourceName; + } + + public void setResourceName(@jakarta.annotation.Nonnull String resourceName) { + this.resourceName = resourceName; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1ContainerExtendedResourceRequest v1ContainerExtendedResourceRequest = (V1ContainerExtendedResourceRequest) o; + return Objects.equals(this.containerName, v1ContainerExtendedResourceRequest.containerName) && + Objects.equals(this.requestName, v1ContainerExtendedResourceRequest.requestName) && + Objects.equals(this.resourceName, v1ContainerExtendedResourceRequest.resourceName); + } + + @Override + public int hashCode() { + return Objects.hash(containerName, requestName, resourceName); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1ContainerExtendedResourceRequest {\n"); + sb.append(" containerName: ").append(toIndentedString(containerName)).append("\n"); + sb.append(" requestName: ").append(toIndentedString(requestName)).append("\n"); + sb.append(" resourceName: ").append(toIndentedString(resourceName)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("containerName"); + openapiFields.add("requestName"); + openapiFields.add("resourceName"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("containerName"); + openapiRequiredFields.add("requestName"); + openapiRequiredFields.add("resourceName"); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to V1ContainerExtendedResourceRequest + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!V1ContainerExtendedResourceRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1ContainerExtendedResourceRequest is not found in the empty JSON string", V1ContainerExtendedResourceRequest.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!V1ContainerExtendedResourceRequest.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1ContainerExtendedResourceRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : V1ContainerExtendedResourceRequest.openapiRequiredFields) { + if (jsonElement.getAsJsonObject().get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if (!jsonObj.get("containerName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `containerName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("containerName").toString())); + } + if (!jsonObj.get("requestName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `requestName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("requestName").toString())); + } + if (!jsonObj.get("resourceName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `resourceName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("resourceName").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!V1ContainerExtendedResourceRequest.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1ContainerExtendedResourceRequest' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1ContainerExtendedResourceRequest.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, V1ContainerExtendedResourceRequest value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public V1ContainerExtendedResourceRequest read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of V1ContainerExtendedResourceRequest given an JSON string + * + * @param jsonString JSON string + * @return An instance of V1ContainerExtendedResourceRequest + * @throws IOException if the JSON string is invalid with respect to V1ContainerExtendedResourceRequest + */ + public static V1ContainerExtendedResourceRequest fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1ContainerExtendedResourceRequest.class); + } + + /** + * Convert an instance of V1ContainerExtendedResourceRequest to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerImage.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerImage.java index 180c041acf..c601d1ccf2 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerImage.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerImage.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * Describe a container image */ @ApiModel(description = "Describe a container image") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ContainerImage { public static final String SERIALIZED_NAME_NAMES = "names"; @SerializedName(SERIALIZED_NAME_NAMES) @@ -245,3 +246,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerPort.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerPort.java index 3023b4811e..626c0959bb 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerPort.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerPort.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * ContainerPort represents a network port in a single container. */ @ApiModel(description = "ContainerPort represents a network port in a single container.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ContainerPort { public static final String SERIALIZED_NAME_CONTAINER_PORT = "containerPort"; @SerializedName(SERIALIZED_NAME_CONTAINER_PORT) @@ -332,3 +333,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerResizePolicy.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerResizePolicy.java index 1a24d533ce..908db7972d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerResizePolicy.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerResizePolicy.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * ContainerResizePolicy represents resource resize policy for the container. */ @ApiModel(description = "ContainerResizePolicy represents resource resize policy for the container.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ContainerResizePolicy { public static final String SERIALIZED_NAME_RESOURCE_NAME = "resourceName"; @SerializedName(SERIALIZED_NAME_RESOURCE_NAME) @@ -246,3 +247,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3Device.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerRestartRule.java similarity index 50% rename from kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3Device.java rename to kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerRestartRule.java index bd52e1d7cc..3fdda2a7a8 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3Device.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerRestartRule.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -18,7 +19,7 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.kubernetes.client.openapi.models.V1alpha3BasicDevice; +import io.kubernetes.client.openapi.models.V1ContainerRestartRuleOnExitCodes; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; @@ -48,61 +49,61 @@ import io.kubernetes.client.openapi.JSON; /** - * Device represents one individual hardware instance that can be selected based on its attributes. Besides the name, exactly one field must be set. + * ContainerRestartRule describes how a container exit is handled. */ -@ApiModel(description = "Device represents one individual hardware instance that can be selected based on its attributes. Besides the name, exactly one field must be set.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") -public class V1alpha3Device { - public static final String SERIALIZED_NAME_BASIC = "basic"; - @SerializedName(SERIALIZED_NAME_BASIC) - @jakarta.annotation.Nullable - private V1alpha3BasicDevice basic; - - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) +@ApiModel(description = "ContainerRestartRule describes how a container exit is handled.") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1ContainerRestartRule { + public static final String SERIALIZED_NAME_ACTION = "action"; + @SerializedName(SERIALIZED_NAME_ACTION) @jakarta.annotation.Nonnull - private String name; + private String action; + + public static final String SERIALIZED_NAME_EXIT_CODES = "exitCodes"; + @SerializedName(SERIALIZED_NAME_EXIT_CODES) + @jakarta.annotation.Nullable + private V1ContainerRestartRuleOnExitCodes exitCodes; - public V1alpha3Device() { + public V1ContainerRestartRule() { } - public V1alpha3Device basic(@jakarta.annotation.Nullable V1alpha3BasicDevice basic) { - this.basic = basic; + public V1ContainerRestartRule action(@jakarta.annotation.Nonnull String action) { + this.action = action; return this; } /** - * Get basic - * @return basic + * Specifies the action taken on a container exit if the requirements are satisfied. The only possible value is \"Restart\" to restart the container. + * @return action */ - @jakarta.annotation.Nullable - @ApiModelProperty(value = "") - public V1alpha3BasicDevice getBasic() { - return basic; + @jakarta.annotation.Nonnull + @ApiModelProperty(required = true, value = "Specifies the action taken on a container exit if the requirements are satisfied. The only possible value is \"Restart\" to restart the container.") + public String getAction() { + return action; } - public void setBasic(@jakarta.annotation.Nullable V1alpha3BasicDevice basic) { - this.basic = basic; + public void setAction(@jakarta.annotation.Nonnull String action) { + this.action = action; } - public V1alpha3Device name(@jakarta.annotation.Nonnull String name) { - this.name = name; + public V1ContainerRestartRule exitCodes(@jakarta.annotation.Nullable V1ContainerRestartRuleOnExitCodes exitCodes) { + this.exitCodes = exitCodes; return this; } /** - * Name is unique identifier among all devices managed by the driver in the pool. It must be a DNS label. - * @return name + * Get exitCodes + * @return exitCodes */ - @jakarta.annotation.Nonnull - @ApiModelProperty(required = true, value = "Name is unique identifier among all devices managed by the driver in the pool. It must be a DNS label.") - public String getName() { - return name; + @jakarta.annotation.Nullable + @ApiModelProperty(value = "") + public V1ContainerRestartRuleOnExitCodes getExitCodes() { + return exitCodes; } - public void setName(@jakarta.annotation.Nonnull String name) { - this.name = name; + public void setExitCodes(@jakarta.annotation.Nullable V1ContainerRestartRuleOnExitCodes exitCodes) { + this.exitCodes = exitCodes; } @@ -115,22 +116,22 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V1alpha3Device v1alpha3Device = (V1alpha3Device) o; - return Objects.equals(this.basic, v1alpha3Device.basic) && - Objects.equals(this.name, v1alpha3Device.name); + V1ContainerRestartRule v1ContainerRestartRule = (V1ContainerRestartRule) o; + return Objects.equals(this.action, v1ContainerRestartRule.action) && + Objects.equals(this.exitCodes, v1ContainerRestartRule.exitCodes); } @Override public int hashCode() { - return Objects.hash(basic, name); + return Objects.hash(action, exitCodes); } @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V1alpha3Device {\n"); - sb.append(" basic: ").append(toIndentedString(basic)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append("class V1ContainerRestartRule {\n"); + sb.append(" action: ").append(toIndentedString(action)).append("\n"); + sb.append(" exitCodes: ").append(toIndentedString(exitCodes)).append("\n"); sb.append("}"); return sb.toString(); } @@ -153,48 +154,48 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); - openapiFields.add("basic"); - openapiFields.add("name"); + openapiFields.add("action"); + openapiFields.add("exitCodes"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("name"); + openapiRequiredFields.add("action"); } /** * Validates the JSON Element and throws an exception if issues found * * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to V1alpha3Device + * @throws IOException if the JSON Element is invalid with respect to V1ContainerRestartRule */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - if (!V1alpha3Device.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in V1alpha3Device is not found in the empty JSON string", V1alpha3Device.openapiRequiredFields.toString())); + if (!V1ContainerRestartRule.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1ContainerRestartRule is not found in the empty JSON string", V1ContainerRestartRule.openapiRequiredFields.toString())); } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { - if (!V1alpha3Device.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1alpha3Device` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + if (!V1ContainerRestartRule.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1ContainerRestartRule` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } // check to make sure all required properties/fields are present in the JSON string - for (String requiredField : V1alpha3Device.openapiRequiredFields) { + for (String requiredField : V1ContainerRestartRule.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); - // validate the optional field `basic` - if (jsonObj.get("basic") != null && !jsonObj.get("basic").isJsonNull()) { - V1alpha3BasicDevice.validateJsonElement(jsonObj.get("basic")); + if (!jsonObj.get("action").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `action` to be a primitive type in the JSON string but got `%s`", jsonObj.get("action").toString())); } - if (!jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); + // validate the optional field `exitCodes` + if (jsonObj.get("exitCodes") != null && !jsonObj.get("exitCodes").isJsonNull()) { + V1ContainerRestartRuleOnExitCodes.validateJsonElement(jsonObj.get("exitCodes")); } } @@ -202,22 +203,22 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1alpha3Device.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1alpha3Device' and its subtypes + if (!V1ContainerRestartRule.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1ContainerRestartRule' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1alpha3Device.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1ContainerRestartRule.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, V1alpha3Device value) throws IOException { + public void write(JsonWriter out, V1ContainerRestartRule value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public V1alpha3Device read(JsonReader in) throws IOException { + public V1ContainerRestartRule read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -228,18 +229,18 @@ public V1alpha3Device read(JsonReader in) throws IOException { } /** - * Create an instance of V1alpha3Device given an JSON string + * Create an instance of V1ContainerRestartRule given an JSON string * * @param jsonString JSON string - * @return An instance of V1alpha3Device - * @throws IOException if the JSON string is invalid with respect to V1alpha3Device + * @return An instance of V1ContainerRestartRule + * @throws IOException if the JSON string is invalid with respect to V1ContainerRestartRule */ - public static V1alpha3Device fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1alpha3Device.class); + public static V1ContainerRestartRule fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1ContainerRestartRule.class); } /** - * Convert an instance of V1alpha3Device to an JSON string + * Convert an instance of V1ContainerRestartRule to an JSON string * * @return JSON string */ @@ -247,3 +248,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerRestartRuleOnExitCodes.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerRestartRuleOnExitCodes.java new file mode 100644 index 0000000000..31e96a2c41 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerRestartRuleOnExitCodes.java @@ -0,0 +1,260 @@ +/* + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package io.kubernetes.client.openapi.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import io.kubernetes.client.openapi.JSON; + +/** + * ContainerRestartRuleOnExitCodes describes the condition for handling an exited container based on its exit codes. + */ +@ApiModel(description = "ContainerRestartRuleOnExitCodes describes the condition for handling an exited container based on its exit codes.") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1ContainerRestartRuleOnExitCodes { + public static final String SERIALIZED_NAME_OPERATOR = "operator"; + @SerializedName(SERIALIZED_NAME_OPERATOR) + @jakarta.annotation.Nonnull + private String operator; + + public static final String SERIALIZED_NAME_VALUES = "values"; + @SerializedName(SERIALIZED_NAME_VALUES) + @jakarta.annotation.Nullable + private List values = new ArrayList<>(); + + public V1ContainerRestartRuleOnExitCodes() { + } + + public V1ContainerRestartRuleOnExitCodes operator(@jakarta.annotation.Nonnull String operator) { + this.operator = operator; + return this; + } + + /** + * Represents the relationship between the container exit code(s) and the specified values. Possible values are: - In: the requirement is satisfied if the container exit code is in the set of specified values. - NotIn: the requirement is satisfied if the container exit code is not in the set of specified values. + * @return operator + */ + @jakarta.annotation.Nonnull + @ApiModelProperty(required = true, value = "Represents the relationship between the container exit code(s) and the specified values. Possible values are: - In: the requirement is satisfied if the container exit code is in the set of specified values. - NotIn: the requirement is satisfied if the container exit code is not in the set of specified values.") + public String getOperator() { + return operator; + } + + public void setOperator(@jakarta.annotation.Nonnull String operator) { + this.operator = operator; + } + + + public V1ContainerRestartRuleOnExitCodes values(@jakarta.annotation.Nullable List values) { + this.values = values; + return this; + } + + public V1ContainerRestartRuleOnExitCodes addValuesItem(Integer valuesItem) { + if (this.values == null) { + this.values = new ArrayList<>(); + } + this.values.add(valuesItem); + return this; + } + + /** + * Specifies the set of values to check for container exit codes. At most 255 elements are allowed. + * @return values + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "Specifies the set of values to check for container exit codes. At most 255 elements are allowed.") + public List getValues() { + return values; + } + + public void setValues(@jakarta.annotation.Nullable List values) { + this.values = values; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1ContainerRestartRuleOnExitCodes v1ContainerRestartRuleOnExitCodes = (V1ContainerRestartRuleOnExitCodes) o; + return Objects.equals(this.operator, v1ContainerRestartRuleOnExitCodes.operator) && + Objects.equals(this.values, v1ContainerRestartRuleOnExitCodes.values); + } + + @Override + public int hashCode() { + return Objects.hash(operator, values); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1ContainerRestartRuleOnExitCodes {\n"); + sb.append(" operator: ").append(toIndentedString(operator)).append("\n"); + sb.append(" values: ").append(toIndentedString(values)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("operator"); + openapiFields.add("values"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("operator"); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to V1ContainerRestartRuleOnExitCodes + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!V1ContainerRestartRuleOnExitCodes.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1ContainerRestartRuleOnExitCodes is not found in the empty JSON string", V1ContainerRestartRuleOnExitCodes.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!V1ContainerRestartRuleOnExitCodes.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1ContainerRestartRuleOnExitCodes` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : V1ContainerRestartRuleOnExitCodes.openapiRequiredFields) { + if (jsonElement.getAsJsonObject().get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if (!jsonObj.get("operator").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `operator` to be a primitive type in the JSON string but got `%s`", jsonObj.get("operator").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("values") != null && !jsonObj.get("values").isJsonNull() && !jsonObj.get("values").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `values` to be an array in the JSON string but got `%s`", jsonObj.get("values").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!V1ContainerRestartRuleOnExitCodes.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1ContainerRestartRuleOnExitCodes' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1ContainerRestartRuleOnExitCodes.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, V1ContainerRestartRuleOnExitCodes value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public V1ContainerRestartRuleOnExitCodes read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of V1ContainerRestartRuleOnExitCodes given an JSON string + * + * @param jsonString JSON string + * @return An instance of V1ContainerRestartRuleOnExitCodes + * @throws IOException if the JSON string is invalid with respect to V1ContainerRestartRuleOnExitCodes + */ + public static V1ContainerRestartRuleOnExitCodes fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1ContainerRestartRuleOnExitCodes.class); + } + + /** + * Convert an instance of V1ContainerRestartRuleOnExitCodes to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerState.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerState.java index 4a9dd14af8..232713c7e9 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerState.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerState.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * ContainerState holds a possible state of container. Only one of its members may be specified. If none of them is specified, the default one is ContainerStateWaiting. */ @ApiModel(description = "ContainerState holds a possible state of container. Only one of its members may be specified. If none of them is specified, the default one is ContainerStateWaiting.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ContainerState { public static final String SERIALIZED_NAME_RUNNING = "running"; @SerializedName(SERIALIZED_NAME_RUNNING) @@ -274,3 +275,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerStateRunning.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerStateRunning.java index c9a00eb243..3313cb7b8a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerStateRunning.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerStateRunning.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * ContainerStateRunning is a running state of a container. */ @ApiModel(description = "ContainerStateRunning is a running state of a container.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ContainerStateRunning { public static final String SERIALIZED_NAME_STARTED_AT = "startedAt"; @SerializedName(SERIALIZED_NAME_STARTED_AT) @@ -204,3 +205,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerStateTerminated.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerStateTerminated.java index bab76a75ba..768e89769d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerStateTerminated.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerStateTerminated.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * ContainerStateTerminated is a terminated state of a container. */ @ApiModel(description = "ContainerStateTerminated is a terminated state of a container.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ContainerStateTerminated { public static final String SERIALIZED_NAME_CONTAINER_I_D = "containerID"; @SerializedName(SERIALIZED_NAME_CONTAINER_I_D) @@ -389,3 +390,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerStateWaiting.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerStateWaiting.java index 62ba383735..83986cfcef 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerStateWaiting.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerStateWaiting.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * ContainerStateWaiting is a waiting state of a container. */ @ApiModel(description = "ContainerStateWaiting is a waiting state of a container.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ContainerStateWaiting { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -237,3 +238,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerStatus.java index a06372b8b4..45014745a9 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerStatus.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -60,7 +61,7 @@ * ContainerStatus contains details for the current status of this container. */ @ApiModel(description = "ContainerStatus contains details for the current status of this container.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ContainerStatus { public static final String SERIALIZED_NAME_ALLOCATED_RESOURCES = "allocatedResources"; @SerializedName(SERIALIZED_NAME_ALLOCATED_RESOURCES) @@ -700,3 +701,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerUser.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerUser.java index c31509ea1e..3a8c1528da 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerUser.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ContainerUser.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * ContainerUser represents user identity information */ @ApiModel(description = "ContainerUser represents user identity information") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ContainerUser { public static final String SERIALIZED_NAME_LINUX = "linux"; @SerializedName(SERIALIZED_NAME_LINUX) @@ -208,3 +209,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ControllerRevision.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ControllerRevision.java index 71fb411456..5272f1641f 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ControllerRevision.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ControllerRevision.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers. */ @ApiModel(description = "ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ControllerRevision implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -334,3 +335,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ControllerRevisionList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ControllerRevisionList.java index 44f906b68f..595c5ac3cb 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ControllerRevisionList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ControllerRevisionList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * ControllerRevisionList is a resource containing a list of ControllerRevision objects. */ @ApiModel(description = "ControllerRevisionList is a resource containing a list of ControllerRevision objects.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ControllerRevisionList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3Counter.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Counter.java similarity index 82% rename from kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3Counter.java rename to kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Counter.java index cb33aac00a..edcea65405 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3Counter.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Counter.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,17 +52,17 @@ * Counter describes a quantity associated with a device. */ @ApiModel(description = "Counter describes a quantity associated with a device.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") -public class V1alpha3Counter { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1Counter { public static final String SERIALIZED_NAME_VALUE = "value"; @SerializedName(SERIALIZED_NAME_VALUE) @jakarta.annotation.Nonnull private Quantity value; - public V1alpha3Counter() { + public V1Counter() { } - public V1alpha3Counter value(@jakarta.annotation.Nonnull Quantity value) { + public V1Counter value(@jakarta.annotation.Nonnull Quantity value) { this.value = value; return this; } @@ -90,8 +91,8 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V1alpha3Counter v1alpha3Counter = (V1alpha3Counter) o; - return Objects.equals(this.value, v1alpha3Counter.value); + V1Counter v1Counter = (V1Counter) o; + return Objects.equals(this.value, v1Counter.value); } @Override @@ -102,7 +103,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V1alpha3Counter {\n"); + sb.append("class V1Counter {\n"); sb.append(" value: ").append(toIndentedString(value)).append("\n"); sb.append("}"); return sb.toString(); @@ -137,25 +138,25 @@ private String toIndentedString(Object o) { * Validates the JSON Element and throws an exception if issues found * * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to V1alpha3Counter + * @throws IOException if the JSON Element is invalid with respect to V1Counter */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - if (!V1alpha3Counter.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in V1alpha3Counter is not found in the empty JSON string", V1alpha3Counter.openapiRequiredFields.toString())); + if (!V1Counter.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1Counter is not found in the empty JSON string", V1Counter.openapiRequiredFields.toString())); } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { - if (!V1alpha3Counter.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1alpha3Counter` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + if (!V1Counter.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1Counter` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } // check to make sure all required properties/fields are present in the JSON string - for (String requiredField : V1alpha3Counter.openapiRequiredFields) { + for (String requiredField : V1Counter.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); } @@ -170,22 +171,22 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1alpha3Counter.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1alpha3Counter' and its subtypes + if (!V1Counter.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1Counter' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1alpha3Counter.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1Counter.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, V1alpha3Counter value) throws IOException { + public void write(JsonWriter out, V1Counter value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public V1alpha3Counter read(JsonReader in) throws IOException { + public V1Counter read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -196,18 +197,18 @@ public V1alpha3Counter read(JsonReader in) throws IOException { } /** - * Create an instance of V1alpha3Counter given an JSON string + * Create an instance of V1Counter given an JSON string * * @param jsonString JSON string - * @return An instance of V1alpha3Counter - * @throws IOException if the JSON string is invalid with respect to V1alpha3Counter + * @return An instance of V1Counter + * @throws IOException if the JSON string is invalid with respect to V1Counter */ - public static V1alpha3Counter fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1alpha3Counter.class); + public static V1Counter fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1Counter.class); } /** - * Convert an instance of V1alpha3Counter to an JSON string + * Convert an instance of V1Counter to an JSON string * * @return JSON string */ @@ -215,3 +216,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3CounterSet.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CounterSet.java similarity index 63% rename from kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3CounterSet.java rename to kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CounterSet.java index 96e4d4a657..2ad9566475 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3CounterSet.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CounterSet.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -18,7 +19,7 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.kubernetes.client.openapi.models.V1alpha3Counter; +import io.kubernetes.client.openapi.models.V1Counter; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; @@ -53,27 +54,27 @@ * CounterSet defines a named set of counters that are available to be used by devices defined in the ResourceSlice. The counters are not allocatable by themselves, but can be referenced by devices. When a device is allocated, the portion of counters it uses will no longer be available for use by other devices. */ @ApiModel(description = "CounterSet defines a named set of counters that are available to be used by devices defined in the ResourceSlice. The counters are not allocatable by themselves, but can be referenced by devices. When a device is allocated, the portion of counters it uses will no longer be available for use by other devices.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") -public class V1alpha3CounterSet { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1CounterSet { public static final String SERIALIZED_NAME_COUNTERS = "counters"; @SerializedName(SERIALIZED_NAME_COUNTERS) @jakarta.annotation.Nonnull - private Map counters = new HashMap<>(); + private Map counters = new HashMap<>(); public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @jakarta.annotation.Nonnull private String name; - public V1alpha3CounterSet() { + public V1CounterSet() { } - public V1alpha3CounterSet counters(@jakarta.annotation.Nonnull Map counters) { + public V1CounterSet counters(@jakarta.annotation.Nonnull Map counters) { this.counters = counters; return this; } - public V1alpha3CounterSet putCountersItem(String key, V1alpha3Counter countersItem) { + public V1CounterSet putCountersItem(String key, V1Counter countersItem) { if (this.counters == null) { this.counters = new HashMap<>(); } @@ -82,31 +83,31 @@ public V1alpha3CounterSet putCountersItem(String key, V1alpha3Counter countersIt } /** - * Counters defines the counters that will be consumed by the device. The name of each counter must be unique in that set and must be a DNS label. To ensure this uniqueness, capacities defined by the vendor must be listed without the driver name as domain prefix in their name. All others must be listed with their domain prefix. The maximum number of counters is 32. + * 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 in all sets is 32. * @return counters */ @jakarta.annotation.Nonnull - @ApiModelProperty(required = true, value = "Counters defines the counters that will be consumed by the device. The name of each counter must be unique in that set and must be a DNS label. To ensure this uniqueness, capacities defined by the vendor must be listed without the driver name as domain prefix in their name. All others must be listed with their domain prefix. The maximum number of counters is 32.") - public Map getCounters() { + @ApiModelProperty(required = true, value = "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 in all sets is 32.") + public Map getCounters() { return counters; } - public void setCounters(@jakarta.annotation.Nonnull Map counters) { + public void setCounters(@jakarta.annotation.Nonnull Map counters) { this.counters = counters; } - public V1alpha3CounterSet name(@jakarta.annotation.Nonnull String name) { + public V1CounterSet name(@jakarta.annotation.Nonnull String name) { this.name = name; return this; } /** - * CounterSet is the name of the set from which the counters defined will be consumed. + * Name defines the name of the counter set. It must be a DNS label. * @return name */ @jakarta.annotation.Nonnull - @ApiModelProperty(required = true, value = "CounterSet is the name of the set from which the counters defined will be consumed.") + @ApiModelProperty(required = true, value = "Name defines the name of the counter set. It must be a DNS label.") public String getName() { return name; } @@ -125,9 +126,9 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V1alpha3CounterSet v1alpha3CounterSet = (V1alpha3CounterSet) o; - return Objects.equals(this.counters, v1alpha3CounterSet.counters) && - Objects.equals(this.name, v1alpha3CounterSet.name); + V1CounterSet v1CounterSet = (V1CounterSet) o; + return Objects.equals(this.counters, v1CounterSet.counters) && + Objects.equals(this.name, v1CounterSet.name); } @Override @@ -138,7 +139,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V1alpha3CounterSet {\n"); + sb.append("class V1CounterSet {\n"); sb.append(" counters: ").append(toIndentedString(counters)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append("}"); @@ -176,25 +177,25 @@ private String toIndentedString(Object o) { * Validates the JSON Element and throws an exception if issues found * * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to V1alpha3CounterSet + * @throws IOException if the JSON Element is invalid with respect to V1CounterSet */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - if (!V1alpha3CounterSet.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in V1alpha3CounterSet is not found in the empty JSON string", V1alpha3CounterSet.openapiRequiredFields.toString())); + if (!V1CounterSet.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1CounterSet is not found in the empty JSON string", V1CounterSet.openapiRequiredFields.toString())); } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { - if (!V1alpha3CounterSet.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1alpha3CounterSet` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + if (!V1CounterSet.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1CounterSet` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } // check to make sure all required properties/fields are present in the JSON string - for (String requiredField : V1alpha3CounterSet.openapiRequiredFields) { + for (String requiredField : V1CounterSet.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); } @@ -209,22 +210,22 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1alpha3CounterSet.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1alpha3CounterSet' and its subtypes + if (!V1CounterSet.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1CounterSet' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1alpha3CounterSet.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1CounterSet.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, V1alpha3CounterSet value) throws IOException { + public void write(JsonWriter out, V1CounterSet value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public V1alpha3CounterSet read(JsonReader in) throws IOException { + public V1CounterSet read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -235,18 +236,18 @@ public V1alpha3CounterSet read(JsonReader in) throws IOException { } /** - * Create an instance of V1alpha3CounterSet given an JSON string + * Create an instance of V1CounterSet given an JSON string * * @param jsonString JSON string - * @return An instance of V1alpha3CounterSet - * @throws IOException if the JSON string is invalid with respect to V1alpha3CounterSet + * @return An instance of V1CounterSet + * @throws IOException if the JSON string is invalid with respect to V1CounterSet */ - public static V1alpha3CounterSet fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1alpha3CounterSet.class); + public static V1CounterSet fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1CounterSet.class); } /** - * Convert an instance of V1alpha3CounterSet to an JSON string + * Convert an instance of V1CounterSet to an JSON string * * @return JSON string */ @@ -254,3 +255,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CronJob.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CronJob.java index d74a06b615..ee3c5b4b1c 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CronJob.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CronJob.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * CronJob represents the configuration of a single cron job. */ @ApiModel(description = "CronJob represents the configuration of a single cron job.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1CronJob implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -336,3 +337,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CronJobList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CronJobList.java index 121d7bad1c..605f933951 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CronJobList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CronJobList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * CronJobList is a collection of cron jobs. */ @ApiModel(description = "CronJobList is a collection of cron jobs.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1CronJobList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CronJobSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CronJobSpec.java index 9b3fe6eaef..f389e904f5 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CronJobSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CronJobSpec.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * CronJobSpec describes how the job execution will look like and when it will actually run. */ @ApiModel(description = "CronJobSpec describes how the job execution will look like and when it will actually run.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1CronJobSpec { public static final String SERIALIZED_NAME_CONCURRENCY_POLICY = "concurrencyPolicy"; @SerializedName(SERIALIZED_NAME_CONCURRENCY_POLICY) @@ -420,3 +421,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CronJobStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CronJobStatus.java index d7fa4aab23..d229b7318f 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CronJobStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CronJobStatus.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * CronJobStatus represents the current state of a cron job. */ @ApiModel(description = "CronJobStatus represents the current state of a cron job.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1CronJobStatus { public static final String SERIALIZED_NAME_ACTIVE = "active"; @SerializedName(SERIALIZED_NAME_ACTIVE) @@ -285,3 +286,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CrossVersionObjectReference.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CrossVersionObjectReference.java index c4c367c3fb..d7048e4377 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CrossVersionObjectReference.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CrossVersionObjectReference.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * CrossVersionObjectReference contains enough information to let you identify the referred resource. */ @ApiModel(description = "CrossVersionObjectReference contains enough information to let you identify the referred resource.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1CrossVersionObjectReference { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -277,3 +278,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceColumnDefinition.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceColumnDefinition.java index 6a9a6598fd..b13865dd33 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceColumnDefinition.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceColumnDefinition.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * CustomResourceColumnDefinition specifies a column for server side printing. */ @ApiModel(description = "CustomResourceColumnDefinition specifies a column for server side printing.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1CustomResourceColumnDefinition { public static final String SERIALIZED_NAME_DESCRIPTION = "description"; @SerializedName(SERIALIZED_NAME_DESCRIPTION) @@ -368,3 +369,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceConversion.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceConversion.java index 355caf9638..accfa48c66 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceConversion.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceConversion.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * CustomResourceConversion describes how to convert different versions of a CR. */ @ApiModel(description = "CustomResourceConversion describes how to convert different versions of a CR.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1CustomResourceConversion { public static final String SERIALIZED_NAME_STRATEGY = "strategy"; @SerializedName(SERIALIZED_NAME_STRATEGY) @@ -247,3 +248,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinition.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinition.java index e01316504c..f98925bb73 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinition.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinition.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>. */ @ApiModel(description = "CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1CustomResourceDefinition implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -342,3 +343,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionCondition.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionCondition.java index 7f900f540c..2aa8865250 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionCondition.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionCondition.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * CustomResourceDefinitionCondition contains details for the current condition of this pod. */ @ApiModel(description = "CustomResourceDefinitionCondition contains details for the current condition of this pod.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1CustomResourceDefinitionCondition { public static final String SERIALIZED_NAME_LAST_TRANSITION_TIME = "lastTransitionTime"; @SerializedName(SERIALIZED_NAME_LAST_TRANSITION_TIME) @@ -337,3 +338,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionList.java index e2cde5c0db..ac195476ab 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * CustomResourceDefinitionList is a list of CustomResourceDefinition objects. */ @ApiModel(description = "CustomResourceDefinitionList is a list of CustomResourceDefinition objects.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1CustomResourceDefinitionList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionNames.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionNames.java index c4d5be2bb4..1a32acb89b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionNames.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionNames.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition */ @ApiModel(description = "CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1CustomResourceDefinitionNames { public static final String SERIALIZED_NAME_CATEGORIES = "categories"; @SerializedName(SERIALIZED_NAME_CATEGORIES) @@ -390,3 +391,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionSpec.java index 2dd33394da..fe42b05b89 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionSpec.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -55,7 +56,7 @@ * CustomResourceDefinitionSpec describes how a user wants their resource to appear */ @ApiModel(description = "CustomResourceDefinitionSpec describes how a user wants their resource to appear") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1CustomResourceDefinitionSpec { public static final String SERIALIZED_NAME_CONVERSION = "conversion"; @SerializedName(SERIALIZED_NAME_CONVERSION) @@ -389,3 +390,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionStatus.java index f2fa4ed914..769a6eee97 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionStatus.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * CustomResourceDefinitionStatus indicates the state of the CustomResourceDefinition */ @ApiModel(description = "CustomResourceDefinitionStatus indicates the state of the CustomResourceDefinition") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1CustomResourceDefinitionStatus { public static final String SERIALIZED_NAME_ACCEPTED_NAMES = "acceptedNames"; @SerializedName(SERIALIZED_NAME_ACCEPTED_NAMES) @@ -301,3 +302,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionVersion.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionVersion.java index 1ccc05e26e..05400cfe3c 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionVersion.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceDefinitionVersion.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -56,7 +57,7 @@ * CustomResourceDefinitionVersion describes a version for CRD. */ @ApiModel(description = "CustomResourceDefinitionVersion describes a version for CRD.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1CustomResourceDefinitionVersion { public static final String SERIALIZED_NAME_ADDITIONAL_PRINTER_COLUMNS = "additionalPrinterColumns"; @SerializedName(SERIALIZED_NAME_ADDITIONAL_PRINTER_COLUMNS) @@ -501,3 +502,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceSubresourceScale.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceSubresourceScale.java index 3429e7cfbc..84411ee0af 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceSubresourceScale.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceSubresourceScale.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * CustomResourceSubresourceScale defines how to serve the scale subresource for CustomResources. */ @ApiModel(description = "CustomResourceSubresourceScale defines how to serve the scale subresource for CustomResources.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1CustomResourceSubresourceScale { public static final String SERIALIZED_NAME_LABEL_SELECTOR_PATH = "labelSelectorPath"; @SerializedName(SERIALIZED_NAME_LABEL_SELECTOR_PATH) @@ -277,3 +278,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceSubresources.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceSubresources.java index c126922f98..a9a0eef4d7 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceSubresources.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceSubresources.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * CustomResourceSubresources defines the status and scale subresources for CustomResources. */ @ApiModel(description = "CustomResourceSubresources defines the status and scale subresources for CustomResources.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1CustomResourceSubresources { public static final String SERIALIZED_NAME_SCALE = "scale"; @SerializedName(SERIALIZED_NAME_SCALE) @@ -236,3 +237,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceValidation.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceValidation.java index 2f06a5209f..c4aca89b62 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceValidation.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1CustomResourceValidation.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * CustomResourceValidation is a list of validation methods for CustomResources. */ @ApiModel(description = "CustomResourceValidation is a list of validation methods for CustomResources.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1CustomResourceValidation { public static final String SERIALIZED_NAME_OPEN_A_P_I_V3_SCHEMA = "openAPIV3Schema"; @SerializedName(SERIALIZED_NAME_OPEN_A_P_I_V3_SCHEMA) @@ -208,3 +209,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonEndpoint.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonEndpoint.java index 778e9a5431..ff2a306db2 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonEndpoint.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonEndpoint.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * DaemonEndpoint contains information about a single Daemon endpoint. */ @ApiModel(description = "DaemonEndpoint contains information about a single Daemon endpoint.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1DaemonEndpoint { public static final String SERIALIZED_NAME_PORT = "Port"; @SerializedName(SERIALIZED_NAME_PORT) @@ -211,3 +212,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSet.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSet.java index c28139e098..ae9d14e0be 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSet.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSet.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * DaemonSet represents the configuration of a daemon set. */ @ApiModel(description = "DaemonSet represents the configuration of a daemon set.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1DaemonSet implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -336,3 +337,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSetCondition.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSetCondition.java index 017dc99ff0..3a92165da1 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSetCondition.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSetCondition.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * DaemonSetCondition describes the state of a DaemonSet at a certain point. */ @ApiModel(description = "DaemonSetCondition describes the state of a DaemonSet at a certain point.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1DaemonSetCondition { public static final String SERIALIZED_NAME_LAST_TRANSITION_TIME = "lastTransitionTime"; @SerializedName(SERIALIZED_NAME_LAST_TRANSITION_TIME) @@ -337,3 +338,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSetList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSetList.java index 6de595bd93..2c55b55e21 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSetList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSetList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * DaemonSetList is a collection of daemon sets. */ @ApiModel(description = "DaemonSetList is a collection of daemon sets.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1DaemonSetList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSetSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSetSpec.java index e6d878bd51..5f5868b488 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSetSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSetSpec.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * DaemonSetSpec is the specification of a daemon set. */ @ApiModel(description = "DaemonSetSpec is the specification of a daemon set.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1DaemonSetSpec { public static final String SERIALIZED_NAME_MIN_READY_SECONDS = "minReadySeconds"; @SerializedName(SERIALIZED_NAME_MIN_READY_SECONDS) @@ -335,3 +336,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSetStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSetStatus.java index 2b688962e3..b0d2dbfe86 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSetStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSetStatus.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * DaemonSetStatus represents the current status of a daemon set. */ @ApiModel(description = "DaemonSetStatus represents the current status of a daemon set.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1DaemonSetStatus { public static final String SERIALIZED_NAME_COLLISION_COUNT = "collisionCount"; @SerializedName(SERIALIZED_NAME_COLLISION_COUNT) @@ -491,3 +492,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSetUpdateStrategy.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSetUpdateStrategy.java index 0f2bc32eac..b16be8c878 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSetUpdateStrategy.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DaemonSetUpdateStrategy.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * DaemonSetUpdateStrategy is a struct used to control the update strategy for a DaemonSet. */ @ApiModel(description = "DaemonSetUpdateStrategy is a struct used to control the update strategy for a DaemonSet.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1DaemonSetUpdateStrategy { public static final String SERIALIZED_NAME_ROLLING_UPDATE = "rollingUpdate"; @SerializedName(SERIALIZED_NAME_ROLLING_UPDATE) @@ -239,3 +240,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeleteOptions.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeleteOptions.java index 99cd96a439..e230fc787e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeleteOptions.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeleteOptions.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * DeleteOptions may be provided when deleting an API object. */ @ApiModel(description = "DeleteOptions may be provided when deleting an API object.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1DeleteOptions { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -427,3 +428,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Deployment.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Deployment.java index 467bd080c7..9519e67199 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Deployment.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Deployment.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * Deployment enables declarative updates for Pods and ReplicaSets. */ @ApiModel(description = "Deployment enables declarative updates for Pods and ReplicaSets.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1Deployment implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -336,3 +337,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeploymentCondition.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeploymentCondition.java index ecc7718986..75a8e39ddd 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeploymentCondition.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeploymentCondition.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * DeploymentCondition describes the state of a deployment at a certain point. */ @ApiModel(description = "DeploymentCondition describes the state of a deployment at a certain point.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1DeploymentCondition { public static final String SERIALIZED_NAME_LAST_TRANSITION_TIME = "lastTransitionTime"; @SerializedName(SERIALIZED_NAME_LAST_TRANSITION_TIME) @@ -365,3 +366,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeploymentList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeploymentList.java index 8a0846f8dc..2888f31397 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeploymentList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeploymentList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * DeploymentList is a list of Deployments. */ @ApiModel(description = "DeploymentList is a list of Deployments.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1DeploymentList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeploymentSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeploymentSpec.java index c026574587..e1751ecdae 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeploymentSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeploymentSpec.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * DeploymentSpec is the specification of the desired behavior of the Deployment. */ @ApiModel(description = "DeploymentSpec is the specification of the desired behavior of the Deployment.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1DeploymentSpec { public static final String SERIALIZED_NAME_MIN_READY_SECONDS = "minReadySeconds"; @SerializedName(SERIALIZED_NAME_MIN_READY_SECONDS) @@ -419,3 +420,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeploymentStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeploymentStatus.java index 53bc3ccc49..030cf455d9 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeploymentStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeploymentStatus.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * DeploymentStatus is the most recently observed status of the Deployment. */ @ApiModel(description = "DeploymentStatus is the most recently observed status of the Deployment.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1DeploymentStatus { public static final String SERIALIZED_NAME_AVAILABLE_REPLICAS = "availableReplicas"; @SerializedName(SERIALIZED_NAME_AVAILABLE_REPLICAS) @@ -452,3 +453,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeploymentStrategy.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeploymentStrategy.java index fe6cf14e64..8f70c967f9 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeploymentStrategy.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeploymentStrategy.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * DeploymentStrategy describes how to replace existing pods with new ones. */ @ApiModel(description = "DeploymentStrategy describes how to replace existing pods with new ones.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1DeploymentStrategy { public static final String SERIALIZED_NAME_ROLLING_UPDATE = "rollingUpdate"; @SerializedName(SERIALIZED_NAME_ROLLING_UPDATE) @@ -239,3 +240,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Device.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Device.java new file mode 100644 index 0000000000..7122ba03b0 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Device.java @@ -0,0 +1,626 @@ +/* + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package io.kubernetes.client.openapi.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.openapi.models.V1DeviceAttribute; +import io.kubernetes.client.openapi.models.V1DeviceCapacity; +import io.kubernetes.client.openapi.models.V1DeviceCounterConsumption; +import io.kubernetes.client.openapi.models.V1DeviceTaint; +import io.kubernetes.client.openapi.models.V1NodeSelector; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import io.kubernetes.client.openapi.JSON; + +/** + * Device represents one individual hardware instance that can be selected based on its attributes. Besides the name, exactly one field must be set. + */ +@ApiModel(description = "Device represents one individual hardware instance that can be selected based on its attributes. Besides the name, exactly one field must be set.") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1Device { + public static final String SERIALIZED_NAME_ALL_NODES = "allNodes"; + @SerializedName(SERIALIZED_NAME_ALL_NODES) + @jakarta.annotation.Nullable + private Boolean allNodes; + + public static final String SERIALIZED_NAME_ALLOW_MULTIPLE_ALLOCATIONS = "allowMultipleAllocations"; + @SerializedName(SERIALIZED_NAME_ALLOW_MULTIPLE_ALLOCATIONS) + @jakarta.annotation.Nullable + private Boolean allowMultipleAllocations; + + public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; + @SerializedName(SERIALIZED_NAME_ATTRIBUTES) + @jakarta.annotation.Nullable + private Map attributes = new HashMap<>(); + + public static final String SERIALIZED_NAME_BINDING_CONDITIONS = "bindingConditions"; + @SerializedName(SERIALIZED_NAME_BINDING_CONDITIONS) + @jakarta.annotation.Nullable + private List bindingConditions = new ArrayList<>(); + + public static final String SERIALIZED_NAME_BINDING_FAILURE_CONDITIONS = "bindingFailureConditions"; + @SerializedName(SERIALIZED_NAME_BINDING_FAILURE_CONDITIONS) + @jakarta.annotation.Nullable + private List bindingFailureConditions = new ArrayList<>(); + + public static final String SERIALIZED_NAME_BINDS_TO_NODE = "bindsToNode"; + @SerializedName(SERIALIZED_NAME_BINDS_TO_NODE) + @jakarta.annotation.Nullable + private Boolean bindsToNode; + + public static final String SERIALIZED_NAME_CAPACITY = "capacity"; + @SerializedName(SERIALIZED_NAME_CAPACITY) + @jakarta.annotation.Nullable + private Map capacity = new HashMap<>(); + + public static final String SERIALIZED_NAME_CONSUMES_COUNTERS = "consumesCounters"; + @SerializedName(SERIALIZED_NAME_CONSUMES_COUNTERS) + @jakarta.annotation.Nullable + private List consumesCounters = new ArrayList<>(); + + public static final String SERIALIZED_NAME_NAME = "name"; + @SerializedName(SERIALIZED_NAME_NAME) + @jakarta.annotation.Nonnull + private String name; + + public static final String SERIALIZED_NAME_NODE_NAME = "nodeName"; + @SerializedName(SERIALIZED_NAME_NODE_NAME) + @jakarta.annotation.Nullable + private String nodeName; + + public static final String SERIALIZED_NAME_NODE_SELECTOR = "nodeSelector"; + @SerializedName(SERIALIZED_NAME_NODE_SELECTOR) + @jakarta.annotation.Nullable + private V1NodeSelector nodeSelector; + + public static final String SERIALIZED_NAME_TAINTS = "taints"; + @SerializedName(SERIALIZED_NAME_TAINTS) + @jakarta.annotation.Nullable + private List taints = new ArrayList<>(); + + public V1Device() { + } + + public V1Device allNodes(@jakarta.annotation.Nullable Boolean allNodes) { + this.allNodes = allNodes; + return this; + } + + /** + * 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. + * @return allNodes + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "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.") + public Boolean getAllNodes() { + return allNodes; + } + + public void setAllNodes(@jakarta.annotation.Nullable Boolean allNodes) { + this.allNodes = allNodes; + } + + + public V1Device allowMultipleAllocations(@jakarta.annotation.Nullable Boolean allowMultipleAllocations) { + this.allowMultipleAllocations = allowMultipleAllocations; + return this; + } + + /** + * 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. + * @return allowMultipleAllocations + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "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.") + public Boolean getAllowMultipleAllocations() { + return allowMultipleAllocations; + } + + public void setAllowMultipleAllocations(@jakarta.annotation.Nullable Boolean allowMultipleAllocations) { + this.allowMultipleAllocations = allowMultipleAllocations; + } + + + public V1Device attributes(@jakarta.annotation.Nullable Map attributes) { + this.attributes = attributes; + return this; + } + + public V1Device putAttributesItem(String key, V1DeviceAttribute attributesItem) { + if (this.attributes == null) { + this.attributes = new HashMap<>(); + } + this.attributes.put(key, attributesItem); + return this; + } + + /** + * 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. + * @return attributes + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "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.") + public Map getAttributes() { + return attributes; + } + + public void setAttributes(@jakarta.annotation.Nullable Map attributes) { + this.attributes = attributes; + } + + + public V1Device bindingConditions(@jakarta.annotation.Nullable List bindingConditions) { + this.bindingConditions = bindingConditions; + return this; + } + + public V1Device addBindingConditionsItem(String bindingConditionsItem) { + if (this.bindingConditions == null) { + this.bindingConditions = new ArrayList<>(); + } + this.bindingConditions.add(bindingConditionsItem); + return this; + } + + /** + * BindingConditions defines the conditions for proceeding with binding. All of these conditions must be set in the per-device status conditions with a value of True to proceed with binding the pod to the node while scheduling the pod. The maximum number of binding conditions is 4. The conditions must be a valid condition type string. This is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates. + * @return bindingConditions + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "BindingConditions defines the conditions for proceeding with binding. All of these conditions must be set in the per-device status conditions with a value of True to proceed with binding the pod to the node while scheduling the pod. The maximum number of binding conditions is 4. The conditions must be a valid condition type string. This is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates.") + public List getBindingConditions() { + return bindingConditions; + } + + public void setBindingConditions(@jakarta.annotation.Nullable List bindingConditions) { + this.bindingConditions = bindingConditions; + } + + + public V1Device bindingFailureConditions(@jakarta.annotation.Nullable List bindingFailureConditions) { + this.bindingFailureConditions = bindingFailureConditions; + return this; + } + + public V1Device addBindingFailureConditionsItem(String bindingFailureConditionsItem) { + if (this.bindingFailureConditions == null) { + this.bindingFailureConditions = new ArrayList<>(); + } + this.bindingFailureConditions.add(bindingFailureConditionsItem); + return this; + } + + /** + * BindingFailureConditions defines the conditions for binding failure. They may be set in the per-device status conditions. If any is set to \"True\", a binding failure occurred. The maximum number of binding failure conditions is 4. The conditions must be a valid condition type string. This is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates. + * @return bindingFailureConditions + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "BindingFailureConditions defines the conditions for binding failure. They may be set in the per-device status conditions. If any is set to \"True\", a binding failure occurred. The maximum number of binding failure conditions is 4. The conditions must be a valid condition type string. This is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates.") + public List getBindingFailureConditions() { + return bindingFailureConditions; + } + + public void setBindingFailureConditions(@jakarta.annotation.Nullable List bindingFailureConditions) { + this.bindingFailureConditions = bindingFailureConditions; + } + + + public V1Device bindsToNode(@jakarta.annotation.Nullable Boolean bindsToNode) { + this.bindsToNode = bindsToNode; + return this; + } + + /** + * 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 feature gates. + * @return bindsToNode + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "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 feature gates.") + public Boolean getBindsToNode() { + return bindsToNode; + } + + public void setBindsToNode(@jakarta.annotation.Nullable Boolean bindsToNode) { + this.bindsToNode = bindsToNode; + } + + + public V1Device capacity(@jakarta.annotation.Nullable Map capacity) { + this.capacity = capacity; + return this; + } + + public V1Device putCapacityItem(String key, V1DeviceCapacity capacityItem) { + if (this.capacity == null) { + this.capacity = new HashMap<>(); + } + this.capacity.put(key, capacityItem); + return this; + } + + /** + * 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. + * @return capacity + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "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.") + public Map getCapacity() { + return capacity; + } + + public void setCapacity(@jakarta.annotation.Nullable Map capacity) { + this.capacity = capacity; + } + + + public V1Device consumesCounters(@jakarta.annotation.Nullable List consumesCounters) { + this.consumesCounters = consumesCounters; + return this; + } + + public V1Device addConsumesCountersItem(V1DeviceCounterConsumption consumesCountersItem) { + if (this.consumesCounters == null) { + this.consumesCounters = new ArrayList<>(); + } + this.consumesCounters.add(consumesCountersItem); + return this; + } + + /** + * ConsumesCounters defines a list of references to sharedCounters and the set of counters that the device will consume from those counter sets. There can only be a single entry per counterSet. The total number of device counter consumption entries must be <= 32. In addition, the total number in the entire ResourceSlice must be <= 1024 (for example, 64 devices with 16 counters each). + * @return consumesCounters + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "ConsumesCounters defines a list of references to sharedCounters and the set of counters that the device will consume from those counter sets. There can only be a single entry per counterSet. The total number of device counter consumption entries must be <= 32. In addition, the total number in the entire ResourceSlice must be <= 1024 (for example, 64 devices with 16 counters each).") + public List getConsumesCounters() { + return consumesCounters; + } + + public void setConsumesCounters(@jakarta.annotation.Nullable List consumesCounters) { + this.consumesCounters = consumesCounters; + } + + + public V1Device name(@jakarta.annotation.Nonnull String name) { + this.name = name; + return this; + } + + /** + * Name is unique identifier among all devices managed by the driver in the pool. It must be a DNS label. + * @return name + */ + @jakarta.annotation.Nonnull + @ApiModelProperty(required = true, value = "Name is unique identifier among all devices managed by the driver in the pool. It must be a DNS label.") + public String getName() { + return name; + } + + public void setName(@jakarta.annotation.Nonnull String name) { + this.name = name; + } + + + public V1Device nodeName(@jakarta.annotation.Nullable String nodeName) { + this.nodeName = nodeName; + return this; + } + + /** + * 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. + * @return nodeName + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "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.") + public String getNodeName() { + return nodeName; + } + + public void setNodeName(@jakarta.annotation.Nullable String nodeName) { + this.nodeName = nodeName; + } + + + public V1Device nodeSelector(@jakarta.annotation.Nullable V1NodeSelector nodeSelector) { + this.nodeSelector = nodeSelector; + return this; + } + + /** + * Get nodeSelector + * @return nodeSelector + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "") + public V1NodeSelector getNodeSelector() { + return nodeSelector; + } + + public void setNodeSelector(@jakarta.annotation.Nullable V1NodeSelector nodeSelector) { + this.nodeSelector = nodeSelector; + } + + + public V1Device taints(@jakarta.annotation.Nullable List taints) { + this.taints = taints; + return this; + } + + public V1Device addTaintsItem(V1DeviceTaint taintsItem) { + if (this.taints == null) { + this.taints = new ArrayList<>(); + } + this.taints.add(taintsItem); + return this; + } + + /** + * If specified, these are the driver-defined taints. The maximum number of taints is 4. This is an alpha field and requires enabling the DRADeviceTaints feature gate. + * @return taints + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "If specified, these are the driver-defined taints. The maximum number of taints is 4. This is an alpha field and requires enabling the DRADeviceTaints feature gate.") + public List getTaints() { + return taints; + } + + public void setTaints(@jakarta.annotation.Nullable List taints) { + this.taints = taints; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1Device v1Device = (V1Device) o; + return Objects.equals(this.allNodes, v1Device.allNodes) && + Objects.equals(this.allowMultipleAllocations, v1Device.allowMultipleAllocations) && + Objects.equals(this.attributes, v1Device.attributes) && + Objects.equals(this.bindingConditions, v1Device.bindingConditions) && + Objects.equals(this.bindingFailureConditions, v1Device.bindingFailureConditions) && + Objects.equals(this.bindsToNode, v1Device.bindsToNode) && + Objects.equals(this.capacity, v1Device.capacity) && + Objects.equals(this.consumesCounters, v1Device.consumesCounters) && + Objects.equals(this.name, v1Device.name) && + Objects.equals(this.nodeName, v1Device.nodeName) && + Objects.equals(this.nodeSelector, v1Device.nodeSelector) && + Objects.equals(this.taints, v1Device.taints); + } + + @Override + public int hashCode() { + return Objects.hash(allNodes, allowMultipleAllocations, attributes, bindingConditions, bindingFailureConditions, bindsToNode, capacity, consumesCounters, name, nodeName, nodeSelector, taints); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1Device {\n"); + sb.append(" allNodes: ").append(toIndentedString(allNodes)).append("\n"); + sb.append(" allowMultipleAllocations: ").append(toIndentedString(allowMultipleAllocations)).append("\n"); + sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n"); + sb.append(" bindingConditions: ").append(toIndentedString(bindingConditions)).append("\n"); + sb.append(" bindingFailureConditions: ").append(toIndentedString(bindingFailureConditions)).append("\n"); + sb.append(" bindsToNode: ").append(toIndentedString(bindsToNode)).append("\n"); + sb.append(" capacity: ").append(toIndentedString(capacity)).append("\n"); + sb.append(" consumesCounters: ").append(toIndentedString(consumesCounters)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" nodeName: ").append(toIndentedString(nodeName)).append("\n"); + sb.append(" nodeSelector: ").append(toIndentedString(nodeSelector)).append("\n"); + sb.append(" taints: ").append(toIndentedString(taints)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("allNodes"); + openapiFields.add("allowMultipleAllocations"); + openapiFields.add("attributes"); + openapiFields.add("bindingConditions"); + openapiFields.add("bindingFailureConditions"); + openapiFields.add("bindsToNode"); + openapiFields.add("capacity"); + openapiFields.add("consumesCounters"); + openapiFields.add("name"); + openapiFields.add("nodeName"); + openapiFields.add("nodeSelector"); + openapiFields.add("taints"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("name"); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to V1Device + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!V1Device.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1Device is not found in the empty JSON string", V1Device.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!V1Device.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1Device` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : V1Device.openapiRequiredFields) { + if (jsonElement.getAsJsonObject().get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + // ensure the optional json data is an array if present + if (jsonObj.get("bindingConditions") != null && !jsonObj.get("bindingConditions").isJsonNull() && !jsonObj.get("bindingConditions").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `bindingConditions` to be an array in the JSON string but got `%s`", jsonObj.get("bindingConditions").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("bindingFailureConditions") != null && !jsonObj.get("bindingFailureConditions").isJsonNull() && !jsonObj.get("bindingFailureConditions").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `bindingFailureConditions` to be an array in the JSON string but got `%s`", jsonObj.get("bindingFailureConditions").toString())); + } + if (jsonObj.get("consumesCounters") != null && !jsonObj.get("consumesCounters").isJsonNull()) { + JsonArray jsonArrayconsumesCounters = jsonObj.getAsJsonArray("consumesCounters"); + if (jsonArrayconsumesCounters != null) { + // ensure the json data is an array + if (!jsonObj.get("consumesCounters").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `consumesCounters` to be an array in the JSON string but got `%s`", jsonObj.get("consumesCounters").toString())); + } + + // validate the optional field `consumesCounters` (array) + for (int i = 0; i < jsonArrayconsumesCounters.size(); i++) { + V1DeviceCounterConsumption.validateJsonElement(jsonArrayconsumesCounters.get(i)); + }; + } + } + if (!jsonObj.get("name").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); + } + if ((jsonObj.get("nodeName") != null && !jsonObj.get("nodeName").isJsonNull()) && !jsonObj.get("nodeName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `nodeName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("nodeName").toString())); + } + // validate the optional field `nodeSelector` + if (jsonObj.get("nodeSelector") != null && !jsonObj.get("nodeSelector").isJsonNull()) { + V1NodeSelector.validateJsonElement(jsonObj.get("nodeSelector")); + } + if (jsonObj.get("taints") != null && !jsonObj.get("taints").isJsonNull()) { + JsonArray jsonArraytaints = jsonObj.getAsJsonArray("taints"); + if (jsonArraytaints != null) { + // ensure the json data is an array + if (!jsonObj.get("taints").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `taints` to be an array in the JSON string but got `%s`", jsonObj.get("taints").toString())); + } + + // validate the optional field `taints` (array) + for (int i = 0; i < jsonArraytaints.size(); i++) { + V1DeviceTaint.validateJsonElement(jsonArraytaints.get(i)); + }; + } + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!V1Device.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1Device' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1Device.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, V1Device value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public V1Device read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of V1Device given an JSON string + * + * @param jsonString JSON string + * @return An instance of V1Device + * @throws IOException if the JSON string is invalid with respect to V1Device + */ + public static V1Device fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1Device.class); + } + + /** + * Convert an instance of V1Device to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceAllocationConfiguration.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeviceAllocationConfiguration.java similarity index 68% rename from kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceAllocationConfiguration.java rename to kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeviceAllocationConfiguration.java index b66eeaf694..821c410165 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceAllocationConfiguration.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeviceAllocationConfiguration.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -18,7 +19,7 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.kubernetes.client.openapi.models.V1alpha3OpaqueDeviceConfiguration; +import io.kubernetes.client.openapi.models.V1OpaqueDeviceConfiguration; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; @@ -53,12 +54,12 @@ * DeviceAllocationConfiguration gets embedded in an AllocationResult. */ @ApiModel(description = "DeviceAllocationConfiguration gets embedded in an AllocationResult.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") -public class V1alpha3DeviceAllocationConfiguration { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1DeviceAllocationConfiguration { public static final String SERIALIZED_NAME_OPAQUE = "opaque"; @SerializedName(SERIALIZED_NAME_OPAQUE) @jakarta.annotation.Nullable - private V1alpha3OpaqueDeviceConfiguration opaque; + private V1OpaqueDeviceConfiguration opaque; public static final String SERIALIZED_NAME_REQUESTS = "requests"; @SerializedName(SERIALIZED_NAME_REQUESTS) @@ -70,10 +71,10 @@ public class V1alpha3DeviceAllocationConfiguration { @jakarta.annotation.Nonnull private String source; - public V1alpha3DeviceAllocationConfiguration() { + public V1DeviceAllocationConfiguration() { } - public V1alpha3DeviceAllocationConfiguration opaque(@jakarta.annotation.Nullable V1alpha3OpaqueDeviceConfiguration opaque) { + public V1DeviceAllocationConfiguration opaque(@jakarta.annotation.Nullable V1OpaqueDeviceConfiguration opaque) { this.opaque = opaque; return this; } @@ -84,21 +85,21 @@ public V1alpha3DeviceAllocationConfiguration opaque(@jakarta.annotation.Nullable */ @jakarta.annotation.Nullable @ApiModelProperty(value = "") - public V1alpha3OpaqueDeviceConfiguration getOpaque() { + public V1OpaqueDeviceConfiguration getOpaque() { return opaque; } - public void setOpaque(@jakarta.annotation.Nullable V1alpha3OpaqueDeviceConfiguration opaque) { + public void setOpaque(@jakarta.annotation.Nullable V1OpaqueDeviceConfiguration opaque) { this.opaque = opaque; } - public V1alpha3DeviceAllocationConfiguration requests(@jakarta.annotation.Nullable List requests) { + public V1DeviceAllocationConfiguration requests(@jakarta.annotation.Nullable List requests) { this.requests = requests; return this; } - public V1alpha3DeviceAllocationConfiguration addRequestsItem(String requestsItem) { + public V1DeviceAllocationConfiguration addRequestsItem(String requestsItem) { if (this.requests == null) { this.requests = new ArrayList<>(); } @@ -121,7 +122,7 @@ public void setRequests(@jakarta.annotation.Nullable List requests) { } - public V1alpha3DeviceAllocationConfiguration source(@jakarta.annotation.Nonnull String source) { + public V1DeviceAllocationConfiguration source(@jakarta.annotation.Nonnull String source) { this.source = source; return this; } @@ -150,10 +151,10 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V1alpha3DeviceAllocationConfiguration v1alpha3DeviceAllocationConfiguration = (V1alpha3DeviceAllocationConfiguration) o; - return Objects.equals(this.opaque, v1alpha3DeviceAllocationConfiguration.opaque) && - Objects.equals(this.requests, v1alpha3DeviceAllocationConfiguration.requests) && - Objects.equals(this.source, v1alpha3DeviceAllocationConfiguration.source); + V1DeviceAllocationConfiguration v1DeviceAllocationConfiguration = (V1DeviceAllocationConfiguration) o; + return Objects.equals(this.opaque, v1DeviceAllocationConfiguration.opaque) && + Objects.equals(this.requests, v1DeviceAllocationConfiguration.requests) && + Objects.equals(this.source, v1DeviceAllocationConfiguration.source); } @Override @@ -164,7 +165,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V1alpha3DeviceAllocationConfiguration {\n"); + sb.append("class V1DeviceAllocationConfiguration {\n"); sb.append(" opaque: ").append(toIndentedString(opaque)).append("\n"); sb.append(" requests: ").append(toIndentedString(requests)).append("\n"); sb.append(" source: ").append(toIndentedString(source)).append("\n"); @@ -203,25 +204,25 @@ private String toIndentedString(Object o) { * Validates the JSON Element and throws an exception if issues found * * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to V1alpha3DeviceAllocationConfiguration + * @throws IOException if the JSON Element is invalid with respect to V1DeviceAllocationConfiguration */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - if (!V1alpha3DeviceAllocationConfiguration.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in V1alpha3DeviceAllocationConfiguration is not found in the empty JSON string", V1alpha3DeviceAllocationConfiguration.openapiRequiredFields.toString())); + if (!V1DeviceAllocationConfiguration.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1DeviceAllocationConfiguration is not found in the empty JSON string", V1DeviceAllocationConfiguration.openapiRequiredFields.toString())); } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { - if (!V1alpha3DeviceAllocationConfiguration.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1alpha3DeviceAllocationConfiguration` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + if (!V1DeviceAllocationConfiguration.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1DeviceAllocationConfiguration` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } // check to make sure all required properties/fields are present in the JSON string - for (String requiredField : V1alpha3DeviceAllocationConfiguration.openapiRequiredFields) { + for (String requiredField : V1DeviceAllocationConfiguration.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); } @@ -229,7 +230,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); // validate the optional field `opaque` if (jsonObj.get("opaque") != null && !jsonObj.get("opaque").isJsonNull()) { - V1alpha3OpaqueDeviceConfiguration.validateJsonElement(jsonObj.get("opaque")); + V1OpaqueDeviceConfiguration.validateJsonElement(jsonObj.get("opaque")); } // ensure the optional json data is an array if present if (jsonObj.get("requests") != null && !jsonObj.get("requests").isJsonNull() && !jsonObj.get("requests").isJsonArray()) { @@ -244,22 +245,22 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1alpha3DeviceAllocationConfiguration.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1alpha3DeviceAllocationConfiguration' and its subtypes + if (!V1DeviceAllocationConfiguration.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1DeviceAllocationConfiguration' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1alpha3DeviceAllocationConfiguration.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1DeviceAllocationConfiguration.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, V1alpha3DeviceAllocationConfiguration value) throws IOException { + public void write(JsonWriter out, V1DeviceAllocationConfiguration value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public V1alpha3DeviceAllocationConfiguration read(JsonReader in) throws IOException { + public V1DeviceAllocationConfiguration read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -270,18 +271,18 @@ public V1alpha3DeviceAllocationConfiguration read(JsonReader in) throws IOExcept } /** - * Create an instance of V1alpha3DeviceAllocationConfiguration given an JSON string + * Create an instance of V1DeviceAllocationConfiguration given an JSON string * * @param jsonString JSON string - * @return An instance of V1alpha3DeviceAllocationConfiguration - * @throws IOException if the JSON string is invalid with respect to V1alpha3DeviceAllocationConfiguration + * @return An instance of V1DeviceAllocationConfiguration + * @throws IOException if the JSON string is invalid with respect to V1DeviceAllocationConfiguration */ - public static V1alpha3DeviceAllocationConfiguration fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1alpha3DeviceAllocationConfiguration.class); + public static V1DeviceAllocationConfiguration fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1DeviceAllocationConfiguration.class); } /** - * Convert an instance of V1alpha3DeviceAllocationConfiguration to an JSON string + * Convert an instance of V1DeviceAllocationConfiguration to an JSON string * * @return JSON string */ @@ -289,3 +290,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceAllocationResult.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeviceAllocationResult.java similarity index 65% rename from kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceAllocationResult.java rename to kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeviceAllocationResult.java index a2ce3a1de2..15bcc87f3d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceAllocationResult.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeviceAllocationResult.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -18,8 +19,8 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.kubernetes.client.openapi.models.V1alpha3DeviceAllocationConfiguration; -import io.kubernetes.client.openapi.models.V1alpha3DeviceRequestAllocationResult; +import io.kubernetes.client.openapi.models.V1DeviceAllocationConfiguration; +import io.kubernetes.client.openapi.models.V1DeviceRequestAllocationResult; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; @@ -54,27 +55,27 @@ * DeviceAllocationResult is the result of allocating devices. */ @ApiModel(description = "DeviceAllocationResult is the result of allocating devices.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") -public class V1alpha3DeviceAllocationResult { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1DeviceAllocationResult { public static final String SERIALIZED_NAME_CONFIG = "config"; @SerializedName(SERIALIZED_NAME_CONFIG) @jakarta.annotation.Nullable - private List config = new ArrayList<>(); + private List config = new ArrayList<>(); public static final String SERIALIZED_NAME_RESULTS = "results"; @SerializedName(SERIALIZED_NAME_RESULTS) @jakarta.annotation.Nullable - private List results = new ArrayList<>(); + private List results = new ArrayList<>(); - public V1alpha3DeviceAllocationResult() { + public V1DeviceAllocationResult() { } - public V1alpha3DeviceAllocationResult config(@jakarta.annotation.Nullable List config) { + public V1DeviceAllocationResult config(@jakarta.annotation.Nullable List config) { this.config = config; return this; } - public V1alpha3DeviceAllocationResult addConfigItem(V1alpha3DeviceAllocationConfiguration configItem) { + public V1DeviceAllocationResult addConfigItem(V1DeviceAllocationConfiguration configItem) { if (this.config == null) { this.config = new ArrayList<>(); } @@ -88,21 +89,21 @@ public V1alpha3DeviceAllocationResult addConfigItem(V1alpha3DeviceAllocationConf */ @jakarta.annotation.Nullable @ApiModelProperty(value = "This field is a combination of all the claim and class configuration parameters. Drivers can distinguish between those based on a flag. This includes configuration parameters for drivers which have no allocated devices in the result because it is up to the drivers which configuration parameters they support. They can silently ignore unknown configuration parameters.") - public List getConfig() { + public List getConfig() { return config; } - public void setConfig(@jakarta.annotation.Nullable List config) { + public void setConfig(@jakarta.annotation.Nullable List config) { this.config = config; } - public V1alpha3DeviceAllocationResult results(@jakarta.annotation.Nullable List results) { + public V1DeviceAllocationResult results(@jakarta.annotation.Nullable List results) { this.results = results; return this; } - public V1alpha3DeviceAllocationResult addResultsItem(V1alpha3DeviceRequestAllocationResult resultsItem) { + public V1DeviceAllocationResult addResultsItem(V1DeviceRequestAllocationResult resultsItem) { if (this.results == null) { this.results = new ArrayList<>(); } @@ -116,11 +117,11 @@ public V1alpha3DeviceAllocationResult addResultsItem(V1alpha3DeviceRequestAlloca */ @jakarta.annotation.Nullable @ApiModelProperty(value = "Results lists all allocated devices.") - public List getResults() { + public List getResults() { return results; } - public void setResults(@jakarta.annotation.Nullable List results) { + public void setResults(@jakarta.annotation.Nullable List results) { this.results = results; } @@ -134,9 +135,9 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V1alpha3DeviceAllocationResult v1alpha3DeviceAllocationResult = (V1alpha3DeviceAllocationResult) o; - return Objects.equals(this.config, v1alpha3DeviceAllocationResult.config) && - Objects.equals(this.results, v1alpha3DeviceAllocationResult.results); + V1DeviceAllocationResult v1DeviceAllocationResult = (V1DeviceAllocationResult) o; + return Objects.equals(this.config, v1DeviceAllocationResult.config) && + Objects.equals(this.results, v1DeviceAllocationResult.results); } @Override @@ -147,7 +148,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V1alpha3DeviceAllocationResult {\n"); + sb.append("class V1DeviceAllocationResult {\n"); sb.append(" config: ").append(toIndentedString(config)).append("\n"); sb.append(" results: ").append(toIndentedString(results)).append("\n"); sb.append("}"); @@ -183,20 +184,20 @@ private String toIndentedString(Object o) { * Validates the JSON Element and throws an exception if issues found * * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to V1alpha3DeviceAllocationResult + * @throws IOException if the JSON Element is invalid with respect to V1DeviceAllocationResult */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - if (!V1alpha3DeviceAllocationResult.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in V1alpha3DeviceAllocationResult is not found in the empty JSON string", V1alpha3DeviceAllocationResult.openapiRequiredFields.toString())); + if (!V1DeviceAllocationResult.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1DeviceAllocationResult is not found in the empty JSON string", V1DeviceAllocationResult.openapiRequiredFields.toString())); } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { - if (!V1alpha3DeviceAllocationResult.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1alpha3DeviceAllocationResult` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + if (!V1DeviceAllocationResult.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1DeviceAllocationResult` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); @@ -210,7 +211,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // validate the optional field `config` (array) for (int i = 0; i < jsonArrayconfig.size(); i++) { - V1alpha3DeviceAllocationConfiguration.validateJsonElement(jsonArrayconfig.get(i)); + V1DeviceAllocationConfiguration.validateJsonElement(jsonArrayconfig.get(i)); }; } } @@ -224,7 +225,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // validate the optional field `results` (array) for (int i = 0; i < jsonArrayresults.size(); i++) { - V1alpha3DeviceRequestAllocationResult.validateJsonElement(jsonArrayresults.get(i)); + V1DeviceRequestAllocationResult.validateJsonElement(jsonArrayresults.get(i)); }; } } @@ -234,22 +235,22 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1alpha3DeviceAllocationResult.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1alpha3DeviceAllocationResult' and its subtypes + if (!V1DeviceAllocationResult.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1DeviceAllocationResult' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1alpha3DeviceAllocationResult.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1DeviceAllocationResult.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, V1alpha3DeviceAllocationResult value) throws IOException { + public void write(JsonWriter out, V1DeviceAllocationResult value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public V1alpha3DeviceAllocationResult read(JsonReader in) throws IOException { + public V1DeviceAllocationResult read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -260,18 +261,18 @@ public V1alpha3DeviceAllocationResult read(JsonReader in) throws IOException { } /** - * Create an instance of V1alpha3DeviceAllocationResult given an JSON string + * Create an instance of V1DeviceAllocationResult given an JSON string * * @param jsonString JSON string - * @return An instance of V1alpha3DeviceAllocationResult - * @throws IOException if the JSON string is invalid with respect to V1alpha3DeviceAllocationResult + * @return An instance of V1DeviceAllocationResult + * @throws IOException if the JSON string is invalid with respect to V1DeviceAllocationResult */ - public static V1alpha3DeviceAllocationResult fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1alpha3DeviceAllocationResult.class); + public static V1DeviceAllocationResult fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1DeviceAllocationResult.class); } /** - * Convert an instance of V1alpha3DeviceAllocationResult to an JSON string + * Convert an instance of V1DeviceAllocationResult to an JSON string * * @return JSON string */ @@ -279,3 +280,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceAttribute.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeviceAttribute.java similarity index 72% rename from kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceAttribute.java rename to kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeviceAttribute.java index 6b8a377204..ed226cb074 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceAttribute.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeviceAttribute.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,8 +51,8 @@ * DeviceAttribute must have exactly one field set. */ @ApiModel(description = "DeviceAttribute must have exactly one field set.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") -public class V1alpha3DeviceAttribute { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1DeviceAttribute { public static final String SERIALIZED_NAME_BOOL = "bool"; @SerializedName(SERIALIZED_NAME_BOOL) @jakarta.annotation.Nullable @@ -72,10 +73,10 @@ public class V1alpha3DeviceAttribute { @jakarta.annotation.Nullable private String version; - public V1alpha3DeviceAttribute() { + public V1DeviceAttribute() { } - public V1alpha3DeviceAttribute bool(@jakarta.annotation.Nullable Boolean bool) { + public V1DeviceAttribute bool(@jakarta.annotation.Nullable Boolean bool) { this.bool = bool; return this; } @@ -95,7 +96,7 @@ public void setBool(@jakarta.annotation.Nullable Boolean bool) { } - public V1alpha3DeviceAttribute _int(@jakarta.annotation.Nullable Long _int) { + public V1DeviceAttribute _int(@jakarta.annotation.Nullable Long _int) { this._int = _int; return this; } @@ -115,7 +116,7 @@ public void setInt(@jakarta.annotation.Nullable Long _int) { } - public V1alpha3DeviceAttribute string(@jakarta.annotation.Nullable String string) { + public V1DeviceAttribute string(@jakarta.annotation.Nullable String string) { this.string = string; return this; } @@ -135,7 +136,7 @@ public void setString(@jakarta.annotation.Nullable String string) { } - public V1alpha3DeviceAttribute version(@jakarta.annotation.Nullable String version) { + public V1DeviceAttribute version(@jakarta.annotation.Nullable String version) { this.version = version; return this; } @@ -164,11 +165,11 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V1alpha3DeviceAttribute v1alpha3DeviceAttribute = (V1alpha3DeviceAttribute) o; - return Objects.equals(this.bool, v1alpha3DeviceAttribute.bool) && - Objects.equals(this._int, v1alpha3DeviceAttribute._int) && - Objects.equals(this.string, v1alpha3DeviceAttribute.string) && - Objects.equals(this.version, v1alpha3DeviceAttribute.version); + V1DeviceAttribute v1DeviceAttribute = (V1DeviceAttribute) o; + return Objects.equals(this.bool, v1DeviceAttribute.bool) && + Objects.equals(this._int, v1DeviceAttribute._int) && + Objects.equals(this.string, v1DeviceAttribute.string) && + Objects.equals(this.version, v1DeviceAttribute.version); } @Override @@ -179,7 +180,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V1alpha3DeviceAttribute {\n"); + sb.append("class V1DeviceAttribute {\n"); sb.append(" bool: ").append(toIndentedString(bool)).append("\n"); sb.append(" _int: ").append(toIndentedString(_int)).append("\n"); sb.append(" string: ").append(toIndentedString(string)).append("\n"); @@ -219,20 +220,20 @@ private String toIndentedString(Object o) { * Validates the JSON Element and throws an exception if issues found * * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to V1alpha3DeviceAttribute + * @throws IOException if the JSON Element is invalid with respect to V1DeviceAttribute */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - if (!V1alpha3DeviceAttribute.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in V1alpha3DeviceAttribute is not found in the empty JSON string", V1alpha3DeviceAttribute.openapiRequiredFields.toString())); + if (!V1DeviceAttribute.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1DeviceAttribute is not found in the empty JSON string", V1DeviceAttribute.openapiRequiredFields.toString())); } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { - if (!V1alpha3DeviceAttribute.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1alpha3DeviceAttribute` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + if (!V1DeviceAttribute.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1DeviceAttribute` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); @@ -248,22 +249,22 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1alpha3DeviceAttribute.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1alpha3DeviceAttribute' and its subtypes + if (!V1DeviceAttribute.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1DeviceAttribute' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1alpha3DeviceAttribute.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1DeviceAttribute.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, V1alpha3DeviceAttribute value) throws IOException { + public void write(JsonWriter out, V1DeviceAttribute value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public V1alpha3DeviceAttribute read(JsonReader in) throws IOException { + public V1DeviceAttribute read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -274,18 +275,18 @@ public V1alpha3DeviceAttribute read(JsonReader in) throws IOException { } /** - * Create an instance of V1alpha3DeviceAttribute given an JSON string + * Create an instance of V1DeviceAttribute given an JSON string * * @param jsonString JSON string - * @return An instance of V1alpha3DeviceAttribute - * @throws IOException if the JSON string is invalid with respect to V1alpha3DeviceAttribute + * @return An instance of V1DeviceAttribute + * @throws IOException if the JSON string is invalid with respect to V1DeviceAttribute */ - public static V1alpha3DeviceAttribute fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1alpha3DeviceAttribute.class); + public static V1DeviceAttribute fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1DeviceAttribute.class); } /** - * Convert an instance of V1alpha3DeviceAttribute to an JSON string + * Convert an instance of V1DeviceAttribute to an JSON string * * @return JSON string */ @@ -293,3 +294,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeviceCapacity.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeviceCapacity.java new file mode 100644 index 0000000000..9fb538374e --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeviceCapacity.java @@ -0,0 +1,252 @@ +/* + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package io.kubernetes.client.openapi.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.custom.Quantity; +import io.kubernetes.client.openapi.models.V1CapacityRequestPolicy; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.Arrays; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import io.kubernetes.client.openapi.JSON; + +/** + * DeviceCapacity describes a quantity associated with a device. + */ +@ApiModel(description = "DeviceCapacity describes a quantity associated with a device.") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1DeviceCapacity { + public static final String SERIALIZED_NAME_REQUEST_POLICY = "requestPolicy"; + @SerializedName(SERIALIZED_NAME_REQUEST_POLICY) + @jakarta.annotation.Nullable + private V1CapacityRequestPolicy requestPolicy; + + public static final String SERIALIZED_NAME_VALUE = "value"; + @SerializedName(SERIALIZED_NAME_VALUE) + @jakarta.annotation.Nonnull + private Quantity value; + + public V1DeviceCapacity() { + } + + public V1DeviceCapacity requestPolicy(@jakarta.annotation.Nullable V1CapacityRequestPolicy requestPolicy) { + this.requestPolicy = requestPolicy; + return this; + } + + /** + * Get requestPolicy + * @return requestPolicy + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "") + public V1CapacityRequestPolicy getRequestPolicy() { + return requestPolicy; + } + + public void setRequestPolicy(@jakarta.annotation.Nullable V1CapacityRequestPolicy requestPolicy) { + this.requestPolicy = requestPolicy; + } + + + public V1DeviceCapacity value(@jakarta.annotation.Nonnull Quantity value) { + this.value = value; + return this; + } + + /** + * Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. The serialization format is: ``` <quantity> ::= <signedNumber><suffix> (Note that <suffix> may be empty, from the \"\" case in <decimalSI>.) <digit> ::= 0 | 1 | ... | 9 <digits> ::= <digit> | <digit><digits> <number> ::= <digits> | <digits>.<digits> | <digits>. | .<digits> <sign> ::= \"+\" | \"-\" <signedNumber> ::= <number> | <sign><number> <suffix> ::= <binarySI> | <decimalExponent> | <decimalSI> <binarySI> ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) <decimalSI> ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) <decimalExponent> ::= \"e\" <signedNumber> | \"E\" <signedNumber> ``` No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: - No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: - 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation. + * @return value + */ + @jakarta.annotation.Nonnull + @ApiModelProperty(required = true, value = "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. The serialization format is: ``` ::= (Note that may be empty, from the \"\" case in .) ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) ::= \"e\" | \"E\" ``` No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: - No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: - 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.") + public Quantity getValue() { + return value; + } + + public void setValue(@jakarta.annotation.Nonnull Quantity value) { + this.value = value; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1DeviceCapacity v1DeviceCapacity = (V1DeviceCapacity) o; + return Objects.equals(this.requestPolicy, v1DeviceCapacity.requestPolicy) && + Objects.equals(this.value, v1DeviceCapacity.value); + } + + @Override + public int hashCode() { + return Objects.hash(requestPolicy, value); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1DeviceCapacity {\n"); + sb.append(" requestPolicy: ").append(toIndentedString(requestPolicy)).append("\n"); + sb.append(" value: ").append(toIndentedString(value)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("requestPolicy"); + openapiFields.add("value"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("value"); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to V1DeviceCapacity + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!V1DeviceCapacity.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1DeviceCapacity is not found in the empty JSON string", V1DeviceCapacity.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!V1DeviceCapacity.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1DeviceCapacity` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : V1DeviceCapacity.openapiRequiredFields) { + if (jsonElement.getAsJsonObject().get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + // validate the optional field `requestPolicy` + if (jsonObj.get("requestPolicy") != null && !jsonObj.get("requestPolicy").isJsonNull()) { + V1CapacityRequestPolicy.validateJsonElement(jsonObj.get("requestPolicy")); + } + if (!jsonObj.get("value").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `value` to be a primitive type in the JSON string but got `%s`", jsonObj.get("value").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!V1DeviceCapacity.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1DeviceCapacity' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1DeviceCapacity.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, V1DeviceCapacity value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public V1DeviceCapacity read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of V1DeviceCapacity given an JSON string + * + * @param jsonString JSON string + * @return An instance of V1DeviceCapacity + * @throws IOException if the JSON string is invalid with respect to V1DeviceCapacity + */ + public static V1DeviceCapacity fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1DeviceCapacity.class); + } + + /** + * Convert an instance of V1DeviceCapacity to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceClaim.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeviceClaim.java similarity index 68% rename from kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceClaim.java rename to kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeviceClaim.java index 6b6625eccc..71afea0776 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceClaim.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeviceClaim.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -18,9 +19,9 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.kubernetes.client.openapi.models.V1alpha3DeviceClaimConfiguration; -import io.kubernetes.client.openapi.models.V1alpha3DeviceConstraint; -import io.kubernetes.client.openapi.models.V1alpha3DeviceRequest; +import io.kubernetes.client.openapi.models.V1DeviceClaimConfiguration; +import io.kubernetes.client.openapi.models.V1DeviceConstraint; +import io.kubernetes.client.openapi.models.V1DeviceRequest; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; @@ -55,32 +56,32 @@ * DeviceClaim defines how to request devices with a ResourceClaim. */ @ApiModel(description = "DeviceClaim defines how to request devices with a ResourceClaim.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") -public class V1alpha3DeviceClaim { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1DeviceClaim { public static final String SERIALIZED_NAME_CONFIG = "config"; @SerializedName(SERIALIZED_NAME_CONFIG) @jakarta.annotation.Nullable - private List config = new ArrayList<>(); + private List config = new ArrayList<>(); public static final String SERIALIZED_NAME_CONSTRAINTS = "constraints"; @SerializedName(SERIALIZED_NAME_CONSTRAINTS) @jakarta.annotation.Nullable - private List constraints = new ArrayList<>(); + private List constraints = new ArrayList<>(); public static final String SERIALIZED_NAME_REQUESTS = "requests"; @SerializedName(SERIALIZED_NAME_REQUESTS) @jakarta.annotation.Nullable - private List requests = new ArrayList<>(); + private List requests = new ArrayList<>(); - public V1alpha3DeviceClaim() { + public V1DeviceClaim() { } - public V1alpha3DeviceClaim config(@jakarta.annotation.Nullable List config) { + public V1DeviceClaim config(@jakarta.annotation.Nullable List config) { this.config = config; return this; } - public V1alpha3DeviceClaim addConfigItem(V1alpha3DeviceClaimConfiguration configItem) { + public V1DeviceClaim addConfigItem(V1DeviceClaimConfiguration configItem) { if (this.config == null) { this.config = new ArrayList<>(); } @@ -94,21 +95,21 @@ public V1alpha3DeviceClaim addConfigItem(V1alpha3DeviceClaimConfiguration config */ @jakarta.annotation.Nullable @ApiModelProperty(value = "This field holds configuration for multiple potential drivers which could satisfy requests in this claim. It is ignored while allocating the claim.") - public List getConfig() { + public List getConfig() { return config; } - public void setConfig(@jakarta.annotation.Nullable List config) { + public void setConfig(@jakarta.annotation.Nullable List config) { this.config = config; } - public V1alpha3DeviceClaim constraints(@jakarta.annotation.Nullable List constraints) { + public V1DeviceClaim constraints(@jakarta.annotation.Nullable List constraints) { this.constraints = constraints; return this; } - public V1alpha3DeviceClaim addConstraintsItem(V1alpha3DeviceConstraint constraintsItem) { + public V1DeviceClaim addConstraintsItem(V1DeviceConstraint constraintsItem) { if (this.constraints == null) { this.constraints = new ArrayList<>(); } @@ -122,21 +123,21 @@ public V1alpha3DeviceClaim addConstraintsItem(V1alpha3DeviceConstraint constrain */ @jakarta.annotation.Nullable @ApiModelProperty(value = "These constraints must be satisfied by the set of devices that get allocated for the claim.") - public List getConstraints() { + public List getConstraints() { return constraints; } - public void setConstraints(@jakarta.annotation.Nullable List constraints) { + public void setConstraints(@jakarta.annotation.Nullable List constraints) { this.constraints = constraints; } - public V1alpha3DeviceClaim requests(@jakarta.annotation.Nullable List requests) { + public V1DeviceClaim requests(@jakarta.annotation.Nullable List requests) { this.requests = requests; return this; } - public V1alpha3DeviceClaim addRequestsItem(V1alpha3DeviceRequest requestsItem) { + public V1DeviceClaim addRequestsItem(V1DeviceRequest requestsItem) { if (this.requests == null) { this.requests = new ArrayList<>(); } @@ -150,11 +151,11 @@ public V1alpha3DeviceClaim addRequestsItem(V1alpha3DeviceRequest requestsItem) { */ @jakarta.annotation.Nullable @ApiModelProperty(value = "Requests represent individual requests for distinct devices which must all be satisfied. If empty, nothing needs to be allocated.") - public List getRequests() { + public List getRequests() { return requests; } - public void setRequests(@jakarta.annotation.Nullable List requests) { + public void setRequests(@jakarta.annotation.Nullable List requests) { this.requests = requests; } @@ -168,10 +169,10 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V1alpha3DeviceClaim v1alpha3DeviceClaim = (V1alpha3DeviceClaim) o; - return Objects.equals(this.config, v1alpha3DeviceClaim.config) && - Objects.equals(this.constraints, v1alpha3DeviceClaim.constraints) && - Objects.equals(this.requests, v1alpha3DeviceClaim.requests); + V1DeviceClaim v1DeviceClaim = (V1DeviceClaim) o; + return Objects.equals(this.config, v1DeviceClaim.config) && + Objects.equals(this.constraints, v1DeviceClaim.constraints) && + Objects.equals(this.requests, v1DeviceClaim.requests); } @Override @@ -182,7 +183,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V1alpha3DeviceClaim {\n"); + sb.append("class V1DeviceClaim {\n"); sb.append(" config: ").append(toIndentedString(config)).append("\n"); sb.append(" constraints: ").append(toIndentedString(constraints)).append("\n"); sb.append(" requests: ").append(toIndentedString(requests)).append("\n"); @@ -220,20 +221,20 @@ private String toIndentedString(Object o) { * Validates the JSON Element and throws an exception if issues found * * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to V1alpha3DeviceClaim + * @throws IOException if the JSON Element is invalid with respect to V1DeviceClaim */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - if (!V1alpha3DeviceClaim.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in V1alpha3DeviceClaim is not found in the empty JSON string", V1alpha3DeviceClaim.openapiRequiredFields.toString())); + if (!V1DeviceClaim.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1DeviceClaim is not found in the empty JSON string", V1DeviceClaim.openapiRequiredFields.toString())); } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { - if (!V1alpha3DeviceClaim.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1alpha3DeviceClaim` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + if (!V1DeviceClaim.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1DeviceClaim` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); @@ -247,7 +248,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // validate the optional field `config` (array) for (int i = 0; i < jsonArrayconfig.size(); i++) { - V1alpha3DeviceClaimConfiguration.validateJsonElement(jsonArrayconfig.get(i)); + V1DeviceClaimConfiguration.validateJsonElement(jsonArrayconfig.get(i)); }; } } @@ -261,7 +262,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // validate the optional field `constraints` (array) for (int i = 0; i < jsonArrayconstraints.size(); i++) { - V1alpha3DeviceConstraint.validateJsonElement(jsonArrayconstraints.get(i)); + V1DeviceConstraint.validateJsonElement(jsonArrayconstraints.get(i)); }; } } @@ -275,7 +276,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // validate the optional field `requests` (array) for (int i = 0; i < jsonArrayrequests.size(); i++) { - V1alpha3DeviceRequest.validateJsonElement(jsonArrayrequests.get(i)); + V1DeviceRequest.validateJsonElement(jsonArrayrequests.get(i)); }; } } @@ -285,22 +286,22 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1alpha3DeviceClaim.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1alpha3DeviceClaim' and its subtypes + if (!V1DeviceClaim.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1DeviceClaim' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1alpha3DeviceClaim.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1DeviceClaim.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, V1alpha3DeviceClaim value) throws IOException { + public void write(JsonWriter out, V1DeviceClaim value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public V1alpha3DeviceClaim read(JsonReader in) throws IOException { + public V1DeviceClaim read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -311,18 +312,18 @@ public V1alpha3DeviceClaim read(JsonReader in) throws IOException { } /** - * Create an instance of V1alpha3DeviceClaim given an JSON string + * Create an instance of V1DeviceClaim given an JSON string * * @param jsonString JSON string - * @return An instance of V1alpha3DeviceClaim - * @throws IOException if the JSON string is invalid with respect to V1alpha3DeviceClaim + * @return An instance of V1DeviceClaim + * @throws IOException if the JSON string is invalid with respect to V1DeviceClaim */ - public static V1alpha3DeviceClaim fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1alpha3DeviceClaim.class); + public static V1DeviceClaim fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1DeviceClaim.class); } /** - * Convert an instance of V1alpha3DeviceClaim to an JSON string + * Convert an instance of V1DeviceClaim to an JSON string * * @return JSON string */ @@ -330,3 +331,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceClaimConfiguration.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeviceClaimConfiguration.java similarity index 66% rename from kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceClaimConfiguration.java rename to kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeviceClaimConfiguration.java index fe43145aef..abdb630e51 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceClaimConfiguration.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeviceClaimConfiguration.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -18,7 +19,7 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.kubernetes.client.openapi.models.V1alpha3OpaqueDeviceConfiguration; +import io.kubernetes.client.openapi.models.V1OpaqueDeviceConfiguration; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; @@ -53,22 +54,22 @@ * DeviceClaimConfiguration is used for configuration parameters in DeviceClaim. */ @ApiModel(description = "DeviceClaimConfiguration is used for configuration parameters in DeviceClaim.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") -public class V1alpha3DeviceClaimConfiguration { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1DeviceClaimConfiguration { public static final String SERIALIZED_NAME_OPAQUE = "opaque"; @SerializedName(SERIALIZED_NAME_OPAQUE) @jakarta.annotation.Nullable - private V1alpha3OpaqueDeviceConfiguration opaque; + private V1OpaqueDeviceConfiguration opaque; public static final String SERIALIZED_NAME_REQUESTS = "requests"; @SerializedName(SERIALIZED_NAME_REQUESTS) @jakarta.annotation.Nullable private List requests = new ArrayList<>(); - public V1alpha3DeviceClaimConfiguration() { + public V1DeviceClaimConfiguration() { } - public V1alpha3DeviceClaimConfiguration opaque(@jakarta.annotation.Nullable V1alpha3OpaqueDeviceConfiguration opaque) { + public V1DeviceClaimConfiguration opaque(@jakarta.annotation.Nullable V1OpaqueDeviceConfiguration opaque) { this.opaque = opaque; return this; } @@ -79,21 +80,21 @@ public V1alpha3DeviceClaimConfiguration opaque(@jakarta.annotation.Nullable V1al */ @jakarta.annotation.Nullable @ApiModelProperty(value = "") - public V1alpha3OpaqueDeviceConfiguration getOpaque() { + public V1OpaqueDeviceConfiguration getOpaque() { return opaque; } - public void setOpaque(@jakarta.annotation.Nullable V1alpha3OpaqueDeviceConfiguration opaque) { + public void setOpaque(@jakarta.annotation.Nullable V1OpaqueDeviceConfiguration opaque) { this.opaque = opaque; } - public V1alpha3DeviceClaimConfiguration requests(@jakarta.annotation.Nullable List requests) { + public V1DeviceClaimConfiguration requests(@jakarta.annotation.Nullable List requests) { this.requests = requests; return this; } - public V1alpha3DeviceClaimConfiguration addRequestsItem(String requestsItem) { + public V1DeviceClaimConfiguration addRequestsItem(String requestsItem) { if (this.requests == null) { this.requests = new ArrayList<>(); } @@ -125,9 +126,9 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V1alpha3DeviceClaimConfiguration v1alpha3DeviceClaimConfiguration = (V1alpha3DeviceClaimConfiguration) o; - return Objects.equals(this.opaque, v1alpha3DeviceClaimConfiguration.opaque) && - Objects.equals(this.requests, v1alpha3DeviceClaimConfiguration.requests); + V1DeviceClaimConfiguration v1DeviceClaimConfiguration = (V1DeviceClaimConfiguration) o; + return Objects.equals(this.opaque, v1DeviceClaimConfiguration.opaque) && + Objects.equals(this.requests, v1DeviceClaimConfiguration.requests); } @Override @@ -138,7 +139,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V1alpha3DeviceClaimConfiguration {\n"); + sb.append("class V1DeviceClaimConfiguration {\n"); sb.append(" opaque: ").append(toIndentedString(opaque)).append("\n"); sb.append(" requests: ").append(toIndentedString(requests)).append("\n"); sb.append("}"); @@ -174,26 +175,26 @@ private String toIndentedString(Object o) { * Validates the JSON Element and throws an exception if issues found * * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to V1alpha3DeviceClaimConfiguration + * @throws IOException if the JSON Element is invalid with respect to V1DeviceClaimConfiguration */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - if (!V1alpha3DeviceClaimConfiguration.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in V1alpha3DeviceClaimConfiguration is not found in the empty JSON string", V1alpha3DeviceClaimConfiguration.openapiRequiredFields.toString())); + if (!V1DeviceClaimConfiguration.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1DeviceClaimConfiguration is not found in the empty JSON string", V1DeviceClaimConfiguration.openapiRequiredFields.toString())); } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { - if (!V1alpha3DeviceClaimConfiguration.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1alpha3DeviceClaimConfiguration` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + if (!V1DeviceClaimConfiguration.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1DeviceClaimConfiguration` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); // validate the optional field `opaque` if (jsonObj.get("opaque") != null && !jsonObj.get("opaque").isJsonNull()) { - V1alpha3OpaqueDeviceConfiguration.validateJsonElement(jsonObj.get("opaque")); + V1OpaqueDeviceConfiguration.validateJsonElement(jsonObj.get("opaque")); } // ensure the optional json data is an array if present if (jsonObj.get("requests") != null && !jsonObj.get("requests").isJsonNull() && !jsonObj.get("requests").isJsonArray()) { @@ -205,22 +206,22 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1alpha3DeviceClaimConfiguration.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1alpha3DeviceClaimConfiguration' and its subtypes + if (!V1DeviceClaimConfiguration.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1DeviceClaimConfiguration' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1alpha3DeviceClaimConfiguration.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1DeviceClaimConfiguration.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, V1alpha3DeviceClaimConfiguration value) throws IOException { + public void write(JsonWriter out, V1DeviceClaimConfiguration value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public V1alpha3DeviceClaimConfiguration read(JsonReader in) throws IOException { + public V1DeviceClaimConfiguration read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -231,18 +232,18 @@ public V1alpha3DeviceClaimConfiguration read(JsonReader in) throws IOException { } /** - * Create an instance of V1alpha3DeviceClaimConfiguration given an JSON string + * Create an instance of V1DeviceClaimConfiguration given an JSON string * * @param jsonString JSON string - * @return An instance of V1alpha3DeviceClaimConfiguration - * @throws IOException if the JSON string is invalid with respect to V1alpha3DeviceClaimConfiguration + * @return An instance of V1DeviceClaimConfiguration + * @throws IOException if the JSON string is invalid with respect to V1DeviceClaimConfiguration */ - public static V1alpha3DeviceClaimConfiguration fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1alpha3DeviceClaimConfiguration.class); + public static V1DeviceClaimConfiguration fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1DeviceClaimConfiguration.class); } /** - * Convert an instance of V1alpha3DeviceClaimConfiguration to an JSON string + * Convert an instance of V1DeviceClaimConfiguration to an JSON string * * @return JSON string */ @@ -250,3 +251,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceClass.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeviceClass.java similarity index 74% rename from kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceClass.java rename to kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeviceClass.java index 1931f723dc..86bbfe3d68 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceClass.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeviceClass.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -18,8 +19,8 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.openapi.models.V1DeviceClassSpec; import io.kubernetes.client.openapi.models.V1ObjectMeta; -import io.kubernetes.client.openapi.models.V1alpha3DeviceClassSpec; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; @@ -52,8 +53,8 @@ * DeviceClass is a vendor- or admin-provided resource that contains 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. */ @ApiModel(description = "DeviceClass is a vendor- or admin-provided resource that contains 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.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") -public class V1alpha3DeviceClass implements io.kubernetes.client.common.KubernetesObject { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1DeviceClass implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @jakarta.annotation.Nullable @@ -72,12 +73,12 @@ public class V1alpha3DeviceClass implements io.kubernetes.client.common.Kubernet public static final String SERIALIZED_NAME_SPEC = "spec"; @SerializedName(SERIALIZED_NAME_SPEC) @jakarta.annotation.Nonnull - private V1alpha3DeviceClassSpec spec; + private V1DeviceClassSpec spec; - public V1alpha3DeviceClass() { + public V1DeviceClass() { } - public V1alpha3DeviceClass apiVersion(@jakarta.annotation.Nullable String apiVersion) { + public V1DeviceClass apiVersion(@jakarta.annotation.Nullable String apiVersion) { this.apiVersion = apiVersion; return this; } @@ -97,7 +98,7 @@ public void setApiVersion(@jakarta.annotation.Nullable String apiVersion) { } - public V1alpha3DeviceClass kind(@jakarta.annotation.Nullable String kind) { + public V1DeviceClass kind(@jakarta.annotation.Nullable String kind) { this.kind = kind; return this; } @@ -117,7 +118,7 @@ public void setKind(@jakarta.annotation.Nullable String kind) { } - public V1alpha3DeviceClass metadata(@jakarta.annotation.Nullable V1ObjectMeta metadata) { + public V1DeviceClass metadata(@jakarta.annotation.Nullable V1ObjectMeta metadata) { this.metadata = metadata; return this; } @@ -137,7 +138,7 @@ public void setMetadata(@jakarta.annotation.Nullable V1ObjectMeta metadata) { } - public V1alpha3DeviceClass spec(@jakarta.annotation.Nonnull V1alpha3DeviceClassSpec spec) { + public V1DeviceClass spec(@jakarta.annotation.Nonnull V1DeviceClassSpec spec) { this.spec = spec; return this; } @@ -148,11 +149,11 @@ public V1alpha3DeviceClass spec(@jakarta.annotation.Nonnull V1alpha3DeviceClassS */ @jakarta.annotation.Nonnull @ApiModelProperty(required = true, value = "") - public V1alpha3DeviceClassSpec getSpec() { + public V1DeviceClassSpec getSpec() { return spec; } - public void setSpec(@jakarta.annotation.Nonnull V1alpha3DeviceClassSpec spec) { + public void setSpec(@jakarta.annotation.Nonnull V1DeviceClassSpec spec) { this.spec = spec; } @@ -166,11 +167,11 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V1alpha3DeviceClass v1alpha3DeviceClass = (V1alpha3DeviceClass) o; - return Objects.equals(this.apiVersion, v1alpha3DeviceClass.apiVersion) && - Objects.equals(this.kind, v1alpha3DeviceClass.kind) && - Objects.equals(this.metadata, v1alpha3DeviceClass.metadata) && - Objects.equals(this.spec, v1alpha3DeviceClass.spec); + V1DeviceClass v1DeviceClass = (V1DeviceClass) o; + return Objects.equals(this.apiVersion, v1DeviceClass.apiVersion) && + Objects.equals(this.kind, v1DeviceClass.kind) && + Objects.equals(this.metadata, v1DeviceClass.metadata) && + Objects.equals(this.spec, v1DeviceClass.spec); } @Override @@ -181,7 +182,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V1alpha3DeviceClass {\n"); + sb.append("class V1DeviceClass {\n"); sb.append(" apiVersion: ").append(toIndentedString(apiVersion)).append("\n"); sb.append(" kind: ").append(toIndentedString(kind)).append("\n"); sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); @@ -222,25 +223,25 @@ private String toIndentedString(Object o) { * Validates the JSON Element and throws an exception if issues found * * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to V1alpha3DeviceClass + * @throws IOException if the JSON Element is invalid with respect to V1DeviceClass */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - if (!V1alpha3DeviceClass.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in V1alpha3DeviceClass is not found in the empty JSON string", V1alpha3DeviceClass.openapiRequiredFields.toString())); + if (!V1DeviceClass.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1DeviceClass is not found in the empty JSON string", V1DeviceClass.openapiRequiredFields.toString())); } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { - if (!V1alpha3DeviceClass.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1alpha3DeviceClass` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + if (!V1DeviceClass.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1DeviceClass` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } // check to make sure all required properties/fields are present in the JSON string - for (String requiredField : V1alpha3DeviceClass.openapiRequiredFields) { + for (String requiredField : V1DeviceClass.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); } @@ -257,29 +258,29 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti V1ObjectMeta.validateJsonElement(jsonObj.get("metadata")); } // validate the required field `spec` - V1alpha3DeviceClassSpec.validateJsonElement(jsonObj.get("spec")); + V1DeviceClassSpec.validateJsonElement(jsonObj.get("spec")); } public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1alpha3DeviceClass.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1alpha3DeviceClass' and its subtypes + if (!V1DeviceClass.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1DeviceClass' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1alpha3DeviceClass.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1DeviceClass.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, V1alpha3DeviceClass value) throws IOException { + public void write(JsonWriter out, V1DeviceClass value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public V1alpha3DeviceClass read(JsonReader in) throws IOException { + public V1DeviceClass read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -290,18 +291,18 @@ public V1alpha3DeviceClass read(JsonReader in) throws IOException { } /** - * Create an instance of V1alpha3DeviceClass given an JSON string + * Create an instance of V1DeviceClass given an JSON string * * @param jsonString JSON string - * @return An instance of V1alpha3DeviceClass - * @throws IOException if the JSON string is invalid with respect to V1alpha3DeviceClass + * @return An instance of V1DeviceClass + * @throws IOException if the JSON string is invalid with respect to V1DeviceClass */ - public static V1alpha3DeviceClass fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1alpha3DeviceClass.class); + public static V1DeviceClass fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1DeviceClass.class); } /** - * Convert an instance of V1alpha3DeviceClass to an JSON string + * Convert an instance of V1DeviceClass to an JSON string * * @return JSON string */ @@ -309,3 +310,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceClassConfiguration.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeviceClassConfiguration.java similarity index 60% rename from kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceClassConfiguration.java rename to kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeviceClassConfiguration.java index 2042f11c49..2b124c9bcb 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceClassConfiguration.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeviceClassConfiguration.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -18,7 +19,7 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.kubernetes.client.openapi.models.V1alpha3OpaqueDeviceConfiguration; +import io.kubernetes.client.openapi.models.V1OpaqueDeviceConfiguration; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; @@ -51,17 +52,17 @@ * DeviceClassConfiguration is used in DeviceClass. */ @ApiModel(description = "DeviceClassConfiguration is used in DeviceClass.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") -public class V1alpha3DeviceClassConfiguration { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1DeviceClassConfiguration { public static final String SERIALIZED_NAME_OPAQUE = "opaque"; @SerializedName(SERIALIZED_NAME_OPAQUE) @jakarta.annotation.Nullable - private V1alpha3OpaqueDeviceConfiguration opaque; + private V1OpaqueDeviceConfiguration opaque; - public V1alpha3DeviceClassConfiguration() { + public V1DeviceClassConfiguration() { } - public V1alpha3DeviceClassConfiguration opaque(@jakarta.annotation.Nullable V1alpha3OpaqueDeviceConfiguration opaque) { + public V1DeviceClassConfiguration opaque(@jakarta.annotation.Nullable V1OpaqueDeviceConfiguration opaque) { this.opaque = opaque; return this; } @@ -72,11 +73,11 @@ public V1alpha3DeviceClassConfiguration opaque(@jakarta.annotation.Nullable V1al */ @jakarta.annotation.Nullable @ApiModelProperty(value = "") - public V1alpha3OpaqueDeviceConfiguration getOpaque() { + public V1OpaqueDeviceConfiguration getOpaque() { return opaque; } - public void setOpaque(@jakarta.annotation.Nullable V1alpha3OpaqueDeviceConfiguration opaque) { + public void setOpaque(@jakarta.annotation.Nullable V1OpaqueDeviceConfiguration opaque) { this.opaque = opaque; } @@ -90,8 +91,8 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V1alpha3DeviceClassConfiguration v1alpha3DeviceClassConfiguration = (V1alpha3DeviceClassConfiguration) o; - return Objects.equals(this.opaque, v1alpha3DeviceClassConfiguration.opaque); + V1DeviceClassConfiguration v1DeviceClassConfiguration = (V1DeviceClassConfiguration) o; + return Objects.equals(this.opaque, v1DeviceClassConfiguration.opaque); } @Override @@ -102,7 +103,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V1alpha3DeviceClassConfiguration {\n"); + sb.append("class V1DeviceClassConfiguration {\n"); sb.append(" opaque: ").append(toIndentedString(opaque)).append("\n"); sb.append("}"); return sb.toString(); @@ -136,26 +137,26 @@ private String toIndentedString(Object o) { * Validates the JSON Element and throws an exception if issues found * * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to V1alpha3DeviceClassConfiguration + * @throws IOException if the JSON Element is invalid with respect to V1DeviceClassConfiguration */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - if (!V1alpha3DeviceClassConfiguration.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in V1alpha3DeviceClassConfiguration is not found in the empty JSON string", V1alpha3DeviceClassConfiguration.openapiRequiredFields.toString())); + if (!V1DeviceClassConfiguration.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1DeviceClassConfiguration is not found in the empty JSON string", V1DeviceClassConfiguration.openapiRequiredFields.toString())); } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { - if (!V1alpha3DeviceClassConfiguration.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1alpha3DeviceClassConfiguration` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + if (!V1DeviceClassConfiguration.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1DeviceClassConfiguration` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); // validate the optional field `opaque` if (jsonObj.get("opaque") != null && !jsonObj.get("opaque").isJsonNull()) { - V1alpha3OpaqueDeviceConfiguration.validateJsonElement(jsonObj.get("opaque")); + V1OpaqueDeviceConfiguration.validateJsonElement(jsonObj.get("opaque")); } } @@ -163,22 +164,22 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1alpha3DeviceClassConfiguration.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1alpha3DeviceClassConfiguration' and its subtypes + if (!V1DeviceClassConfiguration.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1DeviceClassConfiguration' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1alpha3DeviceClassConfiguration.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1DeviceClassConfiguration.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, V1alpha3DeviceClassConfiguration value) throws IOException { + public void write(JsonWriter out, V1DeviceClassConfiguration value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public V1alpha3DeviceClassConfiguration read(JsonReader in) throws IOException { + public V1DeviceClassConfiguration read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -189,18 +190,18 @@ public V1alpha3DeviceClassConfiguration read(JsonReader in) throws IOException { } /** - * Create an instance of V1alpha3DeviceClassConfiguration given an JSON string + * Create an instance of V1DeviceClassConfiguration given an JSON string * * @param jsonString JSON string - * @return An instance of V1alpha3DeviceClassConfiguration - * @throws IOException if the JSON string is invalid with respect to V1alpha3DeviceClassConfiguration + * @return An instance of V1DeviceClassConfiguration + * @throws IOException if the JSON string is invalid with respect to V1DeviceClassConfiguration */ - public static V1alpha3DeviceClassConfiguration fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1alpha3DeviceClassConfiguration.class); + public static V1DeviceClassConfiguration fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1DeviceClassConfiguration.class); } /** - * Convert an instance of V1alpha3DeviceClassConfiguration to an JSON string + * Convert an instance of V1DeviceClassConfiguration to an JSON string * * @return JSON string */ @@ -208,3 +209,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceClassList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeviceClassList.java similarity index 73% rename from kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceClassList.java rename to kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeviceClassList.java index b824cd9f5b..943abed2f8 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceClassList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeviceClassList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -18,8 +19,8 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.openapi.models.V1DeviceClass; import io.kubernetes.client.openapi.models.V1ListMeta; -import io.kubernetes.client.openapi.models.V1alpha3DeviceClass; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; @@ -54,8 +55,8 @@ * DeviceClassList is a collection of classes. */ @ApiModel(description = "DeviceClassList is a collection of classes.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") -public class V1alpha3DeviceClassList implements io.kubernetes.client.common.KubernetesListObject { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1DeviceClassList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @jakarta.annotation.Nullable @@ -64,7 +65,7 @@ public class V1alpha3DeviceClassList implements io.kubernetes.client.common.Kube public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) @jakarta.annotation.Nonnull - private List items = new ArrayList<>(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; @SerializedName(SERIALIZED_NAME_KIND) @@ -76,10 +77,10 @@ public class V1alpha3DeviceClassList implements io.kubernetes.client.common.Kube @jakarta.annotation.Nullable private V1ListMeta metadata; - public V1alpha3DeviceClassList() { + public V1DeviceClassList() { } - public V1alpha3DeviceClassList apiVersion(@jakarta.annotation.Nullable String apiVersion) { + public V1DeviceClassList apiVersion(@jakarta.annotation.Nullable String apiVersion) { this.apiVersion = apiVersion; return this; } @@ -99,12 +100,12 @@ public void setApiVersion(@jakarta.annotation.Nullable String apiVersion) { } - public V1alpha3DeviceClassList items(@jakarta.annotation.Nonnull List items) { + public V1DeviceClassList items(@jakarta.annotation.Nonnull List items) { this.items = items; return this; } - public V1alpha3DeviceClassList addItemsItem(V1alpha3DeviceClass itemsItem) { + public V1DeviceClassList addItemsItem(V1DeviceClass itemsItem) { if (this.items == null) { this.items = new ArrayList<>(); } @@ -118,16 +119,16 @@ public V1alpha3DeviceClassList addItemsItem(V1alpha3DeviceClass itemsItem) { */ @jakarta.annotation.Nonnull @ApiModelProperty(required = true, value = "Items is the list of resource classes.") - public List getItems() { + public List getItems() { return items; } - public void setItems(@jakarta.annotation.Nonnull List items) { + public void setItems(@jakarta.annotation.Nonnull List items) { this.items = items; } - public V1alpha3DeviceClassList kind(@jakarta.annotation.Nullable String kind) { + public V1DeviceClassList kind(@jakarta.annotation.Nullable String kind) { this.kind = kind; return this; } @@ -147,7 +148,7 @@ public void setKind(@jakarta.annotation.Nullable String kind) { } - public V1alpha3DeviceClassList metadata(@jakarta.annotation.Nullable V1ListMeta metadata) { + public V1DeviceClassList metadata(@jakarta.annotation.Nullable V1ListMeta metadata) { this.metadata = metadata; return this; } @@ -176,11 +177,11 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V1alpha3DeviceClassList v1alpha3DeviceClassList = (V1alpha3DeviceClassList) o; - return Objects.equals(this.apiVersion, v1alpha3DeviceClassList.apiVersion) && - Objects.equals(this.items, v1alpha3DeviceClassList.items) && - Objects.equals(this.kind, v1alpha3DeviceClassList.kind) && - Objects.equals(this.metadata, v1alpha3DeviceClassList.metadata); + V1DeviceClassList v1DeviceClassList = (V1DeviceClassList) o; + return Objects.equals(this.apiVersion, v1DeviceClassList.apiVersion) && + Objects.equals(this.items, v1DeviceClassList.items) && + Objects.equals(this.kind, v1DeviceClassList.kind) && + Objects.equals(this.metadata, v1DeviceClassList.metadata); } @Override @@ -191,7 +192,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V1alpha3DeviceClassList {\n"); + sb.append("class V1DeviceClassList {\n"); sb.append(" apiVersion: ").append(toIndentedString(apiVersion)).append("\n"); sb.append(" items: ").append(toIndentedString(items)).append("\n"); sb.append(" kind: ").append(toIndentedString(kind)).append("\n"); @@ -232,25 +233,25 @@ private String toIndentedString(Object o) { * Validates the JSON Element and throws an exception if issues found * * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to V1alpha3DeviceClassList + * @throws IOException if the JSON Element is invalid with respect to V1DeviceClassList */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - if (!V1alpha3DeviceClassList.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in V1alpha3DeviceClassList is not found in the empty JSON string", V1alpha3DeviceClassList.openapiRequiredFields.toString())); + if (!V1DeviceClassList.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1DeviceClassList is not found in the empty JSON string", V1DeviceClassList.openapiRequiredFields.toString())); } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { - if (!V1alpha3DeviceClassList.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1alpha3DeviceClassList` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + if (!V1DeviceClassList.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1DeviceClassList` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } // check to make sure all required properties/fields are present in the JSON string - for (String requiredField : V1alpha3DeviceClassList.openapiRequiredFields) { + for (String requiredField : V1DeviceClassList.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); } @@ -267,7 +268,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonArray jsonArrayitems = jsonObj.getAsJsonArray("items"); // validate the required field `items` (array) for (int i = 0; i < jsonArrayitems.size(); i++) { - V1alpha3DeviceClass.validateJsonElement(jsonArrayitems.get(i)); + V1DeviceClass.validateJsonElement(jsonArrayitems.get(i)); }; if ((jsonObj.get("kind") != null && !jsonObj.get("kind").isJsonNull()) && !jsonObj.get("kind").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `kind` to be a primitive type in the JSON string but got `%s`", jsonObj.get("kind").toString())); @@ -282,22 +283,22 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1alpha3DeviceClassList.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1alpha3DeviceClassList' and its subtypes + if (!V1DeviceClassList.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1DeviceClassList' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1alpha3DeviceClassList.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1DeviceClassList.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, V1alpha3DeviceClassList value) throws IOException { + public void write(JsonWriter out, V1DeviceClassList value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public V1alpha3DeviceClassList read(JsonReader in) throws IOException { + public V1DeviceClassList read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -308,18 +309,18 @@ public V1alpha3DeviceClassList read(JsonReader in) throws IOException { } /** - * Create an instance of V1alpha3DeviceClassList given an JSON string + * Create an instance of V1DeviceClassList given an JSON string * * @param jsonString JSON string - * @return An instance of V1alpha3DeviceClassList - * @throws IOException if the JSON string is invalid with respect to V1alpha3DeviceClassList + * @return An instance of V1DeviceClassList + * @throws IOException if the JSON string is invalid with respect to V1DeviceClassList */ - public static V1alpha3DeviceClassList fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1alpha3DeviceClassList.class); + public static V1DeviceClassList fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1DeviceClassList.class); } /** - * Convert an instance of V1alpha3DeviceClassList to an JSON string + * Convert an instance of V1DeviceClassList to an JSON string * * @return JSON string */ @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceClassSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeviceClassSpec.java similarity index 57% rename from kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceClassSpec.java rename to kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeviceClassSpec.java index 5efbf561a2..d9e04f7989 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceClassSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeviceClassSpec.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -18,8 +19,8 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.kubernetes.client.openapi.models.V1alpha3DeviceClassConfiguration; -import io.kubernetes.client.openapi.models.V1alpha3DeviceSelector; +import io.kubernetes.client.openapi.models.V1DeviceClassConfiguration; +import io.kubernetes.client.openapi.models.V1DeviceSelector; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; @@ -54,27 +55,32 @@ * DeviceClassSpec is used in a [DeviceClass] to define what can be allocated and how to configure it. */ @ApiModel(description = "DeviceClassSpec is used in a [DeviceClass] to define what can be allocated and how to configure it.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") -public class V1alpha3DeviceClassSpec { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1DeviceClassSpec { public static final String SERIALIZED_NAME_CONFIG = "config"; @SerializedName(SERIALIZED_NAME_CONFIG) @jakarta.annotation.Nullable - private List config = new ArrayList<>(); + private List config = new ArrayList<>(); + + public static final String SERIALIZED_NAME_EXTENDED_RESOURCE_NAME = "extendedResourceName"; + @SerializedName(SERIALIZED_NAME_EXTENDED_RESOURCE_NAME) + @jakarta.annotation.Nullable + private String extendedResourceName; public static final String SERIALIZED_NAME_SELECTORS = "selectors"; @SerializedName(SERIALIZED_NAME_SELECTORS) @jakarta.annotation.Nullable - private List selectors = new ArrayList<>(); + private List selectors = new ArrayList<>(); - public V1alpha3DeviceClassSpec() { + public V1DeviceClassSpec() { } - public V1alpha3DeviceClassSpec config(@jakarta.annotation.Nullable List config) { + public V1DeviceClassSpec config(@jakarta.annotation.Nullable List config) { this.config = config; return this; } - public V1alpha3DeviceClassSpec addConfigItem(V1alpha3DeviceClassConfiguration configItem) { + public V1DeviceClassSpec addConfigItem(V1DeviceClassConfiguration configItem) { if (this.config == null) { this.config = new ArrayList<>(); } @@ -88,21 +94,41 @@ public V1alpha3DeviceClassSpec addConfigItem(V1alpha3DeviceClassConfiguration co */ @jakarta.annotation.Nullable @ApiModelProperty(value = "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.") - public List getConfig() { + public List getConfig() { return config; } - public void setConfig(@jakarta.annotation.Nullable List config) { + public void setConfig(@jakarta.annotation.Nullable List config) { this.config = config; } - public V1alpha3DeviceClassSpec selectors(@jakarta.annotation.Nullable List selectors) { + public V1DeviceClassSpec extendedResourceName(@jakarta.annotation.Nullable String extendedResourceName) { + this.extendedResourceName = extendedResourceName; + return this; + } + + /** + * 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. It has the same format as the name of a pod's extended resource. It should be unique among all the device classes in a cluster. If two device classes have the same name, then the class created later is picked to satisfy a pod's extended resource requests. 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. + * @return extendedResourceName + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "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. It has the same format as the name of a pod's extended resource. It should be unique among all the device classes in a cluster. If two device classes have the same name, then the class created later is picked to satisfy a pod's extended resource requests. 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.") + public String getExtendedResourceName() { + return extendedResourceName; + } + + public void setExtendedResourceName(@jakarta.annotation.Nullable String extendedResourceName) { + this.extendedResourceName = extendedResourceName; + } + + + public V1DeviceClassSpec selectors(@jakarta.annotation.Nullable List selectors) { this.selectors = selectors; return this; } - public V1alpha3DeviceClassSpec addSelectorsItem(V1alpha3DeviceSelector selectorsItem) { + public V1DeviceClassSpec addSelectorsItem(V1DeviceSelector selectorsItem) { if (this.selectors == null) { this.selectors = new ArrayList<>(); } @@ -116,11 +142,11 @@ public V1alpha3DeviceClassSpec addSelectorsItem(V1alpha3DeviceSelector selectors */ @jakarta.annotation.Nullable @ApiModelProperty(value = "Each selector must be satisfied by a device which is claimed via this class.") - public List getSelectors() { + public List getSelectors() { return selectors; } - public void setSelectors(@jakarta.annotation.Nullable List selectors) { + public void setSelectors(@jakarta.annotation.Nullable List selectors) { this.selectors = selectors; } @@ -134,21 +160,23 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V1alpha3DeviceClassSpec v1alpha3DeviceClassSpec = (V1alpha3DeviceClassSpec) o; - return Objects.equals(this.config, v1alpha3DeviceClassSpec.config) && - Objects.equals(this.selectors, v1alpha3DeviceClassSpec.selectors); + V1DeviceClassSpec v1DeviceClassSpec = (V1DeviceClassSpec) o; + return Objects.equals(this.config, v1DeviceClassSpec.config) && + Objects.equals(this.extendedResourceName, v1DeviceClassSpec.extendedResourceName) && + Objects.equals(this.selectors, v1DeviceClassSpec.selectors); } @Override public int hashCode() { - return Objects.hash(config, selectors); + return Objects.hash(config, extendedResourceName, selectors); } @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V1alpha3DeviceClassSpec {\n"); + sb.append("class V1DeviceClassSpec {\n"); sb.append(" config: ").append(toIndentedString(config)).append("\n"); + sb.append(" extendedResourceName: ").append(toIndentedString(extendedResourceName)).append("\n"); sb.append(" selectors: ").append(toIndentedString(selectors)).append("\n"); sb.append("}"); return sb.toString(); @@ -173,6 +201,7 @@ private String toIndentedString(Object o) { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); openapiFields.add("config"); + openapiFields.add("extendedResourceName"); openapiFields.add("selectors"); // a set of required properties/fields (JSON key names) @@ -183,20 +212,20 @@ private String toIndentedString(Object o) { * Validates the JSON Element and throws an exception if issues found * * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to V1alpha3DeviceClassSpec + * @throws IOException if the JSON Element is invalid with respect to V1DeviceClassSpec */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - if (!V1alpha3DeviceClassSpec.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in V1alpha3DeviceClassSpec is not found in the empty JSON string", V1alpha3DeviceClassSpec.openapiRequiredFields.toString())); + if (!V1DeviceClassSpec.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1DeviceClassSpec is not found in the empty JSON string", V1DeviceClassSpec.openapiRequiredFields.toString())); } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { - if (!V1alpha3DeviceClassSpec.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1alpha3DeviceClassSpec` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + if (!V1DeviceClassSpec.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1DeviceClassSpec` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); @@ -210,10 +239,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // validate the optional field `config` (array) for (int i = 0; i < jsonArrayconfig.size(); i++) { - V1alpha3DeviceClassConfiguration.validateJsonElement(jsonArrayconfig.get(i)); + V1DeviceClassConfiguration.validateJsonElement(jsonArrayconfig.get(i)); }; } } + if ((jsonObj.get("extendedResourceName") != null && !jsonObj.get("extendedResourceName").isJsonNull()) && !jsonObj.get("extendedResourceName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `extendedResourceName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("extendedResourceName").toString())); + } if (jsonObj.get("selectors") != null && !jsonObj.get("selectors").isJsonNull()) { JsonArray jsonArrayselectors = jsonObj.getAsJsonArray("selectors"); if (jsonArrayselectors != null) { @@ -224,7 +256,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // validate the optional field `selectors` (array) for (int i = 0; i < jsonArrayselectors.size(); i++) { - V1alpha3DeviceSelector.validateJsonElement(jsonArrayselectors.get(i)); + V1DeviceSelector.validateJsonElement(jsonArrayselectors.get(i)); }; } } @@ -234,22 +266,22 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1alpha3DeviceClassSpec.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1alpha3DeviceClassSpec' and its subtypes + if (!V1DeviceClassSpec.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1DeviceClassSpec' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1alpha3DeviceClassSpec.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1DeviceClassSpec.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, V1alpha3DeviceClassSpec value) throws IOException { + public void write(JsonWriter out, V1DeviceClassSpec value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public V1alpha3DeviceClassSpec read(JsonReader in) throws IOException { + public V1DeviceClassSpec read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -260,18 +292,18 @@ public V1alpha3DeviceClassSpec read(JsonReader in) throws IOException { } /** - * Create an instance of V1alpha3DeviceClassSpec given an JSON string + * Create an instance of V1DeviceClassSpec given an JSON string * * @param jsonString JSON string - * @return An instance of V1alpha3DeviceClassSpec - * @throws IOException if the JSON string is invalid with respect to V1alpha3DeviceClassSpec + * @return An instance of V1DeviceClassSpec + * @throws IOException if the JSON string is invalid with respect to V1DeviceClassSpec */ - public static V1alpha3DeviceClassSpec fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1alpha3DeviceClassSpec.class); + public static V1DeviceClassSpec fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1DeviceClassSpec.class); } /** - * Convert an instance of V1alpha3DeviceClassSpec to an JSON string + * Convert an instance of V1DeviceClassSpec to an JSON string * * @return JSON string */ @@ -279,3 +311,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceConstraint.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeviceConstraint.java similarity index 64% rename from kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceConstraint.java rename to kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeviceConstraint.java index 03627701d6..36419723c5 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceConstraint.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeviceConstraint.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,8 +53,13 @@ * DeviceConstraint must have exactly one field set besides Requests. */ @ApiModel(description = "DeviceConstraint must have exactly one field set besides Requests.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") -public class V1alpha3DeviceConstraint { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1DeviceConstraint { + public static final String SERIALIZED_NAME_DISTINCT_ATTRIBUTE = "distinctAttribute"; + @SerializedName(SERIALIZED_NAME_DISTINCT_ATTRIBUTE) + @jakarta.annotation.Nullable + private String distinctAttribute; + public static final String SERIALIZED_NAME_MATCH_ATTRIBUTE = "matchAttribute"; @SerializedName(SERIALIZED_NAME_MATCH_ATTRIBUTE) @jakarta.annotation.Nullable @@ -64,10 +70,30 @@ public class V1alpha3DeviceConstraint { @jakarta.annotation.Nullable private List requests = new ArrayList<>(); - public V1alpha3DeviceConstraint() { + public V1DeviceConstraint() { + } + + public V1DeviceConstraint distinctAttribute(@jakarta.annotation.Nullable String distinctAttribute) { + this.distinctAttribute = distinctAttribute; + return this; + } + + /** + * DistinctAttribute requires that all devices in question have this attribute and that its type and value are unique across those devices. This acts as the inverse of MatchAttribute. This constraint is used to avoid allocating multiple requests to the same device by ensuring attribute-level differentiation. 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. + * @return distinctAttribute + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "DistinctAttribute requires that all devices in question have this attribute and that its type and value are unique across those devices. This acts as the inverse of MatchAttribute. This constraint is used to avoid allocating multiple requests to the same device by ensuring attribute-level differentiation. 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.") + public String getDistinctAttribute() { + return distinctAttribute; } - public V1alpha3DeviceConstraint matchAttribute(@jakarta.annotation.Nullable String matchAttribute) { + public void setDistinctAttribute(@jakarta.annotation.Nullable String distinctAttribute) { + this.distinctAttribute = distinctAttribute; + } + + + public V1DeviceConstraint matchAttribute(@jakarta.annotation.Nullable String matchAttribute) { this.matchAttribute = matchAttribute; return this; } @@ -87,12 +113,12 @@ public void setMatchAttribute(@jakarta.annotation.Nullable String matchAttribute } - public V1alpha3DeviceConstraint requests(@jakarta.annotation.Nullable List requests) { + public V1DeviceConstraint requests(@jakarta.annotation.Nullable List requests) { this.requests = requests; return this; } - public V1alpha3DeviceConstraint addRequestsItem(String requestsItem) { + public V1DeviceConstraint addRequestsItem(String requestsItem) { if (this.requests == null) { this.requests = new ArrayList<>(); } @@ -124,20 +150,22 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V1alpha3DeviceConstraint v1alpha3DeviceConstraint = (V1alpha3DeviceConstraint) o; - return Objects.equals(this.matchAttribute, v1alpha3DeviceConstraint.matchAttribute) && - Objects.equals(this.requests, v1alpha3DeviceConstraint.requests); + V1DeviceConstraint v1DeviceConstraint = (V1DeviceConstraint) o; + return Objects.equals(this.distinctAttribute, v1DeviceConstraint.distinctAttribute) && + Objects.equals(this.matchAttribute, v1DeviceConstraint.matchAttribute) && + Objects.equals(this.requests, v1DeviceConstraint.requests); } @Override public int hashCode() { - return Objects.hash(matchAttribute, requests); + return Objects.hash(distinctAttribute, matchAttribute, requests); } @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V1alpha3DeviceConstraint {\n"); + sb.append("class V1DeviceConstraint {\n"); + sb.append(" distinctAttribute: ").append(toIndentedString(distinctAttribute)).append("\n"); sb.append(" matchAttribute: ").append(toIndentedString(matchAttribute)).append("\n"); sb.append(" requests: ").append(toIndentedString(requests)).append("\n"); sb.append("}"); @@ -162,6 +190,7 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); + openapiFields.add("distinctAttribute"); openapiFields.add("matchAttribute"); openapiFields.add("requests"); @@ -173,23 +202,26 @@ private String toIndentedString(Object o) { * Validates the JSON Element and throws an exception if issues found * * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to V1alpha3DeviceConstraint + * @throws IOException if the JSON Element is invalid with respect to V1DeviceConstraint */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - if (!V1alpha3DeviceConstraint.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in V1alpha3DeviceConstraint is not found in the empty JSON string", V1alpha3DeviceConstraint.openapiRequiredFields.toString())); + if (!V1DeviceConstraint.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1DeviceConstraint is not found in the empty JSON string", V1DeviceConstraint.openapiRequiredFields.toString())); } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { - if (!V1alpha3DeviceConstraint.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1alpha3DeviceConstraint` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + if (!V1DeviceConstraint.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1DeviceConstraint` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("distinctAttribute") != null && !jsonObj.get("distinctAttribute").isJsonNull()) && !jsonObj.get("distinctAttribute").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `distinctAttribute` to be a primitive type in the JSON string but got `%s`", jsonObj.get("distinctAttribute").toString())); + } if ((jsonObj.get("matchAttribute") != null && !jsonObj.get("matchAttribute").isJsonNull()) && !jsonObj.get("matchAttribute").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `matchAttribute` to be a primitive type in the JSON string but got `%s`", jsonObj.get("matchAttribute").toString())); } @@ -203,22 +235,22 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1alpha3DeviceConstraint.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1alpha3DeviceConstraint' and its subtypes + if (!V1DeviceConstraint.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1DeviceConstraint' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1alpha3DeviceConstraint.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1DeviceConstraint.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, V1alpha3DeviceConstraint value) throws IOException { + public void write(JsonWriter out, V1DeviceConstraint value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public V1alpha3DeviceConstraint read(JsonReader in) throws IOException { + public V1DeviceConstraint read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -229,18 +261,18 @@ public V1alpha3DeviceConstraint read(JsonReader in) throws IOException { } /** - * Create an instance of V1alpha3DeviceConstraint given an JSON string + * Create an instance of V1DeviceConstraint given an JSON string * * @param jsonString JSON string - * @return An instance of V1alpha3DeviceConstraint - * @throws IOException if the JSON string is invalid with respect to V1alpha3DeviceConstraint + * @return An instance of V1DeviceConstraint + * @throws IOException if the JSON string is invalid with respect to V1DeviceConstraint */ - public static V1alpha3DeviceConstraint fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1alpha3DeviceConstraint.class); + public static V1DeviceConstraint fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1DeviceConstraint.class); } /** - * Convert an instance of V1alpha3DeviceConstraint to an JSON string + * Convert an instance of V1DeviceConstraint to an JSON string * * @return JSON string */ @@ -248,3 +280,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceCounterConsumption.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeviceCounterConsumption.java similarity index 61% rename from kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceCounterConsumption.java rename to kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeviceCounterConsumption.java index e6d3ffeb87..87fea148a1 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceCounterConsumption.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeviceCounterConsumption.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -18,7 +19,7 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.kubernetes.client.openapi.models.V1alpha3Counter; +import io.kubernetes.client.openapi.models.V1Counter; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; @@ -53,8 +54,8 @@ * DeviceCounterConsumption defines a set of counters that a device will consume from a CounterSet. */ @ApiModel(description = "DeviceCounterConsumption defines a set of counters that a device will consume from a CounterSet.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") -public class V1alpha3DeviceCounterConsumption { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1DeviceCounterConsumption { public static final String SERIALIZED_NAME_COUNTER_SET = "counterSet"; @SerializedName(SERIALIZED_NAME_COUNTER_SET) @jakarta.annotation.Nonnull @@ -63,22 +64,22 @@ public class V1alpha3DeviceCounterConsumption { public static final String SERIALIZED_NAME_COUNTERS = "counters"; @SerializedName(SERIALIZED_NAME_COUNTERS) @jakarta.annotation.Nonnull - private Map counters = new HashMap<>(); + private Map counters = new HashMap<>(); - public V1alpha3DeviceCounterConsumption() { + public V1DeviceCounterConsumption() { } - public V1alpha3DeviceCounterConsumption counterSet(@jakarta.annotation.Nonnull String counterSet) { + public V1DeviceCounterConsumption counterSet(@jakarta.annotation.Nonnull String counterSet) { this.counterSet = counterSet; return this; } /** - * CounterSet defines the set from which the counters defined will be consumed. + * CounterSet is the name of the set from which the counters defined will be consumed. * @return counterSet */ @jakarta.annotation.Nonnull - @ApiModelProperty(required = true, value = "CounterSet defines the set from which the counters defined will be consumed.") + @ApiModelProperty(required = true, value = "CounterSet is the name of the set from which the counters defined will be consumed.") public String getCounterSet() { return counterSet; } @@ -88,12 +89,12 @@ public void setCounterSet(@jakarta.annotation.Nonnull String counterSet) { } - public V1alpha3DeviceCounterConsumption counters(@jakarta.annotation.Nonnull Map counters) { + public V1DeviceCounterConsumption counters(@jakarta.annotation.Nonnull Map counters) { this.counters = counters; return this; } - public V1alpha3DeviceCounterConsumption putCountersItem(String key, V1alpha3Counter countersItem) { + public V1DeviceCounterConsumption putCountersItem(String key, V1Counter countersItem) { if (this.counters == null) { this.counters = new HashMap<>(); } @@ -102,16 +103,16 @@ public V1alpha3DeviceCounterConsumption putCountersItem(String key, V1alpha3Coun } /** - * Counters defines the Counter that will be consumed by the device. The maximum number counters in a device is 32. In addition, the maximum number of all counters in all devices is 1024 (for example, 64 devices with 16 counters each). + * Counters defines the counters that will be consumed by the device. The maximum number counters in a device is 32. In addition, the maximum number of all counters in all devices is 1024 (for example, 64 devices with 16 counters each). * @return counters */ @jakarta.annotation.Nonnull - @ApiModelProperty(required = true, value = "Counters defines the Counter that will be consumed by the device. The maximum number counters in a device is 32. In addition, the maximum number of all counters in all devices is 1024 (for example, 64 devices with 16 counters each).") - public Map getCounters() { + @ApiModelProperty(required = true, value = "Counters defines the counters that will be consumed by the device. The maximum number counters in a device is 32. In addition, the maximum number of all counters in all devices is 1024 (for example, 64 devices with 16 counters each).") + public Map getCounters() { return counters; } - public void setCounters(@jakarta.annotation.Nonnull Map counters) { + public void setCounters(@jakarta.annotation.Nonnull Map counters) { this.counters = counters; } @@ -125,9 +126,9 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V1alpha3DeviceCounterConsumption v1alpha3DeviceCounterConsumption = (V1alpha3DeviceCounterConsumption) o; - return Objects.equals(this.counterSet, v1alpha3DeviceCounterConsumption.counterSet) && - Objects.equals(this.counters, v1alpha3DeviceCounterConsumption.counters); + V1DeviceCounterConsumption v1DeviceCounterConsumption = (V1DeviceCounterConsumption) o; + return Objects.equals(this.counterSet, v1DeviceCounterConsumption.counterSet) && + Objects.equals(this.counters, v1DeviceCounterConsumption.counters); } @Override @@ -138,7 +139,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V1alpha3DeviceCounterConsumption {\n"); + sb.append("class V1DeviceCounterConsumption {\n"); sb.append(" counterSet: ").append(toIndentedString(counterSet)).append("\n"); sb.append(" counters: ").append(toIndentedString(counters)).append("\n"); sb.append("}"); @@ -176,25 +177,25 @@ private String toIndentedString(Object o) { * Validates the JSON Element and throws an exception if issues found * * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to V1alpha3DeviceCounterConsumption + * @throws IOException if the JSON Element is invalid with respect to V1DeviceCounterConsumption */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - if (!V1alpha3DeviceCounterConsumption.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in V1alpha3DeviceCounterConsumption is not found in the empty JSON string", V1alpha3DeviceCounterConsumption.openapiRequiredFields.toString())); + if (!V1DeviceCounterConsumption.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1DeviceCounterConsumption is not found in the empty JSON string", V1DeviceCounterConsumption.openapiRequiredFields.toString())); } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { - if (!V1alpha3DeviceCounterConsumption.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1alpha3DeviceCounterConsumption` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + if (!V1DeviceCounterConsumption.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1DeviceCounterConsumption` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } // check to make sure all required properties/fields are present in the JSON string - for (String requiredField : V1alpha3DeviceCounterConsumption.openapiRequiredFields) { + for (String requiredField : V1DeviceCounterConsumption.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); } @@ -209,22 +210,22 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1alpha3DeviceCounterConsumption.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1alpha3DeviceCounterConsumption' and its subtypes + if (!V1DeviceCounterConsumption.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1DeviceCounterConsumption' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1alpha3DeviceCounterConsumption.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1DeviceCounterConsumption.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, V1alpha3DeviceCounterConsumption value) throws IOException { + public void write(JsonWriter out, V1DeviceCounterConsumption value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public V1alpha3DeviceCounterConsumption read(JsonReader in) throws IOException { + public V1DeviceCounterConsumption read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -235,18 +236,18 @@ public V1alpha3DeviceCounterConsumption read(JsonReader in) throws IOException { } /** - * Create an instance of V1alpha3DeviceCounterConsumption given an JSON string + * Create an instance of V1DeviceCounterConsumption given an JSON string * * @param jsonString JSON string - * @return An instance of V1alpha3DeviceCounterConsumption - * @throws IOException if the JSON string is invalid with respect to V1alpha3DeviceCounterConsumption + * @return An instance of V1DeviceCounterConsumption + * @throws IOException if the JSON string is invalid with respect to V1DeviceCounterConsumption */ - public static V1alpha3DeviceCounterConsumption fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1alpha3DeviceCounterConsumption.class); + public static V1DeviceCounterConsumption fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1DeviceCounterConsumption.class); } /** - * Convert an instance of V1alpha3DeviceCounterConsumption to an JSON string + * Convert an instance of V1DeviceCounterConsumption to an JSON string * * @return JSON string */ @@ -254,3 +255,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeviceRequest.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeviceRequest.java new file mode 100644 index 0000000000..5e0628147b --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeviceRequest.java @@ -0,0 +1,304 @@ +/* + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package io.kubernetes.client.openapi.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.openapi.models.V1DeviceSubRequest; +import io.kubernetes.client.openapi.models.V1ExactDeviceRequest; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import io.kubernetes.client.openapi.JSON; + +/** + * DeviceRequest is a request for devices required for a claim. This is typically a request for a single resource like a device, but can also ask for several identical devices. With FirstAvailable it is also possible to provide a prioritized list of requests. + */ +@ApiModel(description = "DeviceRequest is a request for devices required for a claim. This is typically a request for a single resource like a device, but can also ask for several identical devices. With FirstAvailable it is also possible to provide a prioritized list of requests.") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1DeviceRequest { + public static final String SERIALIZED_NAME_EXACTLY = "exactly"; + @SerializedName(SERIALIZED_NAME_EXACTLY) + @jakarta.annotation.Nullable + private V1ExactDeviceRequest exactly; + + public static final String SERIALIZED_NAME_FIRST_AVAILABLE = "firstAvailable"; + @SerializedName(SERIALIZED_NAME_FIRST_AVAILABLE) + @jakarta.annotation.Nullable + private List firstAvailable = new ArrayList<>(); + + public static final String SERIALIZED_NAME_NAME = "name"; + @SerializedName(SERIALIZED_NAME_NAME) + @jakarta.annotation.Nonnull + private String name; + + public V1DeviceRequest() { + } + + public V1DeviceRequest exactly(@jakarta.annotation.Nullable V1ExactDeviceRequest exactly) { + this.exactly = exactly; + return this; + } + + /** + * Get exactly + * @return exactly + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "") + public V1ExactDeviceRequest getExactly() { + return exactly; + } + + public void setExactly(@jakarta.annotation.Nullable V1ExactDeviceRequest exactly) { + this.exactly = exactly; + } + + + public V1DeviceRequest firstAvailable(@jakarta.annotation.Nullable List firstAvailable) { + this.firstAvailable = firstAvailable; + return this; + } + + public V1DeviceRequest addFirstAvailableItem(V1DeviceSubRequest firstAvailableItem) { + if (this.firstAvailable == null) { + this.firstAvailable = new ArrayList<>(); + } + this.firstAvailable.add(firstAvailableItem); + return this; + } + + /** + * FirstAvailable contains subrequests, of which exactly one will be selected by the scheduler. It tries to satisfy them in the order in which they are listed here. So if there are two entries in the list, the scheduler will only check the second one if it determines that the first one can not be used. DRA does not yet implement scoring, so the scheduler will select the first set of devices that satisfies all the requests in the claim. And if the requirements can be satisfied on more than one node, other scheduling features 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. + * @return firstAvailable + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "FirstAvailable contains subrequests, of which exactly one will be selected by the scheduler. It tries to satisfy them in the order in which they are listed here. So if there are two entries in the list, the scheduler will only check the second one if it determines that the first one can not be used. DRA does not yet implement scoring, so the scheduler will select the first set of devices that satisfies all the requests in the claim. And if the requirements can be satisfied on more than one node, other scheduling features 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.") + public List getFirstAvailable() { + return firstAvailable; + } + + public void setFirstAvailable(@jakarta.annotation.Nullable List firstAvailable) { + this.firstAvailable = firstAvailable; + } + + + public V1DeviceRequest name(@jakarta.annotation.Nonnull String name) { + this.name = name; + return this; + } + + /** + * Name can be used to reference this request in a pod.spec.containers[].resources.claims entry and in a constraint of the claim. References using the name in the DeviceRequest will uniquely identify a request when the Exactly field is set. When the FirstAvailable field is set, a reference to the name of the DeviceRequest will match whatever subrequest is chosen by the scheduler. Must be a DNS label. + * @return name + */ + @jakarta.annotation.Nonnull + @ApiModelProperty(required = true, value = "Name can be used to reference this request in a pod.spec.containers[].resources.claims entry and in a constraint of the claim. References using the name in the DeviceRequest will uniquely identify a request when the Exactly field is set. When the FirstAvailable field is set, a reference to the name of the DeviceRequest will match whatever subrequest is chosen by the scheduler. Must be a DNS label.") + public String getName() { + return name; + } + + public void setName(@jakarta.annotation.Nonnull String name) { + this.name = name; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1DeviceRequest v1DeviceRequest = (V1DeviceRequest) o; + return Objects.equals(this.exactly, v1DeviceRequest.exactly) && + Objects.equals(this.firstAvailable, v1DeviceRequest.firstAvailable) && + Objects.equals(this.name, v1DeviceRequest.name); + } + + @Override + public int hashCode() { + return Objects.hash(exactly, firstAvailable, name); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1DeviceRequest {\n"); + sb.append(" exactly: ").append(toIndentedString(exactly)).append("\n"); + sb.append(" firstAvailable: ").append(toIndentedString(firstAvailable)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("exactly"); + openapiFields.add("firstAvailable"); + openapiFields.add("name"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("name"); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to V1DeviceRequest + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!V1DeviceRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1DeviceRequest is not found in the empty JSON string", V1DeviceRequest.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!V1DeviceRequest.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1DeviceRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : V1DeviceRequest.openapiRequiredFields) { + if (jsonElement.getAsJsonObject().get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + // validate the optional field `exactly` + if (jsonObj.get("exactly") != null && !jsonObj.get("exactly").isJsonNull()) { + V1ExactDeviceRequest.validateJsonElement(jsonObj.get("exactly")); + } + if (jsonObj.get("firstAvailable") != null && !jsonObj.get("firstAvailable").isJsonNull()) { + JsonArray jsonArrayfirstAvailable = jsonObj.getAsJsonArray("firstAvailable"); + if (jsonArrayfirstAvailable != null) { + // ensure the json data is an array + if (!jsonObj.get("firstAvailable").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `firstAvailable` to be an array in the JSON string but got `%s`", jsonObj.get("firstAvailable").toString())); + } + + // validate the optional field `firstAvailable` (array) + for (int i = 0; i < jsonArrayfirstAvailable.size(); i++) { + V1DeviceSubRequest.validateJsonElement(jsonArrayfirstAvailable.get(i)); + }; + } + } + if (!jsonObj.get("name").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!V1DeviceRequest.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1DeviceRequest' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1DeviceRequest.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, V1DeviceRequest value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public V1DeviceRequest read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of V1DeviceRequest given an JSON string + * + * @param jsonString JSON string + * @return An instance of V1DeviceRequest + * @throws IOException if the JSON string is invalid with respect to V1DeviceRequest + */ + public static V1DeviceRequest fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1DeviceRequest.class); + } + + /** + * Convert an instance of V1DeviceRequest to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceRequestAllocationResult.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeviceRequestAllocationResult.java similarity index 50% rename from kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceRequestAllocationResult.java rename to kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeviceRequestAllocationResult.java index ce81e06fa2..f6ff07e14c 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceRequestAllocationResult.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeviceRequestAllocationResult.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -18,13 +19,16 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.kubernetes.client.openapi.models.V1alpha3DeviceToleration; +import io.kubernetes.client.custom.Quantity; +import io.kubernetes.client.openapi.models.V1DeviceToleration; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; +import java.util.HashMap; import java.util.List; +import java.util.Map; import com.google.gson.Gson; import com.google.gson.GsonBuilder; @@ -53,13 +57,28 @@ * DeviceRequestAllocationResult contains the allocation result for one request. */ @ApiModel(description = "DeviceRequestAllocationResult contains the allocation result for one request.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") -public class V1alpha3DeviceRequestAllocationResult { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1DeviceRequestAllocationResult { public static final String SERIALIZED_NAME_ADMIN_ACCESS = "adminAccess"; @SerializedName(SERIALIZED_NAME_ADMIN_ACCESS) @jakarta.annotation.Nullable private Boolean adminAccess; + public static final String SERIALIZED_NAME_BINDING_CONDITIONS = "bindingConditions"; + @SerializedName(SERIALIZED_NAME_BINDING_CONDITIONS) + @jakarta.annotation.Nullable + private List bindingConditions = new ArrayList<>(); + + public static final String SERIALIZED_NAME_BINDING_FAILURE_CONDITIONS = "bindingFailureConditions"; + @SerializedName(SERIALIZED_NAME_BINDING_FAILURE_CONDITIONS) + @jakarta.annotation.Nullable + private List bindingFailureConditions = new ArrayList<>(); + + public static final String SERIALIZED_NAME_CONSUMED_CAPACITY = "consumedCapacity"; + @SerializedName(SERIALIZED_NAME_CONSUMED_CAPACITY) + @jakarta.annotation.Nullable + private Map consumedCapacity = new HashMap<>(); + public static final String SERIALIZED_NAME_DEVICE = "device"; @SerializedName(SERIALIZED_NAME_DEVICE) @jakarta.annotation.Nonnull @@ -80,15 +99,20 @@ public class V1alpha3DeviceRequestAllocationResult { @jakarta.annotation.Nonnull private String request; + public static final String SERIALIZED_NAME_SHARE_I_D = "shareID"; + @SerializedName(SERIALIZED_NAME_SHARE_I_D) + @jakarta.annotation.Nullable + private String shareID; + public static final String SERIALIZED_NAME_TOLERATIONS = "tolerations"; @SerializedName(SERIALIZED_NAME_TOLERATIONS) @jakarta.annotation.Nullable - private List tolerations = new ArrayList<>(); + private List tolerations = new ArrayList<>(); - public V1alpha3DeviceRequestAllocationResult() { + public V1DeviceRequestAllocationResult() { } - public V1alpha3DeviceRequestAllocationResult adminAccess(@jakarta.annotation.Nullable Boolean adminAccess) { + public V1DeviceRequestAllocationResult adminAccess(@jakarta.annotation.Nullable Boolean adminAccess) { this.adminAccess = adminAccess; return this; } @@ -108,7 +132,91 @@ public void setAdminAccess(@jakarta.annotation.Nullable Boolean adminAccess) { } - public V1alpha3DeviceRequestAllocationResult device(@jakarta.annotation.Nonnull String device) { + public V1DeviceRequestAllocationResult bindingConditions(@jakarta.annotation.Nullable List bindingConditions) { + this.bindingConditions = bindingConditions; + return this; + } + + public V1DeviceRequestAllocationResult addBindingConditionsItem(String bindingConditionsItem) { + if (this.bindingConditions == null) { + this.bindingConditions = new ArrayList<>(); + } + this.bindingConditions.add(bindingConditionsItem); + return this; + } + + /** + * 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 feature gates. + * @return bindingConditions + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "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 feature gates.") + public List getBindingConditions() { + return bindingConditions; + } + + public void setBindingConditions(@jakarta.annotation.Nullable List bindingConditions) { + this.bindingConditions = bindingConditions; + } + + + public V1DeviceRequestAllocationResult bindingFailureConditions(@jakarta.annotation.Nullable List bindingFailureConditions) { + this.bindingFailureConditions = bindingFailureConditions; + return this; + } + + public V1DeviceRequestAllocationResult addBindingFailureConditionsItem(String bindingFailureConditionsItem) { + if (this.bindingFailureConditions == null) { + this.bindingFailureConditions = new ArrayList<>(); + } + this.bindingFailureConditions.add(bindingFailureConditionsItem); + return this; + } + + /** + * 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 feature gates. + * @return bindingFailureConditions + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "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 feature gates.") + public List getBindingFailureConditions() { + return bindingFailureConditions; + } + + public void setBindingFailureConditions(@jakarta.annotation.Nullable List bindingFailureConditions) { + this.bindingFailureConditions = bindingFailureConditions; + } + + + public V1DeviceRequestAllocationResult consumedCapacity(@jakarta.annotation.Nullable Map consumedCapacity) { + this.consumedCapacity = consumedCapacity; + return this; + } + + public V1DeviceRequestAllocationResult putConsumedCapacityItem(String key, Quantity consumedCapacityItem) { + if (this.consumedCapacity == null) { + this.consumedCapacity = new HashMap<>(); + } + this.consumedCapacity.put(key, consumedCapacityItem); + return this; + } + + /** + * 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 value based on the device’s requestPolicy if applicable (i.e., may not be less than the requested amount). The total consumed capacity for each device must not exceed the DeviceCapacity's Value. This field is populated only for devices that allow multiple allocations. All capacity entries are included, even if the consumed amount is zero. + * @return consumedCapacity + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "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 value based on the device’s requestPolicy if applicable (i.e., may not be less than the requested amount). The total consumed capacity for each device must not exceed the DeviceCapacity's Value. This field is populated only for devices that allow multiple allocations. All capacity entries are included, even if the consumed amount is zero.") + public Map getConsumedCapacity() { + return consumedCapacity; + } + + public void setConsumedCapacity(@jakarta.annotation.Nullable Map consumedCapacity) { + this.consumedCapacity = consumedCapacity; + } + + + public V1DeviceRequestAllocationResult device(@jakarta.annotation.Nonnull String device) { this.device = device; return this; } @@ -128,7 +236,7 @@ public void setDevice(@jakarta.annotation.Nonnull String device) { } - public V1alpha3DeviceRequestAllocationResult driver(@jakarta.annotation.Nonnull String driver) { + public V1DeviceRequestAllocationResult driver(@jakarta.annotation.Nonnull String driver) { this.driver = driver; return this; } @@ -148,7 +256,7 @@ public void setDriver(@jakarta.annotation.Nonnull String driver) { } - public V1alpha3DeviceRequestAllocationResult pool(@jakarta.annotation.Nonnull String pool) { + public V1DeviceRequestAllocationResult pool(@jakarta.annotation.Nonnull String pool) { this.pool = pool; return this; } @@ -168,7 +276,7 @@ public void setPool(@jakarta.annotation.Nonnull String pool) { } - public V1alpha3DeviceRequestAllocationResult request(@jakarta.annotation.Nonnull String request) { + public V1DeviceRequestAllocationResult request(@jakarta.annotation.Nonnull String request) { this.request = request; return this; } @@ -188,12 +296,32 @@ public void setRequest(@jakarta.annotation.Nonnull String request) { } - public V1alpha3DeviceRequestAllocationResult tolerations(@jakarta.annotation.Nullable List tolerations) { + public V1DeviceRequestAllocationResult shareID(@jakarta.annotation.Nullable String shareID) { + this.shareID = shareID; + return this; + } + + /** + * 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. + * @return shareID + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "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.") + public String getShareID() { + return shareID; + } + + public void setShareID(@jakarta.annotation.Nullable String shareID) { + this.shareID = shareID; + } + + + public V1DeviceRequestAllocationResult tolerations(@jakarta.annotation.Nullable List tolerations) { this.tolerations = tolerations; return this; } - public V1alpha3DeviceRequestAllocationResult addTolerationsItem(V1alpha3DeviceToleration tolerationsItem) { + public V1DeviceRequestAllocationResult addTolerationsItem(V1DeviceToleration tolerationsItem) { if (this.tolerations == null) { this.tolerations = new ArrayList<>(); } @@ -207,11 +335,11 @@ public V1alpha3DeviceRequestAllocationResult addTolerationsItem(V1alpha3DeviceTo */ @jakarta.annotation.Nullable @ApiModelProperty(value = "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 feature gate.") - public List getTolerations() { + public List getTolerations() { return tolerations; } - public void setTolerations(@jakarta.annotation.Nullable List tolerations) { + public void setTolerations(@jakarta.annotation.Nullable List tolerations) { this.tolerations = tolerations; } @@ -225,29 +353,37 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V1alpha3DeviceRequestAllocationResult v1alpha3DeviceRequestAllocationResult = (V1alpha3DeviceRequestAllocationResult) o; - return Objects.equals(this.adminAccess, v1alpha3DeviceRequestAllocationResult.adminAccess) && - Objects.equals(this.device, v1alpha3DeviceRequestAllocationResult.device) && - Objects.equals(this.driver, v1alpha3DeviceRequestAllocationResult.driver) && - Objects.equals(this.pool, v1alpha3DeviceRequestAllocationResult.pool) && - Objects.equals(this.request, v1alpha3DeviceRequestAllocationResult.request) && - Objects.equals(this.tolerations, v1alpha3DeviceRequestAllocationResult.tolerations); + V1DeviceRequestAllocationResult v1DeviceRequestAllocationResult = (V1DeviceRequestAllocationResult) o; + return Objects.equals(this.adminAccess, v1DeviceRequestAllocationResult.adminAccess) && + Objects.equals(this.bindingConditions, v1DeviceRequestAllocationResult.bindingConditions) && + Objects.equals(this.bindingFailureConditions, v1DeviceRequestAllocationResult.bindingFailureConditions) && + Objects.equals(this.consumedCapacity, v1DeviceRequestAllocationResult.consumedCapacity) && + Objects.equals(this.device, v1DeviceRequestAllocationResult.device) && + Objects.equals(this.driver, v1DeviceRequestAllocationResult.driver) && + Objects.equals(this.pool, v1DeviceRequestAllocationResult.pool) && + Objects.equals(this.request, v1DeviceRequestAllocationResult.request) && + Objects.equals(this.shareID, v1DeviceRequestAllocationResult.shareID) && + Objects.equals(this.tolerations, v1DeviceRequestAllocationResult.tolerations); } @Override public int hashCode() { - return Objects.hash(adminAccess, device, driver, pool, request, tolerations); + return Objects.hash(adminAccess, bindingConditions, bindingFailureConditions, consumedCapacity, device, driver, pool, request, shareID, tolerations); } @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V1alpha3DeviceRequestAllocationResult {\n"); + sb.append("class V1DeviceRequestAllocationResult {\n"); sb.append(" adminAccess: ").append(toIndentedString(adminAccess)).append("\n"); + sb.append(" bindingConditions: ").append(toIndentedString(bindingConditions)).append("\n"); + sb.append(" bindingFailureConditions: ").append(toIndentedString(bindingFailureConditions)).append("\n"); + sb.append(" consumedCapacity: ").append(toIndentedString(consumedCapacity)).append("\n"); sb.append(" device: ").append(toIndentedString(device)).append("\n"); sb.append(" driver: ").append(toIndentedString(driver)).append("\n"); sb.append(" pool: ").append(toIndentedString(pool)).append("\n"); sb.append(" request: ").append(toIndentedString(request)).append("\n"); + sb.append(" shareID: ").append(toIndentedString(shareID)).append("\n"); sb.append(" tolerations: ").append(toIndentedString(tolerations)).append("\n"); sb.append("}"); return sb.toString(); @@ -272,10 +408,14 @@ private String toIndentedString(Object o) { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); openapiFields.add("adminAccess"); + openapiFields.add("bindingConditions"); + openapiFields.add("bindingFailureConditions"); + openapiFields.add("consumedCapacity"); openapiFields.add("device"); openapiFields.add("driver"); openapiFields.add("pool"); openapiFields.add("request"); + openapiFields.add("shareID"); openapiFields.add("tolerations"); // a set of required properties/fields (JSON key names) @@ -290,30 +430,38 @@ private String toIndentedString(Object o) { * Validates the JSON Element and throws an exception if issues found * * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to V1alpha3DeviceRequestAllocationResult + * @throws IOException if the JSON Element is invalid with respect to V1DeviceRequestAllocationResult */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - if (!V1alpha3DeviceRequestAllocationResult.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in V1alpha3DeviceRequestAllocationResult is not found in the empty JSON string", V1alpha3DeviceRequestAllocationResult.openapiRequiredFields.toString())); + if (!V1DeviceRequestAllocationResult.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1DeviceRequestAllocationResult is not found in the empty JSON string", V1DeviceRequestAllocationResult.openapiRequiredFields.toString())); } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { - if (!V1alpha3DeviceRequestAllocationResult.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1alpha3DeviceRequestAllocationResult` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + if (!V1DeviceRequestAllocationResult.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1DeviceRequestAllocationResult` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } // check to make sure all required properties/fields are present in the JSON string - for (String requiredField : V1alpha3DeviceRequestAllocationResult.openapiRequiredFields) { + for (String requiredField : V1DeviceRequestAllocationResult.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); + // ensure the optional json data is an array if present + if (jsonObj.get("bindingConditions") != null && !jsonObj.get("bindingConditions").isJsonNull() && !jsonObj.get("bindingConditions").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `bindingConditions` to be an array in the JSON string but got `%s`", jsonObj.get("bindingConditions").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("bindingFailureConditions") != null && !jsonObj.get("bindingFailureConditions").isJsonNull() && !jsonObj.get("bindingFailureConditions").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `bindingFailureConditions` to be an array in the JSON string but got `%s`", jsonObj.get("bindingFailureConditions").toString())); + } if (!jsonObj.get("device").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `device` to be a primitive type in the JSON string but got `%s`", jsonObj.get("device").toString())); } @@ -326,6 +474,9 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!jsonObj.get("request").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `request` to be a primitive type in the JSON string but got `%s`", jsonObj.get("request").toString())); } + if ((jsonObj.get("shareID") != null && !jsonObj.get("shareID").isJsonNull()) && !jsonObj.get("shareID").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `shareID` to be a primitive type in the JSON string but got `%s`", jsonObj.get("shareID").toString())); + } if (jsonObj.get("tolerations") != null && !jsonObj.get("tolerations").isJsonNull()) { JsonArray jsonArraytolerations = jsonObj.getAsJsonArray("tolerations"); if (jsonArraytolerations != null) { @@ -336,7 +487,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // validate the optional field `tolerations` (array) for (int i = 0; i < jsonArraytolerations.size(); i++) { - V1alpha3DeviceToleration.validateJsonElement(jsonArraytolerations.get(i)); + V1DeviceToleration.validateJsonElement(jsonArraytolerations.get(i)); }; } } @@ -346,22 +497,22 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1alpha3DeviceRequestAllocationResult.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1alpha3DeviceRequestAllocationResult' and its subtypes + if (!V1DeviceRequestAllocationResult.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1DeviceRequestAllocationResult' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1alpha3DeviceRequestAllocationResult.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1DeviceRequestAllocationResult.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, V1alpha3DeviceRequestAllocationResult value) throws IOException { + public void write(JsonWriter out, V1DeviceRequestAllocationResult value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public V1alpha3DeviceRequestAllocationResult read(JsonReader in) throws IOException { + public V1DeviceRequestAllocationResult read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -372,18 +523,18 @@ public V1alpha3DeviceRequestAllocationResult read(JsonReader in) throws IOExcept } /** - * Create an instance of V1alpha3DeviceRequestAllocationResult given an JSON string + * Create an instance of V1DeviceRequestAllocationResult given an JSON string * * @param jsonString JSON string - * @return An instance of V1alpha3DeviceRequestAllocationResult - * @throws IOException if the JSON string is invalid with respect to V1alpha3DeviceRequestAllocationResult + * @return An instance of V1DeviceRequestAllocationResult + * @throws IOException if the JSON string is invalid with respect to V1DeviceRequestAllocationResult */ - public static V1alpha3DeviceRequestAllocationResult fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1alpha3DeviceRequestAllocationResult.class); + public static V1DeviceRequestAllocationResult fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1DeviceRequestAllocationResult.class); } /** - * Convert an instance of V1alpha3DeviceRequestAllocationResult to an JSON string + * Convert an instance of V1DeviceRequestAllocationResult to an JSON string * * @return JSON string */ @@ -391,3 +542,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeviceSelector.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeviceSelector.java new file mode 100644 index 0000000000..b4ede1f658 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeviceSelector.java @@ -0,0 +1,212 @@ +/* + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package io.kubernetes.client.openapi.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.openapi.models.V1CELDeviceSelector; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.Arrays; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import io.kubernetes.client.openapi.JSON; + +/** + * DeviceSelector must have exactly one field set. + */ +@ApiModel(description = "DeviceSelector must have exactly one field set.") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1DeviceSelector { + public static final String SERIALIZED_NAME_CEL = "cel"; + @SerializedName(SERIALIZED_NAME_CEL) + @jakarta.annotation.Nullable + private V1CELDeviceSelector cel; + + public V1DeviceSelector() { + } + + public V1DeviceSelector cel(@jakarta.annotation.Nullable V1CELDeviceSelector cel) { + this.cel = cel; + return this; + } + + /** + * Get cel + * @return cel + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "") + public V1CELDeviceSelector getCel() { + return cel; + } + + public void setCel(@jakarta.annotation.Nullable V1CELDeviceSelector cel) { + this.cel = cel; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1DeviceSelector v1DeviceSelector = (V1DeviceSelector) o; + return Objects.equals(this.cel, v1DeviceSelector.cel); + } + + @Override + public int hashCode() { + return Objects.hash(cel); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1DeviceSelector {\n"); + sb.append(" cel: ").append(toIndentedString(cel)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("cel"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to V1DeviceSelector + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!V1DeviceSelector.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1DeviceSelector is not found in the empty JSON string", V1DeviceSelector.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!V1DeviceSelector.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1DeviceSelector` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + // validate the optional field `cel` + if (jsonObj.get("cel") != null && !jsonObj.get("cel").isJsonNull()) { + V1CELDeviceSelector.validateJsonElement(jsonObj.get("cel")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!V1DeviceSelector.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1DeviceSelector' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1DeviceSelector.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, V1DeviceSelector value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public V1DeviceSelector read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of V1DeviceSelector given an JSON string + * + * @param jsonString JSON string + * @return An instance of V1DeviceSelector + * @throws IOException if the JSON string is invalid with respect to V1DeviceSelector + */ + public static V1DeviceSelector fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1DeviceSelector.class); + } + + /** + * Convert an instance of V1DeviceSelector to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceSubRequest.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeviceSubRequest.java similarity index 67% rename from kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceSubRequest.java rename to kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeviceSubRequest.java index 0e5451d309..b78087edbe 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceSubRequest.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeviceSubRequest.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -18,8 +19,9 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.kubernetes.client.openapi.models.V1alpha3DeviceSelector; -import io.kubernetes.client.openapi.models.V1alpha3DeviceToleration; +import io.kubernetes.client.openapi.models.V1CapacityRequirements; +import io.kubernetes.client.openapi.models.V1DeviceSelector; +import io.kubernetes.client.openapi.models.V1DeviceToleration; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; @@ -51,16 +53,21 @@ import io.kubernetes.client.openapi.JSON; /** - * DeviceSubRequest describes a request for device provided in the claim.spec.devices.requests[].firstAvailable array. Each is typically a request for a single resource like a device, but can also ask for several identical devices. DeviceSubRequest is similar to Request, but doesn't expose the AdminAccess or FirstAvailable fields, as those can only be set on the top-level request. AdminAccess is not supported for requests with a prioritized list, and recursive FirstAvailable fields are not supported. + * DeviceSubRequest describes a request for device provided in the claim.spec.devices.requests[].firstAvailable array. Each is typically a request for a single resource like a device, but can also ask for several identical devices. DeviceSubRequest is similar to ExactDeviceRequest, but doesn't expose the AdminAccess field as that one is only supported when requesting a specific device. */ -@ApiModel(description = "DeviceSubRequest describes a request for device provided in the claim.spec.devices.requests[].firstAvailable array. Each is typically a request for a single resource like a device, but can also ask for several identical devices. DeviceSubRequest is similar to Request, but doesn't expose the AdminAccess or FirstAvailable fields, as those can only be set on the top-level request. AdminAccess is not supported for requests with a prioritized list, and recursive FirstAvailable fields are not supported.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") -public class V1alpha3DeviceSubRequest { +@ApiModel(description = "DeviceSubRequest describes a request for device provided in the claim.spec.devices.requests[].firstAvailable array. Each is typically a request for a single resource like a device, but can also ask for several identical devices. DeviceSubRequest is similar to ExactDeviceRequest, but doesn't expose the AdminAccess field as that one is only supported when requesting a specific device.") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1DeviceSubRequest { public static final String SERIALIZED_NAME_ALLOCATION_MODE = "allocationMode"; @SerializedName(SERIALIZED_NAME_ALLOCATION_MODE) @jakarta.annotation.Nullable private String allocationMode; + public static final String SERIALIZED_NAME_CAPACITY = "capacity"; + @SerializedName(SERIALIZED_NAME_CAPACITY) + @jakarta.annotation.Nullable + private V1CapacityRequirements capacity; + public static final String SERIALIZED_NAME_COUNT = "count"; @SerializedName(SERIALIZED_NAME_COUNT) @jakarta.annotation.Nullable @@ -79,27 +86,27 @@ public class V1alpha3DeviceSubRequest { public static final String SERIALIZED_NAME_SELECTORS = "selectors"; @SerializedName(SERIALIZED_NAME_SELECTORS) @jakarta.annotation.Nullable - private List selectors = new ArrayList<>(); + private List selectors = new ArrayList<>(); public static final String SERIALIZED_NAME_TOLERATIONS = "tolerations"; @SerializedName(SERIALIZED_NAME_TOLERATIONS) @jakarta.annotation.Nullable - private List tolerations = new ArrayList<>(); + private List tolerations = new ArrayList<>(); - public V1alpha3DeviceSubRequest() { + public V1DeviceSubRequest() { } - public V1alpha3DeviceSubRequest allocationMode(@jakarta.annotation.Nullable String allocationMode) { + public V1DeviceSubRequest allocationMode(@jakarta.annotation.Nullable String allocationMode) { this.allocationMode = allocationMode; return this; } /** - * AllocationMode and its related fields define how devices are allocated to satisfy this request. Supported values are: - ExactCount: This request is for a specific number of devices. This is the default. The exact number is provided in the count field. - All: This request is for all of the matching devices in a pool. Allocation will fail if some devices are already allocated, unless adminAccess is requested. If AllocationMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other requests must specify this field. More modes may get added in the future. Clients must refuse to handle requests with unknown modes. + * AllocationMode and its related fields define how devices are allocated to satisfy this subrequest. Supported values are: - ExactCount: This request is for a specific number of devices. This is the default. The exact number is provided in the count field. - All: This subrequest is for all of the matching devices in a pool. Allocation will fail if some devices are already allocated, unless adminAccess is requested. If AllocationMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other subrequests must specify this field. More modes may get added in the future. Clients must refuse to handle requests with unknown modes. * @return allocationMode */ @jakarta.annotation.Nullable - @ApiModelProperty(value = "AllocationMode and its related fields define how devices are allocated to satisfy this request. Supported values are: - ExactCount: This request is for a specific number of devices. This is the default. The exact number is provided in the count field. - All: This request is for all of the matching devices in a pool. Allocation will fail if some devices are already allocated, unless adminAccess is requested. If AllocationMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other requests must specify this field. More modes may get added in the future. Clients must refuse to handle requests with unknown modes.") + @ApiModelProperty(value = "AllocationMode and its related fields define how devices are allocated to satisfy this subrequest. Supported values are: - ExactCount: This request is for a specific number of devices. This is the default. The exact number is provided in the count field. - All: This subrequest is for all of the matching devices in a pool. Allocation will fail if some devices are already allocated, unless adminAccess is requested. If AllocationMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other subrequests must specify this field. More modes may get added in the future. Clients must refuse to handle requests with unknown modes.") public String getAllocationMode() { return allocationMode; } @@ -109,7 +116,27 @@ public void setAllocationMode(@jakarta.annotation.Nullable String allocationMode } - public V1alpha3DeviceSubRequest count(@jakarta.annotation.Nullable Long count) { + public V1DeviceSubRequest capacity(@jakarta.annotation.Nullable V1CapacityRequirements capacity) { + this.capacity = capacity; + return this; + } + + /** + * Get capacity + * @return capacity + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "") + public V1CapacityRequirements getCapacity() { + return capacity; + } + + public void setCapacity(@jakarta.annotation.Nullable V1CapacityRequirements capacity) { + this.capacity = capacity; + } + + + public V1DeviceSubRequest count(@jakarta.annotation.Nullable Long count) { this.count = count; return this; } @@ -129,7 +156,7 @@ public void setCount(@jakarta.annotation.Nullable Long count) { } - public V1alpha3DeviceSubRequest deviceClassName(@jakarta.annotation.Nonnull String deviceClassName) { + public V1DeviceSubRequest deviceClassName(@jakarta.annotation.Nonnull String deviceClassName) { this.deviceClassName = deviceClassName; return this; } @@ -149,7 +176,7 @@ public void setDeviceClassName(@jakarta.annotation.Nonnull String deviceClassNam } - public V1alpha3DeviceSubRequest name(@jakarta.annotation.Nonnull String name) { + public V1DeviceSubRequest name(@jakarta.annotation.Nonnull String name) { this.name = name; return this; } @@ -169,12 +196,12 @@ public void setName(@jakarta.annotation.Nonnull String name) { } - public V1alpha3DeviceSubRequest selectors(@jakarta.annotation.Nullable List selectors) { + public V1DeviceSubRequest selectors(@jakarta.annotation.Nullable List selectors) { this.selectors = selectors; return this; } - public V1alpha3DeviceSubRequest addSelectorsItem(V1alpha3DeviceSelector selectorsItem) { + public V1DeviceSubRequest addSelectorsItem(V1DeviceSelector selectorsItem) { if (this.selectors == null) { this.selectors = new ArrayList<>(); } @@ -183,26 +210,26 @@ public V1alpha3DeviceSubRequest addSelectorsItem(V1alpha3DeviceSelector selector } /** - * Selectors define criteria which must be satisfied by a specific device in order for that device to be considered for this request. All selectors must be satisfied for a device to be considered. + * 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. * @return selectors */ @jakarta.annotation.Nullable - @ApiModelProperty(value = "Selectors define criteria which must be satisfied by a specific device in order for that device to be considered for this request. All selectors must be satisfied for a device to be considered.") - public List getSelectors() { + @ApiModelProperty(value = "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.") + public List getSelectors() { return selectors; } - public void setSelectors(@jakarta.annotation.Nullable List selectors) { + public void setSelectors(@jakarta.annotation.Nullable List selectors) { this.selectors = selectors; } - public V1alpha3DeviceSubRequest tolerations(@jakarta.annotation.Nullable List tolerations) { + public V1DeviceSubRequest tolerations(@jakarta.annotation.Nullable List tolerations) { this.tolerations = tolerations; return this; } - public V1alpha3DeviceSubRequest addTolerationsItem(V1alpha3DeviceToleration tolerationsItem) { + public V1DeviceSubRequest addTolerationsItem(V1DeviceToleration tolerationsItem) { if (this.tolerations == null) { this.tolerations = new ArrayList<>(); } @@ -216,11 +243,11 @@ public V1alpha3DeviceSubRequest addTolerationsItem(V1alpha3DeviceToleration tole */ @jakarta.annotation.Nullable @ApiModelProperty(value = "If specified, the request's tolerations. Tolerations for NoSchedule are required to allocate a device which has a taint with that effect. The same applies to NoExecute. In addition, should any of the allocated devices get tainted with NoExecute after allocation and that effect is not tolerated, then all pods consuming the ResourceClaim get deleted to evict them. The scheduler will not let new pods reserve the claim while it has these tainted devices. Once all pods are evicted, the claim will get deallocated. The maximum number of tolerations is 16. This is an alpha field and requires enabling the DRADeviceTaints feature gate.") - public List getTolerations() { + public List getTolerations() { return tolerations; } - public void setTolerations(@jakarta.annotation.Nullable List tolerations) { + public void setTolerations(@jakarta.annotation.Nullable List tolerations) { this.tolerations = tolerations; } @@ -234,25 +261,27 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V1alpha3DeviceSubRequest v1alpha3DeviceSubRequest = (V1alpha3DeviceSubRequest) o; - return Objects.equals(this.allocationMode, v1alpha3DeviceSubRequest.allocationMode) && - Objects.equals(this.count, v1alpha3DeviceSubRequest.count) && - Objects.equals(this.deviceClassName, v1alpha3DeviceSubRequest.deviceClassName) && - Objects.equals(this.name, v1alpha3DeviceSubRequest.name) && - Objects.equals(this.selectors, v1alpha3DeviceSubRequest.selectors) && - Objects.equals(this.tolerations, v1alpha3DeviceSubRequest.tolerations); + V1DeviceSubRequest v1DeviceSubRequest = (V1DeviceSubRequest) o; + return Objects.equals(this.allocationMode, v1DeviceSubRequest.allocationMode) && + Objects.equals(this.capacity, v1DeviceSubRequest.capacity) && + Objects.equals(this.count, v1DeviceSubRequest.count) && + Objects.equals(this.deviceClassName, v1DeviceSubRequest.deviceClassName) && + Objects.equals(this.name, v1DeviceSubRequest.name) && + Objects.equals(this.selectors, v1DeviceSubRequest.selectors) && + Objects.equals(this.tolerations, v1DeviceSubRequest.tolerations); } @Override public int hashCode() { - return Objects.hash(allocationMode, count, deviceClassName, name, selectors, tolerations); + return Objects.hash(allocationMode, capacity, count, deviceClassName, name, selectors, tolerations); } @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V1alpha3DeviceSubRequest {\n"); + sb.append("class V1DeviceSubRequest {\n"); sb.append(" allocationMode: ").append(toIndentedString(allocationMode)).append("\n"); + sb.append(" capacity: ").append(toIndentedString(capacity)).append("\n"); sb.append(" count: ").append(toIndentedString(count)).append("\n"); sb.append(" deviceClassName: ").append(toIndentedString(deviceClassName)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); @@ -281,6 +310,7 @@ private String toIndentedString(Object o) { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); openapiFields.add("allocationMode"); + openapiFields.add("capacity"); openapiFields.add("count"); openapiFields.add("deviceClassName"); openapiFields.add("name"); @@ -297,25 +327,25 @@ private String toIndentedString(Object o) { * Validates the JSON Element and throws an exception if issues found * * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to V1alpha3DeviceSubRequest + * @throws IOException if the JSON Element is invalid with respect to V1DeviceSubRequest */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - if (!V1alpha3DeviceSubRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in V1alpha3DeviceSubRequest is not found in the empty JSON string", V1alpha3DeviceSubRequest.openapiRequiredFields.toString())); + if (!V1DeviceSubRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1DeviceSubRequest is not found in the empty JSON string", V1DeviceSubRequest.openapiRequiredFields.toString())); } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { - if (!V1alpha3DeviceSubRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1alpha3DeviceSubRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + if (!V1DeviceSubRequest.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1DeviceSubRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } // check to make sure all required properties/fields are present in the JSON string - for (String requiredField : V1alpha3DeviceSubRequest.openapiRequiredFields) { + for (String requiredField : V1DeviceSubRequest.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); } @@ -324,6 +354,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if ((jsonObj.get("allocationMode") != null && !jsonObj.get("allocationMode").isJsonNull()) && !jsonObj.get("allocationMode").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `allocationMode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("allocationMode").toString())); } + // validate the optional field `capacity` + if (jsonObj.get("capacity") != null && !jsonObj.get("capacity").isJsonNull()) { + V1CapacityRequirements.validateJsonElement(jsonObj.get("capacity")); + } if (!jsonObj.get("deviceClassName").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `deviceClassName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("deviceClassName").toString())); } @@ -340,7 +374,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // validate the optional field `selectors` (array) for (int i = 0; i < jsonArrayselectors.size(); i++) { - V1alpha3DeviceSelector.validateJsonElement(jsonArrayselectors.get(i)); + V1DeviceSelector.validateJsonElement(jsonArrayselectors.get(i)); }; } } @@ -354,7 +388,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // validate the optional field `tolerations` (array) for (int i = 0; i < jsonArraytolerations.size(); i++) { - V1alpha3DeviceToleration.validateJsonElement(jsonArraytolerations.get(i)); + V1DeviceToleration.validateJsonElement(jsonArraytolerations.get(i)); }; } } @@ -364,22 +398,22 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1alpha3DeviceSubRequest.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1alpha3DeviceSubRequest' and its subtypes + if (!V1DeviceSubRequest.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1DeviceSubRequest' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1alpha3DeviceSubRequest.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1DeviceSubRequest.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, V1alpha3DeviceSubRequest value) throws IOException { + public void write(JsonWriter out, V1DeviceSubRequest value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public V1alpha3DeviceSubRequest read(JsonReader in) throws IOException { + public V1DeviceSubRequest read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -390,18 +424,18 @@ public V1alpha3DeviceSubRequest read(JsonReader in) throws IOException { } /** - * Create an instance of V1alpha3DeviceSubRequest given an JSON string + * Create an instance of V1DeviceSubRequest given an JSON string * * @param jsonString JSON string - * @return An instance of V1alpha3DeviceSubRequest - * @throws IOException if the JSON string is invalid with respect to V1alpha3DeviceSubRequest + * @return An instance of V1DeviceSubRequest + * @throws IOException if the JSON string is invalid with respect to V1DeviceSubRequest */ - public static V1alpha3DeviceSubRequest fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1alpha3DeviceSubRequest.class); + public static V1DeviceSubRequest fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1DeviceSubRequest.class); } /** - * Convert an instance of V1alpha3DeviceSubRequest to an JSON string + * Convert an instance of V1DeviceSubRequest to an JSON string * * @return JSON string */ @@ -409,3 +443,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeviceTaint.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeviceTaint.java new file mode 100644 index 0000000000..d6deb8614b --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeviceTaint.java @@ -0,0 +1,310 @@ +/* + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package io.kubernetes.client.openapi.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.Arrays; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import io.kubernetes.client.openapi.JSON; + +/** + * The device this taint is attached to has the \"effect\" on any claim which does not tolerate the taint and, through the claim, to pods using the claim. + */ +@ApiModel(description = "The device this taint is attached to has the \"effect\" on any claim which does not tolerate the taint and, through the claim, to pods using the claim.") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1DeviceTaint { + public static final String SERIALIZED_NAME_EFFECT = "effect"; + @SerializedName(SERIALIZED_NAME_EFFECT) + @jakarta.annotation.Nonnull + private String effect; + + public static final String SERIALIZED_NAME_KEY = "key"; + @SerializedName(SERIALIZED_NAME_KEY) + @jakarta.annotation.Nonnull + private String key; + + public static final String SERIALIZED_NAME_TIME_ADDED = "timeAdded"; + @SerializedName(SERIALIZED_NAME_TIME_ADDED) + @jakarta.annotation.Nullable + private OffsetDateTime timeAdded; + + public static final String SERIALIZED_NAME_VALUE = "value"; + @SerializedName(SERIALIZED_NAME_VALUE) + @jakarta.annotation.Nullable + private String value; + + public V1DeviceTaint() { + } + + public V1DeviceTaint effect(@jakarta.annotation.Nonnull String effect) { + this.effect = effect; + return this; + } + + /** + * The effect of the taint on claims that do not tolerate the taint and through such claims on the pods using them. Valid effects are NoSchedule and NoExecute. PreferNoSchedule as used for nodes is not valid here. + * @return effect + */ + @jakarta.annotation.Nonnull + @ApiModelProperty(required = true, value = "The effect of the taint on claims that do not tolerate the taint and through such claims on the pods using them. Valid effects are NoSchedule and NoExecute. PreferNoSchedule as used for nodes is not valid here.") + public String getEffect() { + return effect; + } + + public void setEffect(@jakarta.annotation.Nonnull String effect) { + this.effect = effect; + } + + + public V1DeviceTaint key(@jakarta.annotation.Nonnull String key) { + this.key = key; + return this; + } + + /** + * The taint key to be applied to a device. Must be a label name. + * @return key + */ + @jakarta.annotation.Nonnull + @ApiModelProperty(required = true, value = "The taint key to be applied to a device. Must be a label name.") + public String getKey() { + return key; + } + + public void setKey(@jakarta.annotation.Nonnull String key) { + this.key = key; + } + + + public V1DeviceTaint timeAdded(@jakarta.annotation.Nullable OffsetDateTime timeAdded) { + this.timeAdded = timeAdded; + return this; + } + + /** + * TimeAdded represents the time at which the taint was added. Added automatically during create or update if not set. + * @return timeAdded + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "TimeAdded represents the time at which the taint was added. Added automatically during create or update if not set.") + public OffsetDateTime getTimeAdded() { + return timeAdded; + } + + public void setTimeAdded(@jakarta.annotation.Nullable OffsetDateTime timeAdded) { + this.timeAdded = timeAdded; + } + + + public V1DeviceTaint value(@jakarta.annotation.Nullable String value) { + this.value = value; + return this; + } + + /** + * The taint value corresponding to the taint key. Must be a label value. + * @return value + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "The taint value corresponding to the taint key. Must be a label value.") + public String getValue() { + return value; + } + + public void setValue(@jakarta.annotation.Nullable String value) { + this.value = value; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1DeviceTaint v1DeviceTaint = (V1DeviceTaint) o; + return Objects.equals(this.effect, v1DeviceTaint.effect) && + Objects.equals(this.key, v1DeviceTaint.key) && + Objects.equals(this.timeAdded, v1DeviceTaint.timeAdded) && + Objects.equals(this.value, v1DeviceTaint.value); + } + + @Override + public int hashCode() { + return Objects.hash(effect, key, timeAdded, value); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1DeviceTaint {\n"); + sb.append(" effect: ").append(toIndentedString(effect)).append("\n"); + sb.append(" key: ").append(toIndentedString(key)).append("\n"); + sb.append(" timeAdded: ").append(toIndentedString(timeAdded)).append("\n"); + sb.append(" value: ").append(toIndentedString(value)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("effect"); + openapiFields.add("key"); + openapiFields.add("timeAdded"); + openapiFields.add("value"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("effect"); + openapiRequiredFields.add("key"); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to V1DeviceTaint + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!V1DeviceTaint.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1DeviceTaint is not found in the empty JSON string", V1DeviceTaint.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!V1DeviceTaint.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1DeviceTaint` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : V1DeviceTaint.openapiRequiredFields) { + if (jsonElement.getAsJsonObject().get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if (!jsonObj.get("effect").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `effect` to be a primitive type in the JSON string but got `%s`", jsonObj.get("effect").toString())); + } + if (!jsonObj.get("key").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `key` to be a primitive type in the JSON string but got `%s`", jsonObj.get("key").toString())); + } + if ((jsonObj.get("value") != null && !jsonObj.get("value").isJsonNull()) && !jsonObj.get("value").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `value` to be a primitive type in the JSON string but got `%s`", jsonObj.get("value").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!V1DeviceTaint.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1DeviceTaint' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1DeviceTaint.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, V1DeviceTaint value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public V1DeviceTaint read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of V1DeviceTaint given an JSON string + * + * @param jsonString JSON string + * @return An instance of V1DeviceTaint + * @throws IOException if the JSON string is invalid with respect to V1DeviceTaint + */ + public static V1DeviceTaint fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1DeviceTaint.class); + } + + /** + * Convert an instance of V1DeviceTaint to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceToleration.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeviceToleration.java similarity index 78% rename from kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceToleration.java rename to kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeviceToleration.java index b6efc0be4b..58def31038 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceToleration.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DeviceToleration.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,8 +51,8 @@ * The ResourceClaim this DeviceToleration is attached to tolerates any taint that matches the triple <key,value,effect> using the matching operator <operator>. */ @ApiModel(description = "The ResourceClaim this DeviceToleration is attached to tolerates any taint that matches the triple using the matching operator .") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") -public class V1alpha3DeviceToleration { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1DeviceToleration { public static final String SERIALIZED_NAME_EFFECT = "effect"; @SerializedName(SERIALIZED_NAME_EFFECT) @jakarta.annotation.Nullable @@ -77,10 +78,10 @@ public class V1alpha3DeviceToleration { @jakarta.annotation.Nullable private String value; - public V1alpha3DeviceToleration() { + public V1DeviceToleration() { } - public V1alpha3DeviceToleration effect(@jakarta.annotation.Nullable String effect) { + public V1DeviceToleration effect(@jakarta.annotation.Nullable String effect) { this.effect = effect; return this; } @@ -100,7 +101,7 @@ public void setEffect(@jakarta.annotation.Nullable String effect) { } - public V1alpha3DeviceToleration key(@jakarta.annotation.Nullable String key) { + public V1DeviceToleration key(@jakarta.annotation.Nullable String key) { this.key = key; return this; } @@ -120,7 +121,7 @@ public void setKey(@jakarta.annotation.Nullable String key) { } - public V1alpha3DeviceToleration operator(@jakarta.annotation.Nullable String operator) { + public V1DeviceToleration operator(@jakarta.annotation.Nullable String operator) { this.operator = operator; return this; } @@ -140,7 +141,7 @@ public void setOperator(@jakarta.annotation.Nullable String operator) { } - public V1alpha3DeviceToleration tolerationSeconds(@jakarta.annotation.Nullable Long tolerationSeconds) { + public V1DeviceToleration tolerationSeconds(@jakarta.annotation.Nullable Long tolerationSeconds) { this.tolerationSeconds = tolerationSeconds; return this; } @@ -160,7 +161,7 @@ public void setTolerationSeconds(@jakarta.annotation.Nullable Long tolerationSec } - public V1alpha3DeviceToleration value(@jakarta.annotation.Nullable String value) { + public V1DeviceToleration value(@jakarta.annotation.Nullable String value) { this.value = value; return this; } @@ -189,12 +190,12 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V1alpha3DeviceToleration v1alpha3DeviceToleration = (V1alpha3DeviceToleration) o; - return Objects.equals(this.effect, v1alpha3DeviceToleration.effect) && - Objects.equals(this.key, v1alpha3DeviceToleration.key) && - Objects.equals(this.operator, v1alpha3DeviceToleration.operator) && - Objects.equals(this.tolerationSeconds, v1alpha3DeviceToleration.tolerationSeconds) && - Objects.equals(this.value, v1alpha3DeviceToleration.value); + V1DeviceToleration v1DeviceToleration = (V1DeviceToleration) o; + return Objects.equals(this.effect, v1DeviceToleration.effect) && + Objects.equals(this.key, v1DeviceToleration.key) && + Objects.equals(this.operator, v1DeviceToleration.operator) && + Objects.equals(this.tolerationSeconds, v1DeviceToleration.tolerationSeconds) && + Objects.equals(this.value, v1DeviceToleration.value); } @Override @@ -205,7 +206,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V1alpha3DeviceToleration {\n"); + sb.append("class V1DeviceToleration {\n"); sb.append(" effect: ").append(toIndentedString(effect)).append("\n"); sb.append(" key: ").append(toIndentedString(key)).append("\n"); sb.append(" operator: ").append(toIndentedString(operator)).append("\n"); @@ -247,20 +248,20 @@ private String toIndentedString(Object o) { * Validates the JSON Element and throws an exception if issues found * * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to V1alpha3DeviceToleration + * @throws IOException if the JSON Element is invalid with respect to V1DeviceToleration */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - if (!V1alpha3DeviceToleration.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in V1alpha3DeviceToleration is not found in the empty JSON string", V1alpha3DeviceToleration.openapiRequiredFields.toString())); + if (!V1DeviceToleration.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1DeviceToleration is not found in the empty JSON string", V1DeviceToleration.openapiRequiredFields.toString())); } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { - if (!V1alpha3DeviceToleration.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1alpha3DeviceToleration` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + if (!V1DeviceToleration.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1DeviceToleration` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); @@ -282,22 +283,22 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1alpha3DeviceToleration.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1alpha3DeviceToleration' and its subtypes + if (!V1DeviceToleration.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1DeviceToleration' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1alpha3DeviceToleration.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1DeviceToleration.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, V1alpha3DeviceToleration value) throws IOException { + public void write(JsonWriter out, V1DeviceToleration value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public V1alpha3DeviceToleration read(JsonReader in) throws IOException { + public V1DeviceToleration read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -308,18 +309,18 @@ public V1alpha3DeviceToleration read(JsonReader in) throws IOException { } /** - * Create an instance of V1alpha3DeviceToleration given an JSON string + * Create an instance of V1DeviceToleration given an JSON string * * @param jsonString JSON string - * @return An instance of V1alpha3DeviceToleration - * @throws IOException if the JSON string is invalid with respect to V1alpha3DeviceToleration + * @return An instance of V1DeviceToleration + * @throws IOException if the JSON string is invalid with respect to V1DeviceToleration */ - public static V1alpha3DeviceToleration fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1alpha3DeviceToleration.class); + public static V1DeviceToleration fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1DeviceToleration.class); } /** - * Convert an instance of V1alpha3DeviceToleration to an JSON string + * Convert an instance of V1DeviceToleration to an JSON string * * @return JSON string */ @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DownwardAPIProjection.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DownwardAPIProjection.java index 9cb392f536..beb9052896 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DownwardAPIProjection.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DownwardAPIProjection.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * Represents downward API info for projecting into a projected volume. Note that this is identical to a downwardAPI volume source without the default mode. */ @ApiModel(description = "Represents downward API info for projecting into a projected volume. Note that this is identical to a downwardAPI volume source without the default mode.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1DownwardAPIProjection { public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) @@ -228,3 +229,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DownwardAPIVolumeFile.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DownwardAPIVolumeFile.java index 816c77a2be..26d31a2ab2 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DownwardAPIVolumeFile.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DownwardAPIVolumeFile.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * DownwardAPIVolumeFile represents information to create the file containing the pod field */ @ApiModel(description = "DownwardAPIVolumeFile represents information to create the file containing the pod field") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1DownwardAPIVolumeFile { public static final String SERIALIZED_NAME_FIELD_REF = "fieldRef"; @SerializedName(SERIALIZED_NAME_FIELD_REF) @@ -308,3 +309,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DownwardAPIVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DownwardAPIVolumeSource.java index 840fccf52a..88fbe893dd 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DownwardAPIVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1DownwardAPIVolumeSource.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling. */ @ApiModel(description = "DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1DownwardAPIVolumeSource { public static final String SERIALIZED_NAME_DEFAULT_MODE = "defaultMode"; @SerializedName(SERIALIZED_NAME_DEFAULT_MODE) @@ -256,3 +257,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EmptyDirVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EmptyDirVolumeSource.java index d202c21080..bd9ac0b093 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EmptyDirVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EmptyDirVolumeSource.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling. */ @ApiModel(description = "Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1EmptyDirVolumeSource { public static final String SERIALIZED_NAME_MEDIUM = "medium"; @SerializedName(SERIALIZED_NAME_MEDIUM) @@ -238,3 +239,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Endpoint.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Endpoint.java index 0a2ec3e37f..4d362ec226 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Endpoint.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Endpoint.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -57,7 +58,7 @@ * Endpoint represents a single logical \"backend\" implementing a service. */ @ApiModel(description = "Endpoint represents a single logical \"backend\" implementing a service.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1Endpoint { public static final String SERIALIZED_NAME_ADDRESSES = "addresses"; @SerializedName(SERIALIZED_NAME_ADDRESSES) @@ -457,3 +458,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointAddress.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointAddress.java index 029a7e9338..1772a16799 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointAddress.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointAddress.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * EndpointAddress is a tuple that describes single IP address. Deprecated: This API is deprecated in v1.33+. */ @ApiModel(description = "EndpointAddress is a tuple that describes single IP address. Deprecated: This API is deprecated in v1.33+.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1EndpointAddress { public static final String SERIALIZED_NAME_HOSTNAME = "hostname"; @SerializedName(SERIALIZED_NAME_HOSTNAME) @@ -309,3 +310,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointConditions.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointConditions.java index e75954d463..622ee68153 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointConditions.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointConditions.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * EndpointConditions represents the current condition of an endpoint. */ @ApiModel(description = "EndpointConditions represents the current condition of an endpoint.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1EndpointConditions { public static final String SERIALIZED_NAME_READY = "ready"; @SerializedName(SERIALIZED_NAME_READY) @@ -259,3 +260,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointHints.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointHints.java index ea1ebdb85a..d20a9744f6 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointHints.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointHints.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * EndpointHints provides hints describing how an endpoint should be consumed. */ @ApiModel(description = "EndpointHints provides hints describing how an endpoint should be consumed.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1EndpointHints { public static final String SERIALIZED_NAME_FOR_NODES = "forNodes"; @SerializedName(SERIALIZED_NAME_FOR_NODES) @@ -279,3 +280,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointSlice.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointSlice.java index 238295685c..e8e2cee17d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointSlice.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointSlice.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -55,7 +56,7 @@ * EndpointSlice represents a set of service endpoints. Most EndpointSlices are created by the EndpointSlice controller to represent the Pods selected by Service objects. For a given service there may be multiple EndpointSlice objects which must be joined to produce the full set of endpoints; you can find all of the slices for a given service by listing EndpointSlices in the service's namespace whose `kubernetes.io/service-name` label contains the service's name. */ @ApiModel(description = "EndpointSlice represents a set of service endpoints. Most EndpointSlices are created by the EndpointSlice controller to represent the Pods selected by Service objects. For a given service there may be multiple EndpointSlice objects which must be joined to produce the full set of endpoints; you can find all of the slices for a given service by listing EndpointSlices in the service's namespace whose `kubernetes.io/service-name` label contains the service's name.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1EndpointSlice implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_ADDRESS_TYPE = "addressType"; @SerializedName(SERIALIZED_NAME_ADDRESS_TYPE) @@ -410,3 +411,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointSliceList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointSliceList.java index 02a6f95a3f..bb99992e06 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointSliceList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointSliceList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * EndpointSliceList represents a list of endpoint slices */ @ApiModel(description = "EndpointSliceList represents a list of endpoint slices") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1EndpointSliceList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointSubset.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointSubset.java index 1e6518122d..7a95161502 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointSubset.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointSubset.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * EndpointSubset is a group of addresses with a common set of ports. The expanded set of endpoints is the Cartesian product of Addresses x Ports. For example, given: { Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}], Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}] } The resulting set of endpoints can be viewed as: a: [ 10.10.1.1:8675, 10.10.2.2:8675 ], b: [ 10.10.1.1:309, 10.10.2.2:309 ] Deprecated: This API is deprecated in v1.33+. */ @ApiModel(description = "EndpointSubset is a group of addresses with a common set of ports. The expanded set of endpoints is the Cartesian product of Addresses x Ports. For example, given: { Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}], Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}] } The resulting set of endpoints can be viewed as: a: [ 10.10.1.1:8675, 10.10.2.2:8675 ], b: [ 10.10.1.1:309, 10.10.2.2:309 ] Deprecated: This API is deprecated in v1.33+.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1EndpointSubset { public static final String SERIALIZED_NAME_ADDRESSES = "addresses"; @SerializedName(SERIALIZED_NAME_ADDRESSES) @@ -329,3 +330,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Endpoints.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Endpoints.java index 624b49d7ac..2a966e972e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Endpoints.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Endpoints.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * Endpoints is a collection of endpoints that implement the actual service. Example: Name: \"mysvc\", Subsets: [ { Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}], Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}] }, { Addresses: [{\"ip\": \"10.10.3.3\"}], Ports: [{\"name\": \"a\", \"port\": 93}, {\"name\": \"b\", \"port\": 76}] }, ] Endpoints is a legacy API and does not contain information about all Service features. Use discoveryv1.EndpointSlice for complete information about Service endpoints. Deprecated: This API is deprecated in v1.33+. Use discoveryv1.EndpointSlice. */ @ApiModel(description = "Endpoints is a collection of endpoints that implement the actual service. Example: Name: \"mysvc\", Subsets: [ { Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}], Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}] }, { Addresses: [{\"ip\": \"10.10.3.3\"}], Ports: [{\"name\": \"a\", \"port\": 93}, {\"name\": \"b\", \"port\": 76}] }, ] Endpoints is a legacy API and does not contain information about all Service features. Use discoveryv1.EndpointSlice for complete information about Service endpoints. Deprecated: This API is deprecated in v1.33+. Use discoveryv1.EndpointSlice.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1Endpoints implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -323,3 +324,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointsList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointsList.java index 63df6d8a2f..213721a04f 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointsList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EndpointsList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * EndpointsList is a list of endpoints. Deprecated: This API is deprecated in v1.33+. */ @ApiModel(description = "EndpointsList is a list of endpoints. Deprecated: This API is deprecated in v1.33+.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1EndpointsList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EnvFromSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EnvFromSource.java index fac0d0f56d..bb1f2c1658 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EnvFromSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EnvFromSource.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * EnvFromSource represents the source of a set of ConfigMaps or Secrets */ @ApiModel(description = "EnvFromSource represents the source of a set of ConfigMaps or Secrets") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1EnvFromSource { public static final String SERIALIZED_NAME_CONFIG_MAP_REF = "configMapRef"; @SerializedName(SERIALIZED_NAME_CONFIG_MAP_REF) @@ -98,11 +99,11 @@ public V1EnvFromSource prefix(@jakarta.annotation.Nullable String prefix) { } /** - * Optional text to prepend to the name of each environment variable. Must be a C_IDENTIFIER. + * Optional text to prepend to the name of each environment variable. May consist of any printable ASCII characters except '='. * @return prefix */ @jakarta.annotation.Nullable - @ApiModelProperty(value = "Optional text to prepend to the name of each environment variable. Must be a C_IDENTIFIER.") + @ApiModelProperty(value = "Optional text to prepend to the name of each environment variable. May consist of any printable ASCII characters except '='.") public String getPrefix() { return prefix; } @@ -272,3 +273,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EnvVar.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EnvVar.java index 030877d680..62eaadfb99 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EnvVar.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EnvVar.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * EnvVar represents an environment variable present in a Container. */ @ApiModel(description = "EnvVar represents an environment variable present in a Container.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1EnvVar { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -77,11 +78,11 @@ public V1EnvVar name(@jakarta.annotation.Nonnull String name) { } /** - * Name of the environment variable. Must be a C_IDENTIFIER. + * Name of the environment variable. May consist of any printable ASCII characters except '='. * @return name */ @jakarta.annotation.Nonnull - @ApiModelProperty(required = true, value = "Name of the environment variable. Must be a C_IDENTIFIER.") + @ApiModelProperty(required = true, value = "Name of the environment variable. May consist of any printable ASCII characters except '='.") public String getName() { return name; } @@ -278,3 +279,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EnvVarSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EnvVarSource.java index ef712f6465..aa402bfa31 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EnvVarSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EnvVarSource.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -19,6 +20,7 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import io.kubernetes.client.openapi.models.V1ConfigMapKeySelector; +import io.kubernetes.client.openapi.models.V1FileKeySelector; import io.kubernetes.client.openapi.models.V1ObjectFieldSelector; import io.kubernetes.client.openapi.models.V1ResourceFieldSelector; import io.kubernetes.client.openapi.models.V1SecretKeySelector; @@ -54,7 +56,7 @@ * EnvVarSource represents a source for the value of an EnvVar. */ @ApiModel(description = "EnvVarSource represents a source for the value of an EnvVar.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1EnvVarSource { public static final String SERIALIZED_NAME_CONFIG_MAP_KEY_REF = "configMapKeyRef"; @SerializedName(SERIALIZED_NAME_CONFIG_MAP_KEY_REF) @@ -66,6 +68,11 @@ public class V1EnvVarSource { @jakarta.annotation.Nullable private V1ObjectFieldSelector fieldRef; + public static final String SERIALIZED_NAME_FILE_KEY_REF = "fileKeyRef"; + @SerializedName(SERIALIZED_NAME_FILE_KEY_REF) + @jakarta.annotation.Nullable + private V1FileKeySelector fileKeyRef; + public static final String SERIALIZED_NAME_RESOURCE_FIELD_REF = "resourceFieldRef"; @SerializedName(SERIALIZED_NAME_RESOURCE_FIELD_REF) @jakarta.annotation.Nullable @@ -119,6 +126,26 @@ public void setFieldRef(@jakarta.annotation.Nullable V1ObjectFieldSelector field } + public V1EnvVarSource fileKeyRef(@jakarta.annotation.Nullable V1FileKeySelector fileKeyRef) { + this.fileKeyRef = fileKeyRef; + return this; + } + + /** + * Get fileKeyRef + * @return fileKeyRef + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "") + public V1FileKeySelector getFileKeyRef() { + return fileKeyRef; + } + + public void setFileKeyRef(@jakarta.annotation.Nullable V1FileKeySelector fileKeyRef) { + this.fileKeyRef = fileKeyRef; + } + + public V1EnvVarSource resourceFieldRef(@jakarta.annotation.Nullable V1ResourceFieldSelector resourceFieldRef) { this.resourceFieldRef = resourceFieldRef; return this; @@ -171,13 +198,14 @@ public boolean equals(Object o) { V1EnvVarSource v1EnvVarSource = (V1EnvVarSource) o; return Objects.equals(this.configMapKeyRef, v1EnvVarSource.configMapKeyRef) && Objects.equals(this.fieldRef, v1EnvVarSource.fieldRef) && + Objects.equals(this.fileKeyRef, v1EnvVarSource.fileKeyRef) && Objects.equals(this.resourceFieldRef, v1EnvVarSource.resourceFieldRef) && Objects.equals(this.secretKeyRef, v1EnvVarSource.secretKeyRef); } @Override public int hashCode() { - return Objects.hash(configMapKeyRef, fieldRef, resourceFieldRef, secretKeyRef); + return Objects.hash(configMapKeyRef, fieldRef, fileKeyRef, resourceFieldRef, secretKeyRef); } @Override @@ -186,6 +214,7 @@ public String toString() { sb.append("class V1EnvVarSource {\n"); sb.append(" configMapKeyRef: ").append(toIndentedString(configMapKeyRef)).append("\n"); sb.append(" fieldRef: ").append(toIndentedString(fieldRef)).append("\n"); + sb.append(" fileKeyRef: ").append(toIndentedString(fileKeyRef)).append("\n"); sb.append(" resourceFieldRef: ").append(toIndentedString(resourceFieldRef)).append("\n"); sb.append(" secretKeyRef: ").append(toIndentedString(secretKeyRef)).append("\n"); sb.append("}"); @@ -212,6 +241,7 @@ private String toIndentedString(Object o) { openapiFields = new HashSet(); openapiFields.add("configMapKeyRef"); openapiFields.add("fieldRef"); + openapiFields.add("fileKeyRef"); openapiFields.add("resourceFieldRef"); openapiFields.add("secretKeyRef"); @@ -248,6 +278,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonObj.get("fieldRef") != null && !jsonObj.get("fieldRef").isJsonNull()) { V1ObjectFieldSelector.validateJsonElement(jsonObj.get("fieldRef")); } + // validate the optional field `fileKeyRef` + if (jsonObj.get("fileKeyRef") != null && !jsonObj.get("fileKeyRef").isJsonNull()) { + V1FileKeySelector.validateJsonElement(jsonObj.get("fileKeyRef")); + } // validate the optional field `resourceFieldRef` if (jsonObj.get("resourceFieldRef") != null && !jsonObj.get("resourceFieldRef").isJsonNull()) { V1ResourceFieldSelector.validateJsonElement(jsonObj.get("resourceFieldRef")); @@ -307,3 +341,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EphemeralContainer.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EphemeralContainer.java index 3506cbaa75..30b3f25294 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EphemeralContainer.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EphemeralContainer.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -20,6 +21,7 @@ import com.google.gson.stream.JsonWriter; import io.kubernetes.client.openapi.models.V1ContainerPort; import io.kubernetes.client.openapi.models.V1ContainerResizePolicy; +import io.kubernetes.client.openapi.models.V1ContainerRestartRule; import io.kubernetes.client.openapi.models.V1EnvFromSource; import io.kubernetes.client.openapi.models.V1EnvVar; import io.kubernetes.client.openapi.models.V1Lifecycle; @@ -62,7 +64,7 @@ * An EphemeralContainer is a temporary container that you may add to an existing Pod for user-initiated activities such as debugging. Ephemeral containers have no resource or scheduling guarantees, and they will not be restarted when they exit or when a Pod is removed or restarted. The kubelet may evict a Pod if an ephemeral container causes the Pod to exceed its resource allocation. To add an ephemeral container, use the ephemeralcontainers subresource of an existing Pod. Ephemeral containers may not be removed or restarted. */ @ApiModel(description = "An EphemeralContainer is a temporary container that you may add to an existing Pod for user-initiated activities such as debugging. Ephemeral containers have no resource or scheduling guarantees, and they will not be restarted when they exit or when a Pod is removed or restarted. The kubelet may evict a Pod if an ephemeral container causes the Pod to exceed its resource allocation. To add an ephemeral container, use the ephemeralcontainers subresource of an existing Pod. Ephemeral containers may not be removed or restarted.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1EphemeralContainer { public static final String SERIALIZED_NAME_ARGS = "args"; @SerializedName(SERIALIZED_NAME_ARGS) @@ -134,6 +136,11 @@ public class V1EphemeralContainer { @jakarta.annotation.Nullable private String restartPolicy; + public static final String SERIALIZED_NAME_RESTART_POLICY_RULES = "restartPolicyRules"; + @SerializedName(SERIALIZED_NAME_RESTART_POLICY_RULES) + @jakarta.annotation.Nullable + private List restartPolicyRules = new ArrayList<>(); + public static final String SERIALIZED_NAME_SECURITY_CONTEXT = "securityContext"; @SerializedName(SERIALIZED_NAME_SECURITY_CONTEXT) @jakarta.annotation.Nullable @@ -290,11 +297,11 @@ public V1EphemeralContainer addEnvFromItem(V1EnvFromSource envFromItem) { } /** - * List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. + * List of sources to populate environment variables in the container. The keys defined within a source may consist of any printable ASCII characters except '='. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. * @return envFrom */ @jakarta.annotation.Nullable - @ApiModelProperty(value = "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.") + @ApiModelProperty(value = "List of sources to populate environment variables in the container. The keys defined within a source may consist of any printable ASCII characters except '='. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.") public List getEnvFrom() { return envFrom; } @@ -506,11 +513,11 @@ public V1EphemeralContainer restartPolicy(@jakarta.annotation.Nullable String re } /** - * Restart policy for the container to manage the restart behavior of each container within a pod. This may only be set for init containers. You cannot set this field on ephemeral containers. + * Restart policy for the container to manage the restart behavior of each container within a pod. You cannot set this field on ephemeral containers. * @return restartPolicy */ @jakarta.annotation.Nullable - @ApiModelProperty(value = "Restart policy for the container to manage the restart behavior of each container within a pod. This may only be set for init containers. You cannot set this field on ephemeral containers.") + @ApiModelProperty(value = "Restart policy for the container to manage the restart behavior of each container within a pod. You cannot set this field on ephemeral containers.") public String getRestartPolicy() { return restartPolicy; } @@ -520,6 +527,34 @@ public void setRestartPolicy(@jakarta.annotation.Nullable String restartPolicy) } + public V1EphemeralContainer restartPolicyRules(@jakarta.annotation.Nullable List restartPolicyRules) { + this.restartPolicyRules = restartPolicyRules; + return this; + } + + public V1EphemeralContainer addRestartPolicyRulesItem(V1ContainerRestartRule restartPolicyRulesItem) { + if (this.restartPolicyRules == null) { + this.restartPolicyRules = new ArrayList<>(); + } + this.restartPolicyRules.add(restartPolicyRulesItem); + return this; + } + + /** + * Represents a list of rules to be checked to determine if the container should be restarted on exit. You cannot set this field on ephemeral containers. + * @return restartPolicyRules + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "Represents a list of rules to be checked to determine if the container should be restarted on exit. You cannot set this field on ephemeral containers.") + public List getRestartPolicyRules() { + return restartPolicyRules; + } + + public void setRestartPolicyRules(@jakarta.annotation.Nullable List restartPolicyRules) { + this.restartPolicyRules = restartPolicyRules; + } + + public V1EphemeralContainer securityContext(@jakarta.annotation.Nullable V1SecurityContext securityContext) { this.securityContext = securityContext; return this; @@ -780,6 +815,7 @@ public boolean equals(Object o) { Objects.equals(this.resizePolicy, v1EphemeralContainer.resizePolicy) && Objects.equals(this.resources, v1EphemeralContainer.resources) && Objects.equals(this.restartPolicy, v1EphemeralContainer.restartPolicy) && + Objects.equals(this.restartPolicyRules, v1EphemeralContainer.restartPolicyRules) && Objects.equals(this.securityContext, v1EphemeralContainer.securityContext) && Objects.equals(this.startupProbe, v1EphemeralContainer.startupProbe) && Objects.equals(this.stdin, v1EphemeralContainer.stdin) && @@ -795,7 +831,7 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(args, command, env, envFrom, image, imagePullPolicy, lifecycle, livenessProbe, name, ports, readinessProbe, resizePolicy, resources, restartPolicy, securityContext, startupProbe, stdin, stdinOnce, targetContainerName, terminationMessagePath, terminationMessagePolicy, tty, volumeDevices, volumeMounts, workingDir); + return Objects.hash(args, command, env, envFrom, image, imagePullPolicy, lifecycle, livenessProbe, name, ports, readinessProbe, resizePolicy, resources, restartPolicy, restartPolicyRules, securityContext, startupProbe, stdin, stdinOnce, targetContainerName, terminationMessagePath, terminationMessagePolicy, tty, volumeDevices, volumeMounts, workingDir); } @Override @@ -816,6 +852,7 @@ public String toString() { sb.append(" resizePolicy: ").append(toIndentedString(resizePolicy)).append("\n"); sb.append(" resources: ").append(toIndentedString(resources)).append("\n"); sb.append(" restartPolicy: ").append(toIndentedString(restartPolicy)).append("\n"); + sb.append(" restartPolicyRules: ").append(toIndentedString(restartPolicyRules)).append("\n"); sb.append(" securityContext: ").append(toIndentedString(securityContext)).append("\n"); sb.append(" startupProbe: ").append(toIndentedString(startupProbe)).append("\n"); sb.append(" stdin: ").append(toIndentedString(stdin)).append("\n"); @@ -863,6 +900,7 @@ private String toIndentedString(Object o) { openapiFields.add("resizePolicy"); openapiFields.add("resources"); openapiFields.add("restartPolicy"); + openapiFields.add("restartPolicyRules"); openapiFields.add("securityContext"); openapiFields.add("startupProbe"); openapiFields.add("stdin"); @@ -1000,6 +1038,20 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if ((jsonObj.get("restartPolicy") != null && !jsonObj.get("restartPolicy").isJsonNull()) && !jsonObj.get("restartPolicy").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `restartPolicy` to be a primitive type in the JSON string but got `%s`", jsonObj.get("restartPolicy").toString())); } + if (jsonObj.get("restartPolicyRules") != null && !jsonObj.get("restartPolicyRules").isJsonNull()) { + JsonArray jsonArrayrestartPolicyRules = jsonObj.getAsJsonArray("restartPolicyRules"); + if (jsonArrayrestartPolicyRules != null) { + // ensure the json data is an array + if (!jsonObj.get("restartPolicyRules").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `restartPolicyRules` to be an array in the JSON string but got `%s`", jsonObj.get("restartPolicyRules").toString())); + } + + // validate the optional field `restartPolicyRules` (array) + for (int i = 0; i < jsonArrayrestartPolicyRules.size(); i++) { + V1ContainerRestartRule.validateJsonElement(jsonArrayrestartPolicyRules.get(i)); + }; + } + } // validate the optional field `securityContext` if (jsonObj.get("securityContext") != null && !jsonObj.get("securityContext").isJsonNull()) { V1SecurityContext.validateJsonElement(jsonObj.get("securityContext")); @@ -1099,3 +1151,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EphemeralVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EphemeralVolumeSource.java index ab67848a89..59cc2919e3 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EphemeralVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EphemeralVolumeSource.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * Represents an ephemeral volume that is handled by a normal storage driver. */ @ApiModel(description = "Represents an ephemeral volume that is handled by a normal storage driver.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1EphemeralVolumeSource { public static final String SERIALIZED_NAME_VOLUME_CLAIM_TEMPLATE = "volumeClaimTemplate"; @SerializedName(SERIALIZED_NAME_VOLUME_CLAIM_TEMPLATE) @@ -208,3 +209,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EventSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EventSource.java index 11001d09c5..75f9fb1707 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EventSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1EventSource.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * EventSource contains information for an event. */ @ApiModel(description = "EventSource contains information for an event.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1EventSource { public static final String SERIALIZED_NAME_COMPONENT = "component"; @SerializedName(SERIALIZED_NAME_COMPONENT) @@ -237,3 +238,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Eviction.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Eviction.java index d1c01032a1..2b12f0ad5b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Eviction.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Eviction.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods/<pod name>/evictions. */ @ApiModel(description = "Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods//evictions.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1Eviction implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -303,3 +304,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceRequest.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ExactDeviceRequest.java similarity index 51% rename from kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceRequest.java rename to kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ExactDeviceRequest.java index 59c83e07f6..5e680e109f 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceRequest.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ExactDeviceRequest.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -18,9 +19,9 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.kubernetes.client.openapi.models.V1alpha3DeviceSelector; -import io.kubernetes.client.openapi.models.V1alpha3DeviceSubRequest; -import io.kubernetes.client.openapi.models.V1alpha3DeviceToleration; +import io.kubernetes.client.openapi.models.V1CapacityRequirements; +import io.kubernetes.client.openapi.models.V1DeviceSelector; +import io.kubernetes.client.openapi.models.V1DeviceToleration; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; @@ -52,11 +53,11 @@ import io.kubernetes.client.openapi.JSON; /** - * DeviceRequest is a request for devices required for a claim. This is typically a request for a single resource like a device, but can also ask for several identical devices. + * ExactDeviceRequest is a request for one or more identical devices. */ -@ApiModel(description = "DeviceRequest is a request for devices required for a claim. This is typically a request for a single resource like a device, but can also ask for several identical devices.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") -public class V1alpha3DeviceRequest { +@ApiModel(description = "ExactDeviceRequest is a request for one or more identical devices.") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1ExactDeviceRequest { public static final String SERIALIZED_NAME_ADMIN_ACCESS = "adminAccess"; @SerializedName(SERIALIZED_NAME_ADMIN_ACCESS) @jakarta.annotation.Nullable @@ -67,6 +68,11 @@ public class V1alpha3DeviceRequest { @jakarta.annotation.Nullable private String allocationMode; + public static final String SERIALIZED_NAME_CAPACITY = "capacity"; + @SerializedName(SERIALIZED_NAME_CAPACITY) + @jakarta.annotation.Nullable + private V1CapacityRequirements capacity; + public static final String SERIALIZED_NAME_COUNT = "count"; @SerializedName(SERIALIZED_NAME_COUNT) @jakarta.annotation.Nullable @@ -74,43 +80,33 @@ public class V1alpha3DeviceRequest { public static final String SERIALIZED_NAME_DEVICE_CLASS_NAME = "deviceClassName"; @SerializedName(SERIALIZED_NAME_DEVICE_CLASS_NAME) - @jakarta.annotation.Nullable - private String deviceClassName; - - public static final String SERIALIZED_NAME_FIRST_AVAILABLE = "firstAvailable"; - @SerializedName(SERIALIZED_NAME_FIRST_AVAILABLE) - @jakarta.annotation.Nullable - private List firstAvailable = new ArrayList<>(); - - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) @jakarta.annotation.Nonnull - private String name; + private String deviceClassName; public static final String SERIALIZED_NAME_SELECTORS = "selectors"; @SerializedName(SERIALIZED_NAME_SELECTORS) @jakarta.annotation.Nullable - private List selectors = new ArrayList<>(); + private List selectors = new ArrayList<>(); public static final String SERIALIZED_NAME_TOLERATIONS = "tolerations"; @SerializedName(SERIALIZED_NAME_TOLERATIONS) @jakarta.annotation.Nullable - private List tolerations = new ArrayList<>(); + private List tolerations = new ArrayList<>(); - public V1alpha3DeviceRequest() { + public V1ExactDeviceRequest() { } - public V1alpha3DeviceRequest adminAccess(@jakarta.annotation.Nullable Boolean adminAccess) { + public V1ExactDeviceRequest adminAccess(@jakarta.annotation.Nullable Boolean adminAccess) { this.adminAccess = adminAccess; return this; } /** - * AdminAccess indicates that this is a claim for administrative access to the device(s). Claims with AdminAccess are expected to be used for monitoring or other management services for a device. They ignore all ordinary claims to the device with respect to access modes and any resource allocations. This field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list. This is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled. + * AdminAccess indicates that this is a claim for administrative access to the device(s). Claims with AdminAccess are expected to be used for monitoring or other management services for a device. They ignore all ordinary claims to the device with respect to access modes and any resource allocations. This is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled. * @return adminAccess */ @jakarta.annotation.Nullable - @ApiModelProperty(value = "AdminAccess indicates that this is a claim for administrative access to the device(s). Claims with AdminAccess are expected to be used for monitoring or other management services for a device. They ignore all ordinary claims to the device with respect to access modes and any resource allocations. This field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list. This is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled.") + @ApiModelProperty(value = "AdminAccess indicates that this is a claim for administrative access to the device(s). Claims with AdminAccess are expected to be used for monitoring or other management services for a device. They ignore all ordinary claims to the device with respect to access modes and any resource allocations. This is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled.") public Boolean getAdminAccess() { return adminAccess; } @@ -120,17 +116,17 @@ public void setAdminAccess(@jakarta.annotation.Nullable Boolean adminAccess) { } - public V1alpha3DeviceRequest allocationMode(@jakarta.annotation.Nullable String allocationMode) { + public V1ExactDeviceRequest allocationMode(@jakarta.annotation.Nullable String allocationMode) { this.allocationMode = allocationMode; return this; } /** - * AllocationMode and its related fields define how devices are allocated to satisfy this request. Supported values are: - ExactCount: This request is for a specific number of devices. This is the default. The exact number is provided in the count field. - All: This request is for all of the matching devices in a pool. At least one device must exist on the node for the allocation to succeed. Allocation will fail if some devices are already allocated, unless adminAccess is requested. If AllocationMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other requests must specify this field. This field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list. More modes may get added in the future. Clients must refuse to handle requests with unknown modes. + * AllocationMode and its related fields define how devices are allocated to satisfy this request. Supported values are: - ExactCount: This request is for a specific number of devices. This is the default. The exact number is provided in the count field. - All: This request is for all of the matching devices in a pool. At least one device must exist on the node for the allocation to succeed. Allocation will fail if some devices are already allocated, unless adminAccess is requested. If AllocationMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other requests must specify this field. More modes may get added in the future. Clients must refuse to handle requests with unknown modes. * @return allocationMode */ @jakarta.annotation.Nullable - @ApiModelProperty(value = "AllocationMode and its related fields define how devices are allocated to satisfy this request. Supported values are: - ExactCount: This request is for a specific number of devices. This is the default. The exact number is provided in the count field. - All: This request is for all of the matching devices in a pool. At least one device must exist on the node for the allocation to succeed. Allocation will fail if some devices are already allocated, unless adminAccess is requested. If AllocationMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other requests must specify this field. This field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list. More modes may get added in the future. Clients must refuse to handle requests with unknown modes.") + @ApiModelProperty(value = "AllocationMode and its related fields define how devices are allocated to satisfy this request. Supported values are: - ExactCount: This request is for a specific number of devices. This is the default. The exact number is provided in the count field. - All: This request is for all of the matching devices in a pool. At least one device must exist on the node for the allocation to succeed. Allocation will fail if some devices are already allocated, unless adminAccess is requested. If AllocationMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other requests must specify this field. More modes may get added in the future. Clients must refuse to handle requests with unknown modes.") public String getAllocationMode() { return allocationMode; } @@ -140,100 +136,72 @@ public void setAllocationMode(@jakarta.annotation.Nullable String allocationMode } - public V1alpha3DeviceRequest count(@jakarta.annotation.Nullable Long count) { - this.count = count; + public V1ExactDeviceRequest capacity(@jakarta.annotation.Nullable V1CapacityRequirements capacity) { + this.capacity = capacity; return this; } /** - * 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. This field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list. - * @return count + * Get capacity + * @return capacity */ @jakarta.annotation.Nullable - @ApiModelProperty(value = "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. This field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list.") - public Long getCount() { - return count; + @ApiModelProperty(value = "") + public V1CapacityRequirements getCapacity() { + return capacity; } - public void setCount(@jakarta.annotation.Nullable Long count) { - this.count = count; - } - - - public V1alpha3DeviceRequest deviceClassName(@jakarta.annotation.Nullable String deviceClassName) { - this.deviceClassName = deviceClassName; - return this; + public void setCapacity(@jakarta.annotation.Nullable V1CapacityRequirements capacity) { + this.capacity = capacity; } - /** - * DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this request. A class is required if no subrequests are specified in the firstAvailable list and no class can be set if subrequests are specified in the firstAvailable list. Which classes are available depends on the cluster. Administrators may use this to restrict which devices may get requested by only installing classes with selectors for permitted devices. If users are free to request anything without restrictions, then administrators can create an empty DeviceClass for users to reference. - * @return deviceClassName - */ - @jakarta.annotation.Nullable - @ApiModelProperty(value = "DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this request. A class is required if no subrequests are specified in the firstAvailable list and no class can be set if subrequests are specified in the firstAvailable list. Which classes are available depends on the cluster. Administrators may use this to restrict which devices may get requested by only installing classes with selectors for permitted devices. If users are free to request anything without restrictions, then administrators can create an empty DeviceClass for users to reference.") - public String getDeviceClassName() { - return deviceClassName; - } - public void setDeviceClassName(@jakarta.annotation.Nullable String deviceClassName) { - this.deviceClassName = deviceClassName; - } - - - public V1alpha3DeviceRequest firstAvailable(@jakarta.annotation.Nullable List firstAvailable) { - this.firstAvailable = firstAvailable; - return this; - } - - public V1alpha3DeviceRequest addFirstAvailableItem(V1alpha3DeviceSubRequest firstAvailableItem) { - if (this.firstAvailable == null) { - this.firstAvailable = new ArrayList<>(); - } - this.firstAvailable.add(firstAvailableItem); + public V1ExactDeviceRequest count(@jakarta.annotation.Nullable Long count) { + this.count = count; return this; } /** - * FirstAvailable contains subrequests, of which exactly one will be satisfied by the scheduler to satisfy this request. It tries to satisfy them in the order in which they are listed here. So if there are two entries in the list, the scheduler will only check the second one if it determines that the first one cannot be used. This field may only be set in the entries of DeviceClaim.Requests. DRA does not yet implement scoring, so the scheduler will select the first set of devices that satisfies all the requests in the claim. And if the requirements can be satisfied on more than one node, other scheduling features 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. - * @return firstAvailable + * 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. + * @return count */ @jakarta.annotation.Nullable - @ApiModelProperty(value = "FirstAvailable contains subrequests, of which exactly one will be satisfied by the scheduler to satisfy this request. It tries to satisfy them in the order in which they are listed here. So if there are two entries in the list, the scheduler will only check the second one if it determines that the first one cannot be used. This field may only be set in the entries of DeviceClaim.Requests. DRA does not yet implement scoring, so the scheduler will select the first set of devices that satisfies all the requests in the claim. And if the requirements can be satisfied on more than one node, other scheduling features 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.") - public List getFirstAvailable() { - return firstAvailable; + @ApiModelProperty(value = "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.") + public Long getCount() { + return count; } - public void setFirstAvailable(@jakarta.annotation.Nullable List firstAvailable) { - this.firstAvailable = firstAvailable; + public void setCount(@jakarta.annotation.Nullable Long count) { + this.count = count; } - public V1alpha3DeviceRequest name(@jakarta.annotation.Nonnull String name) { - this.name = name; + public V1ExactDeviceRequest deviceClassName(@jakarta.annotation.Nonnull String deviceClassName) { + this.deviceClassName = deviceClassName; return this; } /** - * Name can be used to reference this request in a pod.spec.containers[].resources.claims entry and in a constraint of the claim. Must be a DNS label. - * @return name + * DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this request. A DeviceClassName is required. Administrators may use this to restrict which devices may get requested by only installing classes with selectors for permitted devices. If users are free to request anything without restrictions, then administrators can create an empty DeviceClass for users to reference. + * @return deviceClassName */ @jakarta.annotation.Nonnull - @ApiModelProperty(required = true, value = "Name can be used to reference this request in a pod.spec.containers[].resources.claims entry and in a constraint of the claim. Must be a DNS label.") - public String getName() { - return name; + @ApiModelProperty(required = true, value = "DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this request. A DeviceClassName is required. Administrators may use this to restrict which devices may get requested by only installing classes with selectors for permitted devices. If users are free to request anything without restrictions, then administrators can create an empty DeviceClass for users to reference.") + public String getDeviceClassName() { + return deviceClassName; } - public void setName(@jakarta.annotation.Nonnull String name) { - this.name = name; + public void setDeviceClassName(@jakarta.annotation.Nonnull String deviceClassName) { + this.deviceClassName = deviceClassName; } - public V1alpha3DeviceRequest selectors(@jakarta.annotation.Nullable List selectors) { + public V1ExactDeviceRequest selectors(@jakarta.annotation.Nullable List selectors) { this.selectors = selectors; return this; } - public V1alpha3DeviceRequest addSelectorsItem(V1alpha3DeviceSelector selectorsItem) { + public V1ExactDeviceRequest addSelectorsItem(V1DeviceSelector selectorsItem) { if (this.selectors == null) { this.selectors = new ArrayList<>(); } @@ -242,26 +210,26 @@ public V1alpha3DeviceRequest addSelectorsItem(V1alpha3DeviceSelector selectorsIt } /** - * Selectors define criteria which must be satisfied by a specific device in order for that device to be considered for this request. All selectors must be satisfied for a device to be considered. This field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list. + * Selectors define criteria which must be satisfied by a specific device in order for that device to be considered for this request. All selectors must be satisfied for a device to be considered. * @return selectors */ @jakarta.annotation.Nullable - @ApiModelProperty(value = "Selectors define criteria which must be satisfied by a specific device in order for that device to be considered for this request. All selectors must be satisfied for a device to be considered. This field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list.") - public List getSelectors() { + @ApiModelProperty(value = "Selectors define criteria which must be satisfied by a specific device in order for that device to be considered for this request. All selectors must be satisfied for a device to be considered.") + public List getSelectors() { return selectors; } - public void setSelectors(@jakarta.annotation.Nullable List selectors) { + public void setSelectors(@jakarta.annotation.Nullable List selectors) { this.selectors = selectors; } - public V1alpha3DeviceRequest tolerations(@jakarta.annotation.Nullable List tolerations) { + public V1ExactDeviceRequest tolerations(@jakarta.annotation.Nullable List tolerations) { this.tolerations = tolerations; return this; } - public V1alpha3DeviceRequest addTolerationsItem(V1alpha3DeviceToleration tolerationsItem) { + public V1ExactDeviceRequest addTolerationsItem(V1DeviceToleration tolerationsItem) { if (this.tolerations == null) { this.tolerations = new ArrayList<>(); } @@ -270,16 +238,16 @@ public V1alpha3DeviceRequest addTolerationsItem(V1alpha3DeviceToleration tolerat } /** - * If specified, the request's tolerations. Tolerations for NoSchedule are required to allocate a device which has a taint with that effect. The same applies to NoExecute. In addition, should any of the allocated devices get tainted with NoExecute after allocation and that effect is not tolerated, then all pods consuming the ResourceClaim get deleted to evict them. The scheduler will not let new pods reserve the claim while it has these tainted devices. Once all pods are evicted, the claim will get deallocated. The maximum number of tolerations is 16. This field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list. This is an alpha field and requires enabling the DRADeviceTaints feature gate. + * If specified, the request's tolerations. Tolerations for NoSchedule are required to allocate a device which has a taint with that effect. The same applies to NoExecute. In addition, should any of the allocated devices get tainted with NoExecute after allocation and that effect is not tolerated, then all pods consuming the ResourceClaim get deleted to evict them. The scheduler will not let new pods reserve the claim while it has these tainted devices. Once all pods are evicted, the claim will get deallocated. The maximum number of tolerations is 16. This is an alpha field and requires enabling the DRADeviceTaints feature gate. * @return tolerations */ @jakarta.annotation.Nullable - @ApiModelProperty(value = "If specified, the request's tolerations. Tolerations for NoSchedule are required to allocate a device which has a taint with that effect. The same applies to NoExecute. In addition, should any of the allocated devices get tainted with NoExecute after allocation and that effect is not tolerated, then all pods consuming the ResourceClaim get deleted to evict them. The scheduler will not let new pods reserve the claim while it has these tainted devices. Once all pods are evicted, the claim will get deallocated. The maximum number of tolerations is 16. This field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list. This is an alpha field and requires enabling the DRADeviceTaints feature gate.") - public List getTolerations() { + @ApiModelProperty(value = "If specified, the request's tolerations. Tolerations for NoSchedule are required to allocate a device which has a taint with that effect. The same applies to NoExecute. In addition, should any of the allocated devices get tainted with NoExecute after allocation and that effect is not tolerated, then all pods consuming the ResourceClaim get deleted to evict them. The scheduler will not let new pods reserve the claim while it has these tainted devices. Once all pods are evicted, the claim will get deallocated. The maximum number of tolerations is 16. This is an alpha field and requires enabling the DRADeviceTaints feature gate.") + public List getTolerations() { return tolerations; } - public void setTolerations(@jakarta.annotation.Nullable List tolerations) { + public void setTolerations(@jakarta.annotation.Nullable List tolerations) { this.tolerations = tolerations; } @@ -293,32 +261,30 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V1alpha3DeviceRequest v1alpha3DeviceRequest = (V1alpha3DeviceRequest) o; - return Objects.equals(this.adminAccess, v1alpha3DeviceRequest.adminAccess) && - Objects.equals(this.allocationMode, v1alpha3DeviceRequest.allocationMode) && - Objects.equals(this.count, v1alpha3DeviceRequest.count) && - Objects.equals(this.deviceClassName, v1alpha3DeviceRequest.deviceClassName) && - Objects.equals(this.firstAvailable, v1alpha3DeviceRequest.firstAvailable) && - Objects.equals(this.name, v1alpha3DeviceRequest.name) && - Objects.equals(this.selectors, v1alpha3DeviceRequest.selectors) && - Objects.equals(this.tolerations, v1alpha3DeviceRequest.tolerations); + V1ExactDeviceRequest v1ExactDeviceRequest = (V1ExactDeviceRequest) o; + return Objects.equals(this.adminAccess, v1ExactDeviceRequest.adminAccess) && + Objects.equals(this.allocationMode, v1ExactDeviceRequest.allocationMode) && + Objects.equals(this.capacity, v1ExactDeviceRequest.capacity) && + Objects.equals(this.count, v1ExactDeviceRequest.count) && + Objects.equals(this.deviceClassName, v1ExactDeviceRequest.deviceClassName) && + Objects.equals(this.selectors, v1ExactDeviceRequest.selectors) && + Objects.equals(this.tolerations, v1ExactDeviceRequest.tolerations); } @Override public int hashCode() { - return Objects.hash(adminAccess, allocationMode, count, deviceClassName, firstAvailable, name, selectors, tolerations); + return Objects.hash(adminAccess, allocationMode, capacity, count, deviceClassName, selectors, tolerations); } @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V1alpha3DeviceRequest {\n"); + sb.append("class V1ExactDeviceRequest {\n"); sb.append(" adminAccess: ").append(toIndentedString(adminAccess)).append("\n"); sb.append(" allocationMode: ").append(toIndentedString(allocationMode)).append("\n"); + sb.append(" capacity: ").append(toIndentedString(capacity)).append("\n"); sb.append(" count: ").append(toIndentedString(count)).append("\n"); sb.append(" deviceClassName: ").append(toIndentedString(deviceClassName)).append("\n"); - sb.append(" firstAvailable: ").append(toIndentedString(firstAvailable)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append(" selectors: ").append(toIndentedString(selectors)).append("\n"); sb.append(" tolerations: ").append(toIndentedString(tolerations)).append("\n"); sb.append("}"); @@ -345,41 +311,40 @@ private String toIndentedString(Object o) { openapiFields = new HashSet(); openapiFields.add("adminAccess"); openapiFields.add("allocationMode"); + openapiFields.add("capacity"); openapiFields.add("count"); openapiFields.add("deviceClassName"); - openapiFields.add("firstAvailable"); - openapiFields.add("name"); openapiFields.add("selectors"); openapiFields.add("tolerations"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("name"); + openapiRequiredFields.add("deviceClassName"); } /** * Validates the JSON Element and throws an exception if issues found * * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to V1alpha3DeviceRequest + * @throws IOException if the JSON Element is invalid with respect to V1ExactDeviceRequest */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - if (!V1alpha3DeviceRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in V1alpha3DeviceRequest is not found in the empty JSON string", V1alpha3DeviceRequest.openapiRequiredFields.toString())); + if (!V1ExactDeviceRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1ExactDeviceRequest is not found in the empty JSON string", V1ExactDeviceRequest.openapiRequiredFields.toString())); } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { - if (!V1alpha3DeviceRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1alpha3DeviceRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + if (!V1ExactDeviceRequest.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1ExactDeviceRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } // check to make sure all required properties/fields are present in the JSON string - for (String requiredField : V1alpha3DeviceRequest.openapiRequiredFields) { + for (String requiredField : V1ExactDeviceRequest.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); } @@ -388,25 +353,12 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if ((jsonObj.get("allocationMode") != null && !jsonObj.get("allocationMode").isJsonNull()) && !jsonObj.get("allocationMode").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `allocationMode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("allocationMode").toString())); } - if ((jsonObj.get("deviceClassName") != null && !jsonObj.get("deviceClassName").isJsonNull()) && !jsonObj.get("deviceClassName").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `deviceClassName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("deviceClassName").toString())); - } - if (jsonObj.get("firstAvailable") != null && !jsonObj.get("firstAvailable").isJsonNull()) { - JsonArray jsonArrayfirstAvailable = jsonObj.getAsJsonArray("firstAvailable"); - if (jsonArrayfirstAvailable != null) { - // ensure the json data is an array - if (!jsonObj.get("firstAvailable").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `firstAvailable` to be an array in the JSON string but got `%s`", jsonObj.get("firstAvailable").toString())); - } - - // validate the optional field `firstAvailable` (array) - for (int i = 0; i < jsonArrayfirstAvailable.size(); i++) { - V1alpha3DeviceSubRequest.validateJsonElement(jsonArrayfirstAvailable.get(i)); - }; - } + // validate the optional field `capacity` + if (jsonObj.get("capacity") != null && !jsonObj.get("capacity").isJsonNull()) { + V1CapacityRequirements.validateJsonElement(jsonObj.get("capacity")); } - if (!jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); + if (!jsonObj.get("deviceClassName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `deviceClassName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("deviceClassName").toString())); } if (jsonObj.get("selectors") != null && !jsonObj.get("selectors").isJsonNull()) { JsonArray jsonArrayselectors = jsonObj.getAsJsonArray("selectors"); @@ -418,7 +370,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // validate the optional field `selectors` (array) for (int i = 0; i < jsonArrayselectors.size(); i++) { - V1alpha3DeviceSelector.validateJsonElement(jsonArrayselectors.get(i)); + V1DeviceSelector.validateJsonElement(jsonArrayselectors.get(i)); }; } } @@ -432,7 +384,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // validate the optional field `tolerations` (array) for (int i = 0; i < jsonArraytolerations.size(); i++) { - V1alpha3DeviceToleration.validateJsonElement(jsonArraytolerations.get(i)); + V1DeviceToleration.validateJsonElement(jsonArraytolerations.get(i)); }; } } @@ -442,22 +394,22 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1alpha3DeviceRequest.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1alpha3DeviceRequest' and its subtypes + if (!V1ExactDeviceRequest.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1ExactDeviceRequest' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1alpha3DeviceRequest.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1ExactDeviceRequest.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, V1alpha3DeviceRequest value) throws IOException { + public void write(JsonWriter out, V1ExactDeviceRequest value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public V1alpha3DeviceRequest read(JsonReader in) throws IOException { + public V1ExactDeviceRequest read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -468,18 +420,18 @@ public V1alpha3DeviceRequest read(JsonReader in) throws IOException { } /** - * Create an instance of V1alpha3DeviceRequest given an JSON string + * Create an instance of V1ExactDeviceRequest given an JSON string * * @param jsonString JSON string - * @return An instance of V1alpha3DeviceRequest - * @throws IOException if the JSON string is invalid with respect to V1alpha3DeviceRequest + * @return An instance of V1ExactDeviceRequest + * @throws IOException if the JSON string is invalid with respect to V1ExactDeviceRequest */ - public static V1alpha3DeviceRequest fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1alpha3DeviceRequest.class); + public static V1ExactDeviceRequest fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1ExactDeviceRequest.class); } /** - * Convert an instance of V1alpha3DeviceRequest to an JSON string + * Convert an instance of V1ExactDeviceRequest to an JSON string * * @return JSON string */ @@ -487,3 +439,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ExecAction.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ExecAction.java index 4b8f7ac4c0..15515ed653 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ExecAction.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ExecAction.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * ExecAction describes a \"run in container\" action. */ @ApiModel(description = "ExecAction describes a \"run in container\" action.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ExecAction { public static final String SERIALIZED_NAME_COMMAND = "command"; @SerializedName(SERIALIZED_NAME_COMMAND) @@ -217,3 +218,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ExemptPriorityLevelConfiguration.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ExemptPriorityLevelConfiguration.java index 3ec549189a..ddc0503f49 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ExemptPriorityLevelConfiguration.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ExemptPriorityLevelConfiguration.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * ExemptPriorityLevelConfiguration describes the configurable aspects of the handling of exempt requests. In the mandatory exempt configuration object the values in the fields here can be modified by authorized users, unlike the rest of the `spec`. */ @ApiModel(description = "ExemptPriorityLevelConfiguration describes the configurable aspects of the handling of exempt requests. In the mandatory exempt configuration object the values in the fields here can be modified by authorized users, unlike the rest of the `spec`.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ExemptPriorityLevelConfiguration { public static final String SERIALIZED_NAME_LENDABLE_PERCENT = "lendablePercent"; @SerializedName(SERIALIZED_NAME_LENDABLE_PERCENT) @@ -231,3 +232,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ExpressionWarning.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ExpressionWarning.java index fcc35c945c..e45cb7fdae 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ExpressionWarning.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ExpressionWarning.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * ExpressionWarning is a warning information that targets a specific expression. */ @ApiModel(description = "ExpressionWarning is a warning information that targets a specific expression.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ExpressionWarning { public static final String SERIALIZED_NAME_FIELD_REF = "fieldRef"; @SerializedName(SERIALIZED_NAME_FIELD_REF) @@ -246,3 +247,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ExternalDocumentation.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ExternalDocumentation.java index 3521a6c02d..4035e98788 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ExternalDocumentation.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ExternalDocumentation.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * ExternalDocumentation allows referencing an external resource for extended documentation. */ @ApiModel(description = "ExternalDocumentation allows referencing an external resource for extended documentation.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ExternalDocumentation { public static final String SERIALIZED_NAME_DESCRIPTION = "description"; @SerializedName(SERIALIZED_NAME_DESCRIPTION) @@ -237,3 +238,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FCVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FCVolumeSource.java index 31032a3cab..ac7d27de84 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FCVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FCVolumeSource.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling. */ @ApiModel(description = "Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1FCVolumeSource { public static final String SERIALIZED_NAME_FS_TYPE = "fsType"; @SerializedName(SERIALIZED_NAME_FS_TYPE) @@ -344,3 +345,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FieldSelectorAttributes.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FieldSelectorAttributes.java index 29dd02fb84..1cd2b6cca0 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FieldSelectorAttributes.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FieldSelectorAttributes.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * FieldSelectorAttributes indicates a field limited access. Webhook authors are encouraged to * ensure rawSelector and requirements are not both set * consider the requirements field if set * not try to parse or consider the rawSelector field if set. This is to avoid another CVE-2022-2880 (i.e. getting different systems to agree on how exactly to parse a query is not something we want), see https://www.oxeye.io/resources/golang-parameter-smuggling-attack for more details. For the *SubjectAccessReview endpoints of the kube-apiserver: * If rawSelector is empty and requirements are empty, the request is not limited. * If rawSelector is present and requirements are empty, the rawSelector will be parsed and limited if the parsing succeeds. * If rawSelector is empty and requirements are present, the requirements should be honored * If rawSelector is present and requirements are present, the request is invalid. */ @ApiModel(description = "FieldSelectorAttributes indicates a field limited access. Webhook authors are encouraged to * ensure rawSelector and requirements are not both set * consider the requirements field if set * not try to parse or consider the rawSelector field if set. This is to avoid another CVE-2022-2880 (i.e. getting different systems to agree on how exactly to parse a query is not something we want), see https://www.oxeye.io/resources/golang-parameter-smuggling-attack for more details. For the *SubjectAccessReview endpoints of the kube-apiserver: * If rawSelector is empty and requirements are empty, the request is not limited. * If rawSelector is present and requirements are empty, the rawSelector will be parsed and limited if the parsing succeeds. * If rawSelector is empty and requirements are present, the requirements should be honored * If rawSelector is present and requirements are present, the request is invalid.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1FieldSelectorAttributes { public static final String SERIALIZED_NAME_RAW_SELECTOR = "rawSelector"; @SerializedName(SERIALIZED_NAME_RAW_SELECTOR) @@ -259,3 +260,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FieldSelectorRequirement.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FieldSelectorRequirement.java index fa79467c01..40e4254cab 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FieldSelectorRequirement.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FieldSelectorRequirement.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * FieldSelectorRequirement is a selector that contains values, a key, and an operator that relates the key and values. */ @ApiModel(description = "FieldSelectorRequirement is a selector that contains values, a key, and an operator that relates the key and values.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1FieldSelectorRequirement { public static final String SERIALIZED_NAME_KEY = "key"; @SerializedName(SERIALIZED_NAME_KEY) @@ -288,3 +289,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FileKeySelector.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FileKeySelector.java new file mode 100644 index 0000000000..ae86a082c5 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FileKeySelector.java @@ -0,0 +1,310 @@ +/* + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package io.kubernetes.client.openapi.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.Arrays; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import io.kubernetes.client.openapi.JSON; + +/** + * FileKeySelector selects a key of the env file. + */ +@ApiModel(description = "FileKeySelector selects a key of the env file.") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1FileKeySelector { + public static final String SERIALIZED_NAME_KEY = "key"; + @SerializedName(SERIALIZED_NAME_KEY) + @jakarta.annotation.Nonnull + private String key; + + public static final String SERIALIZED_NAME_OPTIONAL = "optional"; + @SerializedName(SERIALIZED_NAME_OPTIONAL) + @jakarta.annotation.Nullable + private Boolean optional; + + public static final String SERIALIZED_NAME_PATH = "path"; + @SerializedName(SERIALIZED_NAME_PATH) + @jakarta.annotation.Nonnull + private String path; + + public static final String SERIALIZED_NAME_VOLUME_NAME = "volumeName"; + @SerializedName(SERIALIZED_NAME_VOLUME_NAME) + @jakarta.annotation.Nonnull + private String volumeName; + + public V1FileKeySelector() { + } + + public V1FileKeySelector key(@jakarta.annotation.Nonnull String key) { + this.key = key; + return this; + } + + /** + * The key within the env file. An invalid key will prevent the pod from starting. The keys defined within a source may consist of any printable ASCII characters except '='. During Alpha stage of the EnvFiles feature gate, the key size is limited to 128 characters. + * @return key + */ + @jakarta.annotation.Nonnull + @ApiModelProperty(required = true, value = "The key within the env file. An invalid key will prevent the pod from starting. The keys defined within a source may consist of any printable ASCII characters except '='. During Alpha stage of the EnvFiles feature gate, the key size is limited to 128 characters.") + public String getKey() { + return key; + } + + public void setKey(@jakarta.annotation.Nonnull String key) { + this.key = key; + } + + + public V1FileKeySelector optional(@jakarta.annotation.Nullable Boolean optional) { + this.optional = optional; + return this; + } + + /** + * Specify whether the file or its key must be defined. If the file or key does not exist, then the env var is not published. If optional is set to true and the specified key does not exist, the environment variable will not be set in the Pod's containers. If optional is set to false and the specified key does not exist, an error will be returned during Pod creation. + * @return optional + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "Specify whether the file or its key must be defined. If the file or key does not exist, then the env var is not published. If optional is set to true and the specified key does not exist, the environment variable will not be set in the Pod's containers. If optional is set to false and the specified key does not exist, an error will be returned during Pod creation.") + public Boolean getOptional() { + return optional; + } + + public void setOptional(@jakarta.annotation.Nullable Boolean optional) { + this.optional = optional; + } + + + public V1FileKeySelector path(@jakarta.annotation.Nonnull String path) { + this.path = path; + return this; + } + + /** + * The path within the volume from which to select the file. Must be relative and may not contain the '..' path or start with '..'. + * @return path + */ + @jakarta.annotation.Nonnull + @ApiModelProperty(required = true, value = "The path within the volume from which to select the file. Must be relative and may not contain the '..' path or start with '..'.") + public String getPath() { + return path; + } + + public void setPath(@jakarta.annotation.Nonnull String path) { + this.path = path; + } + + + public V1FileKeySelector volumeName(@jakarta.annotation.Nonnull String volumeName) { + this.volumeName = volumeName; + return this; + } + + /** + * The name of the volume mount containing the env file. + * @return volumeName + */ + @jakarta.annotation.Nonnull + @ApiModelProperty(required = true, value = "The name of the volume mount containing the env file.") + public String getVolumeName() { + return volumeName; + } + + public void setVolumeName(@jakarta.annotation.Nonnull String volumeName) { + this.volumeName = volumeName; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1FileKeySelector v1FileKeySelector = (V1FileKeySelector) o; + return Objects.equals(this.key, v1FileKeySelector.key) && + Objects.equals(this.optional, v1FileKeySelector.optional) && + Objects.equals(this.path, v1FileKeySelector.path) && + Objects.equals(this.volumeName, v1FileKeySelector.volumeName); + } + + @Override + public int hashCode() { + return Objects.hash(key, optional, path, volumeName); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1FileKeySelector {\n"); + sb.append(" key: ").append(toIndentedString(key)).append("\n"); + sb.append(" optional: ").append(toIndentedString(optional)).append("\n"); + sb.append(" path: ").append(toIndentedString(path)).append("\n"); + sb.append(" volumeName: ").append(toIndentedString(volumeName)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("key"); + openapiFields.add("optional"); + openapiFields.add("path"); + openapiFields.add("volumeName"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("key"); + openapiRequiredFields.add("path"); + openapiRequiredFields.add("volumeName"); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to V1FileKeySelector + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!V1FileKeySelector.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1FileKeySelector is not found in the empty JSON string", V1FileKeySelector.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!V1FileKeySelector.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1FileKeySelector` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : V1FileKeySelector.openapiRequiredFields) { + if (jsonElement.getAsJsonObject().get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if (!jsonObj.get("key").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `key` to be a primitive type in the JSON string but got `%s`", jsonObj.get("key").toString())); + } + if (!jsonObj.get("path").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `path` to be a primitive type in the JSON string but got `%s`", jsonObj.get("path").toString())); + } + if (!jsonObj.get("volumeName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `volumeName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("volumeName").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!V1FileKeySelector.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1FileKeySelector' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1FileKeySelector.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, V1FileKeySelector value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public V1FileKeySelector read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of V1FileKeySelector given an JSON string + * + * @param jsonString JSON string + * @return An instance of V1FileKeySelector + * @throws IOException if the JSON string is invalid with respect to V1FileKeySelector + */ + public static V1FileKeySelector fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1FileKeySelector.class); + } + + /** + * Convert an instance of V1FileKeySelector to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlexPersistentVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlexPersistentVolumeSource.java index ceb33cd9ef..89e2928512 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlexPersistentVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlexPersistentVolumeSource.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * FlexPersistentVolumeSource represents a generic persistent volume resource that is provisioned/attached using an exec based plugin. */ @ApiModel(description = "FlexPersistentVolumeSource represents a generic persistent volume resource that is provisioned/attached using an exec based plugin.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1FlexPersistentVolumeSource { public static final String SERIALIZED_NAME_DRIVER = "driver"; @SerializedName(SERIALIZED_NAME_DRIVER) @@ -344,3 +345,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlexVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlexVolumeSource.java index 6efe803539..b4c4b833c0 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlexVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlexVolumeSource.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. */ @ApiModel(description = "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1FlexVolumeSource { public static final String SERIALIZED_NAME_DRIVER = "driver"; @SerializedName(SERIALIZED_NAME_DRIVER) @@ -344,3 +345,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlockerVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlockerVolumeSource.java index 8746d7dda5..627df2cb6a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlockerVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlockerVolumeSource.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * Represents a Flocker volume mounted by the Flocker agent. One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling. */ @ApiModel(description = "Represents a Flocker volume mounted by the Flocker agent. One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1FlockerVolumeSource { public static final String SERIALIZED_NAME_DATASET_NAME = "datasetName"; @SerializedName(SERIALIZED_NAME_DATASET_NAME) @@ -237,3 +238,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlowDistinguisherMethod.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlowDistinguisherMethod.java index 9e4f1e9a6c..8edb23458a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlowDistinguisherMethod.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlowDistinguisherMethod.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * FlowDistinguisherMethod specifies the method of a flow distinguisher. */ @ApiModel(description = "FlowDistinguisherMethod specifies the method of a flow distinguisher.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1FlowDistinguisherMethod { public static final String SERIALIZED_NAME_TYPE = "type"; @SerializedName(SERIALIZED_NAME_TYPE) @@ -214,3 +215,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlowSchema.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlowSchema.java index be0d0c55b3..a7f7634597 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlowSchema.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlowSchema.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * FlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a \"flow distinguisher\". */ @ApiModel(description = "FlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a \"flow distinguisher\".") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1FlowSchema implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -336,3 +337,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlowSchemaCondition.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlowSchemaCondition.java index d97629a768..d41ba7c25b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlowSchemaCondition.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlowSchemaCondition.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * FlowSchemaCondition describes conditions for a FlowSchema. */ @ApiModel(description = "FlowSchemaCondition describes conditions for a FlowSchema.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1FlowSchemaCondition { public static final String SERIALIZED_NAME_LAST_TRANSITION_TIME = "lastTransitionTime"; @SerializedName(SERIALIZED_NAME_LAST_TRANSITION_TIME) @@ -328,3 +329,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlowSchemaList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlowSchemaList.java index a06c8bbeac..c3e62b36af 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlowSchemaList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlowSchemaList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * FlowSchemaList is a list of FlowSchema objects. */ @ApiModel(description = "FlowSchemaList is a list of FlowSchema objects.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1FlowSchemaList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlowSchemaSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlowSchemaSpec.java index 5a562faecf..9c136e2b56 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlowSchemaSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlowSchemaSpec.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -55,7 +56,7 @@ * FlowSchemaSpec describes how the FlowSchema's specification looks like. */ @ApiModel(description = "FlowSchemaSpec describes how the FlowSchema's specification looks like.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1FlowSchemaSpec { public static final String SERIALIZED_NAME_DISTINGUISHER_METHOD = "distinguisherMethod"; @SerializedName(SERIALIZED_NAME_DISTINGUISHER_METHOD) @@ -328,3 +329,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlowSchemaStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlowSchemaStatus.java index fb38ae41ad..1b2781b139 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlowSchemaStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1FlowSchemaStatus.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * FlowSchemaStatus represents the current state of a FlowSchema. */ @ApiModel(description = "FlowSchemaStatus represents the current state of a FlowSchema.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1FlowSchemaStatus { public static final String SERIALIZED_NAME_CONDITIONS = "conditions"; @SerializedName(SERIALIZED_NAME_CONDITIONS) @@ -228,3 +229,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ForNode.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ForNode.java index e9a9ef3222..0cdb85efc7 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ForNode.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ForNode.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * ForNode provides information about which nodes should consume this endpoint. */ @ApiModel(description = "ForNode provides information about which nodes should consume this endpoint.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ForNode { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -214,3 +215,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ForZone.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ForZone.java index d0ba048a88..5060355b5d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ForZone.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ForZone.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * ForZone provides information about which zones should consume this endpoint. */ @ApiModel(description = "ForZone provides information about which zones should consume this endpoint.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ForZone { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -214,3 +215,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GCEPersistentDiskVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GCEPersistentDiskVolumeSource.java index a23cfea3b3..556b8de4ad 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GCEPersistentDiskVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GCEPersistentDiskVolumeSource.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * Represents a Persistent Disk resource in Google Compute Engine. A GCE PD must exist before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once or read-only many times. GCE PDs support ownership management and SELinux relabeling. */ @ApiModel(description = "Represents a Persistent Disk resource in Google Compute Engine. A GCE PD must exist before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once or read-only many times. GCE PDs support ownership management and SELinux relabeling.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1GCEPersistentDiskVolumeSource { public static final String SERIALIZED_NAME_FS_TYPE = "fsType"; @SerializedName(SERIALIZED_NAME_FS_TYPE) @@ -301,3 +302,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GRPCAction.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GRPCAction.java index e533b546d4..9a09dda468 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GRPCAction.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GRPCAction.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * GRPCAction specifies an action involving a GRPC service. */ @ApiModel(description = "GRPCAction specifies an action involving a GRPC service.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1GRPCAction { public static final String SERIALIZED_NAME_PORT = "port"; @SerializedName(SERIALIZED_NAME_PORT) @@ -242,3 +243,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GitRepoVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GitRepoVolumeSource.java index 0bf7166e44..46d7c10074 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GitRepoVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GitRepoVolumeSource.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. */ @ApiModel(description = "Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1GitRepoVolumeSource { public static final String SERIALIZED_NAME_DIRECTORY = "directory"; @SerializedName(SERIALIZED_NAME_DIRECTORY) @@ -276,3 +277,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GlusterfsPersistentVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GlusterfsPersistentVolumeSource.java index 784da4f239..665497fa6a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GlusterfsPersistentVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GlusterfsPersistentVolumeSource.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling. */ @ApiModel(description = "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1GlusterfsPersistentVolumeSource { public static final String SERIALIZED_NAME_ENDPOINTS = "endpoints"; @SerializedName(SERIALIZED_NAME_ENDPOINTS) @@ -305,3 +306,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GlusterfsVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GlusterfsVolumeSource.java index 85b8ba1ec1..955fb2492b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GlusterfsVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GlusterfsVolumeSource.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling. */ @ApiModel(description = "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1GlusterfsVolumeSource { public static final String SERIALIZED_NAME_ENDPOINTS = "endpoints"; @SerializedName(SERIALIZED_NAME_ENDPOINTS) @@ -76,11 +77,11 @@ public V1GlusterfsVolumeSource endpoints(@jakarta.annotation.Nonnull String endp } /** - * endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod + * endpoints is the endpoint name that details Glusterfs topology. * @return endpoints */ @jakarta.annotation.Nonnull - @ApiModelProperty(required = true, value = "endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod") + @ApiModelProperty(required = true, value = "endpoints is the endpoint name that details Glusterfs topology.") public String getEndpoints() { return endpoints; } @@ -274,3 +275,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GroupSubject.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GroupSubject.java index 3b21e7664d..0210537748 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GroupSubject.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GroupSubject.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * GroupSubject holds detailed information for group-kind subject. */ @ApiModel(description = "GroupSubject holds detailed information for group-kind subject.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1GroupSubject { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -214,3 +215,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GroupVersionForDiscovery.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GroupVersionForDiscovery.java index a961ebd8a3..e8bf19611c 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GroupVersionForDiscovery.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1GroupVersionForDiscovery.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * GroupVersion contains the \"group/version\" and \"version\" string of a version. It is made a struct to keep extensibility. */ @ApiModel(description = "GroupVersion contains the \"group/version\" and \"version\" string of a version. It is made a struct to keep extensibility.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1GroupVersionForDiscovery { public static final String SERIALIZED_NAME_GROUP_VERSION = "groupVersion"; @SerializedName(SERIALIZED_NAME_GROUP_VERSION) @@ -246,3 +247,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HTTPGetAction.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HTTPGetAction.java index ab1ede2380..3a3c6fcc14 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HTTPGetAction.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HTTPGetAction.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * HTTPGetAction describes an action based on HTTP Get requests. */ @ApiModel(description = "HTTPGetAction describes an action based on HTTP Get requests.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1HTTPGetAction { public static final String SERIALIZED_NAME_HOST = "host"; @SerializedName(SERIALIZED_NAME_HOST) @@ -361,3 +362,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HTTPHeader.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HTTPHeader.java index e35befdd85..b9ed11ec19 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HTTPHeader.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HTTPHeader.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * HTTPHeader describes a custom header to be used in HTTP probes */ @ApiModel(description = "HTTPHeader describes a custom header to be used in HTTP probes") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1HTTPHeader { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -246,3 +247,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HTTPIngressPath.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HTTPIngressPath.java index e3f4c57d1b..b00bd997f4 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HTTPIngressPath.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HTTPIngressPath.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * HTTPIngressPath associates a path with a backend. Incoming urls matching the path are forwarded to the backend. */ @ApiModel(description = "HTTPIngressPath associates a path with a backend. Incoming urls matching the path are forwarded to the backend.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1HTTPIngressPath { public static final String SERIALIZED_NAME_BACKEND = "backend"; @SerializedName(SERIALIZED_NAME_BACKEND) @@ -277,3 +278,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HTTPIngressRuleValue.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HTTPIngressRuleValue.java index 14db726db5..c2938143c6 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HTTPIngressRuleValue.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HTTPIngressRuleValue.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http://<host>/<path>?<searchpart> -> backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'. */ @ApiModel(description = "HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http:///? -> backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1HTTPIngressRuleValue { public static final String SERIALIZED_NAME_PATHS = "paths"; @SerializedName(SERIALIZED_NAME_PATHS) @@ -232,3 +233,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HorizontalPodAutoscaler.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HorizontalPodAutoscaler.java index 9f617f0f02..711168a420 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HorizontalPodAutoscaler.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HorizontalPodAutoscaler.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * configuration of a horizontal pod autoscaler. */ @ApiModel(description = "configuration of a horizontal pod autoscaler.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1HorizontalPodAutoscaler implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -336,3 +337,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HorizontalPodAutoscalerList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HorizontalPodAutoscalerList.java index c68420c044..6c470dad14 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HorizontalPodAutoscalerList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HorizontalPodAutoscalerList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * list of horizontal pod autoscaler objects. */ @ApiModel(description = "list of horizontal pod autoscaler objects.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1HorizontalPodAutoscalerList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HorizontalPodAutoscalerSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HorizontalPodAutoscalerSpec.java index 7f93e02637..fe47154abb 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HorizontalPodAutoscalerSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HorizontalPodAutoscalerSpec.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * specification of a horizontal pod autoscaler. */ @ApiModel(description = "specification of a horizontal pod autoscaler.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1HorizontalPodAutoscalerSpec { public static final String SERIALIZED_NAME_MAX_REPLICAS = "maxReplicas"; @SerializedName(SERIALIZED_NAME_MAX_REPLICAS) @@ -299,3 +300,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HorizontalPodAutoscalerStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HorizontalPodAutoscalerStatus.java index ea2b74b1c1..ef201bef22 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HorizontalPodAutoscalerStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HorizontalPodAutoscalerStatus.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * current status of a horizontal pod autoscaler */ @ApiModel(description = "current status of a horizontal pod autoscaler") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1HorizontalPodAutoscalerStatus { public static final String SERIALIZED_NAME_CURRENT_C_P_U_UTILIZATION_PERCENTAGE = "currentCPUUtilizationPercentage"; @SerializedName(SERIALIZED_NAME_CURRENT_C_P_U_UTILIZATION_PERCENTAGE) @@ -325,3 +326,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HostAlias.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HostAlias.java index e97a0a42d7..2c70aeeb0f 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HostAlias.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HostAlias.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file. */ @ApiModel(description = "HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1HostAlias { public static final String SERIALIZED_NAME_HOSTNAMES = "hostnames"; @SerializedName(SERIALIZED_NAME_HOSTNAMES) @@ -256,3 +257,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HostIP.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HostIP.java index 58ca843b9e..c15b3cc155 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HostIP.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HostIP.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * HostIP represents a single IP address allocated to the host. */ @ApiModel(description = "HostIP represents a single IP address allocated to the host.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1HostIP { public static final String SERIALIZED_NAME_IP = "ip"; @SerializedName(SERIALIZED_NAME_IP) @@ -214,3 +215,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HostPathVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HostPathVolumeSource.java index d9766182bb..5d955cdaae 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HostPathVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1HostPathVolumeSource.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling. */ @ApiModel(description = "Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1HostPathVolumeSource { public static final String SERIALIZED_NAME_PATH = "path"; @SerializedName(SERIALIZED_NAME_PATH) @@ -245,3 +246,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IPAddress.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IPAddress.java index cae28037a7..61707e2443 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IPAddress.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IPAddress.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * IPAddress represents a single IP of a single IP Family. The object is designed to be used by APIs that operate on IP addresses. The object is used by the Service core API for allocation of IP addresses. An IP address can be represented in different formats, to guarantee the uniqueness of the IP, the name of the object is the IP address in canonical format, four decimal digits separated by dots suppressing leading zeros for IPv4 and the representation defined by RFC 5952 for IPv6. Valid: 192.168.1.5 or 2001:db8::1 or 2001:db8:aaaa:bbbb:cccc:dddd:eeee:1 Invalid: 10.01.2.3 or 2001:db8:0:0:0::1 */ @ApiModel(description = "IPAddress represents a single IP of a single IP Family. The object is designed to be used by APIs that operate on IP addresses. The object is used by the Service core API for allocation of IP addresses. An IP address can be represented in different formats, to guarantee the uniqueness of the IP, the name of the object is the IP address in canonical format, four decimal digits separated by dots suppressing leading zeros for IPv4 and the representation defined by RFC 5952 for IPv6. Valid: 192.168.1.5 or 2001:db8::1 or 2001:db8:aaaa:bbbb:cccc:dddd:eeee:1 Invalid: 10.01.2.3 or 2001:db8:0:0:0::1") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1IPAddress implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -303,3 +304,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IPAddressList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IPAddressList.java index 69c0242297..be22ebe8ab 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IPAddressList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IPAddressList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * IPAddressList contains a list of IPAddress. */ @ApiModel(description = "IPAddressList contains a list of IPAddress.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1IPAddressList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IPAddressSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IPAddressSpec.java index 440ac38b3e..6dbdc35cfe 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IPAddressSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IPAddressSpec.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * IPAddressSpec describe the attributes in an IP Address. */ @ApiModel(description = "IPAddressSpec describe the attributes in an IP Address.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1IPAddressSpec { public static final String SERIALIZED_NAME_PARENT_REF = "parentRef"; @SerializedName(SERIALIZED_NAME_PARENT_REF) @@ -214,3 +215,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IPBlock.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IPBlock.java index 025cc73cf5..8d42e938b2 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IPBlock.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IPBlock.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * IPBlock describes a particular CIDR (Ex. \"192.168.1.0/24\",\"2001:db8::/64\") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule. */ @ApiModel(description = "IPBlock describes a particular CIDR (Ex. \"192.168.1.0/24\",\"2001:db8::/64\") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1IPBlock { public static final String SERIALIZED_NAME_CIDR = "cidr"; @SerializedName(SERIALIZED_NAME_CIDR) @@ -256,3 +257,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ISCSIPersistentVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ISCSIPersistentVolumeSource.java index 2bf1e605a1..597eb0aee8 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ISCSIPersistentVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ISCSIPersistentVolumeSource.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * ISCSIPersistentVolumeSource represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling. */ @ApiModel(description = "ISCSIPersistentVolumeSource represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ISCSIPersistentVolumeSource { public static final String SERIALIZED_NAME_CHAP_AUTH_DISCOVERY = "chapAuthDiscovery"; @SerializedName(SERIALIZED_NAME_CHAP_AUTH_DISCOVERY) @@ -527,3 +528,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ISCSIVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ISCSIVolumeSource.java index 4616ab4cd1..3c05350f5b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ISCSIVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ISCSIVolumeSource.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling. */ @ApiModel(description = "Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ISCSIVolumeSource { public static final String SERIALIZED_NAME_CHAP_AUTH_DISCOVERY = "chapAuthDiscovery"; @SerializedName(SERIALIZED_NAME_CHAP_AUTH_DISCOVERY) @@ -527,3 +528,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ImageVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ImageVolumeSource.java index 36e385ca08..049e1e788e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ImageVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ImageVolumeSource.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * ImageVolumeSource represents a image volume resource. */ @ApiModel(description = "ImageVolumeSource represents a image volume resource.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ImageVolumeSource { public static final String SERIALIZED_NAME_PULL_POLICY = "pullPolicy"; @SerializedName(SERIALIZED_NAME_PULL_POLICY) @@ -237,3 +238,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Ingress.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Ingress.java index 5626567019..02ae5957ba 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Ingress.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Ingress.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc. */ @ApiModel(description = "Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1Ingress implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -336,3 +337,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressBackend.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressBackend.java index 1ede9c878d..6918eb5a02 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressBackend.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressBackend.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * IngressBackend describes all endpoints for a given service and port. */ @ApiModel(description = "IngressBackend describes all endpoints for a given service and port.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1IngressBackend { public static final String SERIALIZED_NAME_RESOURCE = "resource"; @SerializedName(SERIALIZED_NAME_RESOURCE) @@ -241,3 +242,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressClass.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressClass.java index 102b2c22df..c8d8b0cfa0 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressClass.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressClass.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * IngressClass represents the class of the Ingress, referenced by the Ingress Spec. The `ingressclass.kubernetes.io/is-default-class` annotation can be used to indicate that an IngressClass should be considered default. When a single IngressClass resource has this annotation set to true, new Ingress resources without a class specified will be assigned this default class. */ @ApiModel(description = "IngressClass represents the class of the Ingress, referenced by the Ingress Spec. The `ingressclass.kubernetes.io/is-default-class` annotation can be used to indicate that an IngressClass should be considered default. When a single IngressClass resource has this annotation set to true, new Ingress resources without a class specified will be assigned this default class.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1IngressClass implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -303,3 +304,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressClassList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressClassList.java index 2aca1e5ac7..21c786395e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressClassList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressClassList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * IngressClassList is a collection of IngressClasses. */ @ApiModel(description = "IngressClassList is a collection of IngressClasses.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1IngressClassList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressClassParametersReference.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressClassParametersReference.java index b4e64800a4..349f0260a5 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressClassParametersReference.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressClassParametersReference.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * IngressClassParametersReference identifies an API object. This can be used to specify a cluster or namespace-scoped resource. */ @ApiModel(description = "IngressClassParametersReference identifies an API object. This can be used to specify a cluster or namespace-scoped resource.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1IngressClassParametersReference { public static final String SERIALIZED_NAME_API_GROUP = "apiGroup"; @SerializedName(SERIALIZED_NAME_API_GROUP) @@ -339,3 +340,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressClassSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressClassSpec.java index d03893b090..d3927410e7 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressClassSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressClassSpec.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * IngressClassSpec provides information about the class of an Ingress. */ @ApiModel(description = "IngressClassSpec provides information about the class of an Ingress.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1IngressClassSpec { public static final String SERIALIZED_NAME_CONTROLLER = "controller"; @SerializedName(SERIALIZED_NAME_CONTROLLER) @@ -239,3 +240,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressList.java index e386cf075a..b3e32de730 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * IngressList is a collection of Ingress. */ @ApiModel(description = "IngressList is a collection of Ingress.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1IngressList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressLoadBalancerIngress.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressLoadBalancerIngress.java index b2fa7b5c7f..d3c5163839 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressLoadBalancerIngress.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressLoadBalancerIngress.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * IngressLoadBalancerIngress represents the status of a load-balancer ingress point. */ @ApiModel(description = "IngressLoadBalancerIngress represents the status of a load-balancer ingress point.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1IngressLoadBalancerIngress { public static final String SERIALIZED_NAME_HOSTNAME = "hostname"; @SerializedName(SERIALIZED_NAME_HOSTNAME) @@ -290,3 +291,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressLoadBalancerStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressLoadBalancerStatus.java index 42de53c46d..1c8ad8099d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressLoadBalancerStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressLoadBalancerStatus.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * IngressLoadBalancerStatus represents the status of a load-balancer. */ @ApiModel(description = "IngressLoadBalancerStatus represents the status of a load-balancer.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1IngressLoadBalancerStatus { public static final String SERIALIZED_NAME_INGRESS = "ingress"; @SerializedName(SERIALIZED_NAME_INGRESS) @@ -228,3 +229,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressPortStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressPortStatus.java index ae5c4243c6..e9cd96fca3 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressPortStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressPortStatus.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * IngressPortStatus represents the error condition of a service port */ @ApiModel(description = "IngressPortStatus represents the error condition of a service port") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1IngressPortStatus { public static final String SERIALIZED_NAME_ERROR = "error"; @SerializedName(SERIALIZED_NAME_ERROR) @@ -274,3 +275,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressRule.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressRule.java index 380b83ba68..b5b1b47fbb 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressRule.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressRule.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * IngressRule represents the rules mapping the paths under a specified host to the related backend services. Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching IngressRuleValue. */ @ApiModel(description = "IngressRule represents the rules mapping the paths under a specified host to the related backend services. Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching IngressRuleValue.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1IngressRule { public static final String SERIALIZED_NAME_HOST = "host"; @SerializedName(SERIALIZED_NAME_HOST) @@ -239,3 +240,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressServiceBackend.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressServiceBackend.java index e5bbfc215f..2ef99cbba0 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressServiceBackend.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressServiceBackend.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * IngressServiceBackend references a Kubernetes Service as a Backend. */ @ApiModel(description = "IngressServiceBackend references a Kubernetes Service as a Backend.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1IngressServiceBackend { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -247,3 +248,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressSpec.java index cfb3cf8857..35d5753ef6 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressSpec.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -55,7 +56,7 @@ * IngressSpec describes the Ingress the user wishes to exist. */ @ApiModel(description = "IngressSpec describes the Ingress the user wishes to exist.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1IngressSpec { public static final String SERIALIZED_NAME_DEFAULT_BACKEND = "defaultBackend"; @SerializedName(SERIALIZED_NAME_DEFAULT_BACKEND) @@ -343,3 +344,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressStatus.java index cc7432b551..ab3ae73399 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressStatus.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * IngressStatus describe the current state of the Ingress. */ @ApiModel(description = "IngressStatus describe the current state of the Ingress.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1IngressStatus { public static final String SERIALIZED_NAME_LOAD_BALANCER = "loadBalancer"; @SerializedName(SERIALIZED_NAME_LOAD_BALANCER) @@ -208,3 +209,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressTLS.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressTLS.java index d8605daec5..eaf4d7b40b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressTLS.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1IngressTLS.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * IngressTLS describes the transport layer security associated with an ingress. */ @ApiModel(description = "IngressTLS describes the transport layer security associated with an ingress.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1IngressTLS { public static final String SERIALIZED_NAME_HOSTS = "hosts"; @SerializedName(SERIALIZED_NAME_HOSTS) @@ -248,3 +249,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1JSONSchemaProps.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1JSONSchemaProps.java index bb5db91a68..61103946e6 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1JSONSchemaProps.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1JSONSchemaProps.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -56,7 +57,7 @@ * JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/). */ @ApiModel(description = "JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/).") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1JSONSchemaProps { public static final String SERIALIZED_NAME_$_REF = "$ref"; @SerializedName(SERIALIZED_NAME_$_REF) @@ -1607,3 +1608,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Job.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Job.java index 47524f9e12..72ab321bd1 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Job.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Job.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * Job represents the configuration of a single job. */ @ApiModel(description = "Job represents the configuration of a single job.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1Job implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -336,3 +337,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1JobCondition.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1JobCondition.java index 7875caeae7..e5a0e3fa0f 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1JobCondition.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1JobCondition.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * JobCondition describes current state of a job. */ @ApiModel(description = "JobCondition describes current state of a job.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1JobCondition { public static final String SERIALIZED_NAME_LAST_PROBE_TIME = "lastProbeTime"; @SerializedName(SERIALIZED_NAME_LAST_PROBE_TIME) @@ -365,3 +366,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1JobList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1JobList.java index 6a711ec376..4c1794422b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1JobList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1JobList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * JobList is a collection of jobs. */ @ApiModel(description = "JobList is a collection of jobs.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1JobList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1JobSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1JobSpec.java index 91c4dd9d43..c6571872c7 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1JobSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1JobSpec.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * JobSpec describes how the job execution will look like. */ @ApiModel(description = "JobSpec describes how the job execution will look like.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1JobSpec { public static final String SERIALIZED_NAME_ACTIVE_DEADLINE_SECONDS = "activeDeadlineSeconds"; @SerializedName(SERIALIZED_NAME_ACTIVE_DEADLINE_SECONDS) @@ -165,11 +166,11 @@ public V1JobSpec backoffLimit(@jakarta.annotation.Nullable Integer backoffLimit) } /** - * Specifies the number of retries before marking this job failed. Defaults to 6 + * Specifies the number of retries before marking this job failed. Defaults to 6, unless backoffLimitPerIndex (only Indexed Job) is specified. When backoffLimitPerIndex is specified, backoffLimit defaults to 2147483647. * @return backoffLimit */ @jakarta.annotation.Nullable - @ApiModelProperty(value = "Specifies the number of retries before marking this job failed. Defaults to 6") + @ApiModelProperty(value = "Specifies the number of retries before marking this job failed. Defaults to 6, unless backoffLimitPerIndex (only Indexed Job) is specified. When backoffLimitPerIndex is specified, backoffLimit defaults to 2147483647.") public Integer getBackoffLimit() { return backoffLimit; } @@ -345,11 +346,11 @@ public V1JobSpec podReplacementPolicy(@jakarta.annotation.Nullable String podRep } /** - * podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods when they are terminating (has a metadata.deletionTimestamp) or failed. - Failed means to wait until a previously created Pod is fully terminated (has phase Failed or Succeeded) before creating a replacement Pod. When using podFailurePolicy, Failed is the the only allowed value. TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use. This is an beta field. To use this, enable the JobPodReplacementPolicy feature toggle. This is on by default. + * podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods when they are terminating (has a metadata.deletionTimestamp) or failed. - Failed means to wait until a previously created Pod is fully terminated (has phase Failed or Succeeded) before creating a replacement Pod. When using podFailurePolicy, Failed is the the only allowed value. TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use. * @return podReplacementPolicy */ @jakarta.annotation.Nullable - @ApiModelProperty(value = "podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods when they are terminating (has a metadata.deletionTimestamp) or failed. - Failed means to wait until a previously created Pod is fully terminated (has phase Failed or Succeeded) before creating a replacement Pod. When using podFailurePolicy, Failed is the the only allowed value. TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use. This is an beta field. To use this, enable the JobPodReplacementPolicy feature toggle. This is on by default.") + @ApiModelProperty(value = "podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods when they are terminating (has a metadata.deletionTimestamp) or failed. - Failed means to wait until a previously created Pod is fully terminated (has phase Failed or Succeeded) before creating a replacement Pod. When using podFailurePolicy, Failed is the the only allowed value. TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use.") public String getPodReplacementPolicy() { return podReplacementPolicy; } @@ -658,3 +659,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1JobStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1JobStatus.java index 52f9641c18..50e8d3b1e6 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1JobStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1JobStatus.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -55,7 +56,7 @@ * JobStatus represents the current state of a Job. */ @ApiModel(description = "JobStatus represents the current state of a Job.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1JobStatus { public static final String SERIALIZED_NAME_ACTIVE = "active"; @SerializedName(SERIALIZED_NAME_ACTIVE) @@ -520,3 +521,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1JobTemplateSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1JobTemplateSpec.java index 6c15f1eeaf..c446aeb0cd 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1JobTemplateSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1JobTemplateSpec.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * JobTemplateSpec describes the data a Job should have when created from a template */ @ApiModel(description = "JobTemplateSpec describes the data a Job should have when created from a template") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1JobTemplateSpec { public static final String SERIALIZED_NAME_METADATA = "metadata"; @SerializedName(SERIALIZED_NAME_METADATA) @@ -241,3 +242,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1KeyToPath.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1KeyToPath.java index b98c93819d..d56f49a7d7 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1KeyToPath.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1KeyToPath.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * Maps a string key to a path within a volume. */ @ApiModel(description = "Maps a string key to a path within a volume.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1KeyToPath { public static final String SERIALIZED_NAME_KEY = "key"; @SerializedName(SERIALIZED_NAME_KEY) @@ -274,3 +275,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LabelSelector.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LabelSelector.java index d7e6ade2f0..2a11fed870 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LabelSelector.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LabelSelector.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -55,7 +56,7 @@ * A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects. */ @ApiModel(description = "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1LabelSelector { public static final String SERIALIZED_NAME_MATCH_EXPRESSIONS = "matchExpressions"; @SerializedName(SERIALIZED_NAME_MATCH_EXPRESSIONS) @@ -266,3 +267,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LabelSelectorAttributes.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LabelSelectorAttributes.java index 2e91637d87..090771f121 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LabelSelectorAttributes.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LabelSelectorAttributes.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * LabelSelectorAttributes indicates a label limited access. Webhook authors are encouraged to * ensure rawSelector and requirements are not both set * consider the requirements field if set * not try to parse or consider the rawSelector field if set. This is to avoid another CVE-2022-2880 (i.e. getting different systems to agree on how exactly to parse a query is not something we want), see https://www.oxeye.io/resources/golang-parameter-smuggling-attack for more details. For the *SubjectAccessReview endpoints of the kube-apiserver: * If rawSelector is empty and requirements are empty, the request is not limited. * If rawSelector is present and requirements are empty, the rawSelector will be parsed and limited if the parsing succeeds. * If rawSelector is empty and requirements are present, the requirements should be honored * If rawSelector is present and requirements are present, the request is invalid. */ @ApiModel(description = "LabelSelectorAttributes indicates a label limited access. Webhook authors are encouraged to * ensure rawSelector and requirements are not both set * consider the requirements field if set * not try to parse or consider the rawSelector field if set. This is to avoid another CVE-2022-2880 (i.e. getting different systems to agree on how exactly to parse a query is not something we want), see https://www.oxeye.io/resources/golang-parameter-smuggling-attack for more details. For the *SubjectAccessReview endpoints of the kube-apiserver: * If rawSelector is empty and requirements are empty, the request is not limited. * If rawSelector is present and requirements are empty, the rawSelector will be parsed and limited if the parsing succeeds. * If rawSelector is empty and requirements are present, the requirements should be honored * If rawSelector is present and requirements are present, the request is invalid.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1LabelSelectorAttributes { public static final String SERIALIZED_NAME_RAW_SELECTOR = "rawSelector"; @SerializedName(SERIALIZED_NAME_RAW_SELECTOR) @@ -259,3 +260,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LabelSelectorRequirement.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LabelSelectorRequirement.java index e691dc0ab2..7f9645172e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LabelSelectorRequirement.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LabelSelectorRequirement.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. */ @ApiModel(description = "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1LabelSelectorRequirement { public static final String SERIALIZED_NAME_KEY = "key"; @SerializedName(SERIALIZED_NAME_KEY) @@ -288,3 +289,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Lease.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Lease.java index ffbb19b749..e556e5c843 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Lease.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Lease.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * Lease defines a lease concept. */ @ApiModel(description = "Lease defines a lease concept.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1Lease implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -303,3 +304,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LeaseList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LeaseList.java index 4829a13a7c..90110bbc9f 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LeaseList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LeaseList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * LeaseList is a list of Lease objects. */ @ApiModel(description = "LeaseList is a list of Lease objects.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1LeaseList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LeaseSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LeaseSpec.java index df2ddc351b..bab7f3d29d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LeaseSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LeaseSpec.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * LeaseSpec is a specification of a Lease. */ @ApiModel(description = "LeaseSpec is a specification of a Lease.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1LeaseSpec { public static final String SERIALIZED_NAME_ACQUIRE_TIME = "acquireTime"; @SerializedName(SERIALIZED_NAME_ACQUIRE_TIME) @@ -381,3 +382,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Lifecycle.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Lifecycle.java index 8e98c78b7e..9815b6b68e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Lifecycle.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Lifecycle.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted. */ @ApiModel(description = "Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1Lifecycle { public static final String SERIALIZED_NAME_POST_START = "postStart"; @SerializedName(SERIALIZED_NAME_POST_START) @@ -271,3 +272,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LifecycleHandler.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LifecycleHandler.java index 842f97098a..23f4061176 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LifecycleHandler.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LifecycleHandler.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * LifecycleHandler defines a specific action that should be taken in a lifecycle hook. One and only one of the fields, except TCPSocket must be specified. */ @ApiModel(description = "LifecycleHandler defines a specific action that should be taken in a lifecycle hook. One and only one of the fields, except TCPSocket must be specified.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1LifecycleHandler { public static final String SERIALIZED_NAME_EXEC = "exec"; @SerializedName(SERIALIZED_NAME_EXEC) @@ -307,3 +308,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LimitRange.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LimitRange.java index 545b6c68d4..f1cf0b0903 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LimitRange.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LimitRange.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * LimitRange sets resource usage limits for each kind of resource in a Namespace. */ @ApiModel(description = "LimitRange sets resource usage limits for each kind of resource in a Namespace.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1LimitRange implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -303,3 +304,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LimitRangeItem.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LimitRangeItem.java index 1e1306da71..798b151a4f 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LimitRangeItem.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LimitRangeItem.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * LimitRangeItem defines a min/max usage limit for any resource that matches on kind. */ @ApiModel(description = "LimitRangeItem defines a min/max usage limit for any resource that matches on kind.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1LimitRangeItem { public static final String SERIALIZED_NAME_DEFAULT = "default"; @SerializedName(SERIALIZED_NAME_DEFAULT) @@ -397,3 +398,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LimitRangeList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LimitRangeList.java index 51bcf57ce3..9de5d903e5 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LimitRangeList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LimitRangeList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * LimitRangeList is a list of LimitRange items. */ @ApiModel(description = "LimitRangeList is a list of LimitRange items.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1LimitRangeList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LimitRangeSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LimitRangeSpec.java index 82a6f45f42..4ed4005b36 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LimitRangeSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LimitRangeSpec.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * LimitRangeSpec defines a min/max usage limit for resources that match on kind. */ @ApiModel(description = "LimitRangeSpec defines a min/max usage limit for resources that match on kind.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1LimitRangeSpec { public static final String SERIALIZED_NAME_LIMITS = "limits"; @SerializedName(SERIALIZED_NAME_LIMITS) @@ -232,3 +233,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LimitResponse.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LimitResponse.java index dfdc562d83..eed0e411ff 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LimitResponse.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LimitResponse.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * LimitResponse defines how to handle requests that can not be executed right now. */ @ApiModel(description = "LimitResponse defines how to handle requests that can not be executed right now.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1LimitResponse { public static final String SERIALIZED_NAME_QUEUING = "queuing"; @SerializedName(SERIALIZED_NAME_QUEUING) @@ -247,3 +248,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LimitedPriorityLevelConfiguration.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LimitedPriorityLevelConfiguration.java index 12d4b4e866..e51fe28a54 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LimitedPriorityLevelConfiguration.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LimitedPriorityLevelConfiguration.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. It addresses two issues: - How are requests for this priority level limited? - What should be done with requests that exceed the limit? */ @ApiModel(description = "LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. It addresses two issues: - How are requests for this priority level limited? - What should be done with requests that exceed the limit?") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1LimitedPriorityLevelConfiguration { public static final String SERIALIZED_NAME_BORROWING_LIMIT_PERCENT = "borrowingLimitPercent"; @SerializedName(SERIALIZED_NAME_BORROWING_LIMIT_PERCENT) @@ -292,3 +293,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LinuxContainerUser.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LinuxContainerUser.java index 80a03eae6c..711118704f 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LinuxContainerUser.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LinuxContainerUser.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * LinuxContainerUser represents user identity information in Linux containers */ @ApiModel(description = "LinuxContainerUser represents user identity information in Linux containers") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1LinuxContainerUser { public static final String SERIALIZED_NAME_GID = "gid"; @SerializedName(SERIALIZED_NAME_GID) @@ -282,3 +283,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ListMeta.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ListMeta.java index b45919c6fa..f97c96d613 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ListMeta.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ListMeta.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}. */ @ApiModel(description = "ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ListMeta { public static final String SERIALIZED_NAME_CONTINUE = "continue"; @SerializedName(SERIALIZED_NAME_CONTINUE) @@ -268,8 +269,7 @@ public void write(JsonWriter out, V1ListMeta value) throws IOException { @Override public V1ListMeta read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); - // Disable validation so delete API can tolerate non-status return object (graceful deletion) - // validateJsonObject(jsonObj); + validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); } @@ -297,3 +297,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LoadBalancerIngress.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LoadBalancerIngress.java index a2f259e009..58aee05d7f 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LoadBalancerIngress.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LoadBalancerIngress.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * LoadBalancerIngress represents the status of a load-balancer ingress point: traffic intended for the service should be sent to an ingress point. */ @ApiModel(description = "LoadBalancerIngress represents the status of a load-balancer ingress point: traffic intended for the service should be sent to an ingress point.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1LoadBalancerIngress { public static final String SERIALIZED_NAME_HOSTNAME = "hostname"; @SerializedName(SERIALIZED_NAME_HOSTNAME) @@ -321,3 +322,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LoadBalancerStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LoadBalancerStatus.java index 53dd81e8ff..51c175d988 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LoadBalancerStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LoadBalancerStatus.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * LoadBalancerStatus represents the status of a load-balancer. */ @ApiModel(description = "LoadBalancerStatus represents the status of a load-balancer.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1LoadBalancerStatus { public static final String SERIALIZED_NAME_INGRESS = "ingress"; @SerializedName(SERIALIZED_NAME_INGRESS) @@ -228,3 +229,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LocalObjectReference.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LocalObjectReference.java index ac93fd5793..d129453307 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LocalObjectReference.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LocalObjectReference.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. */ @ApiModel(description = "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1LocalObjectReference { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -206,3 +207,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LocalSubjectAccessReview.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LocalSubjectAccessReview.java index a9bbf596da..e53a82f59a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LocalSubjectAccessReview.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LocalSubjectAccessReview.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace. Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking. */ @ApiModel(description = "LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace. Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1LocalSubjectAccessReview implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -342,3 +343,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LocalVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LocalVolumeSource.java index eb51be59b9..d7e33c31dc 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LocalVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1LocalVolumeSource.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * Local represents directly-attached storage with node affinity */ @ApiModel(description = "Local represents directly-attached storage with node affinity") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1LocalVolumeSource { public static final String SERIALIZED_NAME_FS_TYPE = "fsType"; @SerializedName(SERIALIZED_NAME_FS_TYPE) @@ -245,3 +246,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ManagedFieldsEntry.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ManagedFieldsEntry.java index df2d7045a0..8f5041991c 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ManagedFieldsEntry.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ManagedFieldsEntry.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to. */ @ApiModel(description = "ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ManagedFieldsEntry { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -387,3 +388,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1MatchCondition.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1MatchCondition.java index f5a8857104..3832ba1c2f 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1MatchCondition.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1MatchCondition.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * MatchCondition represents a condition which must by fulfilled for a request to be sent to a webhook. */ @ApiModel(description = "MatchCondition represents a condition which must by fulfilled for a request to be sent to a webhook.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1MatchCondition { public static final String SERIALIZED_NAME_EXPRESSION = "expression"; @SerializedName(SERIALIZED_NAME_EXPRESSION) @@ -246,3 +247,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1MatchResources.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1MatchResources.java index 9c27c7e267..5e075dcddf 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1MatchResources.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1MatchResources.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * MatchResources decides whether to run the admission control policy on an object based on whether it meets the match criteria. The exclude rules take precedence over include rules (if a resource matches both, it is excluded) */ @ApiModel(description = "MatchResources decides whether to run the admission control policy on an object based on whether it meets the match criteria. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1MatchResources { public static final String SERIALIZED_NAME_EXCLUDE_RESOURCE_RULES = "excludeResourceRules"; @SerializedName(SERIALIZED_NAME_EXCLUDE_RESOURCE_RULES) @@ -374,3 +375,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ModifyVolumeStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ModifyVolumeStatus.java index a1faa93ca1..8b839ff565 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ModifyVolumeStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ModifyVolumeStatus.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * ModifyVolumeStatus represents the status object of ControllerModifyVolume operation */ @ApiModel(description = "ModifyVolumeStatus represents the status object of ControllerModifyVolume operation") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ModifyVolumeStatus { public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) @@ -245,3 +246,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1MutatingWebhook.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1MutatingWebhook.java index a231236b32..bb60f942f6 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1MutatingWebhook.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1MutatingWebhook.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -56,7 +57,7 @@ * MutatingWebhook describes an admission webhook and the resources and operations it applies to. */ @ApiModel(description = "MutatingWebhook describes an admission webhook and the resources and operations it applies to.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1MutatingWebhook { public static final String SERIALIZED_NAME_ADMISSION_REVIEW_VERSIONS = "admissionReviewVersions"; @SerializedName(SERIALIZED_NAME_ADMISSION_REVIEW_VERSIONS) @@ -611,3 +612,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1MutatingWebhookConfiguration.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1MutatingWebhookConfiguration.java index 1348b5db54..eadd3e9905 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1MutatingWebhookConfiguration.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1MutatingWebhookConfiguration.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object. */ @ApiModel(description = "MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1MutatingWebhookConfiguration implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -323,3 +324,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1MutatingWebhookConfigurationList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1MutatingWebhookConfigurationList.java index d37a1cf8e0..13bdd95c31 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1MutatingWebhookConfigurationList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1MutatingWebhookConfigurationList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * MutatingWebhookConfigurationList is a list of MutatingWebhookConfiguration. */ @ApiModel(description = "MutatingWebhookConfigurationList is a list of MutatingWebhookConfiguration.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1MutatingWebhookConfigurationList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NFSVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NFSVolumeSource.java index 5cbb2f2f7d..239b5a267e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NFSVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NFSVolumeSource.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling. */ @ApiModel(description = "Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1NFSVolumeSource { public static final String SERIALIZED_NAME_PATH = "path"; @SerializedName(SERIALIZED_NAME_PATH) @@ -274,3 +275,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NamedRuleWithOperations.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NamedRuleWithOperations.java index 1633de152e..cc0f7dd1e5 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NamedRuleWithOperations.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NamedRuleWithOperations.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames. */ @ApiModel(description = "NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1NamedRuleWithOperations { public static final String SERIALIZED_NAME_API_GROUPS = "apiGroups"; @SerializedName(SERIALIZED_NAME_API_GROUPS) @@ -408,3 +409,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Namespace.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Namespace.java index 9015083510..79fc19c09d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Namespace.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Namespace.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * Namespace provides a scope for Names. Use of multiple namespaces is optional. */ @ApiModel(description = "Namespace provides a scope for Names. Use of multiple namespaces is optional.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1Namespace implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -336,3 +337,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NamespaceCondition.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NamespaceCondition.java index 7e386f359b..e2bb6b5f2f 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NamespaceCondition.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NamespaceCondition.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * NamespaceCondition contains details about state of namespace. */ @ApiModel(description = "NamespaceCondition contains details about state of namespace.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1NamespaceCondition { public static final String SERIALIZED_NAME_LAST_TRANSITION_TIME = "lastTransitionTime"; @SerializedName(SERIALIZED_NAME_LAST_TRANSITION_TIME) @@ -337,3 +338,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NamespaceList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NamespaceList.java index 13bf74e9f6..aa5e14c8d0 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NamespaceList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NamespaceList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * NamespaceList is a list of Namespaces. */ @ApiModel(description = "NamespaceList is a list of Namespaces.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1NamespaceList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NamespaceSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NamespaceSpec.java index c6525d6e15..8009c936db 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NamespaceSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NamespaceSpec.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * NamespaceSpec describes the attributes on a Namespace. */ @ApiModel(description = "NamespaceSpec describes the attributes on a Namespace.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1NamespaceSpec { public static final String SERIALIZED_NAME_FINALIZERS = "finalizers"; @SerializedName(SERIALIZED_NAME_FINALIZERS) @@ -217,3 +218,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NamespaceStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NamespaceStatus.java index 96063ad1d7..a419d7764a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NamespaceStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NamespaceStatus.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * NamespaceStatus is information about the current status of a Namespace. */ @ApiModel(description = "NamespaceStatus is information about the current status of a Namespace.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1NamespaceStatus { public static final String SERIALIZED_NAME_CONDITIONS = "conditions"; @SerializedName(SERIALIZED_NAME_CONDITIONS) @@ -259,3 +260,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3NetworkDeviceData.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NetworkDeviceData.java similarity index 74% rename from kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3NetworkDeviceData.java rename to kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NetworkDeviceData.java index 179945fdcd..cfb26de9c6 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3NetworkDeviceData.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NetworkDeviceData.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,8 +53,8 @@ * NetworkDeviceData provides network-related details for the allocated device. This information may be filled by drivers or other components to configure or identify the device within a network context. */ @ApiModel(description = "NetworkDeviceData provides network-related details for the allocated device. This information may be filled by drivers or other components to configure or identify the device within a network context.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") -public class V1alpha3NetworkDeviceData { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1NetworkDeviceData { public static final String SERIALIZED_NAME_HARDWARE_ADDRESS = "hardwareAddress"; @SerializedName(SERIALIZED_NAME_HARDWARE_ADDRESS) @jakarta.annotation.Nullable @@ -69,10 +70,10 @@ public class V1alpha3NetworkDeviceData { @jakarta.annotation.Nullable private List ips = new ArrayList<>(); - public V1alpha3NetworkDeviceData() { + public V1NetworkDeviceData() { } - public V1alpha3NetworkDeviceData hardwareAddress(@jakarta.annotation.Nullable String hardwareAddress) { + public V1NetworkDeviceData hardwareAddress(@jakarta.annotation.Nullable String hardwareAddress) { this.hardwareAddress = hardwareAddress; return this; } @@ -92,7 +93,7 @@ public void setHardwareAddress(@jakarta.annotation.Nullable String hardwareAddre } - public V1alpha3NetworkDeviceData interfaceName(@jakarta.annotation.Nullable String interfaceName) { + public V1NetworkDeviceData interfaceName(@jakarta.annotation.Nullable String interfaceName) { this.interfaceName = interfaceName; return this; } @@ -112,12 +113,12 @@ public void setInterfaceName(@jakarta.annotation.Nullable String interfaceName) } - public V1alpha3NetworkDeviceData ips(@jakarta.annotation.Nullable List ips) { + public V1NetworkDeviceData ips(@jakarta.annotation.Nullable List ips) { this.ips = ips; return this; } - public V1alpha3NetworkDeviceData addIpsItem(String ipsItem) { + public V1NetworkDeviceData addIpsItem(String ipsItem) { if (this.ips == null) { this.ips = new ArrayList<>(); } @@ -126,11 +127,11 @@ public V1alpha3NetworkDeviceData addIpsItem(String ipsItem) { } /** - * IPs lists the network addresses assigned to the device's network interface. This can include both IPv4 and IPv6 addresses. The IPs are in the CIDR notation, which includes both the address and the associated subnet mask. e.g.: \"192.0.2.5/24\" for IPv4 and \"2001:db8::5/64\" for IPv6. Must not contain more than 16 entries. + * IPs lists the network addresses assigned to the device's network interface. This can include both IPv4 and IPv6 addresses. The IPs are in the CIDR notation, which includes both the address and the associated subnet mask. e.g.: \"192.0.2.5/24\" for IPv4 and \"2001:db8::5/64\" for IPv6. * @return ips */ @jakarta.annotation.Nullable - @ApiModelProperty(value = "IPs lists the network addresses assigned to the device's network interface. This can include both IPv4 and IPv6 addresses. The IPs are in the CIDR notation, which includes both the address and the associated subnet mask. e.g.: \"192.0.2.5/24\" for IPv4 and \"2001:db8::5/64\" for IPv6. Must not contain more than 16 entries.") + @ApiModelProperty(value = "IPs lists the network addresses assigned to the device's network interface. This can include both IPv4 and IPv6 addresses. The IPs are in the CIDR notation, which includes both the address and the associated subnet mask. e.g.: \"192.0.2.5/24\" for IPv4 and \"2001:db8::5/64\" for IPv6.") public List getIps() { return ips; } @@ -149,10 +150,10 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V1alpha3NetworkDeviceData v1alpha3NetworkDeviceData = (V1alpha3NetworkDeviceData) o; - return Objects.equals(this.hardwareAddress, v1alpha3NetworkDeviceData.hardwareAddress) && - Objects.equals(this.interfaceName, v1alpha3NetworkDeviceData.interfaceName) && - Objects.equals(this.ips, v1alpha3NetworkDeviceData.ips); + V1NetworkDeviceData v1NetworkDeviceData = (V1NetworkDeviceData) o; + return Objects.equals(this.hardwareAddress, v1NetworkDeviceData.hardwareAddress) && + Objects.equals(this.interfaceName, v1NetworkDeviceData.interfaceName) && + Objects.equals(this.ips, v1NetworkDeviceData.ips); } @Override @@ -163,7 +164,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V1alpha3NetworkDeviceData {\n"); + sb.append("class V1NetworkDeviceData {\n"); sb.append(" hardwareAddress: ").append(toIndentedString(hardwareAddress)).append("\n"); sb.append(" interfaceName: ").append(toIndentedString(interfaceName)).append("\n"); sb.append(" ips: ").append(toIndentedString(ips)).append("\n"); @@ -201,20 +202,20 @@ private String toIndentedString(Object o) { * Validates the JSON Element and throws an exception if issues found * * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to V1alpha3NetworkDeviceData + * @throws IOException if the JSON Element is invalid with respect to V1NetworkDeviceData */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - if (!V1alpha3NetworkDeviceData.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in V1alpha3NetworkDeviceData is not found in the empty JSON string", V1alpha3NetworkDeviceData.openapiRequiredFields.toString())); + if (!V1NetworkDeviceData.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1NetworkDeviceData is not found in the empty JSON string", V1NetworkDeviceData.openapiRequiredFields.toString())); } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { - if (!V1alpha3NetworkDeviceData.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1alpha3NetworkDeviceData` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + if (!V1NetworkDeviceData.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1NetworkDeviceData` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); @@ -234,22 +235,22 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1alpha3NetworkDeviceData.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1alpha3NetworkDeviceData' and its subtypes + if (!V1NetworkDeviceData.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1NetworkDeviceData' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1alpha3NetworkDeviceData.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1NetworkDeviceData.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, V1alpha3NetworkDeviceData value) throws IOException { + public void write(JsonWriter out, V1NetworkDeviceData value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public V1alpha3NetworkDeviceData read(JsonReader in) throws IOException { + public V1NetworkDeviceData read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -260,18 +261,18 @@ public V1alpha3NetworkDeviceData read(JsonReader in) throws IOException { } /** - * Create an instance of V1alpha3NetworkDeviceData given an JSON string + * Create an instance of V1NetworkDeviceData given an JSON string * * @param jsonString JSON string - * @return An instance of V1alpha3NetworkDeviceData - * @throws IOException if the JSON string is invalid with respect to V1alpha3NetworkDeviceData + * @return An instance of V1NetworkDeviceData + * @throws IOException if the JSON string is invalid with respect to V1NetworkDeviceData */ - public static V1alpha3NetworkDeviceData fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1alpha3NetworkDeviceData.class); + public static V1NetworkDeviceData fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1NetworkDeviceData.class); } /** - * Convert an instance of V1alpha3NetworkDeviceData to an JSON string + * Convert an instance of V1NetworkDeviceData to an JSON string * * @return JSON string */ @@ -279,3 +280,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NetworkPolicy.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NetworkPolicy.java index 14fb8dd9a4..800c766488 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NetworkPolicy.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NetworkPolicy.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * NetworkPolicy describes what network traffic is allowed for a set of Pods */ @ApiModel(description = "NetworkPolicy describes what network traffic is allowed for a set of Pods") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1NetworkPolicy implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -303,3 +304,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NetworkPolicyEgressRule.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NetworkPolicyEgressRule.java index 83708f2149..ee3dd7e2ca 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NetworkPolicyEgressRule.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NetworkPolicyEgressRule.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and to. This type is beta-level in 1.8 */ @ApiModel(description = "NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and to. This type is beta-level in 1.8") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1NetworkPolicyEgressRule { public static final String SERIALIZED_NAME_PORTS = "ports"; @SerializedName(SERIALIZED_NAME_PORTS) @@ -279,3 +280,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NetworkPolicyIngressRule.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NetworkPolicyIngressRule.java index e5da37bac7..bae0ca0fbb 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NetworkPolicyIngressRule.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NetworkPolicyIngressRule.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * NetworkPolicyIngressRule describes a particular set of traffic that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and from. */ @ApiModel(description = "NetworkPolicyIngressRule describes a particular set of traffic that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and from.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1NetworkPolicyIngressRule { public static final String SERIALIZED_NAME_FROM = "from"; @SerializedName(SERIALIZED_NAME_FROM) @@ -279,3 +280,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NetworkPolicyList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NetworkPolicyList.java index 1edd3b76ad..b7b675bf43 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NetworkPolicyList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NetworkPolicyList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * NetworkPolicyList is a list of NetworkPolicy objects. */ @ApiModel(description = "NetworkPolicyList is a list of NetworkPolicy objects.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1NetworkPolicyList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NetworkPolicyPeer.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NetworkPolicyPeer.java index a7e913e593..7b6d5afabe 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NetworkPolicyPeer.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NetworkPolicyPeer.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * NetworkPolicyPeer describes a peer to allow traffic to/from. Only certain combinations of fields are allowed */ @ApiModel(description = "NetworkPolicyPeer describes a peer to allow traffic to/from. Only certain combinations of fields are allowed") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1NetworkPolicyPeer { public static final String SERIALIZED_NAME_IP_BLOCK = "ipBlock"; @SerializedName(SERIALIZED_NAME_IP_BLOCK) @@ -273,3 +274,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NetworkPolicyPort.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NetworkPolicyPort.java index 214c07590a..f271379bfb 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NetworkPolicyPort.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NetworkPolicyPort.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * NetworkPolicyPort describes a port to allow traffic on */ @ApiModel(description = "NetworkPolicyPort describes a port to allow traffic on") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1NetworkPolicyPort { public static final String SERIALIZED_NAME_END_PORT = "endPort"; @SerializedName(SERIALIZED_NAME_END_PORT) @@ -266,3 +267,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NetworkPolicySpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NetworkPolicySpec.java index 4944be1d80..0208c2b8f1 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NetworkPolicySpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NetworkPolicySpec.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -55,7 +56,7 @@ * NetworkPolicySpec provides the specification of a NetworkPolicy */ @ApiModel(description = "NetworkPolicySpec provides the specification of a NetworkPolicy") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1NetworkPolicySpec { public static final String SERIALIZED_NAME_EGRESS = "egress"; @SerializedName(SERIALIZED_NAME_EGRESS) @@ -69,7 +70,7 @@ public class V1NetworkPolicySpec { public static final String SERIALIZED_NAME_POD_SELECTOR = "podSelector"; @SerializedName(SERIALIZED_NAME_POD_SELECTOR) - @jakarta.annotation.Nonnull + @jakarta.annotation.Nullable private V1LabelSelector podSelector; public static final String SERIALIZED_NAME_POLICY_TYPES = "policyTypes"; @@ -136,7 +137,7 @@ public void setIngress(@jakarta.annotation.Nullable List(); - openapiRequiredFields.add("podSelector"); } /** @@ -265,13 +265,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1NetworkPolicySpec` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } - - // check to make sure all required properties/fields are present in the JSON string - for (String requiredField : V1NetworkPolicySpec.openapiRequiredFields) { - if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); - } - } JsonObject jsonObj = jsonElement.getAsJsonObject(); if (jsonObj.get("egress") != null && !jsonObj.get("egress").isJsonNull()) { JsonArray jsonArrayegress = jsonObj.getAsJsonArray("egress"); @@ -301,8 +294,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti }; } } - // validate the required field `podSelector` - V1LabelSelector.validateJsonElement(jsonObj.get("podSelector")); + // validate the optional field `podSelector` + if (jsonObj.get("podSelector") != null && !jsonObj.get("podSelector").isJsonNull()) { + V1LabelSelector.validateJsonElement(jsonObj.get("podSelector")); + } // ensure the optional json data is an array if present if (jsonObj.get("policyTypes") != null && !jsonObj.get("policyTypes").isJsonNull() && !jsonObj.get("policyTypes").isJsonArray()) { throw new IllegalArgumentException(String.format("Expected the field `policyTypes` to be an array in the JSON string but got `%s`", jsonObj.get("policyTypes").toString())); @@ -358,3 +353,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Node.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Node.java index 225b47650f..7f79241f02 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Node.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Node.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * Node is a worker node in Kubernetes. Each node will have a unique identifier in the cache (i.e. in etcd). */ @ApiModel(description = "Node is a worker node in Kubernetes. Each node will have a unique identifier in the cache (i.e. in etcd).") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1Node implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -336,3 +337,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeAddress.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeAddress.java index d27650d967..cf009229f4 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeAddress.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeAddress.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * NodeAddress contains information for the node's address. */ @ApiModel(description = "NodeAddress contains information for the node's address.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1NodeAddress { public static final String SERIALIZED_NAME_ADDRESS = "address"; @SerializedName(SERIALIZED_NAME_ADDRESS) @@ -246,3 +247,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeAffinity.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeAffinity.java index f3fa8957f0..f1766fc564 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeAffinity.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeAffinity.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * Node affinity is a group of node affinity scheduling rules. */ @ApiModel(description = "Node affinity is a group of node affinity scheduling rules.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1NodeAffinity { public static final String SERIALIZED_NAME_PREFERRED_DURING_SCHEDULING_IGNORED_DURING_EXECUTION = "preferredDuringSchedulingIgnoredDuringExecution"; @SerializedName(SERIALIZED_NAME_PREFERRED_DURING_SCHEDULING_IGNORED_DURING_EXECUTION) @@ -261,3 +262,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeCondition.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeCondition.java index 2c25e5b474..3583197e36 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeCondition.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeCondition.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * NodeCondition contains condition information for a node. */ @ApiModel(description = "NodeCondition contains condition information for a node.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1NodeCondition { public static final String SERIALIZED_NAME_LAST_HEARTBEAT_TIME = "lastHeartbeatTime"; @SerializedName(SERIALIZED_NAME_LAST_HEARTBEAT_TIME) @@ -365,3 +366,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeConfigSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeConfigSource.java index f1062a8e5e..ac5b52d2d5 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeConfigSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeConfigSource.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * NodeConfigSource specifies a source of node configuration. Exactly one subfield (excluding metadata) must be non-nil. This API is deprecated since 1.22 */ @ApiModel(description = "NodeConfigSource specifies a source of node configuration. Exactly one subfield (excluding metadata) must be non-nil. This API is deprecated since 1.22") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1NodeConfigSource { public static final String SERIALIZED_NAME_CONFIG_MAP = "configMap"; @SerializedName(SERIALIZED_NAME_CONFIG_MAP) @@ -208,3 +209,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeConfigStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeConfigStatus.java index 669973297a..8c9e83767e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeConfigStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeConfigStatus.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * NodeConfigStatus describes the status of the config assigned by Node.Spec.ConfigSource. */ @ApiModel(description = "NodeConfigStatus describes the status of the config assigned by Node.Spec.ConfigSource.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1NodeConfigStatus { public static final String SERIALIZED_NAME_ACTIVE = "active"; @SerializedName(SERIALIZED_NAME_ACTIVE) @@ -303,3 +304,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeDaemonEndpoints.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeDaemonEndpoints.java index 5495fcd25c..9de8a78c37 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeDaemonEndpoints.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeDaemonEndpoints.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * NodeDaemonEndpoints lists ports opened by daemons running on the Node. */ @ApiModel(description = "NodeDaemonEndpoints lists ports opened by daemons running on the Node.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1NodeDaemonEndpoints { public static final String SERIALIZED_NAME_KUBELET_ENDPOINT = "kubeletEndpoint"; @SerializedName(SERIALIZED_NAME_KUBELET_ENDPOINT) @@ -208,3 +209,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeFeatures.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeFeatures.java index 2bdd8a936b..b0b49efd2b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeFeatures.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeFeatures.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * NodeFeatures describes the set of features implemented by the CRI implementation. The features contained in the NodeFeatures should depend only on the cri implementation independent of runtime handlers. */ @ApiModel(description = "NodeFeatures describes the set of features implemented by the CRI implementation. The features contained in the NodeFeatures should depend only on the cri implementation independent of runtime handlers.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1NodeFeatures { public static final String SERIALIZED_NAME_SUPPLEMENTAL_GROUPS_POLICY = "supplementalGroupsPolicy"; @SerializedName(SERIALIZED_NAME_SUPPLEMENTAL_GROUPS_POLICY) @@ -203,3 +204,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeList.java index 5e452a2ba7..64a9ba2f66 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * NodeList is the whole list of all Nodes which have been registered with master. */ @ApiModel(description = "NodeList is the whole list of all Nodes which have been registered with master.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1NodeList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeRuntimeHandler.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeRuntimeHandler.java index 597ad1c759..43f1b6e737 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeRuntimeHandler.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeRuntimeHandler.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * NodeRuntimeHandler is a set of runtime handler information. */ @ApiModel(description = "NodeRuntimeHandler is a set of runtime handler information.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1NodeRuntimeHandler { public static final String SERIALIZED_NAME_FEATURES = "features"; @SerializedName(SERIALIZED_NAME_FEATURES) @@ -239,3 +240,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeRuntimeHandlerFeatures.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeRuntimeHandlerFeatures.java index e3ea7bc302..10e10c4846 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeRuntimeHandlerFeatures.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeRuntimeHandlerFeatures.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * NodeRuntimeHandlerFeatures is a set of features implemented by the runtime handler. */ @ApiModel(description = "NodeRuntimeHandlerFeatures is a set of features implemented by the runtime handler.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1NodeRuntimeHandlerFeatures { public static final String SERIALIZED_NAME_RECURSIVE_READ_ONLY_MOUNTS = "recursiveReadOnlyMounts"; @SerializedName(SERIALIZED_NAME_RECURSIVE_READ_ONLY_MOUNTS) @@ -231,3 +232,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeSelector.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeSelector.java index f133a4acc7..e39cf4ccc0 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeSelector.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeSelector.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms. */ @ApiModel(description = "A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1NodeSelector { public static final String SERIALIZED_NAME_NODE_SELECTOR_TERMS = "nodeSelectorTerms"; @SerializedName(SERIALIZED_NAME_NODE_SELECTOR_TERMS) @@ -232,3 +233,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeSelectorRequirement.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeSelectorRequirement.java index 94909c03b2..e2d495f8b1 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeSelectorRequirement.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeSelectorRequirement.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. */ @ApiModel(description = "A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1NodeSelectorRequirement { public static final String SERIALIZED_NAME_KEY = "key"; @SerializedName(SERIALIZED_NAME_KEY) @@ -288,3 +289,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeSelectorTerm.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeSelectorTerm.java index c6ddf414e0..dd4f55eb07 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeSelectorTerm.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeSelectorTerm.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. */ @ApiModel(description = "A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1NodeSelectorTerm { public static final String SERIALIZED_NAME_MATCH_EXPRESSIONS = "matchExpressions"; @SerializedName(SERIALIZED_NAME_MATCH_EXPRESSIONS) @@ -278,3 +279,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeSpec.java index 2ce113f97f..e3321b852d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeSpec.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * NodeSpec describes the attributes that a node is created with. */ @ApiModel(description = "NodeSpec describes the attributes that a node is created with.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1NodeSpec { public static final String SERIALIZED_NAME_CONFIG_SOURCE = "configSource"; @SerializedName(SERIALIZED_NAME_CONFIG_SOURCE) @@ -422,3 +423,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeStatus.java index 6f959ea8f6..fd9181106a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeStatus.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -64,7 +65,7 @@ * NodeStatus is information about the current status of a node. */ @ApiModel(description = "NodeStatus is information about the current status of a node.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1NodeStatus { public static final String SERIALIZED_NAME_ADDRESSES = "addresses"; @SerializedName(SERIALIZED_NAME_ADDRESSES) @@ -710,3 +711,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeSwapStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeSwapStatus.java index 39adeac5e1..c1eaff067d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeSwapStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeSwapStatus.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * NodeSwapStatus represents swap memory information. */ @ApiModel(description = "NodeSwapStatus represents swap memory information.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1NodeSwapStatus { public static final String SERIALIZED_NAME_CAPACITY = "capacity"; @SerializedName(SERIALIZED_NAME_CAPACITY) @@ -203,3 +204,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeSystemInfo.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeSystemInfo.java index d15db6390b..1e62924370 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeSystemInfo.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NodeSystemInfo.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * NodeSystemInfo is a set of ids/uuids to uniquely identify the node. */ @ApiModel(description = "NodeSystemInfo is a set of ids/uuids to uniquely identify the node.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1NodeSystemInfo { public static final String SERIALIZED_NAME_ARCHITECTURE = "architecture"; @SerializedName(SERIALIZED_NAME_ARCHITECTURE) @@ -535,3 +536,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NonResourceAttributes.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NonResourceAttributes.java index 49207586f3..92a5dbfe4c 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NonResourceAttributes.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NonResourceAttributes.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * NonResourceAttributes includes the authorization attributes available for non-resource requests to the Authorizer interface */ @ApiModel(description = "NonResourceAttributes includes the authorization attributes available for non-resource requests to the Authorizer interface") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1NonResourceAttributes { public static final String SERIALIZED_NAME_PATH = "path"; @SerializedName(SERIALIZED_NAME_PATH) @@ -237,3 +238,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NonResourcePolicyRule.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NonResourcePolicyRule.java index 39a005de2c..ebc264fb6d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NonResourcePolicyRule.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NonResourcePolicyRule.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * NonResourcePolicyRule is a predicate that matches non-resource requests according to their verb and the target non-resource URL. A NonResourcePolicyRule matches a request if and only if both (a) at least one member of verbs matches the request and (b) at least one member of nonResourceURLs matches the request. */ @ApiModel(description = "NonResourcePolicyRule is a predicate that matches non-resource requests according to their verb and the target non-resource URL. A NonResourcePolicyRule matches a request if and only if both (a) at least one member of verbs matches the request and (b) at least one member of nonResourceURLs matches the request.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1NonResourcePolicyRule { public static final String SERIALIZED_NAME_NON_RESOURCE_U_R_LS = "nonResourceURLs"; @SerializedName(SERIALIZED_NAME_NON_RESOURCE_U_R_LS) @@ -270,3 +271,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NonResourceRule.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NonResourceRule.java index 24af818505..98785324b8 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NonResourceRule.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1NonResourceRule.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * NonResourceRule holds information that describes a rule for the non-resource */ @ApiModel(description = "NonResourceRule holds information that describes a rule for the non-resource") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1NonResourceRule { public static final String SERIALIZED_NAME_NON_RESOURCE_U_R_LS = "nonResourceURLs"; @SerializedName(SERIALIZED_NAME_NON_RESOURCE_U_R_LS) @@ -267,3 +268,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ObjectFieldSelector.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ObjectFieldSelector.java index fbdf36058f..815b993f81 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ObjectFieldSelector.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ObjectFieldSelector.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * ObjectFieldSelector selects an APIVersioned field of an object. */ @ApiModel(description = "ObjectFieldSelector selects an APIVersioned field of an object.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ObjectFieldSelector { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -245,3 +246,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ObjectMeta.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ObjectMeta.java index c0f3b82429..709536e07e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ObjectMeta.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ObjectMeta.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -57,7 +58,7 @@ * ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. */ @ApiModel(description = "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ObjectMeta { public static final String SERIALIZED_NAME_ANNOTATIONS = "annotations"; @SerializedName(SERIALIZED_NAME_ANNOTATIONS) @@ -692,3 +693,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ObjectReference.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ObjectReference.java index 608caae2d0..a4b71cba5d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ObjectReference.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ObjectReference.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * ObjectReference contains enough information to let you inspect or modify the referred object. */ @ApiModel(description = "ObjectReference contains enough information to let you inspect or modify the referred object.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ObjectReference { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -392,3 +393,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3OpaqueDeviceConfiguration.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1OpaqueDeviceConfiguration.java similarity index 71% rename from kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3OpaqueDeviceConfiguration.java rename to kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1OpaqueDeviceConfiguration.java index 5b6a5fa226..7eabd338c0 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3OpaqueDeviceConfiguration.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1OpaqueDeviceConfiguration.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,8 +51,8 @@ * OpaqueDeviceConfiguration contains configuration parameters for a driver in a format defined by the driver vendor. */ @ApiModel(description = "OpaqueDeviceConfiguration contains configuration parameters for a driver in a format defined by the driver vendor.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") -public class V1alpha3OpaqueDeviceConfiguration { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1OpaqueDeviceConfiguration { public static final String SERIALIZED_NAME_DRIVER = "driver"; @SerializedName(SERIALIZED_NAME_DRIVER) @jakarta.annotation.Nonnull @@ -62,10 +63,10 @@ public class V1alpha3OpaqueDeviceConfiguration { @jakarta.annotation.Nonnull private Object parameters; - public V1alpha3OpaqueDeviceConfiguration() { + public V1OpaqueDeviceConfiguration() { } - public V1alpha3OpaqueDeviceConfiguration driver(@jakarta.annotation.Nonnull String driver) { + public V1OpaqueDeviceConfiguration driver(@jakarta.annotation.Nonnull String driver) { this.driver = driver; return this; } @@ -85,7 +86,7 @@ public void setDriver(@jakarta.annotation.Nonnull String driver) { } - public V1alpha3OpaqueDeviceConfiguration parameters(@jakarta.annotation.Nonnull Object parameters) { + public V1OpaqueDeviceConfiguration parameters(@jakarta.annotation.Nonnull Object parameters) { this.parameters = parameters; return this; } @@ -114,9 +115,9 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V1alpha3OpaqueDeviceConfiguration v1alpha3OpaqueDeviceConfiguration = (V1alpha3OpaqueDeviceConfiguration) o; - return Objects.equals(this.driver, v1alpha3OpaqueDeviceConfiguration.driver) && - Objects.equals(this.parameters, v1alpha3OpaqueDeviceConfiguration.parameters); + V1OpaqueDeviceConfiguration v1OpaqueDeviceConfiguration = (V1OpaqueDeviceConfiguration) o; + return Objects.equals(this.driver, v1OpaqueDeviceConfiguration.driver) && + Objects.equals(this.parameters, v1OpaqueDeviceConfiguration.parameters); } @Override @@ -127,7 +128,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V1alpha3OpaqueDeviceConfiguration {\n"); + sb.append("class V1OpaqueDeviceConfiguration {\n"); sb.append(" driver: ").append(toIndentedString(driver)).append("\n"); sb.append(" parameters: ").append(toIndentedString(parameters)).append("\n"); sb.append("}"); @@ -165,25 +166,25 @@ private String toIndentedString(Object o) { * Validates the JSON Element and throws an exception if issues found * * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to V1alpha3OpaqueDeviceConfiguration + * @throws IOException if the JSON Element is invalid with respect to V1OpaqueDeviceConfiguration */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - if (!V1alpha3OpaqueDeviceConfiguration.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in V1alpha3OpaqueDeviceConfiguration is not found in the empty JSON string", V1alpha3OpaqueDeviceConfiguration.openapiRequiredFields.toString())); + if (!V1OpaqueDeviceConfiguration.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1OpaqueDeviceConfiguration is not found in the empty JSON string", V1OpaqueDeviceConfiguration.openapiRequiredFields.toString())); } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { - if (!V1alpha3OpaqueDeviceConfiguration.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1alpha3OpaqueDeviceConfiguration` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + if (!V1OpaqueDeviceConfiguration.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1OpaqueDeviceConfiguration` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } // check to make sure all required properties/fields are present in the JSON string - for (String requiredField : V1alpha3OpaqueDeviceConfiguration.openapiRequiredFields) { + for (String requiredField : V1OpaqueDeviceConfiguration.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); } @@ -198,22 +199,22 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1alpha3OpaqueDeviceConfiguration.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1alpha3OpaqueDeviceConfiguration' and its subtypes + if (!V1OpaqueDeviceConfiguration.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1OpaqueDeviceConfiguration' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1alpha3OpaqueDeviceConfiguration.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1OpaqueDeviceConfiguration.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, V1alpha3OpaqueDeviceConfiguration value) throws IOException { + public void write(JsonWriter out, V1OpaqueDeviceConfiguration value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public V1alpha3OpaqueDeviceConfiguration read(JsonReader in) throws IOException { + public V1OpaqueDeviceConfiguration read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -224,18 +225,18 @@ public V1alpha3OpaqueDeviceConfiguration read(JsonReader in) throws IOException } /** - * Create an instance of V1alpha3OpaqueDeviceConfiguration given an JSON string + * Create an instance of V1OpaqueDeviceConfiguration given an JSON string * * @param jsonString JSON string - * @return An instance of V1alpha3OpaqueDeviceConfiguration - * @throws IOException if the JSON string is invalid with respect to V1alpha3OpaqueDeviceConfiguration + * @return An instance of V1OpaqueDeviceConfiguration + * @throws IOException if the JSON string is invalid with respect to V1OpaqueDeviceConfiguration */ - public static V1alpha3OpaqueDeviceConfiguration fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1alpha3OpaqueDeviceConfiguration.class); + public static V1OpaqueDeviceConfiguration fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1OpaqueDeviceConfiguration.class); } /** - * Convert an instance of V1alpha3OpaqueDeviceConfiguration to an JSON string + * Convert an instance of V1OpaqueDeviceConfiguration to an JSON string * * @return JSON string */ @@ -243,3 +244,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Overhead.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Overhead.java index 74a0b4effc..09552c5f0e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Overhead.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Overhead.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * Overhead structure represents the resource overhead associated with running a pod. */ @ApiModel(description = "Overhead structure represents the resource overhead associated with running a pod.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1Overhead { public static final String SERIALIZED_NAME_POD_FIXED = "podFixed"; @SerializedName(SERIALIZED_NAME_POD_FIXED) @@ -214,3 +215,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1OwnerReference.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1OwnerReference.java index 4349adc1dc..f808a4d81d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1OwnerReference.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1OwnerReference.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field. */ @ApiModel(description = "OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1OwnerReference { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -366,3 +367,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ParamKind.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ParamKind.java index 7411f45ea7..d6894f364e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ParamKind.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ParamKind.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * ParamKind is a tuple of Group Kind and Version. */ @ApiModel(description = "ParamKind is a tuple of Group Kind and Version.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ParamKind { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -237,3 +238,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ParamRef.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ParamRef.java index cfba226d25..01a9c53ae6 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ParamRef.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ParamRef.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding. */ @ApiModel(description = "ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ParamRef { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -301,3 +302,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ParentReference.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ParentReference.java index 58f7e929d4..d38262b881 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ParentReference.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ParentReference.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * ParentReference describes a reference to a parent object. */ @ApiModel(description = "ParentReference describes a reference to a parent object.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ParentReference { public static final String SERIALIZED_NAME_GROUP = "group"; @SerializedName(SERIALIZED_NAME_GROUP) @@ -308,3 +309,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolume.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolume.java index 7bc14bd6f3..0244ab6e7c 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolume.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolume.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * PersistentVolume (PV) is a storage resource provisioned by an administrator. It is analogous to a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes */ @ApiModel(description = "PersistentVolume (PV) is a storage resource provisioned by an administrator. It is analogous to a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1PersistentVolume implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -336,3 +337,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeClaim.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeClaim.java index 1383cdfa95..ef58e44393 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeClaim.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeClaim.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * PersistentVolumeClaim is a user's request for and claim to a persistent volume */ @ApiModel(description = "PersistentVolumeClaim is a user's request for and claim to a persistent volume") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1PersistentVolumeClaim implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -336,3 +337,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeClaimCondition.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeClaimCondition.java index 6b815d828a..7eee90f46d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeClaimCondition.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeClaimCondition.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * PersistentVolumeClaimCondition contains details about state of pvc */ @ApiModel(description = "PersistentVolumeClaimCondition contains details about state of pvc") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1PersistentVolumeClaimCondition { public static final String SERIALIZED_NAME_LAST_PROBE_TIME = "lastProbeTime"; @SerializedName(SERIALIZED_NAME_LAST_PROBE_TIME) @@ -365,3 +366,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeClaimList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeClaimList.java index 9c2bf71693..d6a72ec58c 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeClaimList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeClaimList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * PersistentVolumeClaimList is a list of PersistentVolumeClaim items. */ @ApiModel(description = "PersistentVolumeClaimList is a list of PersistentVolumeClaim items.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1PersistentVolumeClaimList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeClaimSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeClaimSpec.java index dddf291274..b1bd489a18 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeClaimSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeClaimSpec.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -56,7 +57,7 @@ * PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes */ @ApiModel(description = "PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1PersistentVolumeClaimSpec { public static final String SERIALIZED_NAME_ACCESS_MODES = "accessModes"; @SerializedName(SERIALIZED_NAME_ACCESS_MODES) @@ -240,11 +241,11 @@ public V1PersistentVolumeClaimSpec volumeAttributesClassName(@jakarta.annotation } /** - * volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass will be applied to the claim but it's not allowed to reset this field to empty string once it is set. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass will be set by the persistentvolume controller if it exists. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Beta) Using this field requires the VolumeAttributesClass feature gate to be enabled (off by default). + * volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string or nil value indicates that no VolumeAttributesClass will be applied to the claim. If the claim enters an Infeasible error state, this field can be reset to its previous value (including nil) to cancel the modification. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ * @return volumeAttributesClassName */ @jakarta.annotation.Nullable - @ApiModelProperty(value = "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass will be applied to the claim but it's not allowed to reset this field to empty string once it is set. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass will be set by the persistentvolume controller if it exists. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Beta) Using this field requires the VolumeAttributesClass feature gate to be enabled (off by default).") + @ApiModelProperty(value = "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string or nil value indicates that no VolumeAttributesClass will be applied to the claim. If the claim enters an Infeasible error state, this field can be reset to its previous value (including nil) to cancel the modification. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/") public String getVolumeAttributesClassName() { return volumeAttributesClassName; } @@ -473,3 +474,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeClaimStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeClaimStatus.java index 9530e8ee76..b7648349d6 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeClaimStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeClaimStatus.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -57,7 +58,7 @@ * PersistentVolumeClaimStatus is the current status of a persistent volume claim. */ @ApiModel(description = "PersistentVolumeClaimStatus is the current status of a persistent volume claim.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1PersistentVolumeClaimStatus { public static final String SERIALIZED_NAME_ACCESS_MODES = "accessModes"; @SerializedName(SERIALIZED_NAME_ACCESS_MODES) @@ -248,11 +249,11 @@ public V1PersistentVolumeClaimStatus currentVolumeAttributesClassName(@jakarta.a } /** - * currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using. When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim This is a beta field and requires enabling VolumeAttributesClass feature (off by default). + * currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using. When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim * @return currentVolumeAttributesClassName */ @jakarta.annotation.Nullable - @ApiModelProperty(value = "currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using. When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim This is a beta field and requires enabling VolumeAttributesClass feature (off by default).") + @ApiModelProperty(value = "currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using. When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim") public String getCurrentVolumeAttributesClassName() { return currentVolumeAttributesClassName; } @@ -474,3 +475,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeClaimTemplate.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeClaimTemplate.java index a3addb496a..1a147d6877 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeClaimTemplate.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeClaimTemplate.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * PersistentVolumeClaimTemplate is used to produce PersistentVolumeClaim objects as part of an EphemeralVolumeSource. */ @ApiModel(description = "PersistentVolumeClaimTemplate is used to produce PersistentVolumeClaim objects as part of an EphemeralVolumeSource.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1PersistentVolumeClaimTemplate { public static final String SERIALIZED_NAME_METADATA = "metadata"; @SerializedName(SERIALIZED_NAME_METADATA) @@ -247,3 +248,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeClaimVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeClaimVolumeSource.java index 1dae41f5d6..be45c407ad 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeClaimVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeClaimVolumeSource.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * PersistentVolumeClaimVolumeSource references the user's PVC in the same namespace. This volume finds the bound PV and mounts that volume for the pod. A PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another type of volume that is owned by someone else (the system). */ @ApiModel(description = "PersistentVolumeClaimVolumeSource references the user's PVC in the same namespace. This volume finds the bound PV and mounts that volume for the pod. A PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another type of volume that is owned by someone else (the system).") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1PersistentVolumeClaimVolumeSource { public static final String SERIALIZED_NAME_CLAIM_NAME = "claimName"; @SerializedName(SERIALIZED_NAME_CLAIM_NAME) @@ -242,3 +243,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeList.java index 7abd81615c..04c8ec827b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * PersistentVolumeList is a list of PersistentVolume items. */ @ApiModel(description = "PersistentVolumeList is a list of PersistentVolume items.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1PersistentVolumeList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeSpec.java index 4c360ae063..2284f73bfa 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeSpec.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -79,7 +80,7 @@ * PersistentVolumeSpec is the specification of a persistent volume. */ @ApiModel(description = "PersistentVolumeSpec is the specification of a persistent volume.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1PersistentVolumeSpec { public static final String SERIALIZED_NAME_ACCESS_MODES = "accessModes"; @SerializedName(SERIALIZED_NAME_ACCESS_MODES) @@ -829,11 +830,11 @@ public V1PersistentVolumeSpec volumeAttributesClassName(@jakarta.annotation.Null } /** - * Name of VolumeAttributesClass to which this persistent volume belongs. Empty value is not allowed. When this field is not set, it indicates that this volume does not belong to any VolumeAttributesClass. This field is mutable and can be changed by the CSI driver after a volume has been updated successfully to a new class. For an unbound PersistentVolume, the volumeAttributesClassName will be matched with unbound PersistentVolumeClaims during the binding process. This is a beta field and requires enabling VolumeAttributesClass feature (off by default). + * Name of VolumeAttributesClass to which this persistent volume belongs. Empty value is not allowed. When this field is not set, it indicates that this volume does not belong to any VolumeAttributesClass. This field is mutable and can be changed by the CSI driver after a volume has been updated successfully to a new class. For an unbound PersistentVolume, the volumeAttributesClassName will be matched with unbound PersistentVolumeClaims during the binding process. * @return volumeAttributesClassName */ @jakarta.annotation.Nullable - @ApiModelProperty(value = "Name of VolumeAttributesClass to which this persistent volume belongs. Empty value is not allowed. When this field is not set, it indicates that this volume does not belong to any VolumeAttributesClass. This field is mutable and can be changed by the CSI driver after a volume has been updated successfully to a new class. For an unbound PersistentVolume, the volumeAttributesClassName will be matched with unbound PersistentVolumeClaims during the binding process. This is a beta field and requires enabling VolumeAttributesClass feature (off by default).") + @ApiModelProperty(value = "Name of VolumeAttributesClass to which this persistent volume belongs. Empty value is not allowed. When this field is not set, it indicates that this volume does not belong to any VolumeAttributesClass. This field is mutable and can be changed by the CSI driver after a volume has been updated successfully to a new class. For an unbound PersistentVolume, the volumeAttributesClassName will be matched with unbound PersistentVolumeClaims during the binding process.") public String getVolumeAttributesClassName() { return volumeAttributesClassName; } @@ -1212,3 +1213,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeStatus.java index c431c71a52..2273791fa3 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PersistentVolumeStatus.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * PersistentVolumeStatus is the current status of a persistent volume. */ @ApiModel(description = "PersistentVolumeStatus is the current status of a persistent volume.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1PersistentVolumeStatus { public static final String SERIALIZED_NAME_LAST_PHASE_TRANSITION_TIME = "lastPhaseTransitionTime"; @SerializedName(SERIALIZED_NAME_LAST_PHASE_TRANSITION_TIME) @@ -297,3 +298,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PhotonPersistentDiskVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PhotonPersistentDiskVolumeSource.java index d599115aa4..409c18cb84 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PhotonPersistentDiskVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PhotonPersistentDiskVolumeSource.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * Represents a Photon Controller persistent disk resource. */ @ApiModel(description = "Represents a Photon Controller persistent disk resource.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1PhotonPersistentDiskVolumeSource { public static final String SERIALIZED_NAME_FS_TYPE = "fsType"; @SerializedName(SERIALIZED_NAME_FS_TYPE) @@ -245,3 +246,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Pod.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Pod.java index 1c97fb0cef..6c1fc541c4 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Pod.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Pod.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * Pod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts. */ @ApiModel(description = "Pod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1Pod implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -336,3 +337,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodAffinity.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodAffinity.java index 3628dc0b0c..785081c216 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodAffinity.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodAffinity.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * Pod affinity is a group of inter pod affinity scheduling rules. */ @ApiModel(description = "Pod affinity is a group of inter pod affinity scheduling rules.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1PodAffinity { public static final String SERIALIZED_NAME_PREFERRED_DURING_SCHEDULING_IGNORED_DURING_EXECUTION = "preferredDuringSchedulingIgnoredDuringExecution"; @SerializedName(SERIALIZED_NAME_PREFERRED_DURING_SCHEDULING_IGNORED_DURING_EXECUTION) @@ -279,3 +280,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodAffinityTerm.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodAffinityTerm.java index 965a8c4983..c507aeae0e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodAffinityTerm.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodAffinityTerm.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key <topologyKey> matches that of any node on which a pod of the set of pods is running */ @ApiModel(description = "Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1PodAffinityTerm { public static final String SERIALIZED_NAME_LABEL_SELECTOR = "labelSelector"; @SerializedName(SERIALIZED_NAME_LABEL_SELECTOR) @@ -401,3 +402,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodAntiAffinity.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodAntiAffinity.java index 065e91f3f5..5d3dc279bc 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodAntiAffinity.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodAntiAffinity.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * Pod anti affinity is a group of inter pod anti affinity scheduling rules. */ @ApiModel(description = "Pod anti affinity is a group of inter pod anti affinity scheduling rules.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1PodAntiAffinity { public static final String SERIALIZED_NAME_PREFERRED_DURING_SCHEDULING_IGNORED_DURING_EXECUTION = "preferredDuringSchedulingIgnoredDuringExecution"; @SerializedName(SERIALIZED_NAME_PREFERRED_DURING_SCHEDULING_IGNORED_DURING_EXECUTION) @@ -83,11 +84,11 @@ public V1PodAntiAffinity addPreferredDuringSchedulingIgnoredDuringExecutionItem( } /** - * The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. + * The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and subtracting \"weight\" from the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. * @return preferredDuringSchedulingIgnoredDuringExecution */ @jakarta.annotation.Nullable - @ApiModelProperty(value = "The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.") + @ApiModelProperty(value = "The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and subtracting \"weight\" from the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.") public List getPreferredDuringSchedulingIgnoredDuringExecution() { return preferredDuringSchedulingIgnoredDuringExecution; } @@ -279,3 +280,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodCertificateProjection.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodCertificateProjection.java new file mode 100644 index 0000000000..4a93e33552 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodCertificateProjection.java @@ -0,0 +1,371 @@ +/* + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package io.kubernetes.client.openapi.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.Arrays; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import io.kubernetes.client.openapi.JSON; + +/** + * PodCertificateProjection provides a private key and X.509 certificate in the pod filesystem. + */ +@ApiModel(description = "PodCertificateProjection provides a private key and X.509 certificate in the pod filesystem.") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1PodCertificateProjection { + public static final String SERIALIZED_NAME_CERTIFICATE_CHAIN_PATH = "certificateChainPath"; + @SerializedName(SERIALIZED_NAME_CERTIFICATE_CHAIN_PATH) + @jakarta.annotation.Nullable + private String certificateChainPath; + + public static final String SERIALIZED_NAME_CREDENTIAL_BUNDLE_PATH = "credentialBundlePath"; + @SerializedName(SERIALIZED_NAME_CREDENTIAL_BUNDLE_PATH) + @jakarta.annotation.Nullable + private String credentialBundlePath; + + public static final String SERIALIZED_NAME_KEY_PATH = "keyPath"; + @SerializedName(SERIALIZED_NAME_KEY_PATH) + @jakarta.annotation.Nullable + private String keyPath; + + public static final String SERIALIZED_NAME_KEY_TYPE = "keyType"; + @SerializedName(SERIALIZED_NAME_KEY_TYPE) + @jakarta.annotation.Nonnull + private String keyType; + + public static final String SERIALIZED_NAME_MAX_EXPIRATION_SECONDS = "maxExpirationSeconds"; + @SerializedName(SERIALIZED_NAME_MAX_EXPIRATION_SECONDS) + @jakarta.annotation.Nullable + private Integer maxExpirationSeconds; + + public static final String SERIALIZED_NAME_SIGNER_NAME = "signerName"; + @SerializedName(SERIALIZED_NAME_SIGNER_NAME) + @jakarta.annotation.Nonnull + private String signerName; + + public V1PodCertificateProjection() { + } + + public V1PodCertificateProjection certificateChainPath(@jakarta.annotation.Nullable String certificateChainPath) { + this.certificateChainPath = certificateChainPath; + return this; + } + + /** + * Write the certificate chain at this path in the projected volume. Most applications should use credentialBundlePath. When using keyPath 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. + * @return certificateChainPath + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "Write the certificate chain at this path in the projected volume. Most applications should use credentialBundlePath. When using keyPath 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.") + public String getCertificateChainPath() { + return certificateChainPath; + } + + public void setCertificateChainPath(@jakarta.annotation.Nullable String certificateChainPath) { + this.certificateChainPath = certificateChainPath; + } + + + public V1PodCertificateProjection credentialBundlePath(@jakarta.annotation.Nullable String credentialBundlePath) { + this.credentialBundlePath = credentialBundlePath; + return this; + } + + /** + * Write the credential bundle at this path in the projected volume. The credential bundle is a single file that contains multiple PEM blocks. The first PEM block is a PRIVATE KEY block, containing a PKCS#8 private key. The remaining blocks are CERTIFICATE blocks, containing the issued certificate chain from the signer (leaf and any intermediates). Using credentialBundlePath lets your Pod's application code make a single 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. + * @return credentialBundlePath + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "Write the credential bundle at this path in the projected volume. The credential bundle is a single file that contains multiple PEM blocks. The first PEM block is a PRIVATE KEY block, containing a PKCS#8 private key. The remaining blocks are CERTIFICATE blocks, containing the issued certificate chain from the signer (leaf and any intermediates). Using credentialBundlePath lets your Pod's application code make a single 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.") + public String getCredentialBundlePath() { + return credentialBundlePath; + } + + public void setCredentialBundlePath(@jakarta.annotation.Nullable String credentialBundlePath) { + this.credentialBundlePath = credentialBundlePath; + } + + + public V1PodCertificateProjection keyPath(@jakarta.annotation.Nullable String keyPath) { + this.keyPath = keyPath; + return this; + } + + /** + * Write the key at this path in the projected volume. Most applications should use credentialBundlePath. When using keyPath 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. + * @return keyPath + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "Write the key at this path in the projected volume. Most applications should use credentialBundlePath. When using keyPath 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.") + public String getKeyPath() { + return keyPath; + } + + public void setKeyPath(@jakarta.annotation.Nullable String keyPath) { + this.keyPath = keyPath; + } + + + public V1PodCertificateProjection keyType(@jakarta.annotation.Nonnull String keyType) { + this.keyType = keyType; + return this; + } + + /** + * The type of keypair Kubelet will generate for the pod. Valid values are \"RSA3072\", \"RSA4096\", \"ECDSAP256\", \"ECDSAP384\", \"ECDSAP521\", and \"ED25519\". + * @return keyType + */ + @jakarta.annotation.Nonnull + @ApiModelProperty(required = true, value = "The type of keypair Kubelet will generate for the pod. Valid values are \"RSA3072\", \"RSA4096\", \"ECDSAP256\", \"ECDSAP384\", \"ECDSAP521\", and \"ED25519\".") + public String getKeyType() { + return keyType; + } + + public void setKeyType(@jakarta.annotation.Nonnull String keyType) { + this.keyType = keyType; + } + + + public V1PodCertificateProjection maxExpirationSeconds(@jakarta.annotation.Nullable Integer maxExpirationSeconds) { + this.maxExpirationSeconds = maxExpirationSeconds; + return this; + } + + /** + * maxExpirationSeconds is the maximum lifetime permitted for the certificate. Kubelet copies this value verbatim into the PodCertificateRequests it generates for this projection. If omitted, kube-apiserver will set it to 86400(24 hours). kube-apiserver will reject values shorter than 3600 (1 hour). The maximum allowable value is 7862400 (91 days). The signer implementation is then free to issue a certificate with any lifetime *shorter* than MaxExpirationSeconds, but no shorter than 3600 seconds (1 hour). This constraint is enforced by kube-apiserver. `kubernetes.io` signers will never issue certificates with a lifetime longer than 24 hours. + * @return maxExpirationSeconds + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "maxExpirationSeconds is the maximum lifetime permitted for the certificate. Kubelet copies this value verbatim into the PodCertificateRequests it generates for this projection. If omitted, kube-apiserver will set it to 86400(24 hours). kube-apiserver will reject values shorter than 3600 (1 hour). The maximum allowable value is 7862400 (91 days). The signer implementation is then free to issue a certificate with any lifetime *shorter* than MaxExpirationSeconds, but no shorter than 3600 seconds (1 hour). This constraint is enforced by kube-apiserver. `kubernetes.io` signers will never issue certificates with a lifetime longer than 24 hours.") + public Integer getMaxExpirationSeconds() { + return maxExpirationSeconds; + } + + public void setMaxExpirationSeconds(@jakarta.annotation.Nullable Integer maxExpirationSeconds) { + this.maxExpirationSeconds = maxExpirationSeconds; + } + + + public V1PodCertificateProjection signerName(@jakarta.annotation.Nonnull String signerName) { + this.signerName = signerName; + return this; + } + + /** + * Kubelet's generated CSRs will be addressed to this signer. + * @return signerName + */ + @jakarta.annotation.Nonnull + @ApiModelProperty(required = true, value = "Kubelet's generated CSRs will be addressed to this signer.") + public String getSignerName() { + return signerName; + } + + public void setSignerName(@jakarta.annotation.Nonnull String signerName) { + this.signerName = signerName; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1PodCertificateProjection v1PodCertificateProjection = (V1PodCertificateProjection) o; + return Objects.equals(this.certificateChainPath, v1PodCertificateProjection.certificateChainPath) && + Objects.equals(this.credentialBundlePath, v1PodCertificateProjection.credentialBundlePath) && + Objects.equals(this.keyPath, v1PodCertificateProjection.keyPath) && + Objects.equals(this.keyType, v1PodCertificateProjection.keyType) && + Objects.equals(this.maxExpirationSeconds, v1PodCertificateProjection.maxExpirationSeconds) && + Objects.equals(this.signerName, v1PodCertificateProjection.signerName); + } + + @Override + public int hashCode() { + return Objects.hash(certificateChainPath, credentialBundlePath, keyPath, keyType, maxExpirationSeconds, signerName); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1PodCertificateProjection {\n"); + sb.append(" certificateChainPath: ").append(toIndentedString(certificateChainPath)).append("\n"); + sb.append(" credentialBundlePath: ").append(toIndentedString(credentialBundlePath)).append("\n"); + sb.append(" keyPath: ").append(toIndentedString(keyPath)).append("\n"); + sb.append(" keyType: ").append(toIndentedString(keyType)).append("\n"); + sb.append(" maxExpirationSeconds: ").append(toIndentedString(maxExpirationSeconds)).append("\n"); + sb.append(" signerName: ").append(toIndentedString(signerName)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("certificateChainPath"); + openapiFields.add("credentialBundlePath"); + openapiFields.add("keyPath"); + openapiFields.add("keyType"); + openapiFields.add("maxExpirationSeconds"); + openapiFields.add("signerName"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("keyType"); + openapiRequiredFields.add("signerName"); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to V1PodCertificateProjection + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!V1PodCertificateProjection.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1PodCertificateProjection is not found in the empty JSON string", V1PodCertificateProjection.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!V1PodCertificateProjection.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PodCertificateProjection` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : V1PodCertificateProjection.openapiRequiredFields) { + if (jsonElement.getAsJsonObject().get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("certificateChainPath") != null && !jsonObj.get("certificateChainPath").isJsonNull()) && !jsonObj.get("certificateChainPath").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `certificateChainPath` to be a primitive type in the JSON string but got `%s`", jsonObj.get("certificateChainPath").toString())); + } + if ((jsonObj.get("credentialBundlePath") != null && !jsonObj.get("credentialBundlePath").isJsonNull()) && !jsonObj.get("credentialBundlePath").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `credentialBundlePath` to be a primitive type in the JSON string but got `%s`", jsonObj.get("credentialBundlePath").toString())); + } + if ((jsonObj.get("keyPath") != null && !jsonObj.get("keyPath").isJsonNull()) && !jsonObj.get("keyPath").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `keyPath` to be a primitive type in the JSON string but got `%s`", jsonObj.get("keyPath").toString())); + } + if (!jsonObj.get("keyType").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `keyType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("keyType").toString())); + } + if (!jsonObj.get("signerName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `signerName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("signerName").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!V1PodCertificateProjection.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1PodCertificateProjection' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1PodCertificateProjection.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, V1PodCertificateProjection value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public V1PodCertificateProjection read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of V1PodCertificateProjection given an JSON string + * + * @param jsonString JSON string + * @return An instance of V1PodCertificateProjection + * @throws IOException if the JSON string is invalid with respect to V1PodCertificateProjection + */ + public static V1PodCertificateProjection fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1PodCertificateProjection.class); + } + + /** + * Convert an instance of V1PodCertificateProjection to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodCondition.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodCondition.java index b41b816ced..d297689d53 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodCondition.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodCondition.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * PodCondition contains details for the current condition of this pod. */ @ApiModel(description = "PodCondition contains details for the current condition of this pod.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1PodCondition { public static final String SERIALIZED_NAME_LAST_PROBE_TIME = "lastProbeTime"; @SerializedName(SERIALIZED_NAME_LAST_PROBE_TIME) @@ -393,3 +394,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodDNSConfig.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodDNSConfig.java index 11f5c912e8..02b2be2835 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodDNSConfig.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodDNSConfig.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy. */ @ApiModel(description = "PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1PodDNSConfig { public static final String SERIALIZED_NAME_NAMESERVERS = "nameservers"; @SerializedName(SERIALIZED_NAME_NAMESERVERS) @@ -308,3 +309,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodDNSConfigOption.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodDNSConfigOption.java index 04f97bb81d..c481fb7564 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodDNSConfigOption.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodDNSConfigOption.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * PodDNSConfigOption defines DNS resolver options of a pod. */ @ApiModel(description = "PodDNSConfigOption defines DNS resolver options of a pod.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1PodDNSConfigOption { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -237,3 +238,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodDisruptionBudget.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodDisruptionBudget.java index 3febe13390..64d8644cbc 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodDisruptionBudget.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodDisruptionBudget.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods */ @ApiModel(description = "PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1PodDisruptionBudget implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -336,3 +337,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodDisruptionBudgetList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodDisruptionBudgetList.java index 46e8739cd7..41cb0c1bd7 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodDisruptionBudgetList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodDisruptionBudgetList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * PodDisruptionBudgetList is a collection of PodDisruptionBudgets. */ @ApiModel(description = "PodDisruptionBudgetList is a collection of PodDisruptionBudgets.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1PodDisruptionBudgetList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodDisruptionBudgetSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodDisruptionBudgetSpec.java index 0bc45abce4..f39c120d27 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodDisruptionBudgetSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodDisruptionBudgetSpec.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * PodDisruptionBudgetSpec is a description of a PodDisruptionBudget. */ @ApiModel(description = "PodDisruptionBudgetSpec is a description of a PodDisruptionBudget.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1PodDisruptionBudgetSpec { public static final String SERIALIZED_NAME_MAX_UNAVAILABLE = "maxUnavailable"; @SerializedName(SERIALIZED_NAME_MAX_UNAVAILABLE) @@ -302,3 +303,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodDisruptionBudgetStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodDisruptionBudgetStatus.java index e0ef472e8c..920bda8917 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodDisruptionBudgetStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodDisruptionBudgetStatus.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -56,7 +57,7 @@ * PodDisruptionBudgetStatus represents information about the status of a PodDisruptionBudget. Status may trail the actual state of a system. */ @ApiModel(description = "PodDisruptionBudgetStatus represents information about the status of a PodDisruptionBudget. Status may trail the actual state of a system.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1PodDisruptionBudgetStatus { public static final String SERIALIZED_NAME_CONDITIONS = "conditions"; @SerializedName(SERIALIZED_NAME_CONDITIONS) @@ -418,3 +419,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodExtendedResourceClaimStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodExtendedResourceClaimStatus.java new file mode 100644 index 0000000000..8cad8eb9d2 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodExtendedResourceClaimStatus.java @@ -0,0 +1,268 @@ +/* + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package io.kubernetes.client.openapi.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.openapi.models.V1ContainerExtendedResourceRequest; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import io.kubernetes.client.openapi.JSON; + +/** + * PodExtendedResourceClaimStatus is stored in the PodStatus for the extended resource requests backed by DRA. It stores the generated name for the corresponding special ResourceClaim created by the scheduler. + */ +@ApiModel(description = "PodExtendedResourceClaimStatus is stored in the PodStatus for the extended resource requests backed by DRA. It stores the generated name for the corresponding special ResourceClaim created by the scheduler.") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1PodExtendedResourceClaimStatus { + public static final String SERIALIZED_NAME_REQUEST_MAPPINGS = "requestMappings"; + @SerializedName(SERIALIZED_NAME_REQUEST_MAPPINGS) + @jakarta.annotation.Nonnull + private List requestMappings = new ArrayList<>(); + + public static final String SERIALIZED_NAME_RESOURCE_CLAIM_NAME = "resourceClaimName"; + @SerializedName(SERIALIZED_NAME_RESOURCE_CLAIM_NAME) + @jakarta.annotation.Nonnull + private String resourceClaimName; + + public V1PodExtendedResourceClaimStatus() { + } + + public V1PodExtendedResourceClaimStatus requestMappings(@jakarta.annotation.Nonnull List requestMappings) { + this.requestMappings = requestMappings; + return this; + } + + public V1PodExtendedResourceClaimStatus addRequestMappingsItem(V1ContainerExtendedResourceRequest requestMappingsItem) { + if (this.requestMappings == null) { + this.requestMappings = new ArrayList<>(); + } + this.requestMappings.add(requestMappingsItem); + return this; + } + + /** + * RequestMappings identifies the mapping of <container, extended resource backed by DRA> to device request in the generated ResourceClaim. + * @return requestMappings + */ + @jakarta.annotation.Nonnull + @ApiModelProperty(required = true, value = "RequestMappings identifies the mapping of to device request in the generated ResourceClaim.") + public List getRequestMappings() { + return requestMappings; + } + + public void setRequestMappings(@jakarta.annotation.Nonnull List requestMappings) { + this.requestMappings = requestMappings; + } + + + public V1PodExtendedResourceClaimStatus resourceClaimName(@jakarta.annotation.Nonnull String resourceClaimName) { + this.resourceClaimName = resourceClaimName; + return this; + } + + /** + * ResourceClaimName is the name of the ResourceClaim that was generated for the Pod in the namespace of the Pod. + * @return resourceClaimName + */ + @jakarta.annotation.Nonnull + @ApiModelProperty(required = true, value = "ResourceClaimName is the name of the ResourceClaim that was generated for the Pod in the namespace of the Pod.") + public String getResourceClaimName() { + return resourceClaimName; + } + + public void setResourceClaimName(@jakarta.annotation.Nonnull String resourceClaimName) { + this.resourceClaimName = resourceClaimName; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1PodExtendedResourceClaimStatus v1PodExtendedResourceClaimStatus = (V1PodExtendedResourceClaimStatus) o; + return Objects.equals(this.requestMappings, v1PodExtendedResourceClaimStatus.requestMappings) && + Objects.equals(this.resourceClaimName, v1PodExtendedResourceClaimStatus.resourceClaimName); + } + + @Override + public int hashCode() { + return Objects.hash(requestMappings, resourceClaimName); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1PodExtendedResourceClaimStatus {\n"); + sb.append(" requestMappings: ").append(toIndentedString(requestMappings)).append("\n"); + sb.append(" resourceClaimName: ").append(toIndentedString(resourceClaimName)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("requestMappings"); + openapiFields.add("resourceClaimName"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("requestMappings"); + openapiRequiredFields.add("resourceClaimName"); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to V1PodExtendedResourceClaimStatus + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!V1PodExtendedResourceClaimStatus.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1PodExtendedResourceClaimStatus is not found in the empty JSON string", V1PodExtendedResourceClaimStatus.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!V1PodExtendedResourceClaimStatus.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1PodExtendedResourceClaimStatus` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : V1PodExtendedResourceClaimStatus.openapiRequiredFields) { + if (jsonElement.getAsJsonObject().get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + // ensure the json data is an array + if (!jsonObj.get("requestMappings").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `requestMappings` to be an array in the JSON string but got `%s`", jsonObj.get("requestMappings").toString())); + } + + JsonArray jsonArrayrequestMappings = jsonObj.getAsJsonArray("requestMappings"); + // validate the required field `requestMappings` (array) + for (int i = 0; i < jsonArrayrequestMappings.size(); i++) { + V1ContainerExtendedResourceRequest.validateJsonElement(jsonArrayrequestMappings.get(i)); + }; + if (!jsonObj.get("resourceClaimName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `resourceClaimName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("resourceClaimName").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!V1PodExtendedResourceClaimStatus.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1PodExtendedResourceClaimStatus' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1PodExtendedResourceClaimStatus.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, V1PodExtendedResourceClaimStatus value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public V1PodExtendedResourceClaimStatus read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of V1PodExtendedResourceClaimStatus given an JSON string + * + * @param jsonString JSON string + * @return An instance of V1PodExtendedResourceClaimStatus + * @throws IOException if the JSON string is invalid with respect to V1PodExtendedResourceClaimStatus + */ + public static V1PodExtendedResourceClaimStatus fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1PodExtendedResourceClaimStatus.class); + } + + /** + * Convert an instance of V1PodExtendedResourceClaimStatus to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodFailurePolicy.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodFailurePolicy.java index fdda1546b6..a4cc647379 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodFailurePolicy.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodFailurePolicy.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * PodFailurePolicy describes how failed pods influence the backoffLimit. */ @ApiModel(description = "PodFailurePolicy describes how failed pods influence the backoffLimit.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1PodFailurePolicy { public static final String SERIALIZED_NAME_RULES = "rules"; @SerializedName(SERIALIZED_NAME_RULES) @@ -232,3 +233,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodFailurePolicyOnExitCodesRequirement.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodFailurePolicyOnExitCodesRequirement.java index 58229bd0df..cfe20b9b92 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodFailurePolicyOnExitCodesRequirement.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodFailurePolicyOnExitCodesRequirement.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * PodFailurePolicyOnExitCodesRequirement describes the requirement for handling a failed pod based on its container exit codes. In particular, it lookups the .state.terminated.exitCode for each app container and init container status, represented by the .status.containerStatuses and .status.initContainerStatuses fields in the Pod status, respectively. Containers completed with success (exit code 0) are excluded from the requirement check. */ @ApiModel(description = "PodFailurePolicyOnExitCodesRequirement describes the requirement for handling a failed pod based on its container exit codes. In particular, it lookups the .state.terminated.exitCode for each app container and init container status, represented by the .status.containerStatuses and .status.initContainerStatuses fields in the Pod status, respectively. Containers completed with success (exit code 0) are excluded from the requirement check.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1PodFailurePolicyOnExitCodesRequirement { public static final String SERIALIZED_NAME_CONTAINER_NAME = "containerName"; @SerializedName(SERIALIZED_NAME_CONTAINER_NAME) @@ -290,3 +291,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodFailurePolicyOnPodConditionsPattern.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodFailurePolicyOnPodConditionsPattern.java index 05c8a4e52c..9f0d57ed1d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodFailurePolicyOnPodConditionsPattern.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodFailurePolicyOnPodConditionsPattern.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * PodFailurePolicyOnPodConditionsPattern describes a pattern for matching an actual pod condition type. */ @ApiModel(description = "PodFailurePolicyOnPodConditionsPattern describes a pattern for matching an actual pod condition type.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1PodFailurePolicyOnPodConditionsPattern { public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) @@ -246,3 +247,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodFailurePolicyRule.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodFailurePolicyRule.java index dd6e3b7195..50ed1a6d2d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodFailurePolicyRule.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodFailurePolicyRule.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * PodFailurePolicyRule describes how a pod failure is handled when the requirements are met. One of onExitCodes and onPodConditions, but not both, can be used in each rule. */ @ApiModel(description = "PodFailurePolicyRule describes how a pod failure is handled when the requirements are met. One of onExitCodes and onPodConditions, but not both, can be used in each rule.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1PodFailurePolicyRule { public static final String SERIALIZED_NAME_ACTION = "action"; @SerializedName(SERIALIZED_NAME_ACTION) @@ -300,3 +301,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodIP.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodIP.java index 6ae3824741..70d08fc9fa 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodIP.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodIP.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * PodIP represents a single IP address allocated to the pod. */ @ApiModel(description = "PodIP represents a single IP address allocated to the pod.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1PodIP { public static final String SERIALIZED_NAME_IP = "ip"; @SerializedName(SERIALIZED_NAME_IP) @@ -214,3 +215,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodList.java index ce73fbeb30..f24dcc41b2 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * PodList is a list of Pods. */ @ApiModel(description = "PodList is a list of Pods.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1PodList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodOS.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodOS.java index f22d876889..6f90b947d6 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodOS.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodOS.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * PodOS defines the OS parameters of a pod. */ @ApiModel(description = "PodOS defines the OS parameters of a pod.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1PodOS { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -214,3 +215,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodReadinessGate.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodReadinessGate.java index 4f9ba43127..9a52278039 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodReadinessGate.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodReadinessGate.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * PodReadinessGate contains the reference to a pod condition */ @ApiModel(description = "PodReadinessGate contains the reference to a pod condition") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1PodReadinessGate { public static final String SERIALIZED_NAME_CONDITION_TYPE = "conditionType"; @SerializedName(SERIALIZED_NAME_CONDITION_TYPE) @@ -214,3 +215,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodResourceClaim.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodResourceClaim.java index 9c8efa7c4f..a0087988e8 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodResourceClaim.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodResourceClaim.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * PodResourceClaim references exactly one ResourceClaim, either directly or by naming a ResourceClaimTemplate which is then turned into a ResourceClaim for the pod. 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. */ @ApiModel(description = "PodResourceClaim references exactly one ResourceClaim, either directly or by naming a ResourceClaimTemplate which is then turned into a ResourceClaim for the pod. 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.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1PodResourceClaim { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -276,3 +277,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodResourceClaimStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodResourceClaimStatus.java index ed9ade0e97..5a9a978201 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodResourceClaimStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodResourceClaimStatus.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * PodResourceClaimStatus is stored in the PodStatus for each PodResourceClaim which references a ResourceClaimTemplate. It stores the generated name for the corresponding ResourceClaim. */ @ApiModel(description = "PodResourceClaimStatus is stored in the PodStatus for each PodResourceClaim which references a ResourceClaimTemplate. It stores the generated name for the corresponding ResourceClaim.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1PodResourceClaimStatus { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -245,3 +246,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodSchedulingGate.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodSchedulingGate.java index 2feb14a3d9..129edd0804 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodSchedulingGate.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodSchedulingGate.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * PodSchedulingGate is associated to a Pod to guard its scheduling. */ @ApiModel(description = "PodSchedulingGate is associated to a Pod to guard its scheduling.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1PodSchedulingGate { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -214,3 +215,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodSecurityContext.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodSecurityContext.java index bac3ae59ef..336792ae50 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodSecurityContext.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodSecurityContext.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -57,7 +58,7 @@ * PodSecurityContext holds pod-level security attributes and common container settings. Some fields are also present in container.securityContext. Field values of container.securityContext take precedence over field values of PodSecurityContext. */ @ApiModel(description = "PodSecurityContext holds pod-level security attributes and common container settings. Some fields are also present in container.securityContext. Field values of container.securityContext take precedence over field values of PodSecurityContext.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1PodSecurityContext { public static final String SERIALIZED_NAME_APP_ARMOR_PROFILE = "appArmorProfile"; @SerializedName(SERIALIZED_NAME_APP_ARMOR_PROFILE) @@ -605,3 +606,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodSpec.java index bbfca6cd01..d84fadfd9e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodSpec.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -70,7 +71,7 @@ * PodSpec is a description of a pod. */ @ApiModel(description = "PodSpec is a description of a pod.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1PodSpec { public static final String SERIALIZED_NAME_ACTIVE_DEADLINE_SECONDS = "activeDeadlineSeconds"; @SerializedName(SERIALIZED_NAME_ACTIVE_DEADLINE_SECONDS) @@ -142,6 +143,11 @@ public class V1PodSpec { @jakarta.annotation.Nullable private String hostname; + public static final String SERIALIZED_NAME_HOSTNAME_OVERRIDE = "hostnameOverride"; + @SerializedName(SERIALIZED_NAME_HOSTNAME_OVERRIDE) + @jakarta.annotation.Nullable + private String hostnameOverride; + public static final String SERIALIZED_NAME_IMAGE_PULL_SECRETS = "imagePullSecrets"; @SerializedName(SERIALIZED_NAME_IMAGE_PULL_SECRETS) @jakarta.annotation.Nullable @@ -505,11 +511,11 @@ public V1PodSpec hostNetwork(@jakarta.annotation.Nullable Boolean hostNetwork) { } /** - * Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false. + * Host networking requested for this pod. Use the host's network namespace. When using HostNetwork you should specify ports so the scheduler is aware. When `hostNetwork` is true, specified `hostPort` fields in port definitions must match `containerPort`, and unspecified `hostPort` fields in port definitions are defaulted to match `containerPort`. Default to false. * @return hostNetwork */ @jakarta.annotation.Nullable - @ApiModelProperty(value = "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.") + @ApiModelProperty(value = "Host networking requested for this pod. Use the host's network namespace. When using HostNetwork you should specify ports so the scheduler is aware. When `hostNetwork` is true, specified `hostPort` fields in port definitions must match `containerPort`, and unspecified `hostPort` fields in port definitions are defaulted to match `containerPort`. Default to false.") public Boolean getHostNetwork() { return hostNetwork; } @@ -579,6 +585,26 @@ public void setHostname(@jakarta.annotation.Nullable String hostname) { } + public V1PodSpec hostnameOverride(@jakarta.annotation.Nullable String hostnameOverride) { + this.hostnameOverride = hostnameOverride; + return this; + } + + /** + * 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. When this field is set to a non-empty string: - It takes precedence over the values set in `hostname` and `subdomain`. - The Pod's hostname will be set to this value. - `setHostnameAsFQDN` must be nil or set to false. - `hostNetwork` must be set to false. 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. + * @return hostnameOverride + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "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. When this field is set to a non-empty string: - It takes precedence over the values set in `hostname` and `subdomain`. - The Pod's hostname will be set to this value. - `setHostnameAsFQDN` must be nil or set to false. - `hostNetwork` must be set to false. 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.") + public String getHostnameOverride() { + return hostnameOverride; + } + + public void setHostnameOverride(@jakarta.annotation.Nullable String hostnameOverride) { + this.hostnameOverride = hostnameOverride; + } + + public V1PodSpec imagePullSecrets(@jakarta.annotation.Nullable List imagePullSecrets) { this.imagePullSecrets = imagePullSecrets; return this; @@ -1203,6 +1229,7 @@ public boolean equals(Object o) { Objects.equals(this.hostPID, v1PodSpec.hostPID) && Objects.equals(this.hostUsers, v1PodSpec.hostUsers) && Objects.equals(this.hostname, v1PodSpec.hostname) && + Objects.equals(this.hostnameOverride, v1PodSpec.hostnameOverride) && Objects.equals(this.imagePullSecrets, v1PodSpec.imagePullSecrets) && Objects.equals(this.initContainers, v1PodSpec.initContainers) && Objects.equals(this.nodeName, v1PodSpec.nodeName) && @@ -1233,7 +1260,7 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(activeDeadlineSeconds, affinity, automountServiceAccountToken, containers, dnsConfig, dnsPolicy, enableServiceLinks, ephemeralContainers, hostAliases, hostIPC, hostNetwork, hostPID, hostUsers, hostname, imagePullSecrets, initContainers, nodeName, nodeSelector, os, overhead, preemptionPolicy, priority, priorityClassName, readinessGates, resourceClaims, resources, restartPolicy, runtimeClassName, schedulerName, schedulingGates, securityContext, serviceAccount, serviceAccountName, setHostnameAsFQDN, shareProcessNamespace, subdomain, terminationGracePeriodSeconds, tolerations, topologySpreadConstraints, volumes); + return Objects.hash(activeDeadlineSeconds, affinity, automountServiceAccountToken, containers, dnsConfig, dnsPolicy, enableServiceLinks, ephemeralContainers, hostAliases, hostIPC, hostNetwork, hostPID, hostUsers, hostname, hostnameOverride, imagePullSecrets, initContainers, nodeName, nodeSelector, os, overhead, preemptionPolicy, priority, priorityClassName, readinessGates, resourceClaims, resources, restartPolicy, runtimeClassName, schedulerName, schedulingGates, securityContext, serviceAccount, serviceAccountName, setHostnameAsFQDN, shareProcessNamespace, subdomain, terminationGracePeriodSeconds, tolerations, topologySpreadConstraints, volumes); } @Override @@ -1254,6 +1281,7 @@ public String toString() { sb.append(" hostPID: ").append(toIndentedString(hostPID)).append("\n"); sb.append(" hostUsers: ").append(toIndentedString(hostUsers)).append("\n"); sb.append(" hostname: ").append(toIndentedString(hostname)).append("\n"); + sb.append(" hostnameOverride: ").append(toIndentedString(hostnameOverride)).append("\n"); sb.append(" imagePullSecrets: ").append(toIndentedString(imagePullSecrets)).append("\n"); sb.append(" initContainers: ").append(toIndentedString(initContainers)).append("\n"); sb.append(" nodeName: ").append(toIndentedString(nodeName)).append("\n"); @@ -1316,6 +1344,7 @@ private String toIndentedString(Object o) { openapiFields.add("hostPID"); openapiFields.add("hostUsers"); openapiFields.add("hostname"); + openapiFields.add("hostnameOverride"); openapiFields.add("imagePullSecrets"); openapiFields.add("initContainers"); openapiFields.add("nodeName"); @@ -1428,6 +1457,9 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if ((jsonObj.get("hostname") != null && !jsonObj.get("hostname").isJsonNull()) && !jsonObj.get("hostname").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `hostname` to be a primitive type in the JSON string but got `%s`", jsonObj.get("hostname").toString())); } + if ((jsonObj.get("hostnameOverride") != null && !jsonObj.get("hostnameOverride").isJsonNull()) && !jsonObj.get("hostnameOverride").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `hostnameOverride` to be a primitive type in the JSON string but got `%s`", jsonObj.get("hostnameOverride").toString())); + } if (jsonObj.get("imagePullSecrets") != null && !jsonObj.get("imagePullSecrets").isJsonNull()) { JsonArray jsonArrayimagePullSecrets = jsonObj.getAsJsonArray("imagePullSecrets"); if (jsonArrayimagePullSecrets != null) { @@ -1630,3 +1662,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodStatus.java index f21f4cef14..c9d8150288 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1PodStatus.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -21,6 +22,7 @@ import io.kubernetes.client.openapi.models.V1ContainerStatus; import io.kubernetes.client.openapi.models.V1HostIP; import io.kubernetes.client.openapi.models.V1PodCondition; +import io.kubernetes.client.openapi.models.V1PodExtendedResourceClaimStatus; import io.kubernetes.client.openapi.models.V1PodIP; import io.kubernetes.client.openapi.models.V1PodResourceClaimStatus; import io.swagger.annotations.ApiModel; @@ -58,7 +60,7 @@ * PodStatus represents information about the status of a pod. Status may trail the actual state of a system, especially if the node that hosts the pod cannot contact the control plane. */ @ApiModel(description = "PodStatus represents information about the status of a pod. Status may trail the actual state of a system, especially if the node that hosts the pod cannot contact the control plane.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1PodStatus { public static final String SERIALIZED_NAME_CONDITIONS = "conditions"; @SerializedName(SERIALIZED_NAME_CONDITIONS) @@ -75,6 +77,11 @@ public class V1PodStatus { @jakarta.annotation.Nullable private List ephemeralContainerStatuses = new ArrayList<>(); + public static final String SERIALIZED_NAME_EXTENDED_RESOURCE_CLAIM_STATUS = "extendedResourceClaimStatus"; + @SerializedName(SERIALIZED_NAME_EXTENDED_RESOURCE_CLAIM_STATUS) + @jakarta.annotation.Nullable + private V1PodExtendedResourceClaimStatus extendedResourceClaimStatus; + public static final String SERIALIZED_NAME_HOST_I_P = "hostIP"; @SerializedName(SERIALIZED_NAME_HOST_I_P) @jakarta.annotation.Nullable @@ -232,6 +239,26 @@ public void setEphemeralContainerStatuses(@jakarta.annotation.Nullable List> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { - if (!V1alpha3ResourceClaimConsumerReference.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1alpha3ResourceClaimConsumerReference` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + if (!V1ResourceClaimConsumerReference.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1ResourceClaimConsumerReference` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } // check to make sure all required properties/fields are present in the JSON string - for (String requiredField : V1alpha3ResourceClaimConsumerReference.openapiRequiredFields) { + for (String requiredField : V1ResourceClaimConsumerReference.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); } @@ -264,22 +265,22 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1alpha3ResourceClaimConsumerReference.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1alpha3ResourceClaimConsumerReference' and its subtypes + if (!V1ResourceClaimConsumerReference.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1ResourceClaimConsumerReference' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1alpha3ResourceClaimConsumerReference.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1ResourceClaimConsumerReference.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, V1alpha3ResourceClaimConsumerReference value) throws IOException { + public void write(JsonWriter out, V1ResourceClaimConsumerReference value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public V1alpha3ResourceClaimConsumerReference read(JsonReader in) throws IOException { + public V1ResourceClaimConsumerReference read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -290,18 +291,18 @@ public V1alpha3ResourceClaimConsumerReference read(JsonReader in) throws IOExcep } /** - * Create an instance of V1alpha3ResourceClaimConsumerReference given an JSON string + * Create an instance of V1ResourceClaimConsumerReference given an JSON string * * @param jsonString JSON string - * @return An instance of V1alpha3ResourceClaimConsumerReference - * @throws IOException if the JSON string is invalid with respect to V1alpha3ResourceClaimConsumerReference + * @return An instance of V1ResourceClaimConsumerReference + * @throws IOException if the JSON string is invalid with respect to V1ResourceClaimConsumerReference */ - public static V1alpha3ResourceClaimConsumerReference fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1alpha3ResourceClaimConsumerReference.class); + public static V1ResourceClaimConsumerReference fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1ResourceClaimConsumerReference.class); } /** - * Convert an instance of V1alpha3ResourceClaimConsumerReference to an JSON string + * Convert an instance of V1ResourceClaimConsumerReference to an JSON string * * @return JSON string */ @@ -309,3 +310,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3ResourceClaimList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceClaimList.java similarity index 72% rename from kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3ResourceClaimList.java rename to kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceClaimList.java index 2f0cc50bb9..e797969bd6 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3ResourceClaimList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceClaimList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -18,8 +19,8 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.openapi.models.ResourceV1ResourceClaim; import io.kubernetes.client.openapi.models.V1ListMeta; -import io.kubernetes.client.openapi.models.V1alpha3ResourceClaim; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; @@ -54,8 +55,8 @@ * ResourceClaimList is a collection of claims. */ @ApiModel(description = "ResourceClaimList is a collection of claims.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") -public class V1alpha3ResourceClaimList implements io.kubernetes.client.common.KubernetesListObject { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1ResourceClaimList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @jakarta.annotation.Nullable @@ -64,7 +65,7 @@ public class V1alpha3ResourceClaimList implements io.kubernetes.client.common.Ku public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) @jakarta.annotation.Nonnull - private List items = new ArrayList<>(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; @SerializedName(SERIALIZED_NAME_KIND) @@ -76,10 +77,10 @@ public class V1alpha3ResourceClaimList implements io.kubernetes.client.common.Ku @jakarta.annotation.Nullable private V1ListMeta metadata; - public V1alpha3ResourceClaimList() { + public V1ResourceClaimList() { } - public V1alpha3ResourceClaimList apiVersion(@jakarta.annotation.Nullable String apiVersion) { + public V1ResourceClaimList apiVersion(@jakarta.annotation.Nullable String apiVersion) { this.apiVersion = apiVersion; return this; } @@ -99,12 +100,12 @@ public void setApiVersion(@jakarta.annotation.Nullable String apiVersion) { } - public V1alpha3ResourceClaimList items(@jakarta.annotation.Nonnull List items) { + public V1ResourceClaimList items(@jakarta.annotation.Nonnull List items) { this.items = items; return this; } - public V1alpha3ResourceClaimList addItemsItem(V1alpha3ResourceClaim itemsItem) { + public V1ResourceClaimList addItemsItem(ResourceV1ResourceClaim itemsItem) { if (this.items == null) { this.items = new ArrayList<>(); } @@ -118,16 +119,16 @@ public V1alpha3ResourceClaimList addItemsItem(V1alpha3ResourceClaim itemsItem) { */ @jakarta.annotation.Nonnull @ApiModelProperty(required = true, value = "Items is the list of resource claims.") - public List getItems() { + public List getItems() { return items; } - public void setItems(@jakarta.annotation.Nonnull List items) { + public void setItems(@jakarta.annotation.Nonnull List items) { this.items = items; } - public V1alpha3ResourceClaimList kind(@jakarta.annotation.Nullable String kind) { + public V1ResourceClaimList kind(@jakarta.annotation.Nullable String kind) { this.kind = kind; return this; } @@ -147,7 +148,7 @@ public void setKind(@jakarta.annotation.Nullable String kind) { } - public V1alpha3ResourceClaimList metadata(@jakarta.annotation.Nullable V1ListMeta metadata) { + public V1ResourceClaimList metadata(@jakarta.annotation.Nullable V1ListMeta metadata) { this.metadata = metadata; return this; } @@ -176,11 +177,11 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V1alpha3ResourceClaimList v1alpha3ResourceClaimList = (V1alpha3ResourceClaimList) o; - return Objects.equals(this.apiVersion, v1alpha3ResourceClaimList.apiVersion) && - Objects.equals(this.items, v1alpha3ResourceClaimList.items) && - Objects.equals(this.kind, v1alpha3ResourceClaimList.kind) && - Objects.equals(this.metadata, v1alpha3ResourceClaimList.metadata); + V1ResourceClaimList v1ResourceClaimList = (V1ResourceClaimList) o; + return Objects.equals(this.apiVersion, v1ResourceClaimList.apiVersion) && + Objects.equals(this.items, v1ResourceClaimList.items) && + Objects.equals(this.kind, v1ResourceClaimList.kind) && + Objects.equals(this.metadata, v1ResourceClaimList.metadata); } @Override @@ -191,7 +192,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V1alpha3ResourceClaimList {\n"); + sb.append("class V1ResourceClaimList {\n"); sb.append(" apiVersion: ").append(toIndentedString(apiVersion)).append("\n"); sb.append(" items: ").append(toIndentedString(items)).append("\n"); sb.append(" kind: ").append(toIndentedString(kind)).append("\n"); @@ -232,25 +233,25 @@ private String toIndentedString(Object o) { * Validates the JSON Element and throws an exception if issues found * * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to V1alpha3ResourceClaimList + * @throws IOException if the JSON Element is invalid with respect to V1ResourceClaimList */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - if (!V1alpha3ResourceClaimList.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in V1alpha3ResourceClaimList is not found in the empty JSON string", V1alpha3ResourceClaimList.openapiRequiredFields.toString())); + if (!V1ResourceClaimList.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1ResourceClaimList is not found in the empty JSON string", V1ResourceClaimList.openapiRequiredFields.toString())); } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { - if (!V1alpha3ResourceClaimList.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1alpha3ResourceClaimList` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + if (!V1ResourceClaimList.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1ResourceClaimList` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } // check to make sure all required properties/fields are present in the JSON string - for (String requiredField : V1alpha3ResourceClaimList.openapiRequiredFields) { + for (String requiredField : V1ResourceClaimList.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); } @@ -267,7 +268,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonArray jsonArrayitems = jsonObj.getAsJsonArray("items"); // validate the required field `items` (array) for (int i = 0; i < jsonArrayitems.size(); i++) { - V1alpha3ResourceClaim.validateJsonElement(jsonArrayitems.get(i)); + ResourceV1ResourceClaim.validateJsonElement(jsonArrayitems.get(i)); }; if ((jsonObj.get("kind") != null && !jsonObj.get("kind").isJsonNull()) && !jsonObj.get("kind").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `kind` to be a primitive type in the JSON string but got `%s`", jsonObj.get("kind").toString())); @@ -282,22 +283,22 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1alpha3ResourceClaimList.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1alpha3ResourceClaimList' and its subtypes + if (!V1ResourceClaimList.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1ResourceClaimList' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1alpha3ResourceClaimList.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1ResourceClaimList.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, V1alpha3ResourceClaimList value) throws IOException { + public void write(JsonWriter out, V1ResourceClaimList value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public V1alpha3ResourceClaimList read(JsonReader in) throws IOException { + public V1ResourceClaimList read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -308,18 +309,18 @@ public V1alpha3ResourceClaimList read(JsonReader in) throws IOException { } /** - * Create an instance of V1alpha3ResourceClaimList given an JSON string + * Create an instance of V1ResourceClaimList given an JSON string * * @param jsonString JSON string - * @return An instance of V1alpha3ResourceClaimList - * @throws IOException if the JSON string is invalid with respect to V1alpha3ResourceClaimList + * @return An instance of V1ResourceClaimList + * @throws IOException if the JSON string is invalid with respect to V1ResourceClaimList */ - public static V1alpha3ResourceClaimList fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1alpha3ResourceClaimList.class); + public static V1ResourceClaimList fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1ResourceClaimList.class); } /** - * Convert an instance of V1alpha3ResourceClaimList to an JSON string + * Convert an instance of V1ResourceClaimList to an JSON string * * @return JSON string */ @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3ResourceClaimSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceClaimSpec.java similarity index 63% rename from kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3ResourceClaimSpec.java rename to kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceClaimSpec.java index 97bc0fc519..7c1c840c5e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3ResourceClaimSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceClaimSpec.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -18,7 +19,7 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.kubernetes.client.openapi.models.V1alpha3DeviceClaim; +import io.kubernetes.client.openapi.models.V1DeviceClaim; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; @@ -51,17 +52,17 @@ * ResourceClaimSpec defines what is being requested in a ResourceClaim and how to configure it. */ @ApiModel(description = "ResourceClaimSpec defines what is being requested in a ResourceClaim and how to configure it.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") -public class V1alpha3ResourceClaimSpec { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1ResourceClaimSpec { public static final String SERIALIZED_NAME_DEVICES = "devices"; @SerializedName(SERIALIZED_NAME_DEVICES) @jakarta.annotation.Nullable - private V1alpha3DeviceClaim devices; + private V1DeviceClaim devices; - public V1alpha3ResourceClaimSpec() { + public V1ResourceClaimSpec() { } - public V1alpha3ResourceClaimSpec devices(@jakarta.annotation.Nullable V1alpha3DeviceClaim devices) { + public V1ResourceClaimSpec devices(@jakarta.annotation.Nullable V1DeviceClaim devices) { this.devices = devices; return this; } @@ -72,11 +73,11 @@ public V1alpha3ResourceClaimSpec devices(@jakarta.annotation.Nullable V1alpha3De */ @jakarta.annotation.Nullable @ApiModelProperty(value = "") - public V1alpha3DeviceClaim getDevices() { + public V1DeviceClaim getDevices() { return devices; } - public void setDevices(@jakarta.annotation.Nullable V1alpha3DeviceClaim devices) { + public void setDevices(@jakarta.annotation.Nullable V1DeviceClaim devices) { this.devices = devices; } @@ -90,8 +91,8 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V1alpha3ResourceClaimSpec v1alpha3ResourceClaimSpec = (V1alpha3ResourceClaimSpec) o; - return Objects.equals(this.devices, v1alpha3ResourceClaimSpec.devices); + V1ResourceClaimSpec v1ResourceClaimSpec = (V1ResourceClaimSpec) o; + return Objects.equals(this.devices, v1ResourceClaimSpec.devices); } @Override @@ -102,7 +103,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V1alpha3ResourceClaimSpec {\n"); + sb.append("class V1ResourceClaimSpec {\n"); sb.append(" devices: ").append(toIndentedString(devices)).append("\n"); sb.append("}"); return sb.toString(); @@ -136,26 +137,26 @@ private String toIndentedString(Object o) { * Validates the JSON Element and throws an exception if issues found * * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to V1alpha3ResourceClaimSpec + * @throws IOException if the JSON Element is invalid with respect to V1ResourceClaimSpec */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - if (!V1alpha3ResourceClaimSpec.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in V1alpha3ResourceClaimSpec is not found in the empty JSON string", V1alpha3ResourceClaimSpec.openapiRequiredFields.toString())); + if (!V1ResourceClaimSpec.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1ResourceClaimSpec is not found in the empty JSON string", V1ResourceClaimSpec.openapiRequiredFields.toString())); } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { - if (!V1alpha3ResourceClaimSpec.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1alpha3ResourceClaimSpec` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + if (!V1ResourceClaimSpec.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1ResourceClaimSpec` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); // validate the optional field `devices` if (jsonObj.get("devices") != null && !jsonObj.get("devices").isJsonNull()) { - V1alpha3DeviceClaim.validateJsonElement(jsonObj.get("devices")); + V1DeviceClaim.validateJsonElement(jsonObj.get("devices")); } } @@ -163,22 +164,22 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1alpha3ResourceClaimSpec.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1alpha3ResourceClaimSpec' and its subtypes + if (!V1ResourceClaimSpec.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1ResourceClaimSpec' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1alpha3ResourceClaimSpec.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1ResourceClaimSpec.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, V1alpha3ResourceClaimSpec value) throws IOException { + public void write(JsonWriter out, V1ResourceClaimSpec value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public V1alpha3ResourceClaimSpec read(JsonReader in) throws IOException { + public V1ResourceClaimSpec read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -189,18 +190,18 @@ public V1alpha3ResourceClaimSpec read(JsonReader in) throws IOException { } /** - * Create an instance of V1alpha3ResourceClaimSpec given an JSON string + * Create an instance of V1ResourceClaimSpec given an JSON string * * @param jsonString JSON string - * @return An instance of V1alpha3ResourceClaimSpec - * @throws IOException if the JSON string is invalid with respect to V1alpha3ResourceClaimSpec + * @return An instance of V1ResourceClaimSpec + * @throws IOException if the JSON string is invalid with respect to V1ResourceClaimSpec */ - public static V1alpha3ResourceClaimSpec fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1alpha3ResourceClaimSpec.class); + public static V1ResourceClaimSpec fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1ResourceClaimSpec.class); } /** - * Convert an instance of V1alpha3ResourceClaimSpec to an JSON string + * Convert an instance of V1ResourceClaimSpec to an JSON string * * @return JSON string */ @@ -208,3 +209,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3ResourceClaimStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceClaimStatus.java similarity index 69% rename from kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3ResourceClaimStatus.java rename to kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceClaimStatus.java index d7d8467dcd..9e9b2aee5b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3ResourceClaimStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceClaimStatus.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -18,9 +19,9 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.kubernetes.client.openapi.models.V1alpha3AllocatedDeviceStatus; -import io.kubernetes.client.openapi.models.V1alpha3AllocationResult; -import io.kubernetes.client.openapi.models.V1alpha3ResourceClaimConsumerReference; +import io.kubernetes.client.openapi.models.V1AllocatedDeviceStatus; +import io.kubernetes.client.openapi.models.V1AllocationResult; +import io.kubernetes.client.openapi.models.V1ResourceClaimConsumerReference; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; @@ -55,27 +56,27 @@ * ResourceClaimStatus tracks whether the resource has been allocated and what the result of that was. */ @ApiModel(description = "ResourceClaimStatus tracks whether the resource has been allocated and what the result of that was.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") -public class V1alpha3ResourceClaimStatus { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1ResourceClaimStatus { public static final String SERIALIZED_NAME_ALLOCATION = "allocation"; @SerializedName(SERIALIZED_NAME_ALLOCATION) @jakarta.annotation.Nullable - private V1alpha3AllocationResult allocation; + private V1AllocationResult allocation; public static final String SERIALIZED_NAME_DEVICES = "devices"; @SerializedName(SERIALIZED_NAME_DEVICES) @jakarta.annotation.Nullable - private List devices = new ArrayList<>(); + private List devices = new ArrayList<>(); public static final String SERIALIZED_NAME_RESERVED_FOR = "reservedFor"; @SerializedName(SERIALIZED_NAME_RESERVED_FOR) @jakarta.annotation.Nullable - private List reservedFor = new ArrayList<>(); + private List reservedFor = new ArrayList<>(); - public V1alpha3ResourceClaimStatus() { + public V1ResourceClaimStatus() { } - public V1alpha3ResourceClaimStatus allocation(@jakarta.annotation.Nullable V1alpha3AllocationResult allocation) { + public V1ResourceClaimStatus allocation(@jakarta.annotation.Nullable V1AllocationResult allocation) { this.allocation = allocation; return this; } @@ -86,21 +87,21 @@ public V1alpha3ResourceClaimStatus allocation(@jakarta.annotation.Nullable V1alp */ @jakarta.annotation.Nullable @ApiModelProperty(value = "") - public V1alpha3AllocationResult getAllocation() { + public V1AllocationResult getAllocation() { return allocation; } - public void setAllocation(@jakarta.annotation.Nullable V1alpha3AllocationResult allocation) { + public void setAllocation(@jakarta.annotation.Nullable V1AllocationResult allocation) { this.allocation = allocation; } - public V1alpha3ResourceClaimStatus devices(@jakarta.annotation.Nullable List devices) { + public V1ResourceClaimStatus devices(@jakarta.annotation.Nullable List devices) { this.devices = devices; return this; } - public V1alpha3ResourceClaimStatus addDevicesItem(V1alpha3AllocatedDeviceStatus devicesItem) { + public V1ResourceClaimStatus addDevicesItem(V1AllocatedDeviceStatus devicesItem) { if (this.devices == null) { this.devices = new ArrayList<>(); } @@ -114,21 +115,21 @@ public V1alpha3ResourceClaimStatus addDevicesItem(V1alpha3AllocatedDeviceStatus */ @jakarta.annotation.Nullable @ApiModelProperty(value = "Devices contains the status of each device allocated for this claim, as reported by the driver. This can include driver-specific information. Entries are owned by their respective drivers.") - public List getDevices() { + public List getDevices() { return devices; } - public void setDevices(@jakarta.annotation.Nullable List devices) { + public void setDevices(@jakarta.annotation.Nullable List devices) { this.devices = devices; } - public V1alpha3ResourceClaimStatus reservedFor(@jakarta.annotation.Nullable List reservedFor) { + public V1ResourceClaimStatus reservedFor(@jakarta.annotation.Nullable List reservedFor) { this.reservedFor = reservedFor; return this; } - public V1alpha3ResourceClaimStatus addReservedForItem(V1alpha3ResourceClaimConsumerReference reservedForItem) { + public V1ResourceClaimStatus addReservedForItem(V1ResourceClaimConsumerReference reservedForItem) { if (this.reservedFor == null) { this.reservedFor = new ArrayList<>(); } @@ -142,11 +143,11 @@ public V1alpha3ResourceClaimStatus addReservedForItem(V1alpha3ResourceClaimConsu */ @jakarta.annotation.Nullable @ApiModelProperty(value = "ReservedFor indicates which entities are currently allowed to use the claim. A Pod which references a ResourceClaim which is not reserved for that Pod will not be started. A claim that is in use or might be in use because it has been reserved must not get deallocated. In a cluster with multiple scheduler instances, two pods might get scheduled concurrently by different schedulers. When they reference the same ResourceClaim which already has reached its maximum number of consumers, only one pod can be scheduled. Both schedulers try to add their pod to the claim.status.reservedFor field, but only the update that reaches the API server first gets stored. The other one fails with an error and the scheduler which issued it knows that it must put the pod back into the queue, waiting for the ResourceClaim to become usable again. There can be at most 256 such reservations. This may get increased in the future, but not reduced.") - public List getReservedFor() { + public List getReservedFor() { return reservedFor; } - public void setReservedFor(@jakarta.annotation.Nullable List reservedFor) { + public void setReservedFor(@jakarta.annotation.Nullable List reservedFor) { this.reservedFor = reservedFor; } @@ -160,10 +161,10 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V1alpha3ResourceClaimStatus v1alpha3ResourceClaimStatus = (V1alpha3ResourceClaimStatus) o; - return Objects.equals(this.allocation, v1alpha3ResourceClaimStatus.allocation) && - Objects.equals(this.devices, v1alpha3ResourceClaimStatus.devices) && - Objects.equals(this.reservedFor, v1alpha3ResourceClaimStatus.reservedFor); + V1ResourceClaimStatus v1ResourceClaimStatus = (V1ResourceClaimStatus) o; + return Objects.equals(this.allocation, v1ResourceClaimStatus.allocation) && + Objects.equals(this.devices, v1ResourceClaimStatus.devices) && + Objects.equals(this.reservedFor, v1ResourceClaimStatus.reservedFor); } @Override @@ -174,7 +175,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V1alpha3ResourceClaimStatus {\n"); + sb.append("class V1ResourceClaimStatus {\n"); sb.append(" allocation: ").append(toIndentedString(allocation)).append("\n"); sb.append(" devices: ").append(toIndentedString(devices)).append("\n"); sb.append(" reservedFor: ").append(toIndentedString(reservedFor)).append("\n"); @@ -212,26 +213,26 @@ private String toIndentedString(Object o) { * Validates the JSON Element and throws an exception if issues found * * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to V1alpha3ResourceClaimStatus + * @throws IOException if the JSON Element is invalid with respect to V1ResourceClaimStatus */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - if (!V1alpha3ResourceClaimStatus.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in V1alpha3ResourceClaimStatus is not found in the empty JSON string", V1alpha3ResourceClaimStatus.openapiRequiredFields.toString())); + if (!V1ResourceClaimStatus.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1ResourceClaimStatus is not found in the empty JSON string", V1ResourceClaimStatus.openapiRequiredFields.toString())); } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { - if (!V1alpha3ResourceClaimStatus.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1alpha3ResourceClaimStatus` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + if (!V1ResourceClaimStatus.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1ResourceClaimStatus` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); // validate the optional field `allocation` if (jsonObj.get("allocation") != null && !jsonObj.get("allocation").isJsonNull()) { - V1alpha3AllocationResult.validateJsonElement(jsonObj.get("allocation")); + V1AllocationResult.validateJsonElement(jsonObj.get("allocation")); } if (jsonObj.get("devices") != null && !jsonObj.get("devices").isJsonNull()) { JsonArray jsonArraydevices = jsonObj.getAsJsonArray("devices"); @@ -243,7 +244,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // validate the optional field `devices` (array) for (int i = 0; i < jsonArraydevices.size(); i++) { - V1alpha3AllocatedDeviceStatus.validateJsonElement(jsonArraydevices.get(i)); + V1AllocatedDeviceStatus.validateJsonElement(jsonArraydevices.get(i)); }; } } @@ -257,7 +258,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // validate the optional field `reservedFor` (array) for (int i = 0; i < jsonArrayreservedFor.size(); i++) { - V1alpha3ResourceClaimConsumerReference.validateJsonElement(jsonArrayreservedFor.get(i)); + V1ResourceClaimConsumerReference.validateJsonElement(jsonArrayreservedFor.get(i)); }; } } @@ -267,22 +268,22 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1alpha3ResourceClaimStatus.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1alpha3ResourceClaimStatus' and its subtypes + if (!V1ResourceClaimStatus.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1ResourceClaimStatus' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1alpha3ResourceClaimStatus.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1ResourceClaimStatus.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, V1alpha3ResourceClaimStatus value) throws IOException { + public void write(JsonWriter out, V1ResourceClaimStatus value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public V1alpha3ResourceClaimStatus read(JsonReader in) throws IOException { + public V1ResourceClaimStatus read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -293,18 +294,18 @@ public V1alpha3ResourceClaimStatus read(JsonReader in) throws IOException { } /** - * Create an instance of V1alpha3ResourceClaimStatus given an JSON string + * Create an instance of V1ResourceClaimStatus given an JSON string * * @param jsonString JSON string - * @return An instance of V1alpha3ResourceClaimStatus - * @throws IOException if the JSON string is invalid with respect to V1alpha3ResourceClaimStatus + * @return An instance of V1ResourceClaimStatus + * @throws IOException if the JSON string is invalid with respect to V1ResourceClaimStatus */ - public static V1alpha3ResourceClaimStatus fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1alpha3ResourceClaimStatus.class); + public static V1ResourceClaimStatus fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1ResourceClaimStatus.class); } /** - * Convert an instance of V1alpha3ResourceClaimStatus to an JSON string + * Convert an instance of V1ResourceClaimStatus to an JSON string * * @return JSON string */ @@ -312,3 +313,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3ResourceClaimTemplate.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceClaimTemplate.java similarity index 71% rename from kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3ResourceClaimTemplate.java rename to kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceClaimTemplate.java index a452664c27..11092f7045 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3ResourceClaimTemplate.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceClaimTemplate.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -19,7 +20,7 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import io.kubernetes.client.openapi.models.V1ObjectMeta; -import io.kubernetes.client.openapi.models.V1alpha3ResourceClaimTemplateSpec; +import io.kubernetes.client.openapi.models.V1ResourceClaimTemplateSpec; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; @@ -52,8 +53,8 @@ * ResourceClaimTemplate is used to produce ResourceClaim objects. This is an alpha type and requires enabling the DynamicResourceAllocation feature gate. */ @ApiModel(description = "ResourceClaimTemplate is used to produce ResourceClaim objects. This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") -public class V1alpha3ResourceClaimTemplate implements io.kubernetes.client.common.KubernetesObject { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1ResourceClaimTemplate implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @jakarta.annotation.Nullable @@ -72,12 +73,12 @@ public class V1alpha3ResourceClaimTemplate implements io.kubernetes.client.commo public static final String SERIALIZED_NAME_SPEC = "spec"; @SerializedName(SERIALIZED_NAME_SPEC) @jakarta.annotation.Nonnull - private V1alpha3ResourceClaimTemplateSpec spec; + private V1ResourceClaimTemplateSpec spec; - public V1alpha3ResourceClaimTemplate() { + public V1ResourceClaimTemplate() { } - public V1alpha3ResourceClaimTemplate apiVersion(@jakarta.annotation.Nullable String apiVersion) { + public V1ResourceClaimTemplate apiVersion(@jakarta.annotation.Nullable String apiVersion) { this.apiVersion = apiVersion; return this; } @@ -97,7 +98,7 @@ public void setApiVersion(@jakarta.annotation.Nullable String apiVersion) { } - public V1alpha3ResourceClaimTemplate kind(@jakarta.annotation.Nullable String kind) { + public V1ResourceClaimTemplate kind(@jakarta.annotation.Nullable String kind) { this.kind = kind; return this; } @@ -117,7 +118,7 @@ public void setKind(@jakarta.annotation.Nullable String kind) { } - public V1alpha3ResourceClaimTemplate metadata(@jakarta.annotation.Nullable V1ObjectMeta metadata) { + public V1ResourceClaimTemplate metadata(@jakarta.annotation.Nullable V1ObjectMeta metadata) { this.metadata = metadata; return this; } @@ -137,7 +138,7 @@ public void setMetadata(@jakarta.annotation.Nullable V1ObjectMeta metadata) { } - public V1alpha3ResourceClaimTemplate spec(@jakarta.annotation.Nonnull V1alpha3ResourceClaimTemplateSpec spec) { + public V1ResourceClaimTemplate spec(@jakarta.annotation.Nonnull V1ResourceClaimTemplateSpec spec) { this.spec = spec; return this; } @@ -148,11 +149,11 @@ public V1alpha3ResourceClaimTemplate spec(@jakarta.annotation.Nonnull V1alpha3Re */ @jakarta.annotation.Nonnull @ApiModelProperty(required = true, value = "") - public V1alpha3ResourceClaimTemplateSpec getSpec() { + public V1ResourceClaimTemplateSpec getSpec() { return spec; } - public void setSpec(@jakarta.annotation.Nonnull V1alpha3ResourceClaimTemplateSpec spec) { + public void setSpec(@jakarta.annotation.Nonnull V1ResourceClaimTemplateSpec spec) { this.spec = spec; } @@ -166,11 +167,11 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V1alpha3ResourceClaimTemplate v1alpha3ResourceClaimTemplate = (V1alpha3ResourceClaimTemplate) o; - return Objects.equals(this.apiVersion, v1alpha3ResourceClaimTemplate.apiVersion) && - Objects.equals(this.kind, v1alpha3ResourceClaimTemplate.kind) && - Objects.equals(this.metadata, v1alpha3ResourceClaimTemplate.metadata) && - Objects.equals(this.spec, v1alpha3ResourceClaimTemplate.spec); + V1ResourceClaimTemplate v1ResourceClaimTemplate = (V1ResourceClaimTemplate) o; + return Objects.equals(this.apiVersion, v1ResourceClaimTemplate.apiVersion) && + Objects.equals(this.kind, v1ResourceClaimTemplate.kind) && + Objects.equals(this.metadata, v1ResourceClaimTemplate.metadata) && + Objects.equals(this.spec, v1ResourceClaimTemplate.spec); } @Override @@ -181,7 +182,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V1alpha3ResourceClaimTemplate {\n"); + sb.append("class V1ResourceClaimTemplate {\n"); sb.append(" apiVersion: ").append(toIndentedString(apiVersion)).append("\n"); sb.append(" kind: ").append(toIndentedString(kind)).append("\n"); sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); @@ -222,25 +223,25 @@ private String toIndentedString(Object o) { * Validates the JSON Element and throws an exception if issues found * * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to V1alpha3ResourceClaimTemplate + * @throws IOException if the JSON Element is invalid with respect to V1ResourceClaimTemplate */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - if (!V1alpha3ResourceClaimTemplate.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in V1alpha3ResourceClaimTemplate is not found in the empty JSON string", V1alpha3ResourceClaimTemplate.openapiRequiredFields.toString())); + if (!V1ResourceClaimTemplate.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1ResourceClaimTemplate is not found in the empty JSON string", V1ResourceClaimTemplate.openapiRequiredFields.toString())); } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { - if (!V1alpha3ResourceClaimTemplate.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1alpha3ResourceClaimTemplate` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + if (!V1ResourceClaimTemplate.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1ResourceClaimTemplate` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } // check to make sure all required properties/fields are present in the JSON string - for (String requiredField : V1alpha3ResourceClaimTemplate.openapiRequiredFields) { + for (String requiredField : V1ResourceClaimTemplate.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); } @@ -257,29 +258,29 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti V1ObjectMeta.validateJsonElement(jsonObj.get("metadata")); } // validate the required field `spec` - V1alpha3ResourceClaimTemplateSpec.validateJsonElement(jsonObj.get("spec")); + V1ResourceClaimTemplateSpec.validateJsonElement(jsonObj.get("spec")); } public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1alpha3ResourceClaimTemplate.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1alpha3ResourceClaimTemplate' and its subtypes + if (!V1ResourceClaimTemplate.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1ResourceClaimTemplate' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1alpha3ResourceClaimTemplate.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1ResourceClaimTemplate.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, V1alpha3ResourceClaimTemplate value) throws IOException { + public void write(JsonWriter out, V1ResourceClaimTemplate value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public V1alpha3ResourceClaimTemplate read(JsonReader in) throws IOException { + public V1ResourceClaimTemplate read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -290,18 +291,18 @@ public V1alpha3ResourceClaimTemplate read(JsonReader in) throws IOException { } /** - * Create an instance of V1alpha3ResourceClaimTemplate given an JSON string + * Create an instance of V1ResourceClaimTemplate given an JSON string * * @param jsonString JSON string - * @return An instance of V1alpha3ResourceClaimTemplate - * @throws IOException if the JSON string is invalid with respect to V1alpha3ResourceClaimTemplate + * @return An instance of V1ResourceClaimTemplate + * @throws IOException if the JSON string is invalid with respect to V1ResourceClaimTemplate */ - public static V1alpha3ResourceClaimTemplate fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1alpha3ResourceClaimTemplate.class); + public static V1ResourceClaimTemplate fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1ResourceClaimTemplate.class); } /** - * Convert an instance of V1alpha3ResourceClaimTemplate to an JSON string + * Convert an instance of V1ResourceClaimTemplate to an JSON string * * @return JSON string */ @@ -309,3 +310,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceClaimTemplateList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceClaimTemplateList.java new file mode 100644 index 0000000000..9af91248a8 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceClaimTemplateList.java @@ -0,0 +1,331 @@ +/* + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package io.kubernetes.client.openapi.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.openapi.models.V1ListMeta; +import io.kubernetes.client.openapi.models.V1ResourceClaimTemplate; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import io.kubernetes.client.openapi.JSON; + +/** + * ResourceClaimTemplateList is a collection of claim templates. + */ +@ApiModel(description = "ResourceClaimTemplateList is a collection of claim templates.") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1ResourceClaimTemplateList implements io.kubernetes.client.common.KubernetesListObject { + public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; + @SerializedName(SERIALIZED_NAME_API_VERSION) + @jakarta.annotation.Nullable + private String apiVersion; + + public static final String SERIALIZED_NAME_ITEMS = "items"; + @SerializedName(SERIALIZED_NAME_ITEMS) + @jakarta.annotation.Nonnull + private List items = new ArrayList<>(); + + public static final String SERIALIZED_NAME_KIND = "kind"; + @SerializedName(SERIALIZED_NAME_KIND) + @jakarta.annotation.Nullable + private String kind; + + public static final String SERIALIZED_NAME_METADATA = "metadata"; + @SerializedName(SERIALIZED_NAME_METADATA) + @jakarta.annotation.Nullable + private V1ListMeta metadata; + + public V1ResourceClaimTemplateList() { + } + + public V1ResourceClaimTemplateList apiVersion(@jakarta.annotation.Nullable String apiVersion) { + this.apiVersion = apiVersion; + return this; + } + + /** + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + * @return apiVersion + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources") + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(@jakarta.annotation.Nullable String apiVersion) { + this.apiVersion = apiVersion; + } + + + public V1ResourceClaimTemplateList items(@jakarta.annotation.Nonnull List items) { + this.items = items; + return this; + } + + public V1ResourceClaimTemplateList addItemsItem(V1ResourceClaimTemplate itemsItem) { + if (this.items == null) { + this.items = new ArrayList<>(); + } + this.items.add(itemsItem); + return this; + } + + /** + * Items is the list of resource claim templates. + * @return items + */ + @jakarta.annotation.Nonnull + @ApiModelProperty(required = true, value = "Items is the list of resource claim templates.") + public List getItems() { + return items; + } + + public void setItems(@jakarta.annotation.Nonnull List items) { + this.items = items; + } + + + public V1ResourceClaimTemplateList kind(@jakarta.annotation.Nullable String kind) { + this.kind = kind; + return this; + } + + /** + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + * @return kind + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds") + public String getKind() { + return kind; + } + + public void setKind(@jakarta.annotation.Nullable String kind) { + this.kind = kind; + } + + + public V1ResourceClaimTemplateList metadata(@jakarta.annotation.Nullable V1ListMeta metadata) { + this.metadata = metadata; + return this; + } + + /** + * Get metadata + * @return metadata + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "") + public V1ListMeta getMetadata() { + return metadata; + } + + public void setMetadata(@jakarta.annotation.Nullable V1ListMeta metadata) { + this.metadata = metadata; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1ResourceClaimTemplateList v1ResourceClaimTemplateList = (V1ResourceClaimTemplateList) o; + return Objects.equals(this.apiVersion, v1ResourceClaimTemplateList.apiVersion) && + Objects.equals(this.items, v1ResourceClaimTemplateList.items) && + Objects.equals(this.kind, v1ResourceClaimTemplateList.kind) && + Objects.equals(this.metadata, v1ResourceClaimTemplateList.metadata); + } + + @Override + public int hashCode() { + return Objects.hash(apiVersion, items, kind, metadata); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1ResourceClaimTemplateList {\n"); + sb.append(" apiVersion: ").append(toIndentedString(apiVersion)).append("\n"); + sb.append(" items: ").append(toIndentedString(items)).append("\n"); + sb.append(" kind: ").append(toIndentedString(kind)).append("\n"); + sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("apiVersion"); + openapiFields.add("items"); + openapiFields.add("kind"); + openapiFields.add("metadata"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("items"); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to V1ResourceClaimTemplateList + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!V1ResourceClaimTemplateList.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1ResourceClaimTemplateList is not found in the empty JSON string", V1ResourceClaimTemplateList.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!V1ResourceClaimTemplateList.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1ResourceClaimTemplateList` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : V1ResourceClaimTemplateList.openapiRequiredFields) { + if (jsonElement.getAsJsonObject().get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("apiVersion") != null && !jsonObj.get("apiVersion").isJsonNull()) && !jsonObj.get("apiVersion").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `apiVersion` to be a primitive type in the JSON string but got `%s`", jsonObj.get("apiVersion").toString())); + } + // ensure the json data is an array + if (!jsonObj.get("items").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `items` to be an array in the JSON string but got `%s`", jsonObj.get("items").toString())); + } + + JsonArray jsonArrayitems = jsonObj.getAsJsonArray("items"); + // validate the required field `items` (array) + for (int i = 0; i < jsonArrayitems.size(); i++) { + V1ResourceClaimTemplate.validateJsonElement(jsonArrayitems.get(i)); + }; + if ((jsonObj.get("kind") != null && !jsonObj.get("kind").isJsonNull()) && !jsonObj.get("kind").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `kind` to be a primitive type in the JSON string but got `%s`", jsonObj.get("kind").toString())); + } + // validate the optional field `metadata` + if (jsonObj.get("metadata") != null && !jsonObj.get("metadata").isJsonNull()) { + V1ListMeta.validateJsonElement(jsonObj.get("metadata")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!V1ResourceClaimTemplateList.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1ResourceClaimTemplateList' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1ResourceClaimTemplateList.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, V1ResourceClaimTemplateList value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public V1ResourceClaimTemplateList read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of V1ResourceClaimTemplateList given an JSON string + * + * @param jsonString JSON string + * @return An instance of V1ResourceClaimTemplateList + * @throws IOException if the JSON string is invalid with respect to V1ResourceClaimTemplateList + */ + public static V1ResourceClaimTemplateList fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1ResourceClaimTemplateList.class); + } + + /** + * Convert an instance of V1ResourceClaimTemplateList to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3ResourceClaimTemplateSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceClaimTemplateSpec.java similarity index 64% rename from kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3ResourceClaimTemplateSpec.java rename to kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceClaimTemplateSpec.java index 9cc9ef76de..faafec0d5e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3ResourceClaimTemplateSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceClaimTemplateSpec.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -19,7 +20,7 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import io.kubernetes.client.openapi.models.V1ObjectMeta; -import io.kubernetes.client.openapi.models.V1alpha3ResourceClaimSpec; +import io.kubernetes.client.openapi.models.V1ResourceClaimSpec; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; @@ -52,8 +53,8 @@ * ResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim. */ @ApiModel(description = "ResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") -public class V1alpha3ResourceClaimTemplateSpec { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1ResourceClaimTemplateSpec { public static final String SERIALIZED_NAME_METADATA = "metadata"; @SerializedName(SERIALIZED_NAME_METADATA) @jakarta.annotation.Nullable @@ -62,12 +63,12 @@ public class V1alpha3ResourceClaimTemplateSpec { public static final String SERIALIZED_NAME_SPEC = "spec"; @SerializedName(SERIALIZED_NAME_SPEC) @jakarta.annotation.Nonnull - private V1alpha3ResourceClaimSpec spec; + private V1ResourceClaimSpec spec; - public V1alpha3ResourceClaimTemplateSpec() { + public V1ResourceClaimTemplateSpec() { } - public V1alpha3ResourceClaimTemplateSpec metadata(@jakarta.annotation.Nullable V1ObjectMeta metadata) { + public V1ResourceClaimTemplateSpec metadata(@jakarta.annotation.Nullable V1ObjectMeta metadata) { this.metadata = metadata; return this; } @@ -87,7 +88,7 @@ public void setMetadata(@jakarta.annotation.Nullable V1ObjectMeta metadata) { } - public V1alpha3ResourceClaimTemplateSpec spec(@jakarta.annotation.Nonnull V1alpha3ResourceClaimSpec spec) { + public V1ResourceClaimTemplateSpec spec(@jakarta.annotation.Nonnull V1ResourceClaimSpec spec) { this.spec = spec; return this; } @@ -98,11 +99,11 @@ public V1alpha3ResourceClaimTemplateSpec spec(@jakarta.annotation.Nonnull V1alph */ @jakarta.annotation.Nonnull @ApiModelProperty(required = true, value = "") - public V1alpha3ResourceClaimSpec getSpec() { + public V1ResourceClaimSpec getSpec() { return spec; } - public void setSpec(@jakarta.annotation.Nonnull V1alpha3ResourceClaimSpec spec) { + public void setSpec(@jakarta.annotation.Nonnull V1ResourceClaimSpec spec) { this.spec = spec; } @@ -116,9 +117,9 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V1alpha3ResourceClaimTemplateSpec v1alpha3ResourceClaimTemplateSpec = (V1alpha3ResourceClaimTemplateSpec) o; - return Objects.equals(this.metadata, v1alpha3ResourceClaimTemplateSpec.metadata) && - Objects.equals(this.spec, v1alpha3ResourceClaimTemplateSpec.spec); + V1ResourceClaimTemplateSpec v1ResourceClaimTemplateSpec = (V1ResourceClaimTemplateSpec) o; + return Objects.equals(this.metadata, v1ResourceClaimTemplateSpec.metadata) && + Objects.equals(this.spec, v1ResourceClaimTemplateSpec.spec); } @Override @@ -129,7 +130,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V1alpha3ResourceClaimTemplateSpec {\n"); + sb.append("class V1ResourceClaimTemplateSpec {\n"); sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); sb.append(" spec: ").append(toIndentedString(spec)).append("\n"); sb.append("}"); @@ -166,25 +167,25 @@ private String toIndentedString(Object o) { * Validates the JSON Element and throws an exception if issues found * * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to V1alpha3ResourceClaimTemplateSpec + * @throws IOException if the JSON Element is invalid with respect to V1ResourceClaimTemplateSpec */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - if (!V1alpha3ResourceClaimTemplateSpec.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in V1alpha3ResourceClaimTemplateSpec is not found in the empty JSON string", V1alpha3ResourceClaimTemplateSpec.openapiRequiredFields.toString())); + if (!V1ResourceClaimTemplateSpec.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1ResourceClaimTemplateSpec is not found in the empty JSON string", V1ResourceClaimTemplateSpec.openapiRequiredFields.toString())); } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { - if (!V1alpha3ResourceClaimTemplateSpec.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1alpha3ResourceClaimTemplateSpec` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + if (!V1ResourceClaimTemplateSpec.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1ResourceClaimTemplateSpec` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } // check to make sure all required properties/fields are present in the JSON string - for (String requiredField : V1alpha3ResourceClaimTemplateSpec.openapiRequiredFields) { + for (String requiredField : V1ResourceClaimTemplateSpec.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); } @@ -195,29 +196,29 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti V1ObjectMeta.validateJsonElement(jsonObj.get("metadata")); } // validate the required field `spec` - V1alpha3ResourceClaimSpec.validateJsonElement(jsonObj.get("spec")); + V1ResourceClaimSpec.validateJsonElement(jsonObj.get("spec")); } public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1alpha3ResourceClaimTemplateSpec.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1alpha3ResourceClaimTemplateSpec' and its subtypes + if (!V1ResourceClaimTemplateSpec.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1ResourceClaimTemplateSpec' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1alpha3ResourceClaimTemplateSpec.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1ResourceClaimTemplateSpec.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, V1alpha3ResourceClaimTemplateSpec value) throws IOException { + public void write(JsonWriter out, V1ResourceClaimTemplateSpec value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public V1alpha3ResourceClaimTemplateSpec read(JsonReader in) throws IOException { + public V1ResourceClaimTemplateSpec read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -228,18 +229,18 @@ public V1alpha3ResourceClaimTemplateSpec read(JsonReader in) throws IOException } /** - * Create an instance of V1alpha3ResourceClaimTemplateSpec given an JSON string + * Create an instance of V1ResourceClaimTemplateSpec given an JSON string * * @param jsonString JSON string - * @return An instance of V1alpha3ResourceClaimTemplateSpec - * @throws IOException if the JSON string is invalid with respect to V1alpha3ResourceClaimTemplateSpec + * @return An instance of V1ResourceClaimTemplateSpec + * @throws IOException if the JSON string is invalid with respect to V1ResourceClaimTemplateSpec */ - public static V1alpha3ResourceClaimTemplateSpec fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1alpha3ResourceClaimTemplateSpec.class); + public static V1ResourceClaimTemplateSpec fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1ResourceClaimTemplateSpec.class); } /** - * Convert an instance of V1alpha3ResourceClaimTemplateSpec to an JSON string + * Convert an instance of V1ResourceClaimTemplateSpec to an JSON string * * @return JSON string */ @@ -247,3 +248,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceFieldSelector.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceFieldSelector.java index bc4a59621b..f7d681e6d9 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceFieldSelector.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceFieldSelector.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * ResourceFieldSelector represents container resources (cpu, memory) and their output format */ @ApiModel(description = "ResourceFieldSelector represents container resources (cpu, memory) and their output format") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ResourceFieldSelector { public static final String SERIALIZED_NAME_CONTAINER_NAME = "containerName"; @SerializedName(SERIALIZED_NAME_CONTAINER_NAME) @@ -277,3 +278,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceHealth.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceHealth.java index 084e544246..acc6de6dc3 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceHealth.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceHealth.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * ResourceHealth represents the health of a resource. It has the latest device health information. This is a part of KEP https://kep.k8s.io/4680. */ @ApiModel(description = "ResourceHealth represents the health of a resource. It has the latest device health information. This is a part of KEP https://kep.k8s.io/4680.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ResourceHealth { public static final String SERIALIZED_NAME_HEALTH = "health"; @SerializedName(SERIALIZED_NAME_HEALTH) @@ -245,3 +246,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourcePolicyRule.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourcePolicyRule.java index 1152fc44e6..76eb5bd32b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourcePolicyRule.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourcePolicyRule.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * ResourcePolicyRule is a predicate that matches some resource requests, testing the request's verb and the target resource. A ResourcePolicyRule matches a resource request if and only if: (a) at least one member of verbs matches the request, (b) at least one member of apiGroups matches the request, (c) at least one member of resources matches the request, and (d) either (d1) the request does not specify a namespace (i.e., `Namespace==\"\"`) and clusterScope is true or (d2) the request specifies a namespace and least one member of namespaces matches the request's namespace. */ @ApiModel(description = "ResourcePolicyRule is a predicate that matches some resource requests, testing the request's verb and the target resource. A ResourcePolicyRule matches a resource request if and only if: (a) at least one member of verbs matches the request, (b) at least one member of apiGroups matches the request, (c) at least one member of resources matches the request, and (d) either (d1) the request does not specify a namespace (i.e., `Namespace==\"\"`) and clusterScope is true or (d2) the request specifies a namespace and least one member of namespaces matches the request's namespace.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ResourcePolicyRule { public static final String SERIALIZED_NAME_API_GROUPS = "apiGroups"; @SerializedName(SERIALIZED_NAME_API_GROUPS) @@ -381,3 +382,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3ResourcePool.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourcePool.java similarity index 76% rename from kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3ResourcePool.java rename to kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourcePool.java index 9fcff89725..0d467d543b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3ResourcePool.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourcePool.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,8 +51,8 @@ * ResourcePool describes the pool that ResourceSlices belong to. */ @ApiModel(description = "ResourcePool describes the pool that ResourceSlices belong to.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") -public class V1alpha3ResourcePool { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1ResourcePool { public static final String SERIALIZED_NAME_GENERATION = "generation"; @SerializedName(SERIALIZED_NAME_GENERATION) @jakarta.annotation.Nonnull @@ -67,10 +68,10 @@ public class V1alpha3ResourcePool { @jakarta.annotation.Nonnull private Long resourceSliceCount; - public V1alpha3ResourcePool() { + public V1ResourcePool() { } - public V1alpha3ResourcePool generation(@jakarta.annotation.Nonnull Long generation) { + public V1ResourcePool generation(@jakarta.annotation.Nonnull Long generation) { this.generation = generation; return this; } @@ -90,7 +91,7 @@ public void setGeneration(@jakarta.annotation.Nonnull Long generation) { } - public V1alpha3ResourcePool name(@jakarta.annotation.Nonnull String name) { + public V1ResourcePool name(@jakarta.annotation.Nonnull String name) { this.name = name; return this; } @@ -110,7 +111,7 @@ public void setName(@jakarta.annotation.Nonnull String name) { } - public V1alpha3ResourcePool resourceSliceCount(@jakarta.annotation.Nonnull Long resourceSliceCount) { + public V1ResourcePool resourceSliceCount(@jakarta.annotation.Nonnull Long resourceSliceCount) { this.resourceSliceCount = resourceSliceCount; return this; } @@ -139,10 +140,10 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V1alpha3ResourcePool v1alpha3ResourcePool = (V1alpha3ResourcePool) o; - return Objects.equals(this.generation, v1alpha3ResourcePool.generation) && - Objects.equals(this.name, v1alpha3ResourcePool.name) && - Objects.equals(this.resourceSliceCount, v1alpha3ResourcePool.resourceSliceCount); + V1ResourcePool v1ResourcePool = (V1ResourcePool) o; + return Objects.equals(this.generation, v1ResourcePool.generation) && + Objects.equals(this.name, v1ResourcePool.name) && + Objects.equals(this.resourceSliceCount, v1ResourcePool.resourceSliceCount); } @Override @@ -153,7 +154,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V1alpha3ResourcePool {\n"); + sb.append("class V1ResourcePool {\n"); sb.append(" generation: ").append(toIndentedString(generation)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append(" resourceSliceCount: ").append(toIndentedString(resourceSliceCount)).append("\n"); @@ -194,25 +195,25 @@ private String toIndentedString(Object o) { * Validates the JSON Element and throws an exception if issues found * * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to V1alpha3ResourcePool + * @throws IOException if the JSON Element is invalid with respect to V1ResourcePool */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - if (!V1alpha3ResourcePool.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in V1alpha3ResourcePool is not found in the empty JSON string", V1alpha3ResourcePool.openapiRequiredFields.toString())); + if (!V1ResourcePool.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1ResourcePool is not found in the empty JSON string", V1ResourcePool.openapiRequiredFields.toString())); } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { - if (!V1alpha3ResourcePool.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1alpha3ResourcePool` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + if (!V1ResourcePool.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1ResourcePool` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } // check to make sure all required properties/fields are present in the JSON string - for (String requiredField : V1alpha3ResourcePool.openapiRequiredFields) { + for (String requiredField : V1ResourcePool.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); } @@ -227,22 +228,22 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1alpha3ResourcePool.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1alpha3ResourcePool' and its subtypes + if (!V1ResourcePool.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1ResourcePool' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1alpha3ResourcePool.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1ResourcePool.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, V1alpha3ResourcePool value) throws IOException { + public void write(JsonWriter out, V1ResourcePool value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public V1alpha3ResourcePool read(JsonReader in) throws IOException { + public V1ResourcePool read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -253,18 +254,18 @@ public V1alpha3ResourcePool read(JsonReader in) throws IOException { } /** - * Create an instance of V1alpha3ResourcePool given an JSON string + * Create an instance of V1ResourcePool given an JSON string * * @param jsonString JSON string - * @return An instance of V1alpha3ResourcePool - * @throws IOException if the JSON string is invalid with respect to V1alpha3ResourcePool + * @return An instance of V1ResourcePool + * @throws IOException if the JSON string is invalid with respect to V1ResourcePool */ - public static V1alpha3ResourcePool fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1alpha3ResourcePool.class); + public static V1ResourcePool fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1ResourcePool.class); } /** - * Convert an instance of V1alpha3ResourcePool to an JSON string + * Convert an instance of V1ResourcePool to an JSON string * * @return JSON string */ @@ -272,3 +273,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceQuota.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceQuota.java index f5002c80b4..cad9094c5b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceQuota.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceQuota.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * ResourceQuota sets aggregate quota restrictions enforced per namespace */ @ApiModel(description = "ResourceQuota sets aggregate quota restrictions enforced per namespace") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ResourceQuota implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -336,3 +337,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceQuotaList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceQuotaList.java index 2d04c36e88..b539444bb4 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceQuotaList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceQuotaList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * ResourceQuotaList is a list of ResourceQuota items. */ @ApiModel(description = "ResourceQuotaList is a list of ResourceQuota items.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ResourceQuotaList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceQuotaSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceQuotaSpec.java index aa1d1584af..b09193ac8d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceQuotaSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceQuotaSpec.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -56,7 +57,7 @@ * ResourceQuotaSpec defines the desired hard limits to enforce for Quota. */ @ApiModel(description = "ResourceQuotaSpec defines the desired hard limits to enforce for Quota.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ResourceQuotaSpec { public static final String SERIALIZED_NAME_HARD = "hard"; @SerializedName(SERIALIZED_NAME_HARD) @@ -289,3 +290,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceQuotaStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceQuotaStatus.java index b967fc024e..591105a736 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceQuotaStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceQuotaStatus.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * ResourceQuotaStatus defines the enforced hard limits and observed use. */ @ApiModel(description = "ResourceQuotaStatus defines the enforced hard limits and observed use.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ResourceQuotaStatus { public static final String SERIALIZED_NAME_HARD = "hard"; @SerializedName(SERIALIZED_NAME_HARD) @@ -250,3 +251,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceRequirements.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceRequirements.java index 1cf3efba53..9c354090ff 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceRequirements.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceRequirements.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -19,7 +20,7 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import io.kubernetes.client.custom.Quantity; -import io.kubernetes.client.openapi.models.V1ResourceClaim; +import io.kubernetes.client.openapi.models.CoreV1ResourceClaim; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; @@ -56,12 +57,12 @@ * ResourceRequirements describes the compute resource requirements. */ @ApiModel(description = "ResourceRequirements describes the compute resource requirements.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ResourceRequirements { public static final String SERIALIZED_NAME_CLAIMS = "claims"; @SerializedName(SERIALIZED_NAME_CLAIMS) @jakarta.annotation.Nullable - private List claims = new ArrayList<>(); + private List claims = new ArrayList<>(); public static final String SERIALIZED_NAME_LIMITS = "limits"; @SerializedName(SERIALIZED_NAME_LIMITS) @@ -76,12 +77,12 @@ public class V1ResourceRequirements { public V1ResourceRequirements() { } - public V1ResourceRequirements claims(@jakarta.annotation.Nullable List claims) { + public V1ResourceRequirements claims(@jakarta.annotation.Nullable List claims) { this.claims = claims; return this; } - public V1ResourceRequirements addClaimsItem(V1ResourceClaim claimsItem) { + public V1ResourceRequirements addClaimsItem(CoreV1ResourceClaim claimsItem) { if (this.claims == null) { this.claims = new ArrayList<>(); } @@ -90,16 +91,16 @@ public V1ResourceRequirements addClaimsItem(V1ResourceClaim claimsItem) { } /** - * Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. This field is immutable. It can only be set for containers. + * Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. This field depends on the DynamicResourceAllocation feature gate. This field is immutable. It can only be set for containers. * @return claims */ @jakarta.annotation.Nullable - @ApiModelProperty(value = "Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. This field is immutable. It can only be set for containers.") - public List getClaims() { + @ApiModelProperty(value = "Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. This field depends on the DynamicResourceAllocation feature gate. This field is immutable. It can only be set for containers.") + public List getClaims() { return claims; } - public void setClaims(@jakarta.annotation.Nullable List claims) { + public void setClaims(@jakarta.annotation.Nullable List claims) { this.claims = claims; } @@ -248,7 +249,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // validate the optional field `claims` (array) for (int i = 0; i < jsonArrayclaims.size(); i++) { - V1ResourceClaim.validateJsonElement(jsonArrayclaims.get(i)); + CoreV1ResourceClaim.validateJsonElement(jsonArrayclaims.get(i)); }; } } @@ -303,3 +304,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceRule.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceRule.java index b2d6bc38a1..1695a174fd 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceRule.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceRule.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * ResourceRule is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete. */ @ApiModel(description = "ResourceRule is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ResourceRule { public static final String SERIALIZED_NAME_API_GROUPS = "apiGroups"; @SerializedName(SERIALIZED_NAME_API_GROUPS) @@ -347,3 +348,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3ResourceSlice.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceSlice.java similarity index 78% rename from kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3ResourceSlice.java rename to kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceSlice.java index b2db8ebea1..cd71d8a17e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3ResourceSlice.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceSlice.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -19,7 +20,7 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import io.kubernetes.client.openapi.models.V1ObjectMeta; -import io.kubernetes.client.openapi.models.V1alpha3ResourceSliceSpec; +import io.kubernetes.client.openapi.models.V1ResourceSliceSpec; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; @@ -52,8 +53,8 @@ * ResourceSlice represents one or more resources in a pool of similar resources, managed by a common driver. A pool may span more than one ResourceSlice, and exactly how many ResourceSlices comprise a pool is determined by the driver. At the moment, the only supported resources are devices with attributes and capacities. Each device in a given pool, regardless of how many ResourceSlices, must have a unique name. The ResourceSlice in which a device gets published may change over time. The unique identifier for a device is the tuple <driver name>, <pool name>, <device name>. Whenever a driver needs to update a pool, it increments the pool.Spec.Pool.Generation number and updates all ResourceSlices with that new number and new resource definitions. A consumer must only use ResourceSlices with the highest generation number and ignore all others. When allocating all resources in a pool matching certain criteria or when looking for the best solution among several different alternatives, a consumer should check the number of ResourceSlices in a pool (included in each ResourceSlice) to determine whether its view of a pool is complete and if not, should wait until the driver has completed updating the pool. For resources that are not local to a node, the node name is not set. Instead, the driver may use a node selector to specify where the devices are available. This is an alpha type and requires enabling the DynamicResourceAllocation feature gate. */ @ApiModel(description = "ResourceSlice represents one or more resources in a pool of similar resources, managed by a common driver. A pool may span more than one ResourceSlice, and exactly how many ResourceSlices comprise a pool is determined by the driver. At the moment, the only supported resources are devices with attributes and capacities. Each device in a given pool, regardless of how many ResourceSlices, must have a unique name. The ResourceSlice in which a device gets published may change over time. The unique identifier for a device is the tuple , , . Whenever a driver needs to update a pool, it increments the pool.Spec.Pool.Generation number and updates all ResourceSlices with that new number and new resource definitions. A consumer must only use ResourceSlices with the highest generation number and ignore all others. When allocating all resources in a pool matching certain criteria or when looking for the best solution among several different alternatives, a consumer should check the number of ResourceSlices in a pool (included in each ResourceSlice) to determine whether its view of a pool is complete and if not, should wait until the driver has completed updating the pool. For resources that are not local to a node, the node name is not set. Instead, the driver may use a node selector to specify where the devices are available. This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") -public class V1alpha3ResourceSlice implements io.kubernetes.client.common.KubernetesObject { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1ResourceSlice implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @jakarta.annotation.Nullable @@ -72,12 +73,12 @@ public class V1alpha3ResourceSlice implements io.kubernetes.client.common.Kubern public static final String SERIALIZED_NAME_SPEC = "spec"; @SerializedName(SERIALIZED_NAME_SPEC) @jakarta.annotation.Nonnull - private V1alpha3ResourceSliceSpec spec; + private V1ResourceSliceSpec spec; - public V1alpha3ResourceSlice() { + public V1ResourceSlice() { } - public V1alpha3ResourceSlice apiVersion(@jakarta.annotation.Nullable String apiVersion) { + public V1ResourceSlice apiVersion(@jakarta.annotation.Nullable String apiVersion) { this.apiVersion = apiVersion; return this; } @@ -97,7 +98,7 @@ public void setApiVersion(@jakarta.annotation.Nullable String apiVersion) { } - public V1alpha3ResourceSlice kind(@jakarta.annotation.Nullable String kind) { + public V1ResourceSlice kind(@jakarta.annotation.Nullable String kind) { this.kind = kind; return this; } @@ -117,7 +118,7 @@ public void setKind(@jakarta.annotation.Nullable String kind) { } - public V1alpha3ResourceSlice metadata(@jakarta.annotation.Nullable V1ObjectMeta metadata) { + public V1ResourceSlice metadata(@jakarta.annotation.Nullable V1ObjectMeta metadata) { this.metadata = metadata; return this; } @@ -137,7 +138,7 @@ public void setMetadata(@jakarta.annotation.Nullable V1ObjectMeta metadata) { } - public V1alpha3ResourceSlice spec(@jakarta.annotation.Nonnull V1alpha3ResourceSliceSpec spec) { + public V1ResourceSlice spec(@jakarta.annotation.Nonnull V1ResourceSliceSpec spec) { this.spec = spec; return this; } @@ -148,11 +149,11 @@ public V1alpha3ResourceSlice spec(@jakarta.annotation.Nonnull V1alpha3ResourceSl */ @jakarta.annotation.Nonnull @ApiModelProperty(required = true, value = "") - public V1alpha3ResourceSliceSpec getSpec() { + public V1ResourceSliceSpec getSpec() { return spec; } - public void setSpec(@jakarta.annotation.Nonnull V1alpha3ResourceSliceSpec spec) { + public void setSpec(@jakarta.annotation.Nonnull V1ResourceSliceSpec spec) { this.spec = spec; } @@ -166,11 +167,11 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V1alpha3ResourceSlice v1alpha3ResourceSlice = (V1alpha3ResourceSlice) o; - return Objects.equals(this.apiVersion, v1alpha3ResourceSlice.apiVersion) && - Objects.equals(this.kind, v1alpha3ResourceSlice.kind) && - Objects.equals(this.metadata, v1alpha3ResourceSlice.metadata) && - Objects.equals(this.spec, v1alpha3ResourceSlice.spec); + V1ResourceSlice v1ResourceSlice = (V1ResourceSlice) o; + return Objects.equals(this.apiVersion, v1ResourceSlice.apiVersion) && + Objects.equals(this.kind, v1ResourceSlice.kind) && + Objects.equals(this.metadata, v1ResourceSlice.metadata) && + Objects.equals(this.spec, v1ResourceSlice.spec); } @Override @@ -181,7 +182,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V1alpha3ResourceSlice {\n"); + sb.append("class V1ResourceSlice {\n"); sb.append(" apiVersion: ").append(toIndentedString(apiVersion)).append("\n"); sb.append(" kind: ").append(toIndentedString(kind)).append("\n"); sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); @@ -222,25 +223,25 @@ private String toIndentedString(Object o) { * Validates the JSON Element and throws an exception if issues found * * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to V1alpha3ResourceSlice + * @throws IOException if the JSON Element is invalid with respect to V1ResourceSlice */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - if (!V1alpha3ResourceSlice.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in V1alpha3ResourceSlice is not found in the empty JSON string", V1alpha3ResourceSlice.openapiRequiredFields.toString())); + if (!V1ResourceSlice.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1ResourceSlice is not found in the empty JSON string", V1ResourceSlice.openapiRequiredFields.toString())); } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { - if (!V1alpha3ResourceSlice.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1alpha3ResourceSlice` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + if (!V1ResourceSlice.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1ResourceSlice` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } // check to make sure all required properties/fields are present in the JSON string - for (String requiredField : V1alpha3ResourceSlice.openapiRequiredFields) { + for (String requiredField : V1ResourceSlice.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); } @@ -257,29 +258,29 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti V1ObjectMeta.validateJsonElement(jsonObj.get("metadata")); } // validate the required field `spec` - V1alpha3ResourceSliceSpec.validateJsonElement(jsonObj.get("spec")); + V1ResourceSliceSpec.validateJsonElement(jsonObj.get("spec")); } public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1alpha3ResourceSlice.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1alpha3ResourceSlice' and its subtypes + if (!V1ResourceSlice.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1ResourceSlice' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1alpha3ResourceSlice.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1ResourceSlice.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, V1alpha3ResourceSlice value) throws IOException { + public void write(JsonWriter out, V1ResourceSlice value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public V1alpha3ResourceSlice read(JsonReader in) throws IOException { + public V1ResourceSlice read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -290,18 +291,18 @@ public V1alpha3ResourceSlice read(JsonReader in) throws IOException { } /** - * Create an instance of V1alpha3ResourceSlice given an JSON string + * Create an instance of V1ResourceSlice given an JSON string * * @param jsonString JSON string - * @return An instance of V1alpha3ResourceSlice - * @throws IOException if the JSON string is invalid with respect to V1alpha3ResourceSlice + * @return An instance of V1ResourceSlice + * @throws IOException if the JSON string is invalid with respect to V1ResourceSlice */ - public static V1alpha3ResourceSlice fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1alpha3ResourceSlice.class); + public static V1ResourceSlice fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1ResourceSlice.class); } /** - * Convert an instance of V1alpha3ResourceSlice to an JSON string + * Convert an instance of V1ResourceSlice to an JSON string * * @return JSON string */ @@ -309,3 +310,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3ResourceSliceList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceSliceList.java similarity index 73% rename from kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3ResourceSliceList.java rename to kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceSliceList.java index d5c0a9e33e..04f37df75e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3ResourceSliceList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceSliceList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -19,7 +20,7 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import io.kubernetes.client.openapi.models.V1ListMeta; -import io.kubernetes.client.openapi.models.V1alpha3ResourceSlice; +import io.kubernetes.client.openapi.models.V1ResourceSlice; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; @@ -54,8 +55,8 @@ * ResourceSliceList is a collection of ResourceSlices. */ @ApiModel(description = "ResourceSliceList is a collection of ResourceSlices.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") -public class V1alpha3ResourceSliceList implements io.kubernetes.client.common.KubernetesListObject { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1ResourceSliceList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @jakarta.annotation.Nullable @@ -64,7 +65,7 @@ public class V1alpha3ResourceSliceList implements io.kubernetes.client.common.Ku public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) @jakarta.annotation.Nonnull - private List items = new ArrayList<>(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; @SerializedName(SERIALIZED_NAME_KIND) @@ -76,10 +77,10 @@ public class V1alpha3ResourceSliceList implements io.kubernetes.client.common.Ku @jakarta.annotation.Nullable private V1ListMeta metadata; - public V1alpha3ResourceSliceList() { + public V1ResourceSliceList() { } - public V1alpha3ResourceSliceList apiVersion(@jakarta.annotation.Nullable String apiVersion) { + public V1ResourceSliceList apiVersion(@jakarta.annotation.Nullable String apiVersion) { this.apiVersion = apiVersion; return this; } @@ -99,12 +100,12 @@ public void setApiVersion(@jakarta.annotation.Nullable String apiVersion) { } - public V1alpha3ResourceSliceList items(@jakarta.annotation.Nonnull List items) { + public V1ResourceSliceList items(@jakarta.annotation.Nonnull List items) { this.items = items; return this; } - public V1alpha3ResourceSliceList addItemsItem(V1alpha3ResourceSlice itemsItem) { + public V1ResourceSliceList addItemsItem(V1ResourceSlice itemsItem) { if (this.items == null) { this.items = new ArrayList<>(); } @@ -118,16 +119,16 @@ public V1alpha3ResourceSliceList addItemsItem(V1alpha3ResourceSlice itemsItem) { */ @jakarta.annotation.Nonnull @ApiModelProperty(required = true, value = "Items is the list of resource ResourceSlices.") - public List getItems() { + public List getItems() { return items; } - public void setItems(@jakarta.annotation.Nonnull List items) { + public void setItems(@jakarta.annotation.Nonnull List items) { this.items = items; } - public V1alpha3ResourceSliceList kind(@jakarta.annotation.Nullable String kind) { + public V1ResourceSliceList kind(@jakarta.annotation.Nullable String kind) { this.kind = kind; return this; } @@ -147,7 +148,7 @@ public void setKind(@jakarta.annotation.Nullable String kind) { } - public V1alpha3ResourceSliceList metadata(@jakarta.annotation.Nullable V1ListMeta metadata) { + public V1ResourceSliceList metadata(@jakarta.annotation.Nullable V1ListMeta metadata) { this.metadata = metadata; return this; } @@ -176,11 +177,11 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V1alpha3ResourceSliceList v1alpha3ResourceSliceList = (V1alpha3ResourceSliceList) o; - return Objects.equals(this.apiVersion, v1alpha3ResourceSliceList.apiVersion) && - Objects.equals(this.items, v1alpha3ResourceSliceList.items) && - Objects.equals(this.kind, v1alpha3ResourceSliceList.kind) && - Objects.equals(this.metadata, v1alpha3ResourceSliceList.metadata); + V1ResourceSliceList v1ResourceSliceList = (V1ResourceSliceList) o; + return Objects.equals(this.apiVersion, v1ResourceSliceList.apiVersion) && + Objects.equals(this.items, v1ResourceSliceList.items) && + Objects.equals(this.kind, v1ResourceSliceList.kind) && + Objects.equals(this.metadata, v1ResourceSliceList.metadata); } @Override @@ -191,7 +192,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V1alpha3ResourceSliceList {\n"); + sb.append("class V1ResourceSliceList {\n"); sb.append(" apiVersion: ").append(toIndentedString(apiVersion)).append("\n"); sb.append(" items: ").append(toIndentedString(items)).append("\n"); sb.append(" kind: ").append(toIndentedString(kind)).append("\n"); @@ -232,25 +233,25 @@ private String toIndentedString(Object o) { * Validates the JSON Element and throws an exception if issues found * * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to V1alpha3ResourceSliceList + * @throws IOException if the JSON Element is invalid with respect to V1ResourceSliceList */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - if (!V1alpha3ResourceSliceList.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in V1alpha3ResourceSliceList is not found in the empty JSON string", V1alpha3ResourceSliceList.openapiRequiredFields.toString())); + if (!V1ResourceSliceList.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1ResourceSliceList is not found in the empty JSON string", V1ResourceSliceList.openapiRequiredFields.toString())); } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { - if (!V1alpha3ResourceSliceList.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1alpha3ResourceSliceList` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + if (!V1ResourceSliceList.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1ResourceSliceList` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } // check to make sure all required properties/fields are present in the JSON string - for (String requiredField : V1alpha3ResourceSliceList.openapiRequiredFields) { + for (String requiredField : V1ResourceSliceList.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); } @@ -267,7 +268,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonArray jsonArrayitems = jsonObj.getAsJsonArray("items"); // validate the required field `items` (array) for (int i = 0; i < jsonArrayitems.size(); i++) { - V1alpha3ResourceSlice.validateJsonElement(jsonArrayitems.get(i)); + V1ResourceSlice.validateJsonElement(jsonArrayitems.get(i)); }; if ((jsonObj.get("kind") != null && !jsonObj.get("kind").isJsonNull()) && !jsonObj.get("kind").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `kind` to be a primitive type in the JSON string but got `%s`", jsonObj.get("kind").toString())); @@ -282,22 +283,22 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1alpha3ResourceSliceList.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1alpha3ResourceSliceList' and its subtypes + if (!V1ResourceSliceList.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1ResourceSliceList' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1alpha3ResourceSliceList.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1ResourceSliceList.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, V1alpha3ResourceSliceList value) throws IOException { + public void write(JsonWriter out, V1ResourceSliceList value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public V1alpha3ResourceSliceList read(JsonReader in) throws IOException { + public V1ResourceSliceList read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -308,18 +309,18 @@ public V1alpha3ResourceSliceList read(JsonReader in) throws IOException { } /** - * Create an instance of V1alpha3ResourceSliceList given an JSON string + * Create an instance of V1ResourceSliceList given an JSON string * * @param jsonString JSON string - * @return An instance of V1alpha3ResourceSliceList - * @throws IOException if the JSON string is invalid with respect to V1alpha3ResourceSliceList + * @return An instance of V1ResourceSliceList + * @throws IOException if the JSON string is invalid with respect to V1ResourceSliceList */ - public static V1alpha3ResourceSliceList fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1alpha3ResourceSliceList.class); + public static V1ResourceSliceList fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1ResourceSliceList.class); } /** - * Convert an instance of V1alpha3ResourceSliceList to an JSON string + * Convert an instance of V1ResourceSliceList to an JSON string * * @return JSON string */ @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3ResourceSliceSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceSliceSpec.java similarity index 75% rename from kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3ResourceSliceSpec.java rename to kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceSliceSpec.java index f27d8f359a..6ca3e2882a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3ResourceSliceSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceSliceSpec.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -18,10 +19,10 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.openapi.models.V1CounterSet; +import io.kubernetes.client.openapi.models.V1Device; import io.kubernetes.client.openapi.models.V1NodeSelector; -import io.kubernetes.client.openapi.models.V1alpha3CounterSet; -import io.kubernetes.client.openapi.models.V1alpha3Device; -import io.kubernetes.client.openapi.models.V1alpha3ResourcePool; +import io.kubernetes.client.openapi.models.V1ResourcePool; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; @@ -56,8 +57,8 @@ * ResourceSliceSpec contains the information published by the driver in one ResourceSlice. */ @ApiModel(description = "ResourceSliceSpec contains the information published by the driver in one ResourceSlice.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") -public class V1alpha3ResourceSliceSpec { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1ResourceSliceSpec { public static final String SERIALIZED_NAME_ALL_NODES = "allNodes"; @SerializedName(SERIALIZED_NAME_ALL_NODES) @jakarta.annotation.Nullable @@ -66,7 +67,7 @@ public class V1alpha3ResourceSliceSpec { public static final String SERIALIZED_NAME_DEVICES = "devices"; @SerializedName(SERIALIZED_NAME_DEVICES) @jakarta.annotation.Nullable - private List devices = new ArrayList<>(); + private List devices = new ArrayList<>(); public static final String SERIALIZED_NAME_DRIVER = "driver"; @SerializedName(SERIALIZED_NAME_DRIVER) @@ -91,17 +92,17 @@ public class V1alpha3ResourceSliceSpec { public static final String SERIALIZED_NAME_POOL = "pool"; @SerializedName(SERIALIZED_NAME_POOL) @jakarta.annotation.Nonnull - private V1alpha3ResourcePool pool; + private V1ResourcePool pool; public static final String SERIALIZED_NAME_SHARED_COUNTERS = "sharedCounters"; @SerializedName(SERIALIZED_NAME_SHARED_COUNTERS) @jakarta.annotation.Nullable - private List sharedCounters = new ArrayList<>(); + private List sharedCounters = new ArrayList<>(); - public V1alpha3ResourceSliceSpec() { + public V1ResourceSliceSpec() { } - public V1alpha3ResourceSliceSpec allNodes(@jakarta.annotation.Nullable Boolean allNodes) { + public V1ResourceSliceSpec allNodes(@jakarta.annotation.Nullable Boolean allNodes) { this.allNodes = allNodes; return this; } @@ -121,12 +122,12 @@ public void setAllNodes(@jakarta.annotation.Nullable Boolean allNodes) { } - public V1alpha3ResourceSliceSpec devices(@jakarta.annotation.Nullable List devices) { + public V1ResourceSliceSpec devices(@jakarta.annotation.Nullable List devices) { this.devices = devices; return this; } - public V1alpha3ResourceSliceSpec addDevicesItem(V1alpha3Device devicesItem) { + public V1ResourceSliceSpec addDevicesItem(V1Device devicesItem) { if (this.devices == null) { this.devices = new ArrayList<>(); } @@ -140,16 +141,16 @@ public V1alpha3ResourceSliceSpec addDevicesItem(V1alpha3Device devicesItem) { */ @jakarta.annotation.Nullable @ApiModelProperty(value = "Devices lists some or all of the devices in this pool. Must not have more than 128 entries.") - public List getDevices() { + public List getDevices() { return devices; } - public void setDevices(@jakarta.annotation.Nullable List devices) { + public void setDevices(@jakarta.annotation.Nullable List devices) { this.devices = devices; } - public V1alpha3ResourceSliceSpec driver(@jakarta.annotation.Nonnull String driver) { + public V1ResourceSliceSpec driver(@jakarta.annotation.Nonnull String driver) { this.driver = driver; return this; } @@ -169,7 +170,7 @@ public void setDriver(@jakarta.annotation.Nonnull String driver) { } - public V1alpha3ResourceSliceSpec nodeName(@jakarta.annotation.Nullable String nodeName) { + public V1ResourceSliceSpec nodeName(@jakarta.annotation.Nullable String nodeName) { this.nodeName = nodeName; return this; } @@ -189,7 +190,7 @@ public void setNodeName(@jakarta.annotation.Nullable String nodeName) { } - public V1alpha3ResourceSliceSpec nodeSelector(@jakarta.annotation.Nullable V1NodeSelector nodeSelector) { + public V1ResourceSliceSpec nodeSelector(@jakarta.annotation.Nullable V1NodeSelector nodeSelector) { this.nodeSelector = nodeSelector; return this; } @@ -209,7 +210,7 @@ public void setNodeSelector(@jakarta.annotation.Nullable V1NodeSelector nodeSele } - public V1alpha3ResourceSliceSpec perDeviceNodeSelection(@jakarta.annotation.Nullable Boolean perDeviceNodeSelection) { + public V1ResourceSliceSpec perDeviceNodeSelection(@jakarta.annotation.Nullable Boolean perDeviceNodeSelection) { this.perDeviceNodeSelection = perDeviceNodeSelection; return this; } @@ -229,7 +230,7 @@ public void setPerDeviceNodeSelection(@jakarta.annotation.Nullable Boolean perDe } - public V1alpha3ResourceSliceSpec pool(@jakarta.annotation.Nonnull V1alpha3ResourcePool pool) { + public V1ResourceSliceSpec pool(@jakarta.annotation.Nonnull V1ResourcePool pool) { this.pool = pool; return this; } @@ -240,21 +241,21 @@ public V1alpha3ResourceSliceSpec pool(@jakarta.annotation.Nonnull V1alpha3Resour */ @jakarta.annotation.Nonnull @ApiModelProperty(required = true, value = "") - public V1alpha3ResourcePool getPool() { + public V1ResourcePool getPool() { return pool; } - public void setPool(@jakarta.annotation.Nonnull V1alpha3ResourcePool pool) { + public void setPool(@jakarta.annotation.Nonnull V1ResourcePool pool) { this.pool = pool; } - public V1alpha3ResourceSliceSpec sharedCounters(@jakarta.annotation.Nullable List sharedCounters) { + public V1ResourceSliceSpec sharedCounters(@jakarta.annotation.Nullable List sharedCounters) { this.sharedCounters = sharedCounters; return this; } - public V1alpha3ResourceSliceSpec addSharedCountersItem(V1alpha3CounterSet sharedCountersItem) { + public V1ResourceSliceSpec addSharedCountersItem(V1CounterSet sharedCountersItem) { if (this.sharedCounters == null) { this.sharedCounters = new ArrayList<>(); } @@ -263,16 +264,16 @@ public V1alpha3ResourceSliceSpec addSharedCountersItem(V1alpha3CounterSet shared } /** - * SharedCounters defines a list of counter sets, each of which has a name and a list of counters available. The names of the SharedCounters must be unique in the ResourceSlice. The maximum number of SharedCounters is 32. + * SharedCounters defines a list of counter sets, each of which has a name and a list of counters available. The names of the SharedCounters must be unique in the ResourceSlice. The maximum number of counters in all sets is 32. * @return sharedCounters */ @jakarta.annotation.Nullable - @ApiModelProperty(value = "SharedCounters defines a list of counter sets, each of which has a name and a list of counters available. The names of the SharedCounters must be unique in the ResourceSlice. The maximum number of SharedCounters is 32.") - public List getSharedCounters() { + @ApiModelProperty(value = "SharedCounters defines a list of counter sets, each of which has a name and a list of counters available. The names of the SharedCounters must be unique in the ResourceSlice. The maximum number of counters in all sets is 32.") + public List getSharedCounters() { return sharedCounters; } - public void setSharedCounters(@jakarta.annotation.Nullable List sharedCounters) { + public void setSharedCounters(@jakarta.annotation.Nullable List sharedCounters) { this.sharedCounters = sharedCounters; } @@ -286,15 +287,15 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V1alpha3ResourceSliceSpec v1alpha3ResourceSliceSpec = (V1alpha3ResourceSliceSpec) o; - return Objects.equals(this.allNodes, v1alpha3ResourceSliceSpec.allNodes) && - Objects.equals(this.devices, v1alpha3ResourceSliceSpec.devices) && - Objects.equals(this.driver, v1alpha3ResourceSliceSpec.driver) && - Objects.equals(this.nodeName, v1alpha3ResourceSliceSpec.nodeName) && - Objects.equals(this.nodeSelector, v1alpha3ResourceSliceSpec.nodeSelector) && - Objects.equals(this.perDeviceNodeSelection, v1alpha3ResourceSliceSpec.perDeviceNodeSelection) && - Objects.equals(this.pool, v1alpha3ResourceSliceSpec.pool) && - Objects.equals(this.sharedCounters, v1alpha3ResourceSliceSpec.sharedCounters); + V1ResourceSliceSpec v1ResourceSliceSpec = (V1ResourceSliceSpec) o; + return Objects.equals(this.allNodes, v1ResourceSliceSpec.allNodes) && + Objects.equals(this.devices, v1ResourceSliceSpec.devices) && + Objects.equals(this.driver, v1ResourceSliceSpec.driver) && + Objects.equals(this.nodeName, v1ResourceSliceSpec.nodeName) && + Objects.equals(this.nodeSelector, v1ResourceSliceSpec.nodeSelector) && + Objects.equals(this.perDeviceNodeSelection, v1ResourceSliceSpec.perDeviceNodeSelection) && + Objects.equals(this.pool, v1ResourceSliceSpec.pool) && + Objects.equals(this.sharedCounters, v1ResourceSliceSpec.sharedCounters); } @Override @@ -305,7 +306,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V1alpha3ResourceSliceSpec {\n"); + sb.append("class V1ResourceSliceSpec {\n"); sb.append(" allNodes: ").append(toIndentedString(allNodes)).append("\n"); sb.append(" devices: ").append(toIndentedString(devices)).append("\n"); sb.append(" driver: ").append(toIndentedString(driver)).append("\n"); @@ -355,25 +356,25 @@ private String toIndentedString(Object o) { * Validates the JSON Element and throws an exception if issues found * * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to V1alpha3ResourceSliceSpec + * @throws IOException if the JSON Element is invalid with respect to V1ResourceSliceSpec */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - if (!V1alpha3ResourceSliceSpec.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in V1alpha3ResourceSliceSpec is not found in the empty JSON string", V1alpha3ResourceSliceSpec.openapiRequiredFields.toString())); + if (!V1ResourceSliceSpec.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1ResourceSliceSpec is not found in the empty JSON string", V1ResourceSliceSpec.openapiRequiredFields.toString())); } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { - if (!V1alpha3ResourceSliceSpec.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1alpha3ResourceSliceSpec` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + if (!V1ResourceSliceSpec.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1ResourceSliceSpec` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } // check to make sure all required properties/fields are present in the JSON string - for (String requiredField : V1alpha3ResourceSliceSpec.openapiRequiredFields) { + for (String requiredField : V1ResourceSliceSpec.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); } @@ -389,7 +390,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // validate the optional field `devices` (array) for (int i = 0; i < jsonArraydevices.size(); i++) { - V1alpha3Device.validateJsonElement(jsonArraydevices.get(i)); + V1Device.validateJsonElement(jsonArraydevices.get(i)); }; } } @@ -404,7 +405,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti V1NodeSelector.validateJsonElement(jsonObj.get("nodeSelector")); } // validate the required field `pool` - V1alpha3ResourcePool.validateJsonElement(jsonObj.get("pool")); + V1ResourcePool.validateJsonElement(jsonObj.get("pool")); if (jsonObj.get("sharedCounters") != null && !jsonObj.get("sharedCounters").isJsonNull()) { JsonArray jsonArraysharedCounters = jsonObj.getAsJsonArray("sharedCounters"); if (jsonArraysharedCounters != null) { @@ -415,7 +416,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // validate the optional field `sharedCounters` (array) for (int i = 0; i < jsonArraysharedCounters.size(); i++) { - V1alpha3CounterSet.validateJsonElement(jsonArraysharedCounters.get(i)); + V1CounterSet.validateJsonElement(jsonArraysharedCounters.get(i)); }; } } @@ -425,22 +426,22 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1alpha3ResourceSliceSpec.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1alpha3ResourceSliceSpec' and its subtypes + if (!V1ResourceSliceSpec.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1ResourceSliceSpec' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1alpha3ResourceSliceSpec.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1ResourceSliceSpec.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, V1alpha3ResourceSliceSpec value) throws IOException { + public void write(JsonWriter out, V1ResourceSliceSpec value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public V1alpha3ResourceSliceSpec read(JsonReader in) throws IOException { + public V1ResourceSliceSpec read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -451,18 +452,18 @@ public V1alpha3ResourceSliceSpec read(JsonReader in) throws IOException { } /** - * Create an instance of V1alpha3ResourceSliceSpec given an JSON string + * Create an instance of V1ResourceSliceSpec given an JSON string * * @param jsonString JSON string - * @return An instance of V1alpha3ResourceSliceSpec - * @throws IOException if the JSON string is invalid with respect to V1alpha3ResourceSliceSpec + * @return An instance of V1ResourceSliceSpec + * @throws IOException if the JSON string is invalid with respect to V1ResourceSliceSpec */ - public static V1alpha3ResourceSliceSpec fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1alpha3ResourceSliceSpec.class); + public static V1ResourceSliceSpec fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1ResourceSliceSpec.class); } /** - * Convert an instance of V1alpha3ResourceSliceSpec to an JSON string + * Convert an instance of V1ResourceSliceSpec to an JSON string * * @return JSON string */ @@ -470,3 +471,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceStatus.java index ce9314bf95..0d79fb9006 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ResourceStatus.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * ResourceStatus represents the status of a single resource allocated to a Pod. */ @ApiModel(description = "ResourceStatus represents the status of a single resource allocated to a Pod.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ResourceStatus { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -267,3 +268,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Role.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Role.java index 1a1e1a4799..4ef0d6b554 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Role.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Role.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding. */ @ApiModel(description = "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1Role implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -323,3 +324,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RoleBinding.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RoleBinding.java index 2b44f0b3ab..7910c8d8af 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RoleBinding.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RoleBinding.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -55,7 +56,7 @@ * RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace. */ @ApiModel(description = "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1RoleBinding implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -362,3 +363,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RoleBindingList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RoleBindingList.java index bad39080bb..83f5cb4257 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RoleBindingList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RoleBindingList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * RoleBindingList is a collection of RoleBindings */ @ApiModel(description = "RoleBindingList is a collection of RoleBindings") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1RoleBindingList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RoleList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RoleList.java index 5cec637929..6029f53051 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RoleList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RoleList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * RoleList is a collection of Roles */ @ApiModel(description = "RoleList is a collection of Roles") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1RoleList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RoleRef.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RoleRef.java index 84f974f567..4cf80e8961 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RoleRef.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RoleRef.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * RoleRef contains information that points to the role being used */ @ApiModel(description = "RoleRef contains information that points to the role being used") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1RoleRef { public static final String SERIALIZED_NAME_API_GROUP = "apiGroup"; @SerializedName(SERIALIZED_NAME_API_GROUP) @@ -278,3 +279,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RollingUpdateDaemonSet.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RollingUpdateDaemonSet.java index f5776f5e12..219e65a357 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RollingUpdateDaemonSet.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RollingUpdateDaemonSet.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * Spec to control the desired behavior of daemon set rolling update. */ @ApiModel(description = "Spec to control the desired behavior of daemon set rolling update.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1RollingUpdateDaemonSet { public static final String SERIALIZED_NAME_MAX_SURGE = "maxSurge"; @SerializedName(SERIALIZED_NAME_MAX_SURGE) @@ -238,3 +239,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RollingUpdateDeployment.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RollingUpdateDeployment.java index 85bd8d587b..bb939cfaf0 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RollingUpdateDeployment.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RollingUpdateDeployment.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * Spec to control the desired behavior of rolling update. */ @ApiModel(description = "Spec to control the desired behavior of rolling update.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1RollingUpdateDeployment { public static final String SERIALIZED_NAME_MAX_SURGE = "maxSurge"; @SerializedName(SERIALIZED_NAME_MAX_SURGE) @@ -238,3 +239,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RollingUpdateStatefulSetStrategy.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RollingUpdateStatefulSetStrategy.java index 9eec4d9a5b..e713679b58 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RollingUpdateStatefulSetStrategy.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RollingUpdateStatefulSetStrategy.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType. */ @ApiModel(description = "RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1RollingUpdateStatefulSetStrategy { public static final String SERIALIZED_NAME_MAX_UNAVAILABLE = "maxUnavailable"; @SerializedName(SERIALIZED_NAME_MAX_UNAVAILABLE) @@ -235,3 +236,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RuleWithOperations.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RuleWithOperations.java index a3f0891a52..701622cc79 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RuleWithOperations.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RuleWithOperations.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid. */ @ApiModel(description = "RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1RuleWithOperations { public static final String SERIALIZED_NAME_API_GROUPS = "apiGroups"; @SerializedName(SERIALIZED_NAME_API_GROUPS) @@ -368,3 +369,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RuntimeClass.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RuntimeClass.java index 36f924dcc2..81457003a5 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RuntimeClass.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RuntimeClass.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://kubernetes.io/docs/concepts/containers/runtime-class/ */ @ApiModel(description = "RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://kubernetes.io/docs/concepts/containers/runtime-class/") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1RuntimeClass implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -375,3 +376,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RuntimeClassList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RuntimeClassList.java index 9aee79e264..a7ab2d90d6 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RuntimeClassList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1RuntimeClassList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * RuntimeClassList is a list of RuntimeClass objects. */ @ApiModel(description = "RuntimeClassList is a list of RuntimeClass objects.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1RuntimeClassList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SELinuxOptions.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SELinuxOptions.java index 65dee0e846..c65297ce07 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SELinuxOptions.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SELinuxOptions.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * SELinuxOptions are the labels to be applied to the container */ @ApiModel(description = "SELinuxOptions are the labels to be applied to the container") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1SELinuxOptions { public static final String SERIALIZED_NAME_LEVEL = "level"; @SerializedName(SERIALIZED_NAME_LEVEL) @@ -299,3 +300,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Scale.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Scale.java index cd32c1e9f4..73bff7b3ac 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Scale.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Scale.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * Scale represents a scaling request for a resource. */ @ApiModel(description = "Scale represents a scaling request for a resource.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1Scale implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -336,3 +337,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ScaleIOPersistentVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ScaleIOPersistentVolumeSource.java index 79e1080be0..04c3635749 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ScaleIOPersistentVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ScaleIOPersistentVolumeSource.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * ScaleIOPersistentVolumeSource represents a persistent ScaleIO volume */ @ApiModel(description = "ScaleIOPersistentVolumeSource represents a persistent ScaleIO volume") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ScaleIOPersistentVolumeSource { public static final String SERIALIZED_NAME_FS_TYPE = "fsType"; @SerializedName(SERIALIZED_NAME_FS_TYPE) @@ -489,3 +490,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ScaleIOVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ScaleIOVolumeSource.java index a18d4a23c7..9eab4ea5a8 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ScaleIOVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ScaleIOVolumeSource.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * ScaleIOVolumeSource represents a persistent ScaleIO volume */ @ApiModel(description = "ScaleIOVolumeSource represents a persistent ScaleIO volume") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ScaleIOVolumeSource { public static final String SERIALIZED_NAME_FS_TYPE = "fsType"; @SerializedName(SERIALIZED_NAME_FS_TYPE) @@ -489,3 +490,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ScaleSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ScaleSpec.java index 3a212070dc..51e5e977b4 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ScaleSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ScaleSpec.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * ScaleSpec describes the attributes of a scale subresource. */ @ApiModel(description = "ScaleSpec describes the attributes of a scale subresource.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ScaleSpec { public static final String SERIALIZED_NAME_REPLICAS = "replicas"; @SerializedName(SERIALIZED_NAME_REPLICAS) @@ -203,3 +204,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ScaleStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ScaleStatus.java index 1a300e5bc6..7fe701866b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ScaleStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ScaleStatus.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * ScaleStatus represents the current status of a scale subresource. */ @ApiModel(description = "ScaleStatus represents the current status of a scale subresource.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ScaleStatus { public static final String SERIALIZED_NAME_REPLICAS = "replicas"; @SerializedName(SERIALIZED_NAME_REPLICAS) @@ -242,3 +243,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Scheduling.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Scheduling.java index 89ebe0c40e..8ff04f431b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Scheduling.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Scheduling.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -55,7 +56,7 @@ * Scheduling specifies the scheduling constraints for nodes supporting a RuntimeClass. */ @ApiModel(description = "Scheduling specifies the scheduling constraints for nodes supporting a RuntimeClass.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1Scheduling { public static final String SERIALIZED_NAME_NODE_SELECTOR = "nodeSelector"; @SerializedName(SERIALIZED_NAME_NODE_SELECTOR) @@ -266,3 +267,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ScopeSelector.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ScopeSelector.java index c1d88809de..14a544a029 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ScopeSelector.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ScopeSelector.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * A scope selector represents the AND of the selectors represented by the scoped-resource selector requirements. */ @ApiModel(description = "A scope selector represents the AND of the selectors represented by the scoped-resource selector requirements.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ScopeSelector { public static final String SERIALIZED_NAME_MATCH_EXPRESSIONS = "matchExpressions"; @SerializedName(SERIALIZED_NAME_MATCH_EXPRESSIONS) @@ -228,3 +229,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ScopedResourceSelectorRequirement.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ScopedResourceSelectorRequirement.java index ca8ed2913d..8e07a6bf5c 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ScopedResourceSelectorRequirement.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ScopedResourceSelectorRequirement.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * A scoped-resource selector requirement is a selector that contains values, a scope name, and an operator that relates the scope name and values. */ @ApiModel(description = "A scoped-resource selector requirement is a selector that contains values, a scope name, and an operator that relates the scope name and values.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ScopedResourceSelectorRequirement { public static final String SERIALIZED_NAME_OPERATOR = "operator"; @SerializedName(SERIALIZED_NAME_OPERATOR) @@ -288,3 +289,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SeccompProfile.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SeccompProfile.java index 79e113c830..4295001555 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SeccompProfile.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SeccompProfile.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set. */ @ApiModel(description = "SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1SeccompProfile { public static final String SERIALIZED_NAME_LOCALHOST_PROFILE = "localhostProfile"; @SerializedName(SERIALIZED_NAME_LOCALHOST_PROFILE) @@ -245,3 +246,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Secret.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Secret.java index e5850aee29..1d87779bff 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Secret.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Secret.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -18,7 +19,6 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.kubernetes.client.custom.MapUtils; import io.kubernetes.client.openapi.models.V1ObjectMeta; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; @@ -54,7 +54,7 @@ * Secret holds secret data of a certain type. The total bytes of the values in the Data field must be less than MaxSecretSize bytes. */ @ApiModel(description = "Secret holds secret data of a certain type. The total bytes of the values in the Data field must be less than MaxSecretSize bytes.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1Secret implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -261,7 +261,7 @@ public boolean equals(Object o) { } V1Secret v1Secret = (V1Secret) o; return Objects.equals(this.apiVersion, v1Secret.apiVersion) && - MapUtils.equals(this.data, v1Secret.data) && + Objects.equals(this.data, v1Secret.data) && Objects.equals(this.immutable, v1Secret.immutable) && Objects.equals(this.kind, v1Secret.kind) && Objects.equals(this.metadata, v1Secret.metadata) && @@ -404,3 +404,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SecretEnvSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SecretEnvSource.java index 69bcd4bbea..89597e35b7 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SecretEnvSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SecretEnvSource.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * SecretEnvSource selects a Secret to populate the environment variables with. The contents of the target Secret's Data field will represent the key-value pairs as environment variables. */ @ApiModel(description = "SecretEnvSource selects a Secret to populate the environment variables with. The contents of the target Secret's Data field will represent the key-value pairs as environment variables.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1SecretEnvSource { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -234,3 +235,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SecretKeySelector.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SecretKeySelector.java index d45172dc7f..9c362d7b55 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SecretKeySelector.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SecretKeySelector.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * SecretKeySelector selects a key of a Secret. */ @ApiModel(description = "SecretKeySelector selects a key of a Secret.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1SecretKeySelector { public static final String SERIALIZED_NAME_KEY = "key"; @SerializedName(SERIALIZED_NAME_KEY) @@ -273,3 +274,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SecretList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SecretList.java index ab1a22211c..03b52c0a17 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SecretList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SecretList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * SecretList is a list of Secret. */ @ApiModel(description = "SecretList is a list of Secret.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1SecretList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SecretProjection.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SecretProjection.java index 4c9fede95f..1fa9cd9e3b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SecretProjection.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SecretProjection.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * Adapts a secret into a projected volume. The contents of the target Secret's Data field will be presented in a projected volume as files using the keys in the Data field as the file names. Note that this is identical to a secret volume source without the default mode. */ @ApiModel(description = "Adapts a secret into a projected volume. The contents of the target Secret's Data field will be presented in a projected volume as files using the keys in the Data field as the file names. Note that this is identical to a secret volume source without the default mode.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1SecretProjection { public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) @@ -287,3 +288,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SecretReference.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SecretReference.java index ad98fe5da3..752f2ecc1e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SecretReference.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SecretReference.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace */ @ApiModel(description = "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1SecretReference { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -237,3 +238,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SecretVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SecretVolumeSource.java index a374f035c1..645faa2b04 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SecretVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SecretVolumeSource.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * Adapts a Secret into a volume. The contents of the target Secret's Data field will be presented in a volume as files using the keys in the Data field as the file names. Secret volumes support ownership management and SELinux relabeling. */ @ApiModel(description = "Adapts a Secret into a volume. The contents of the target Secret's Data field will be presented in a volume as files using the keys in the Data field as the file names. Secret volumes support ownership management and SELinux relabeling.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1SecretVolumeSource { public static final String SERIALIZED_NAME_DEFAULT_MODE = "defaultMode"; @SerializedName(SERIALIZED_NAME_DEFAULT_MODE) @@ -315,3 +316,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SecurityContext.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SecurityContext.java index b9aee4e43d..a96f459a6d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SecurityContext.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SecurityContext.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -55,7 +56,7 @@ * SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence. */ @ApiModel(description = "SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1SecurityContext { public static final String SERIALIZED_NAME_ALLOW_PRIVILEGE_ESCALATION = "allowPrivilegeEscalation"; @SerializedName(SERIALIZED_NAME_ALLOW_PRIVILEGE_ESCALATION) @@ -539,3 +540,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SelectableField.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SelectableField.java index ff5675f631..d961a5ecaa 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SelectableField.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SelectableField.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * SelectableField specifies the JSON path of a field that may be used with field selectors. */ @ApiModel(description = "SelectableField specifies the JSON path of a field that may be used with field selectors.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1SelectableField { public static final String SERIALIZED_NAME_JSON_PATH = "jsonPath"; @SerializedName(SERIALIZED_NAME_JSON_PATH) @@ -214,3 +215,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SelfSubjectAccessReview.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SelfSubjectAccessReview.java index b6a02cf45d..b4ddd5a416 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SelfSubjectAccessReview.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SelfSubjectAccessReview.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * SelfSubjectAccessReview checks whether or the current user can perform an action. Not filling in a spec.namespace means \"in all namespaces\". Self is a special case, because users should always be able to check whether they can perform an action */ @ApiModel(description = "SelfSubjectAccessReview checks whether or the current user can perform an action. Not filling in a spec.namespace means \"in all namespaces\". Self is a special case, because users should always be able to check whether they can perform an action") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1SelfSubjectAccessReview implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -342,3 +343,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SelfSubjectAccessReviewSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SelfSubjectAccessReviewSpec.java index ea51dded33..175910ac46 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SelfSubjectAccessReviewSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SelfSubjectAccessReviewSpec.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * SelfSubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set */ @ApiModel(description = "SelfSubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1SelfSubjectAccessReviewSpec { public static final String SERIALIZED_NAME_NON_RESOURCE_ATTRIBUTES = "nonResourceAttributes"; @SerializedName(SERIALIZED_NAME_NON_RESOURCE_ATTRIBUTES) @@ -241,3 +242,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SelfSubjectReview.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SelfSubjectReview.java index bf7f7f2949..8a417f36b5 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SelfSubjectReview.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SelfSubjectReview.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * SelfSubjectReview contains the user information that the kube-apiserver has about the user making this request. When using impersonation, users will receive the user info of the user being impersonated. If impersonation or request header authentication is used, any extra keys will have their case ignored and returned as lowercase. */ @ApiModel(description = "SelfSubjectReview contains the user information that the kube-apiserver has about the user making this request. When using impersonation, users will receive the user info of the user being impersonated. If impersonation or request header authentication is used, any extra keys will have their case ignored and returned as lowercase.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1SelfSubjectReview implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -303,3 +304,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SelfSubjectReviewStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SelfSubjectReviewStatus.java index 18e7078158..2836b3bbcd 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SelfSubjectReviewStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SelfSubjectReviewStatus.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * SelfSubjectReviewStatus is filled by the kube-apiserver and sent back to a user. */ @ApiModel(description = "SelfSubjectReviewStatus is filled by the kube-apiserver and sent back to a user.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1SelfSubjectReviewStatus { public static final String SERIALIZED_NAME_USER_INFO = "userInfo"; @SerializedName(SERIALIZED_NAME_USER_INFO) @@ -208,3 +209,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SelfSubjectRulesReview.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SelfSubjectRulesReview.java index b1b571758b..2c25896dcb 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SelfSubjectRulesReview.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SelfSubjectRulesReview.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * SelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace. The returned list of actions may be incomplete depending on the server's authorization mode, and any errors experienced during the evaluation. SelfSubjectRulesReview should be used by UIs to show/hide actions, or to quickly let an end user reason about their permissions. It should NOT Be used by external systems to drive authorization decisions as this raises confused deputy, cache lifetime/revocation, and correctness concerns. SubjectAccessReview, and LocalAccessReview are the correct way to defer authorization decisions to the API server. */ @ApiModel(description = "SelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace. The returned list of actions may be incomplete depending on the server's authorization mode, and any errors experienced during the evaluation. SelfSubjectRulesReview should be used by UIs to show/hide actions, or to quickly let an end user reason about their permissions. It should NOT Be used by external systems to drive authorization decisions as this raises confused deputy, cache lifetime/revocation, and correctness concerns. SubjectAccessReview, and LocalAccessReview are the correct way to defer authorization decisions to the API server.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1SelfSubjectRulesReview implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -342,3 +343,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SelfSubjectRulesReviewSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SelfSubjectRulesReviewSpec.java index 1a76781b50..71bb77844f 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SelfSubjectRulesReviewSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SelfSubjectRulesReviewSpec.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * SelfSubjectRulesReviewSpec defines the specification for SelfSubjectRulesReview. */ @ApiModel(description = "SelfSubjectRulesReviewSpec defines the specification for SelfSubjectRulesReview.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1SelfSubjectRulesReviewSpec { public static final String SERIALIZED_NAME_NAMESPACE = "namespace"; @SerializedName(SERIALIZED_NAME_NAMESPACE) @@ -206,3 +207,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServerAddressByClientCIDR.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServerAddressByClientCIDR.java index dc45c29c57..b0a2d20354 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServerAddressByClientCIDR.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServerAddressByClientCIDR.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match. */ @ApiModel(description = "ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ServerAddressByClientCIDR { public static final String SERIALIZED_NAME_CLIENT_C_I_D_R = "clientCIDR"; @SerializedName(SERIALIZED_NAME_CLIENT_C_I_D_R) @@ -246,3 +247,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Service.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Service.java index a7df76adc0..1ba94c33af 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Service.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Service.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * Service is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy. */ @ApiModel(description = "Service is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1Service implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -336,3 +337,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceAccount.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceAccount.java index 16055d421e..3f63977948 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceAccount.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceAccount.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -55,7 +56,7 @@ * ServiceAccount binds together: * a name, understood by users, and perhaps by peripheral systems, for an identity * a principal that can be authenticated and authorized * a set of secrets */ @ApiModel(description = "ServiceAccount binds together: * a name, understood by users, and perhaps by peripheral systems, for an identity * a principal that can be authenticated and authorized * a set of secrets") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ServiceAccount implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -402,3 +403,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceAccountList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceAccountList.java index b8deb3f231..f06a1b11ef 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceAccountList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceAccountList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * ServiceAccountList is a list of ServiceAccount objects */ @ApiModel(description = "ServiceAccountList is a list of ServiceAccount objects") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ServiceAccountList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceAccountSubject.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceAccountSubject.java index a500edc876..913abbc907 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceAccountSubject.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceAccountSubject.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * ServiceAccountSubject holds detailed information for service-account-kind subject. */ @ApiModel(description = "ServiceAccountSubject holds detailed information for service-account-kind subject.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ServiceAccountSubject { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -246,3 +247,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceAccountTokenProjection.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceAccountTokenProjection.java index 006bee830b..7ed29e782e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceAccountTokenProjection.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceAccountTokenProjection.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * ServiceAccountTokenProjection represents a projected service account token volume. This projection can be used to insert a service account token into the pods runtime filesystem for use against APIs (Kubernetes API Server or otherwise). */ @ApiModel(description = "ServiceAccountTokenProjection represents a projected service account token volume. This projection can be used to insert a service account token into the pods runtime filesystem for use against APIs (Kubernetes API Server or otherwise).") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ServiceAccountTokenProjection { public static final String SERIALIZED_NAME_AUDIENCE = "audience"; @SerializedName(SERIALIZED_NAME_AUDIENCE) @@ -273,3 +274,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceBackendPort.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceBackendPort.java index 782b7900d5..01956a0ce1 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceBackendPort.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceBackendPort.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * ServiceBackendPort is the service port being referenced. */ @ApiModel(description = "ServiceBackendPort is the service port being referenced.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ServiceBackendPort { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -234,3 +235,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceCIDR.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceCIDR.java index 1140c8f15a..b0aa894459 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceCIDR.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceCIDR.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * ServiceCIDR defines a range of IP addresses using CIDR format (e.g. 192.168.0.0/24 or 2001:db2::/64). This range is used to allocate ClusterIPs to Service objects. */ @ApiModel(description = "ServiceCIDR defines a range of IP addresses using CIDR format (e.g. 192.168.0.0/24 or 2001:db2::/64). This range is used to allocate ClusterIPs to Service objects.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ServiceCIDR implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -336,3 +337,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceCIDRList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceCIDRList.java index 52ad0d02c9..18c1b231b6 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceCIDRList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceCIDRList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * ServiceCIDRList contains a list of ServiceCIDR objects. */ @ApiModel(description = "ServiceCIDRList contains a list of ServiceCIDR objects.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ServiceCIDRList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceCIDRSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceCIDRSpec.java index b2573ad75f..0d2237a874 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceCIDRSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceCIDRSpec.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * ServiceCIDRSpec define the CIDRs the user wants to use for allocating ClusterIPs for Services. */ @ApiModel(description = "ServiceCIDRSpec define the CIDRs the user wants to use for allocating ClusterIPs for Services.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ServiceCIDRSpec { public static final String SERIALIZED_NAME_CIDRS = "cidrs"; @SerializedName(SERIALIZED_NAME_CIDRS) @@ -217,3 +218,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceCIDRStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceCIDRStatus.java index d24268d635..4a806ada3d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceCIDRStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceCIDRStatus.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * ServiceCIDRStatus describes the current state of the ServiceCIDR. */ @ApiModel(description = "ServiceCIDRStatus describes the current state of the ServiceCIDR.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ServiceCIDRStatus { public static final String SERIALIZED_NAME_CONDITIONS = "conditions"; @SerializedName(SERIALIZED_NAME_CONDITIONS) @@ -228,3 +229,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceList.java index 805b81a7ae..c87eb2272d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * ServiceList holds a list of services. */ @ApiModel(description = "ServiceList holds a list of services.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ServiceList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServicePort.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServicePort.java index f3c4be9f26..606bfd9441 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServicePort.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServicePort.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * ServicePort contains information on service's port. */ @ApiModel(description = "ServicePort contains information on service's port.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ServicePort { public static final String SERIALIZED_NAME_APP_PROTOCOL = "appProtocol"; @SerializedName(SERIALIZED_NAME_APP_PROTOCOL) @@ -364,3 +365,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceSpec.java index d663729a65..50b4d6476b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceSpec.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -56,7 +57,7 @@ * ServiceSpec describes the attributes that a user creates on a service. */ @ApiModel(description = "ServiceSpec describes the attributes that a user creates on a service.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ServiceSpec { public static final String SERIALIZED_NAME_ALLOCATE_LOAD_BALANCER_NODE_PORTS = "allocateLoadBalancerNodePorts"; @SerializedName(SERIALIZED_NAME_ALLOCATE_LOAD_BALANCER_NODE_PORTS) @@ -853,3 +854,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceStatus.java index fc19e9e5a8..c023d4f324 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ServiceStatus.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * ServiceStatus represents the current status of a service. */ @ApiModel(description = "ServiceStatus represents the current status of a service.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ServiceStatus { public static final String SERIALIZED_NAME_CONDITIONS = "conditions"; @SerializedName(SERIALIZED_NAME_CONDITIONS) @@ -261,3 +262,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SessionAffinityConfig.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SessionAffinityConfig.java index 8b1abd9dda..2c733ce974 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SessionAffinityConfig.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SessionAffinityConfig.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * SessionAffinityConfig represents the configurations of session affinity. */ @ApiModel(description = "SessionAffinityConfig represents the configurations of session affinity.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1SessionAffinityConfig { public static final String SERIALIZED_NAME_CLIENT_I_P = "clientIP"; @SerializedName(SERIALIZED_NAME_CLIENT_I_P) @@ -208,3 +209,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SleepAction.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SleepAction.java index 8919464ac2..a799fb531c 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SleepAction.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SleepAction.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * SleepAction describes a \"sleep\" action. */ @ApiModel(description = "SleepAction describes a \"sleep\" action.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1SleepAction { public static final String SERIALIZED_NAME_SECONDS = "seconds"; @SerializedName(SERIALIZED_NAME_SECONDS) @@ -211,3 +212,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatefulSet.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatefulSet.java index b039988f92..120994ddc6 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatefulSet.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatefulSet.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * StatefulSet represents a set of pods with consistent identities. Identities are defined as: - Network: A single stable DNS and hostname. - Storage: As many VolumeClaims as requested. The StatefulSet guarantees that a given network identity will always map to the same storage identity. */ @ApiModel(description = "StatefulSet represents a set of pods with consistent identities. Identities are defined as: - Network: A single stable DNS and hostname. - Storage: As many VolumeClaims as requested. The StatefulSet guarantees that a given network identity will always map to the same storage identity.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1StatefulSet implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -336,3 +337,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatefulSetCondition.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatefulSetCondition.java index 4facc7fb40..0031e7bfbd 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatefulSetCondition.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatefulSetCondition.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * StatefulSetCondition describes the state of a statefulset at a certain point. */ @ApiModel(description = "StatefulSetCondition describes the state of a statefulset at a certain point.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1StatefulSetCondition { public static final String SERIALIZED_NAME_LAST_TRANSITION_TIME = "lastTransitionTime"; @SerializedName(SERIALIZED_NAME_LAST_TRANSITION_TIME) @@ -337,3 +338,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatefulSetList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatefulSetList.java index 0d47e03570..dea2a92130 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatefulSetList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatefulSetList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * StatefulSetList is a collection of StatefulSets. */ @ApiModel(description = "StatefulSetList is a collection of StatefulSets.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1StatefulSetList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatefulSetOrdinals.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatefulSetOrdinals.java index 978449c73c..75589548d7 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatefulSetOrdinals.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatefulSetOrdinals.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * StatefulSetOrdinals describes the policy used for replica ordinal assignment in this StatefulSet. */ @ApiModel(description = "StatefulSetOrdinals describes the policy used for replica ordinal assignment in this StatefulSet.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1StatefulSetOrdinals { public static final String SERIALIZED_NAME_START = "start"; @SerializedName(SERIALIZED_NAME_START) @@ -203,3 +204,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatefulSetPersistentVolumeClaimRetentionPolicy.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatefulSetPersistentVolumeClaimRetentionPolicy.java index adce0fdf26..d3cd554e77 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatefulSetPersistentVolumeClaimRetentionPolicy.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatefulSetPersistentVolumeClaimRetentionPolicy.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * StatefulSetPersistentVolumeClaimRetentionPolicy describes the policy used for PVCs created from the StatefulSet VolumeClaimTemplates. */ @ApiModel(description = "StatefulSetPersistentVolumeClaimRetentionPolicy describes the policy used for PVCs created from the StatefulSet VolumeClaimTemplates.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1StatefulSetPersistentVolumeClaimRetentionPolicy { public static final String SERIALIZED_NAME_WHEN_DELETED = "whenDeleted"; @SerializedName(SERIALIZED_NAME_WHEN_DELETED) @@ -237,3 +238,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatefulSetSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatefulSetSpec.java index 29318bcd33..fd26eb518b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatefulSetSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatefulSetSpec.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -58,7 +59,7 @@ * A StatefulSetSpec is the specification of a StatefulSet. */ @ApiModel(description = "A StatefulSetSpec is the specification of a StatefulSet.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1StatefulSetSpec { public static final String SERIALIZED_NAME_MIN_READY_SECONDS = "minReadySeconds"; @SerializedName(SERIALIZED_NAME_MIN_READY_SECONDS) @@ -544,3 +545,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatefulSetStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatefulSetStatus.java index 22f0a1f132..ddc10b7bed 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatefulSetStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatefulSetStatus.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * StatefulSetStatus represents the current state of a StatefulSet. */ @ApiModel(description = "StatefulSetStatus represents the current state of a StatefulSet.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1StatefulSetStatus { public static final String SERIALIZED_NAME_AVAILABLE_REPLICAS = "availableReplicas"; @SerializedName(SERIALIZED_NAME_AVAILABLE_REPLICAS) @@ -494,3 +495,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatefulSetUpdateStrategy.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatefulSetUpdateStrategy.java index ed2ac96156..789281a0a9 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatefulSetUpdateStrategy.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatefulSetUpdateStrategy.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * StatefulSetUpdateStrategy indicates the strategy that the StatefulSet controller will use to perform updates. It includes any additional parameters necessary to perform the update for the indicated strategy. */ @ApiModel(description = "StatefulSetUpdateStrategy indicates the strategy that the StatefulSet controller will use to perform updates. It includes any additional parameters necessary to perform the update for the indicated strategy.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1StatefulSetUpdateStrategy { public static final String SERIALIZED_NAME_ROLLING_UPDATE = "rollingUpdate"; @SerializedName(SERIALIZED_NAME_ROLLING_UPDATE) @@ -239,3 +240,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Status.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Status.java index 2780b3a756..95a32ac7fb 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Status.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Status.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * Status is a return value for calls that don't return other objects. */ @ApiModel(description = "Status is a return value for calls that don't return other objects.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1Status { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -396,8 +397,7 @@ public void write(JsonWriter out, V1Status value) throws IOException { @Override public V1Status read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); - // Disable validation so delete API can tolerate non-status return object (graceful deletion) - // validateJsonObject(jsonObj); + validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); } @@ -425,3 +425,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatusCause.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatusCause.java index 36e41291e7..717e79dafa 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatusCause.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatusCause.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered. */ @ApiModel(description = "StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1StatusCause { public static final String SERIALIZED_NAME_FIELD = "field"; @SerializedName(SERIALIZED_NAME_FIELD) @@ -268,3 +269,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatusDetails.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatusDetails.java index 799eff9c0e..5dfb25406c 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatusDetails.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StatusDetails.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined. */ @ApiModel(description = "StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1StatusDetails { public static final String SERIALIZED_NAME_CAUSES = "causes"; @SerializedName(SERIALIZED_NAME_CAUSES) @@ -380,3 +381,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StorageClass.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StorageClass.java index c785aa454e..1e90cc4be6 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StorageClass.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StorageClass.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -56,7 +57,7 @@ * StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned. StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name. */ @ApiModel(description = "StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned. StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1StorageClass implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_ALLOW_VOLUME_EXPANSION = "allowVolumeExpansion"; @SerializedName(SERIALIZED_NAME_ALLOW_VOLUME_EXPANSION) @@ -530,3 +531,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StorageClassList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StorageClassList.java index b9f8a9a8b7..4eb45d3ad3 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StorageClassList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StorageClassList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * StorageClassList is a collection of storage classes. */ @ApiModel(description = "StorageClassList is a collection of storage classes.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1StorageClassList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StorageOSPersistentVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StorageOSPersistentVolumeSource.java index 65388cbab5..fc1eb85653 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StorageOSPersistentVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StorageOSPersistentVolumeSource.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * Represents a StorageOS persistent volume resource. */ @ApiModel(description = "Represents a StorageOS persistent volume resource.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1StorageOSPersistentVolumeSource { public static final String SERIALIZED_NAME_FS_TYPE = "fsType"; @SerializedName(SERIALIZED_NAME_FS_TYPE) @@ -329,3 +330,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StorageOSVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StorageOSVolumeSource.java index f54291440a..d086b27652 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StorageOSVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1StorageOSVolumeSource.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * Represents a StorageOS persistent volume resource. */ @ApiModel(description = "Represents a StorageOS persistent volume resource.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1StorageOSVolumeSource { public static final String SERIALIZED_NAME_FS_TYPE = "fsType"; @SerializedName(SERIALIZED_NAME_FS_TYPE) @@ -329,3 +330,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SubjectAccessReview.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SubjectAccessReview.java index f7feb1370e..e2d44598a9 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SubjectAccessReview.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SubjectAccessReview.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * SubjectAccessReview checks whether or not a user or group can perform an action. */ @ApiModel(description = "SubjectAccessReview checks whether or not a user or group can perform an action.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1SubjectAccessReview implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -342,3 +343,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SubjectAccessReviewSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SubjectAccessReviewSpec.java index 3e7462040d..d019bfa3eb 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SubjectAccessReviewSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SubjectAccessReviewSpec.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -56,7 +57,7 @@ * SubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set */ @ApiModel(description = "SubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1SubjectAccessReviewSpec { public static final String SERIALIZED_NAME_EXTRA = "extra"; @SerializedName(SERIALIZED_NAME_EXTRA) @@ -383,3 +384,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SubjectAccessReviewStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SubjectAccessReviewStatus.java index 7d342e8800..b05d82deed 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SubjectAccessReviewStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SubjectAccessReviewStatus.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * SubjectAccessReviewStatus */ @ApiModel(description = "SubjectAccessReviewStatus") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1SubjectAccessReviewStatus { public static final String SERIALIZED_NAME_ALLOWED = "allowed"; @SerializedName(SERIALIZED_NAME_ALLOWED) @@ -301,3 +302,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SubjectRulesReviewStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SubjectRulesReviewStatus.java index 664aa1968e..99bda3c83a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SubjectRulesReviewStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SubjectRulesReviewStatus.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * SubjectRulesReviewStatus contains the result of a rules check. This check can be incomplete depending on the set of authorizers the server is configured with and any errors experienced during evaluation. Because authorization rules are additive, if a rule appears in a list it's safe to assume the subject has that permission, even if that list is incomplete. */ @ApiModel(description = "SubjectRulesReviewStatus contains the result of a rules check. This check can be incomplete depending on the set of authorizers the server is configured with and any errors experienced during evaluation. Because authorization rules are additive, if a rule appears in a list it's safe to assume the subject has that permission, even if that list is incomplete.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1SubjectRulesReviewStatus { public static final String SERIALIZED_NAME_EVALUATION_ERROR = "evaluationError"; @SerializedName(SERIALIZED_NAME_EVALUATION_ERROR) @@ -340,3 +341,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SuccessPolicy.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SuccessPolicy.java index aebd7c23cb..39dced5dc9 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SuccessPolicy.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SuccessPolicy.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * SuccessPolicy describes when a Job can be declared as succeeded based on the success of some indexes. */ @ApiModel(description = "SuccessPolicy describes when a Job can be declared as succeeded based on the success of some indexes.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1SuccessPolicy { public static final String SERIALIZED_NAME_RULES = "rules"; @SerializedName(SERIALIZED_NAME_RULES) @@ -77,11 +78,11 @@ public V1SuccessPolicy addRulesItem(V1SuccessPolicyRule rulesItem) { } /** - * rules represents the list of alternative rules for the declaring the Jobs as successful before `.status.succeeded >= .spec.completions`. Once any of the rules are met, the \"SucceededCriteriaMet\" condition is added, and the lingering pods are removed. The terminal state for such a Job has the \"Complete\" condition. Additionally, these rules are evaluated in order; Once the Job meets one of the rules, other rules are ignored. At most 20 elements are allowed. + * rules represents the list of alternative rules for the declaring the Jobs as successful before `.status.succeeded >= .spec.completions`. Once any of the rules are met, the \"SuccessCriteriaMet\" condition is added, and the lingering pods are removed. The terminal state for such a Job has the \"Complete\" condition. Additionally, these rules are evaluated in order; Once the Job meets one of the rules, other rules are ignored. At most 20 elements are allowed. * @return rules */ @jakarta.annotation.Nonnull - @ApiModelProperty(required = true, value = "rules represents the list of alternative rules for the declaring the Jobs as successful before `.status.succeeded >= .spec.completions`. Once any of the rules are met, the \"SucceededCriteriaMet\" condition is added, and the lingering pods are removed. The terminal state for such a Job has the \"Complete\" condition. Additionally, these rules are evaluated in order; Once the Job meets one of the rules, other rules are ignored. At most 20 elements are allowed.") + @ApiModelProperty(required = true, value = "rules represents the list of alternative rules for the declaring the Jobs as successful before `.status.succeeded >= .spec.completions`. Once any of the rules are met, the \"SuccessCriteriaMet\" condition is added, and the lingering pods are removed. The terminal state for such a Job has the \"Complete\" condition. Additionally, these rules are evaluated in order; Once the Job meets one of the rules, other rules are ignored. At most 20 elements are allowed.") public List getRules() { return rules; } @@ -232,3 +233,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SuccessPolicyRule.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SuccessPolicyRule.java index 8c52d49611..2e0f529d1b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SuccessPolicyRule.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1SuccessPolicyRule.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * SuccessPolicyRule describes rule for declaring a Job as succeeded. Each rule must have at least one of the \"succeededIndexes\" or \"succeededCount\" specified. */ @ApiModel(description = "SuccessPolicyRule describes rule for declaring a Job as succeeded. Each rule must have at least one of the \"succeededIndexes\" or \"succeededCount\" specified.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1SuccessPolicyRule { public static final String SERIALIZED_NAME_SUCCEEDED_COUNT = "succeededCount"; @SerializedName(SERIALIZED_NAME_SUCCEEDED_COUNT) @@ -234,3 +235,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Sysctl.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Sysctl.java index 77216ca272..0293d6e51a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Sysctl.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Sysctl.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * Sysctl defines a kernel parameter to be set */ @ApiModel(description = "Sysctl defines a kernel parameter to be set") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1Sysctl { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -246,3 +247,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TCPSocketAction.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TCPSocketAction.java index a81f8b1d2e..d30f142c7f 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TCPSocketAction.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TCPSocketAction.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * TCPSocketAction describes an action based on opening a socket */ @ApiModel(description = "TCPSocketAction describes an action based on opening a socket") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1TCPSocketAction { public static final String SERIALIZED_NAME_HOST = "host"; @SerializedName(SERIALIZED_NAME_HOST) @@ -246,3 +247,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Taint.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Taint.java index 240dbe6cac..3d753cfb17 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Taint.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Taint.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * The node this Taint is attached to has the \"effect\" on any pod that does not tolerate the Taint. */ @ApiModel(description = "The node this Taint is attached to has the \"effect\" on any pod that does not tolerate the Taint.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1Taint { public static final String SERIALIZED_NAME_EFFECT = "effect"; @SerializedName(SERIALIZED_NAME_EFFECT) @@ -122,11 +123,11 @@ public V1Taint timeAdded(@jakarta.annotation.Nullable OffsetDateTime timeAdded) } /** - * TimeAdded represents the time at which the taint was added. It is only written for NoExecute taints. + * TimeAdded represents the time at which the taint was added. * @return timeAdded */ @jakarta.annotation.Nullable - @ApiModelProperty(value = "TimeAdded represents the time at which the taint was added. It is only written for NoExecute taints.") + @ApiModelProperty(value = "TimeAdded represents the time at which the taint was added.") public OffsetDateTime getTimeAdded() { return timeAdded; } @@ -306,3 +307,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TokenRequestSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TokenRequestSpec.java index d9de2d7a2b..3f2ad560fb 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TokenRequestSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TokenRequestSpec.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * TokenRequestSpec contains client provided parameters of a token request. */ @ApiModel(description = "TokenRequestSpec contains client provided parameters of a token request.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1TokenRequestSpec { public static final String SERIALIZED_NAME_AUDIENCES = "audiences"; @SerializedName(SERIALIZED_NAME_AUDIENCES) @@ -288,3 +289,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TokenRequestStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TokenRequestStatus.java index 0254e3678d..595df40f34 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TokenRequestStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TokenRequestStatus.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * TokenRequestStatus is the result of a token request. */ @ApiModel(description = "TokenRequestStatus is the result of a token request.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1TokenRequestStatus { public static final String SERIALIZED_NAME_EXPIRATION_TIMESTAMP = "expirationTimestamp"; @SerializedName(SERIALIZED_NAME_EXPIRATION_TIMESTAMP) @@ -244,3 +245,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TokenReview.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TokenReview.java index 6e80585eaf..c8812b09a8 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TokenReview.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TokenReview.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * TokenReview attempts to authenticate a token to a known user. Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver. */ @ApiModel(description = "TokenReview attempts to authenticate a token to a known user. Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1TokenReview implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -342,3 +343,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TokenReviewSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TokenReviewSpec.java index 68a8f9473b..6b95141e63 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TokenReviewSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TokenReviewSpec.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * TokenReviewSpec is a description of the token authentication request. */ @ApiModel(description = "TokenReviewSpec is a description of the token authentication request.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1TokenReviewSpec { public static final String SERIALIZED_NAME_AUDIENCES = "audiences"; @SerializedName(SERIALIZED_NAME_AUDIENCES) @@ -248,3 +249,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TokenReviewStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TokenReviewStatus.java index 164c231ec6..56e9cad03e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TokenReviewStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TokenReviewStatus.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * TokenReviewStatus is the result of the token authentication request. */ @ApiModel(description = "TokenReviewStatus is the result of the token authentication request.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1TokenReviewStatus { public static final String SERIALIZED_NAME_AUDIENCES = "audiences"; @SerializedName(SERIALIZED_NAME_AUDIENCES) @@ -309,3 +310,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Toleration.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Toleration.java index d8e20b2ead..aceafa7ba2 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Toleration.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Toleration.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * The pod this Toleration is attached to tolerates any taint that matches the triple <key,value,effect> using the matching operator <operator>. */ @ApiModel(description = "The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator .") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1Toleration { public static final String SERIALIZED_NAME_EFFECT = "effect"; @SerializedName(SERIALIZED_NAME_EFFECT) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TopologySelectorLabelRequirement.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TopologySelectorLabelRequirement.java index 4c2623d1ad..a37959b13b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TopologySelectorLabelRequirement.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TopologySelectorLabelRequirement.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * A topology selector requirement is a selector that matches given label. This is an alpha feature and may change in the future. */ @ApiModel(description = "A topology selector requirement is a selector that matches given label. This is an alpha feature and may change in the future.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1TopologySelectorLabelRequirement { public static final String SERIALIZED_NAME_KEY = "key"; @SerializedName(SERIALIZED_NAME_KEY) @@ -259,3 +260,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TopologySelectorTerm.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TopologySelectorTerm.java index b1ff35619a..0bbc197858 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TopologySelectorTerm.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TopologySelectorTerm.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * A topology selector term represents the result of label queries. A null or empty topology selector term matches no objects. The requirements of them are ANDed. It provides a subset of functionality as NodeSelectorTerm. This is an alpha feature and may change in the future. */ @ApiModel(description = "A topology selector term represents the result of label queries. A null or empty topology selector term matches no objects. The requirements of them are ANDed. It provides a subset of functionality as NodeSelectorTerm. This is an alpha feature and may change in the future.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1TopologySelectorTerm { public static final String SERIALIZED_NAME_MATCH_LABEL_EXPRESSIONS = "matchLabelExpressions"; @SerializedName(SERIALIZED_NAME_MATCH_LABEL_EXPRESSIONS) @@ -228,3 +229,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TopologySpreadConstraint.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TopologySpreadConstraint.java index a3902e7238..67fcd408cc 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TopologySpreadConstraint.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TopologySpreadConstraint.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * TopologySpreadConstraint specifies how to spread matching pods among the given topology. */ @ApiModel(description = "TopologySpreadConstraint specifies how to spread matching pods among the given topology.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1TopologySpreadConstraint { public static final String SERIALIZED_NAME_LABEL_SELECTOR = "labelSelector"; @SerializedName(SERIALIZED_NAME_LABEL_SELECTOR) @@ -440,3 +441,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TypeChecking.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TypeChecking.java index 88805dcf56..8d9e9b1154 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TypeChecking.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TypeChecking.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * TypeChecking contains results of type checking the expressions in the ValidatingAdmissionPolicy */ @ApiModel(description = "TypeChecking contains results of type checking the expressions in the ValidatingAdmissionPolicy") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1TypeChecking { public static final String SERIALIZED_NAME_EXPRESSION_WARNINGS = "expressionWarnings"; @SerializedName(SERIALIZED_NAME_EXPRESSION_WARNINGS) @@ -228,3 +229,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TypedLocalObjectReference.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TypedLocalObjectReference.java index 70e9a17104..772fbafeac 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TypedLocalObjectReference.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TypedLocalObjectReference.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace. */ @ApiModel(description = "TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1TypedLocalObjectReference { public static final String SERIALIZED_NAME_API_GROUP = "apiGroup"; @SerializedName(SERIALIZED_NAME_API_GROUP) @@ -277,3 +278,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TypedObjectReference.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TypedObjectReference.java index 1322ed822f..ed10ede9c5 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TypedObjectReference.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1TypedObjectReference.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * TypedObjectReference contains enough information to let you locate the typed referenced object */ @ApiModel(description = "TypedObjectReference contains enough information to let you locate the typed referenced object") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1TypedObjectReference { public static final String SERIALIZED_NAME_API_GROUP = "apiGroup"; @SerializedName(SERIALIZED_NAME_API_GROUP) @@ -308,3 +309,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1UncountedTerminatedPods.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1UncountedTerminatedPods.java index 39319dfba1..72292df5cc 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1UncountedTerminatedPods.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1UncountedTerminatedPods.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * UncountedTerminatedPods holds UIDs of Pods that have terminated but haven't been accounted in Job status counters. */ @ApiModel(description = "UncountedTerminatedPods holds UIDs of Pods that have terminated but haven't been accounted in Job status counters.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1UncountedTerminatedPods { public static final String SERIALIZED_NAME_FAILED = "failed"; @SerializedName(SERIALIZED_NAME_FAILED) @@ -257,3 +258,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1UserInfo.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1UserInfo.java index 01eeb1ac4b..3964967ebc 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1UserInfo.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1UserInfo.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * UserInfo holds the information about the user needed to implement the user.Info interface. */ @ApiModel(description = "UserInfo holds the information about the user needed to implement the user.Info interface.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1UserInfo { public static final String SERIALIZED_NAME_EXTRA = "extra"; @SerializedName(SERIALIZED_NAME_EXTRA) @@ -317,3 +318,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1UserSubject.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1UserSubject.java index 603451545b..e7d68a09c8 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1UserSubject.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1UserSubject.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * UserSubject holds detailed information for user-kind subject. */ @ApiModel(description = "UserSubject holds detailed information for user-kind subject.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1UserSubject { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -214,3 +215,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ValidatingAdmissionPolicy.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ValidatingAdmissionPolicy.java index 6f0e53fc76..ed441f0996 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ValidatingAdmissionPolicy.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ValidatingAdmissionPolicy.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it. */ @ApiModel(description = "ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ValidatingAdmissionPolicy implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -336,3 +337,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ValidatingAdmissionPolicyBinding.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ValidatingAdmissionPolicyBinding.java index fd0af7d692..1072161fd6 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ValidatingAdmissionPolicyBinding.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ValidatingAdmissionPolicyBinding.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * ValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources. ValidatingAdmissionPolicyBinding and parameter CRDs 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. The CEL expressions of a policy must have a computed CEL cost below the maximum CEL budget. Each evaluation of the policy is given an independent CEL cost budget. Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget. */ @ApiModel(description = "ValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources. ValidatingAdmissionPolicyBinding and parameter CRDs 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. The CEL expressions of a policy must have a computed CEL cost below the maximum CEL budget. Each evaluation of the policy is given an independent CEL cost budget. Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ValidatingAdmissionPolicyBinding implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -303,3 +304,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ValidatingAdmissionPolicyBindingList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ValidatingAdmissionPolicyBindingList.java index 769b037f48..1c956c87e1 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ValidatingAdmissionPolicyBindingList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ValidatingAdmissionPolicyBindingList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * ValidatingAdmissionPolicyBindingList is a list of ValidatingAdmissionPolicyBinding. */ @ApiModel(description = "ValidatingAdmissionPolicyBindingList is a list of ValidatingAdmissionPolicyBinding.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ValidatingAdmissionPolicyBindingList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ValidatingAdmissionPolicyBindingSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ValidatingAdmissionPolicyBindingSpec.java index 039708f54b..916bc0bf9b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ValidatingAdmissionPolicyBindingSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ValidatingAdmissionPolicyBindingSpec.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding. */ @ApiModel(description = "ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ValidatingAdmissionPolicyBindingSpec { public static final String SERIALIZED_NAME_MATCH_RESOURCES = "matchResources"; @SerializedName(SERIALIZED_NAME_MATCH_RESOURCES) @@ -314,3 +315,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ValidatingAdmissionPolicyList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ValidatingAdmissionPolicyList.java index 89b9b96e1a..e4a5bf8d83 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ValidatingAdmissionPolicyList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ValidatingAdmissionPolicyList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * ValidatingAdmissionPolicyList is a list of ValidatingAdmissionPolicy. */ @ApiModel(description = "ValidatingAdmissionPolicyList is a list of ValidatingAdmissionPolicy.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ValidatingAdmissionPolicyList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ValidatingAdmissionPolicySpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ValidatingAdmissionPolicySpec.java index 3310c79802..d5d554c239 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ValidatingAdmissionPolicySpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ValidatingAdmissionPolicySpec.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -58,7 +59,7 @@ * ValidatingAdmissionPolicySpec is the specification of the desired behavior of the AdmissionPolicy. */ @ApiModel(description = "ValidatingAdmissionPolicySpec is the specification of the desired behavior of the AdmissionPolicy.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ValidatingAdmissionPolicySpec { public static final String SERIALIZED_NAME_AUDIT_ANNOTATIONS = "auditAnnotations"; @SerializedName(SERIALIZED_NAME_AUDIT_ANNOTATIONS) @@ -478,3 +479,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ValidatingAdmissionPolicyStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ValidatingAdmissionPolicyStatus.java index 85ac5da726..88b6b8d41a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ValidatingAdmissionPolicyStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ValidatingAdmissionPolicyStatus.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * ValidatingAdmissionPolicyStatus represents the status of an admission validation policy. */ @ApiModel(description = "ValidatingAdmissionPolicyStatus represents the status of an admission validation policy.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ValidatingAdmissionPolicyStatus { public static final String SERIALIZED_NAME_CONDITIONS = "conditions"; @SerializedName(SERIALIZED_NAME_CONDITIONS) @@ -289,3 +290,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ValidatingWebhook.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ValidatingWebhook.java index 2366a5cc73..e2d13fc893 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ValidatingWebhook.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ValidatingWebhook.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -56,7 +57,7 @@ * ValidatingWebhook describes an admission webhook and the resources and operations it applies to. */ @ApiModel(description = "ValidatingWebhook describes an admission webhook and the resources and operations it applies to.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ValidatingWebhook { public static final String SERIALIZED_NAME_ADMISSION_REVIEW_VERSIONS = "admissionReviewVersions"; @SerializedName(SERIALIZED_NAME_ADMISSION_REVIEW_VERSIONS) @@ -580,3 +581,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ValidatingWebhookConfiguration.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ValidatingWebhookConfiguration.java index ec44b0ac4d..af62a48b17 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ValidatingWebhookConfiguration.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ValidatingWebhookConfiguration.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it. */ @ApiModel(description = "ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ValidatingWebhookConfiguration implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -323,3 +324,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ValidatingWebhookConfigurationList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ValidatingWebhookConfigurationList.java index 6ab1073156..99957d0f0b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ValidatingWebhookConfigurationList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ValidatingWebhookConfigurationList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * ValidatingWebhookConfigurationList is a list of ValidatingWebhookConfiguration. */ @ApiModel(description = "ValidatingWebhookConfigurationList is a list of ValidatingWebhookConfiguration.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ValidatingWebhookConfigurationList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Validation.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Validation.java index 94930bc9e6..3bea3026a4 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Validation.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Validation.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * Validation specifies the CEL expression which is used to apply the validation. */ @ApiModel(description = "Validation specifies the CEL expression which is used to apply the validation.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1Validation { public static final String SERIALIZED_NAME_EXPRESSION = "expression"; @SerializedName(SERIALIZED_NAME_EXPRESSION) @@ -307,3 +308,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ValidationRule.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ValidationRule.java index ecd4230efc..b3929d6bcb 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ValidationRule.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ValidationRule.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * ValidationRule describes a validation rule written in the CEL expression language. */ @ApiModel(description = "ValidationRule describes a validation rule written in the CEL expression language.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1ValidationRule { public static final String SERIALIZED_NAME_FIELD_PATH = "fieldPath"; @SerializedName(SERIALIZED_NAME_FIELD_PATH) @@ -366,3 +367,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Variable.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Variable.java index 8cd38d08e8..ea31758e4f 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Variable.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Variable.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * Variable is the definition of a variable that is used for composition. A variable is defined as a named expression. */ @ApiModel(description = "Variable is the definition of a variable that is used for composition. A variable is defined as a named expression.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1Variable { public static final String SERIALIZED_NAME_EXPRESSION = "expression"; @SerializedName(SERIALIZED_NAME_EXPRESSION) @@ -246,3 +247,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Volume.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Volume.java index a0095d9faa..f4057a4dee 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Volume.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1Volume.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -80,7 +81,7 @@ * Volume represents a named volume in a pod that may be accessed by any container in the pod. */ @ApiModel(description = "Volume represents a named volume in a pod that may be accessed by any container in the pod.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1Volume { public static final String SERIALIZED_NAME_AWS_ELASTIC_BLOCK_STORE = "awsElasticBlockStore"; @SerializedName(SERIALIZED_NAME_AWS_ELASTIC_BLOCK_STORE) @@ -1204,3 +1205,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeAttachment.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeAttachment.java index f951494072..07b609f388 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeAttachment.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeAttachment.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node. VolumeAttachment objects are non-namespaced. */ @ApiModel(description = "VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node. VolumeAttachment objects are non-namespaced.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1VolumeAttachment implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -342,3 +343,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeAttachmentList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeAttachmentList.java index 57b84f7ab2..f7dcdc5d21 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeAttachmentList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeAttachmentList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * VolumeAttachmentList is a collection of VolumeAttachment objects. */ @ApiModel(description = "VolumeAttachmentList is a collection of VolumeAttachment objects.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1VolumeAttachmentList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeAttachmentSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeAttachmentSource.java index 169bc8ebe3..2d8ec20b51 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeAttachmentSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeAttachmentSource.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * VolumeAttachmentSource represents a volume that should be attached. Right now only PersistentVolumes can be attached via external attacher, in the future we may allow also inline volumes in pods. Exactly one member can be set. */ @ApiModel(description = "VolumeAttachmentSource represents a volume that should be attached. Right now only PersistentVolumes can be attached via external attacher, in the future we may allow also inline volumes in pods. Exactly one member can be set.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1VolumeAttachmentSource { public static final String SERIALIZED_NAME_INLINE_VOLUME_SPEC = "inlineVolumeSpec"; @SerializedName(SERIALIZED_NAME_INLINE_VOLUME_SPEC) @@ -239,3 +240,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeAttachmentSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeAttachmentSpec.java index b2abeddb70..7ab29b80e5 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeAttachmentSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeAttachmentSpec.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * VolumeAttachmentSpec is the specification of a VolumeAttachment request. */ @ApiModel(description = "VolumeAttachmentSpec is the specification of a VolumeAttachment request.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1VolumeAttachmentSpec { public static final String SERIALIZED_NAME_ATTACHER = "attacher"; @SerializedName(SERIALIZED_NAME_ATTACHER) @@ -278,3 +279,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeAttachmentStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeAttachmentStatus.java index 99762b11cc..f6826d0d10 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeAttachmentStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeAttachmentStatus.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * VolumeAttachmentStatus is the status of a VolumeAttachment request. */ @ApiModel(description = "VolumeAttachmentStatus is the status of a VolumeAttachment request.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1VolumeAttachmentStatus { public static final String SERIALIZED_NAME_ATTACH_ERROR = "attachError"; @SerializedName(SERIALIZED_NAME_ATTACH_ERROR) @@ -314,3 +315,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeAttributesClass.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeAttributesClass.java new file mode 100644 index 0000000000..8116e2cd41 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeAttributesClass.java @@ -0,0 +1,351 @@ +/* + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package io.kubernetes.client.openapi.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.openapi.models.V1ObjectMeta; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import io.kubernetes.client.openapi.JSON; + +/** + * VolumeAttributesClass represents a specification of mutable volume attributes defined by the CSI driver. The class can be specified during dynamic provisioning of PersistentVolumeClaims, and changed in the PersistentVolumeClaim spec after provisioning. + */ +@ApiModel(description = "VolumeAttributesClass represents a specification of mutable volume attributes defined by the CSI driver. The class can be specified during dynamic provisioning of PersistentVolumeClaims, and changed in the PersistentVolumeClaim spec after provisioning.") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1VolumeAttributesClass implements io.kubernetes.client.common.KubernetesObject { + public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; + @SerializedName(SERIALIZED_NAME_API_VERSION) + @jakarta.annotation.Nullable + private String apiVersion; + + public static final String SERIALIZED_NAME_DRIVER_NAME = "driverName"; + @SerializedName(SERIALIZED_NAME_DRIVER_NAME) + @jakarta.annotation.Nonnull + private String driverName; + + public static final String SERIALIZED_NAME_KIND = "kind"; + @SerializedName(SERIALIZED_NAME_KIND) + @jakarta.annotation.Nullable + private String kind; + + public static final String SERIALIZED_NAME_METADATA = "metadata"; + @SerializedName(SERIALIZED_NAME_METADATA) + @jakarta.annotation.Nullable + private V1ObjectMeta metadata; + + public static final String SERIALIZED_NAME_PARAMETERS = "parameters"; + @SerializedName(SERIALIZED_NAME_PARAMETERS) + @jakarta.annotation.Nullable + private Map parameters = new HashMap<>(); + + public V1VolumeAttributesClass() { + } + + public V1VolumeAttributesClass apiVersion(@jakarta.annotation.Nullable String apiVersion) { + this.apiVersion = apiVersion; + return this; + } + + /** + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + * @return apiVersion + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources") + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(@jakarta.annotation.Nullable String apiVersion) { + this.apiVersion = apiVersion; + } + + + public V1VolumeAttributesClass driverName(@jakarta.annotation.Nonnull String driverName) { + this.driverName = driverName; + return this; + } + + /** + * Name of the CSI driver This field is immutable. + * @return driverName + */ + @jakarta.annotation.Nonnull + @ApiModelProperty(required = true, value = "Name of the CSI driver This field is immutable.") + public String getDriverName() { + return driverName; + } + + public void setDriverName(@jakarta.annotation.Nonnull String driverName) { + this.driverName = driverName; + } + + + public V1VolumeAttributesClass kind(@jakarta.annotation.Nullable String kind) { + this.kind = kind; + return this; + } + + /** + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + * @return kind + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds") + public String getKind() { + return kind; + } + + public void setKind(@jakarta.annotation.Nullable String kind) { + this.kind = kind; + } + + + public V1VolumeAttributesClass metadata(@jakarta.annotation.Nullable V1ObjectMeta metadata) { + this.metadata = metadata; + return this; + } + + /** + * Get metadata + * @return metadata + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "") + public V1ObjectMeta getMetadata() { + return metadata; + } + + public void setMetadata(@jakarta.annotation.Nullable V1ObjectMeta metadata) { + this.metadata = metadata; + } + + + public V1VolumeAttributesClass parameters(@jakarta.annotation.Nullable Map parameters) { + this.parameters = parameters; + return this; + } + + public V1VolumeAttributesClass putParametersItem(String key, String parametersItem) { + if (this.parameters == null) { + this.parameters = new HashMap<>(); + } + this.parameters.put(key, parametersItem); + return this; + } + + /** + * parameters hold volume attributes defined by the CSI driver. These values are opaque to the Kubernetes and are passed directly to the CSI driver. The underlying storage provider supports changing these attributes on an existing volume, however the parameters field itself is immutable. To invoke a volume update, a new VolumeAttributesClass should be created with new parameters, and the PersistentVolumeClaim should be updated to reference the new VolumeAttributesClass. This field is required and must contain at least one key/value pair. The keys cannot be empty, and the maximum number of parameters is 512, with a cumulative max size of 256K. If the CSI driver rejects invalid parameters, the target PersistentVolumeClaim will be set to an \"Infeasible\" state in the modifyVolumeStatus field. + * @return parameters + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "parameters hold volume attributes defined by the CSI driver. These values are opaque to the Kubernetes and are passed directly to the CSI driver. The underlying storage provider supports changing these attributes on an existing volume, however the parameters field itself is immutable. To invoke a volume update, a new VolumeAttributesClass should be created with new parameters, and the PersistentVolumeClaim should be updated to reference the new VolumeAttributesClass. This field is required and must contain at least one key/value pair. The keys cannot be empty, and the maximum number of parameters is 512, with a cumulative max size of 256K. If the CSI driver rejects invalid parameters, the target PersistentVolumeClaim will be set to an \"Infeasible\" state in the modifyVolumeStatus field.") + public Map getParameters() { + return parameters; + } + + public void setParameters(@jakarta.annotation.Nullable Map parameters) { + this.parameters = parameters; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1VolumeAttributesClass v1VolumeAttributesClass = (V1VolumeAttributesClass) o; + return Objects.equals(this.apiVersion, v1VolumeAttributesClass.apiVersion) && + Objects.equals(this.driverName, v1VolumeAttributesClass.driverName) && + Objects.equals(this.kind, v1VolumeAttributesClass.kind) && + Objects.equals(this.metadata, v1VolumeAttributesClass.metadata) && + Objects.equals(this.parameters, v1VolumeAttributesClass.parameters); + } + + @Override + public int hashCode() { + return Objects.hash(apiVersion, driverName, kind, metadata, parameters); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1VolumeAttributesClass {\n"); + sb.append(" apiVersion: ").append(toIndentedString(apiVersion)).append("\n"); + sb.append(" driverName: ").append(toIndentedString(driverName)).append("\n"); + sb.append(" kind: ").append(toIndentedString(kind)).append("\n"); + sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + sb.append(" parameters: ").append(toIndentedString(parameters)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("apiVersion"); + openapiFields.add("driverName"); + openapiFields.add("kind"); + openapiFields.add("metadata"); + openapiFields.add("parameters"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("driverName"); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to V1VolumeAttributesClass + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!V1VolumeAttributesClass.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1VolumeAttributesClass is not found in the empty JSON string", V1VolumeAttributesClass.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!V1VolumeAttributesClass.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1VolumeAttributesClass` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : V1VolumeAttributesClass.openapiRequiredFields) { + if (jsonElement.getAsJsonObject().get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("apiVersion") != null && !jsonObj.get("apiVersion").isJsonNull()) && !jsonObj.get("apiVersion").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `apiVersion` to be a primitive type in the JSON string but got `%s`", jsonObj.get("apiVersion").toString())); + } + if (!jsonObj.get("driverName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `driverName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("driverName").toString())); + } + if ((jsonObj.get("kind") != null && !jsonObj.get("kind").isJsonNull()) && !jsonObj.get("kind").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `kind` to be a primitive type in the JSON string but got `%s`", jsonObj.get("kind").toString())); + } + // validate the optional field `metadata` + if (jsonObj.get("metadata") != null && !jsonObj.get("metadata").isJsonNull()) { + V1ObjectMeta.validateJsonElement(jsonObj.get("metadata")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!V1VolumeAttributesClass.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1VolumeAttributesClass' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1VolumeAttributesClass.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, V1VolumeAttributesClass value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public V1VolumeAttributesClass read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of V1VolumeAttributesClass given an JSON string + * + * @param jsonString JSON string + * @return An instance of V1VolumeAttributesClass + * @throws IOException if the JSON string is invalid with respect to V1VolumeAttributesClass + */ + public static V1VolumeAttributesClass fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1VolumeAttributesClass.class); + } + + /** + * Convert an instance of V1VolumeAttributesClass to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeAttributesClassList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeAttributesClassList.java new file mode 100644 index 0000000000..b9a7a95a7b --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeAttributesClassList.java @@ -0,0 +1,331 @@ +/* + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package io.kubernetes.client.openapi.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.openapi.models.V1ListMeta; +import io.kubernetes.client.openapi.models.V1VolumeAttributesClass; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import io.kubernetes.client.openapi.JSON; + +/** + * VolumeAttributesClassList is a collection of VolumeAttributesClass objects. + */ +@ApiModel(description = "VolumeAttributesClassList is a collection of VolumeAttributesClass objects.") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1VolumeAttributesClassList implements io.kubernetes.client.common.KubernetesListObject { + public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; + @SerializedName(SERIALIZED_NAME_API_VERSION) + @jakarta.annotation.Nullable + private String apiVersion; + + public static final String SERIALIZED_NAME_ITEMS = "items"; + @SerializedName(SERIALIZED_NAME_ITEMS) + @jakarta.annotation.Nonnull + private List items = new ArrayList<>(); + + public static final String SERIALIZED_NAME_KIND = "kind"; + @SerializedName(SERIALIZED_NAME_KIND) + @jakarta.annotation.Nullable + private String kind; + + public static final String SERIALIZED_NAME_METADATA = "metadata"; + @SerializedName(SERIALIZED_NAME_METADATA) + @jakarta.annotation.Nullable + private V1ListMeta metadata; + + public V1VolumeAttributesClassList() { + } + + public V1VolumeAttributesClassList apiVersion(@jakarta.annotation.Nullable String apiVersion) { + this.apiVersion = apiVersion; + return this; + } + + /** + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + * @return apiVersion + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources") + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(@jakarta.annotation.Nullable String apiVersion) { + this.apiVersion = apiVersion; + } + + + public V1VolumeAttributesClassList items(@jakarta.annotation.Nonnull List items) { + this.items = items; + return this; + } + + public V1VolumeAttributesClassList addItemsItem(V1VolumeAttributesClass itemsItem) { + if (this.items == null) { + this.items = new ArrayList<>(); + } + this.items.add(itemsItem); + return this; + } + + /** + * items is the list of VolumeAttributesClass objects. + * @return items + */ + @jakarta.annotation.Nonnull + @ApiModelProperty(required = true, value = "items is the list of VolumeAttributesClass objects.") + public List getItems() { + return items; + } + + public void setItems(@jakarta.annotation.Nonnull List items) { + this.items = items; + } + + + public V1VolumeAttributesClassList kind(@jakarta.annotation.Nullable String kind) { + this.kind = kind; + return this; + } + + /** + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + * @return kind + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds") + public String getKind() { + return kind; + } + + public void setKind(@jakarta.annotation.Nullable String kind) { + this.kind = kind; + } + + + public V1VolumeAttributesClassList metadata(@jakarta.annotation.Nullable V1ListMeta metadata) { + this.metadata = metadata; + return this; + } + + /** + * Get metadata + * @return metadata + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "") + public V1ListMeta getMetadata() { + return metadata; + } + + public void setMetadata(@jakarta.annotation.Nullable V1ListMeta metadata) { + this.metadata = metadata; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1VolumeAttributesClassList v1VolumeAttributesClassList = (V1VolumeAttributesClassList) o; + return Objects.equals(this.apiVersion, v1VolumeAttributesClassList.apiVersion) && + Objects.equals(this.items, v1VolumeAttributesClassList.items) && + Objects.equals(this.kind, v1VolumeAttributesClassList.kind) && + Objects.equals(this.metadata, v1VolumeAttributesClassList.metadata); + } + + @Override + public int hashCode() { + return Objects.hash(apiVersion, items, kind, metadata); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1VolumeAttributesClassList {\n"); + sb.append(" apiVersion: ").append(toIndentedString(apiVersion)).append("\n"); + sb.append(" items: ").append(toIndentedString(items)).append("\n"); + sb.append(" kind: ").append(toIndentedString(kind)).append("\n"); + sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("apiVersion"); + openapiFields.add("items"); + openapiFields.add("kind"); + openapiFields.add("metadata"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("items"); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to V1VolumeAttributesClassList + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!V1VolumeAttributesClassList.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1VolumeAttributesClassList is not found in the empty JSON string", V1VolumeAttributesClassList.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!V1VolumeAttributesClassList.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1VolumeAttributesClassList` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : V1VolumeAttributesClassList.openapiRequiredFields) { + if (jsonElement.getAsJsonObject().get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("apiVersion") != null && !jsonObj.get("apiVersion").isJsonNull()) && !jsonObj.get("apiVersion").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `apiVersion` to be a primitive type in the JSON string but got `%s`", jsonObj.get("apiVersion").toString())); + } + // ensure the json data is an array + if (!jsonObj.get("items").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `items` to be an array in the JSON string but got `%s`", jsonObj.get("items").toString())); + } + + JsonArray jsonArrayitems = jsonObj.getAsJsonArray("items"); + // validate the required field `items` (array) + for (int i = 0; i < jsonArrayitems.size(); i++) { + V1VolumeAttributesClass.validateJsonElement(jsonArrayitems.get(i)); + }; + if ((jsonObj.get("kind") != null && !jsonObj.get("kind").isJsonNull()) && !jsonObj.get("kind").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `kind` to be a primitive type in the JSON string but got `%s`", jsonObj.get("kind").toString())); + } + // validate the optional field `metadata` + if (jsonObj.get("metadata") != null && !jsonObj.get("metadata").isJsonNull()) { + V1ListMeta.validateJsonElement(jsonObj.get("metadata")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!V1VolumeAttributesClassList.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1VolumeAttributesClassList' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1VolumeAttributesClassList.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, V1VolumeAttributesClassList value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public V1VolumeAttributesClassList read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of V1VolumeAttributesClassList given an JSON string + * + * @param jsonString JSON string + * @return An instance of V1VolumeAttributesClassList + * @throws IOException if the JSON string is invalid with respect to V1VolumeAttributesClassList + */ + public static V1VolumeAttributesClassList fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1VolumeAttributesClassList.class); + } + + /** + * Convert an instance of V1VolumeAttributesClassList to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeDevice.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeDevice.java index 9f15f77f1b..25bdf18ed9 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeDevice.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeDevice.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * volumeDevice describes a mapping of a raw block device within a container. */ @ApiModel(description = "volumeDevice describes a mapping of a raw block device within a container.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1VolumeDevice { public static final String SERIALIZED_NAME_DEVICE_PATH = "devicePath"; @SerializedName(SERIALIZED_NAME_DEVICE_PATH) @@ -246,3 +247,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeError.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeError.java index 0060856ffa..5a912683ad 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeError.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeError.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * VolumeError captures an error encountered during a volume operation. */ @ApiModel(description = "VolumeError captures an error encountered during a volume operation.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1VolumeError { public static final String SERIALIZED_NAME_ERROR_CODE = "errorCode"; @SerializedName(SERIALIZED_NAME_ERROR_CODE) @@ -77,11 +78,11 @@ public V1VolumeError errorCode(@jakarta.annotation.Nullable Integer errorCode) { } /** - * errorCode is a numeric gRPC code representing the error encountered during Attach or Detach operations. This is an optional, alpha field that requires the MutableCSINodeAllocatableCount feature gate being enabled to be set. + * errorCode is a numeric gRPC code representing the error encountered during Attach or Detach operations. This is an optional, beta field that requires the MutableCSINodeAllocatableCount feature gate being enabled to be set. * @return errorCode */ @jakarta.annotation.Nullable - @ApiModelProperty(value = "errorCode is a numeric gRPC code representing the error encountered during Attach or Detach operations. This is an optional, alpha field that requires the MutableCSINodeAllocatableCount feature gate being enabled to be set.") + @ApiModelProperty(value = "errorCode is a numeric gRPC code representing the error encountered during Attach or Detach operations. This is an optional, beta field that requires the MutableCSINodeAllocatableCount feature gate being enabled to be set.") public Integer getErrorCode() { return errorCode; } @@ -263,3 +264,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeMount.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeMount.java index cde99fd47d..d60c22ccd7 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeMount.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeMount.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * VolumeMount describes a mounting of a Volume within a container. */ @ApiModel(description = "VolumeMount describes a mounting of a Volume within a container.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1VolumeMount { public static final String SERIALIZED_NAME_MOUNT_PATH = "mountPath"; @SerializedName(SERIALIZED_NAME_MOUNT_PATH) @@ -398,3 +399,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeMountStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeMountStatus.java index 4f93661a94..1dd435b5b5 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeMountStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeMountStatus.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * VolumeMountStatus shows status of volume mounts. */ @ApiModel(description = "VolumeMountStatus shows status of volume mounts.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1VolumeMountStatus { public static final String SERIALIZED_NAME_MOUNT_PATH = "mountPath"; @SerializedName(SERIALIZED_NAME_MOUNT_PATH) @@ -305,3 +306,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeNodeAffinity.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeNodeAffinity.java index 832d37a508..91286e1d28 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeNodeAffinity.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeNodeAffinity.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from. */ @ApiModel(description = "VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1VolumeNodeAffinity { public static final String SERIALIZED_NAME_REQUIRED = "required"; @SerializedName(SERIALIZED_NAME_REQUIRED) @@ -208,3 +209,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeNodeResources.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeNodeResources.java index 1647aaa18c..78f007a0a3 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeNodeResources.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeNodeResources.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * VolumeNodeResources is a set of resource limits for scheduling of volumes. */ @ApiModel(description = "VolumeNodeResources is a set of resource limits for scheduling of volumes.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1VolumeNodeResources { public static final String SERIALIZED_NAME_COUNT = "count"; @SerializedName(SERIALIZED_NAME_COUNT) @@ -203,3 +204,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeProjection.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeProjection.java index 87ecf98c66..2124b46187 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeProjection.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeProjection.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -21,6 +22,7 @@ import io.kubernetes.client.openapi.models.V1ClusterTrustBundleProjection; import io.kubernetes.client.openapi.models.V1ConfigMapProjection; import io.kubernetes.client.openapi.models.V1DownwardAPIProjection; +import io.kubernetes.client.openapi.models.V1PodCertificateProjection; import io.kubernetes.client.openapi.models.V1SecretProjection; import io.kubernetes.client.openapi.models.V1ServiceAccountTokenProjection; import io.swagger.annotations.ApiModel; @@ -55,7 +57,7 @@ * Projection that may be projected along with other supported volume types. Exactly one of these fields must be set. */ @ApiModel(description = "Projection that may be projected along with other supported volume types. Exactly one of these fields must be set.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1VolumeProjection { public static final String SERIALIZED_NAME_CLUSTER_TRUST_BUNDLE = "clusterTrustBundle"; @SerializedName(SERIALIZED_NAME_CLUSTER_TRUST_BUNDLE) @@ -72,6 +74,11 @@ public class V1VolumeProjection { @jakarta.annotation.Nullable private V1DownwardAPIProjection downwardAPI; + public static final String SERIALIZED_NAME_POD_CERTIFICATE = "podCertificate"; + @SerializedName(SERIALIZED_NAME_POD_CERTIFICATE) + @jakarta.annotation.Nullable + private V1PodCertificateProjection podCertificate; + public static final String SERIALIZED_NAME_SECRET = "secret"; @SerializedName(SERIALIZED_NAME_SECRET) @jakarta.annotation.Nullable @@ -145,6 +152,26 @@ public void setDownwardAPI(@jakarta.annotation.Nullable V1DownwardAPIProjection } + public V1VolumeProjection podCertificate(@jakarta.annotation.Nullable V1PodCertificateProjection podCertificate) { + this.podCertificate = podCertificate; + return this; + } + + /** + * Get podCertificate + * @return podCertificate + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "") + public V1PodCertificateProjection getPodCertificate() { + return podCertificate; + } + + public void setPodCertificate(@jakarta.annotation.Nullable V1PodCertificateProjection podCertificate) { + this.podCertificate = podCertificate; + } + + public V1VolumeProjection secret(@jakarta.annotation.Nullable V1SecretProjection secret) { this.secret = secret; return this; @@ -198,13 +225,14 @@ public boolean equals(Object o) { return Objects.equals(this.clusterTrustBundle, v1VolumeProjection.clusterTrustBundle) && Objects.equals(this.configMap, v1VolumeProjection.configMap) && Objects.equals(this.downwardAPI, v1VolumeProjection.downwardAPI) && + Objects.equals(this.podCertificate, v1VolumeProjection.podCertificate) && Objects.equals(this.secret, v1VolumeProjection.secret) && Objects.equals(this.serviceAccountToken, v1VolumeProjection.serviceAccountToken); } @Override public int hashCode() { - return Objects.hash(clusterTrustBundle, configMap, downwardAPI, secret, serviceAccountToken); + return Objects.hash(clusterTrustBundle, configMap, downwardAPI, podCertificate, secret, serviceAccountToken); } @Override @@ -214,6 +242,7 @@ public String toString() { sb.append(" clusterTrustBundle: ").append(toIndentedString(clusterTrustBundle)).append("\n"); sb.append(" configMap: ").append(toIndentedString(configMap)).append("\n"); sb.append(" downwardAPI: ").append(toIndentedString(downwardAPI)).append("\n"); + sb.append(" podCertificate: ").append(toIndentedString(podCertificate)).append("\n"); sb.append(" secret: ").append(toIndentedString(secret)).append("\n"); sb.append(" serviceAccountToken: ").append(toIndentedString(serviceAccountToken)).append("\n"); sb.append("}"); @@ -241,6 +270,7 @@ private String toIndentedString(Object o) { openapiFields.add("clusterTrustBundle"); openapiFields.add("configMap"); openapiFields.add("downwardAPI"); + openapiFields.add("podCertificate"); openapiFields.add("secret"); openapiFields.add("serviceAccountToken"); @@ -281,6 +311,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonObj.get("downwardAPI") != null && !jsonObj.get("downwardAPI").isJsonNull()) { V1DownwardAPIProjection.validateJsonElement(jsonObj.get("downwardAPI")); } + // validate the optional field `podCertificate` + if (jsonObj.get("podCertificate") != null && !jsonObj.get("podCertificate").isJsonNull()) { + V1PodCertificateProjection.validateJsonElement(jsonObj.get("podCertificate")); + } // validate the optional field `secret` if (jsonObj.get("secret") != null && !jsonObj.get("secret").isJsonNull()) { V1SecretProjection.validateJsonElement(jsonObj.get("secret")); @@ -340,3 +374,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeResourceRequirements.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeResourceRequirements.java index 3acfea9954..77ccc9ad55 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeResourceRequirements.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VolumeResourceRequirements.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * VolumeResourceRequirements describes the storage resource requirements for a volume. */ @ApiModel(description = "VolumeResourceRequirements describes the storage resource requirements for a volume.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1VolumeResourceRequirements { public static final String SERIALIZED_NAME_LIMITS = "limits"; @SerializedName(SERIALIZED_NAME_LIMITS) @@ -250,3 +251,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VsphereVirtualDiskVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VsphereVirtualDiskVolumeSource.java index de088559d0..20b7336b44 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VsphereVirtualDiskVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1VsphereVirtualDiskVolumeSource.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * Represents a vSphere volume resource. */ @ApiModel(description = "Represents a vSphere volume resource.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1VsphereVirtualDiskVolumeSource { public static final String SERIALIZED_NAME_FS_TYPE = "fsType"; @SerializedName(SERIALIZED_NAME_FS_TYPE) @@ -307,3 +308,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1WatchEvent.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1WatchEvent.java index 3743b19151..12570eecdf 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1WatchEvent.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1WatchEvent.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * Event represents a single event to a watched resource. */ @ApiModel(description = "Event represents a single event to a watched resource.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1WatchEvent { public static final String SERIALIZED_NAME_OBJECT = "object"; @SerializedName(SERIALIZED_NAME_OBJECT) @@ -243,3 +244,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1WebhookConversion.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1WebhookConversion.java index 002df88f06..f2e7c4f1c3 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1WebhookConversion.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1WebhookConversion.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * WebhookConversion describes how to call a conversion webhook */ @ApiModel(description = "WebhookConversion describes how to call a conversion webhook") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1WebhookConversion { public static final String SERIALIZED_NAME_CLIENT_CONFIG = "clientConfig"; @SerializedName(SERIALIZED_NAME_CLIENT_CONFIG) @@ -260,3 +261,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1WeightedPodAffinityTerm.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1WeightedPodAffinityTerm.java index 20d62c24cc..13b5641fb9 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1WeightedPodAffinityTerm.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1WeightedPodAffinityTerm.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) */ @ApiModel(description = "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1WeightedPodAffinityTerm { public static final String SERIALIZED_NAME_POD_AFFINITY_TERM = "podAffinityTerm"; @SerializedName(SERIALIZED_NAME_POD_AFFINITY_TERM) @@ -243,3 +244,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1WindowsSecurityContextOptions.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1WindowsSecurityContextOptions.java index 7150b0fb1b..1e7e724a5d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1WindowsSecurityContextOptions.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1WindowsSecurityContextOptions.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * WindowsSecurityContextOptions contain Windows-specific options and credentials. */ @ApiModel(description = "WindowsSecurityContextOptions contain Windows-specific options and credentials.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1WindowsSecurityContextOptions { public static final String SERIALIZED_NAME_GMSA_CREDENTIAL_SPEC = "gmsaCredentialSpec"; @SerializedName(SERIALIZED_NAME_GMSA_CREDENTIAL_SPEC) @@ -296,3 +297,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1ApplyConfiguration.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1ApplyConfiguration.java index cb7c84cd1d..89c4733d74 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1ApplyConfiguration.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1ApplyConfiguration.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * ApplyConfiguration defines the desired configuration values of an object. */ @ApiModel(description = "ApplyConfiguration defines the desired configuration values of an object.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1alpha1ApplyConfiguration { public static final String SERIALIZED_NAME_EXPRESSION = "expression"; @SerializedName(SERIALIZED_NAME_EXPRESSION) @@ -206,3 +207,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1ClusterTrustBundle.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1ClusterTrustBundle.java index 6538f07dd4..a75bccd484 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1ClusterTrustBundle.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1ClusterTrustBundle.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * ClusterTrustBundle is a cluster-scoped container for X.509 trust anchors (root certificates). ClusterTrustBundle objects are considered to be readable by any authenticated user in the cluster, because they can be mounted by pods using the `clusterTrustBundle` projection. All service accounts have read access to ClusterTrustBundles by default. Users who only have namespace-level access to a cluster can read ClusterTrustBundles by impersonating a serviceaccount that they have access to. It can be optionally associated with a particular assigner, in which case it contains one valid set of trust anchors for that signer. Signers may have multiple associated ClusterTrustBundles; each is an independent set of trust anchors for that signer. Admission control is used to enforce that only users with permissions on the signer can create or modify the corresponding bundle. */ @ApiModel(description = "ClusterTrustBundle is a cluster-scoped container for X.509 trust anchors (root certificates). ClusterTrustBundle objects are considered to be readable by any authenticated user in the cluster, because they can be mounted by pods using the `clusterTrustBundle` projection. All service accounts have read access to ClusterTrustBundles by default. Users who only have namespace-level access to a cluster can read ClusterTrustBundles by impersonating a serviceaccount that they have access to. It can be optionally associated with a particular assigner, in which case it contains one valid set of trust anchors for that signer. Signers may have multiple associated ClusterTrustBundles; each is an independent set of trust anchors for that signer. Admission control is used to enforce that only users with permissions on the signer can create or modify the corresponding bundle.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1alpha1ClusterTrustBundle implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -309,3 +310,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1ClusterTrustBundleList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1ClusterTrustBundleList.java index b94a708a35..89f603bfcd 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1ClusterTrustBundleList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1ClusterTrustBundleList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * ClusterTrustBundleList is a collection of ClusterTrustBundle objects */ @ApiModel(description = "ClusterTrustBundleList is a collection of ClusterTrustBundle objects") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1alpha1ClusterTrustBundleList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1ClusterTrustBundleSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1ClusterTrustBundleSpec.java index d8726dfa65..8168b766ad 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1ClusterTrustBundleSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1ClusterTrustBundleSpec.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * ClusterTrustBundleSpec contains the signer and trust anchors. */ @ApiModel(description = "ClusterTrustBundleSpec contains the signer and trust anchors.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1alpha1ClusterTrustBundleSpec { public static final String SERIALIZED_NAME_SIGNER_NAME = "signerName"; @SerializedName(SERIALIZED_NAME_SIGNER_NAME) @@ -245,3 +246,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1GroupVersionResource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1GroupVersionResource.java index 15fc695700..f5314311c2 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1GroupVersionResource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1GroupVersionResource.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * The names of the group, the version, and the resource. */ @ApiModel(description = "The names of the group, the version, and the resource.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1alpha1GroupVersionResource { public static final String SERIALIZED_NAME_GROUP = "group"; @SerializedName(SERIALIZED_NAME_GROUP) @@ -268,3 +269,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1JSONPatch.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1JSONPatch.java index 2b02b130e9..b3d95861d7 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1JSONPatch.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1JSONPatch.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * JSONPatch defines a JSON Patch. */ @ApiModel(description = "JSONPatch defines a JSON Patch.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1alpha1JSONPatch { public static final String SERIALIZED_NAME_EXPRESSION = "expression"; @SerializedName(SERIALIZED_NAME_EXPRESSION) @@ -206,3 +207,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1MatchCondition.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1MatchCondition.java index 5c78896ca3..6fefea446a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1MatchCondition.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1MatchCondition.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -49,7 +50,7 @@ /** * V1alpha1MatchCondition */ -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1alpha1MatchCondition { public static final String SERIALIZED_NAME_EXPRESSION = "expression"; @SerializedName(SERIALIZED_NAME_EXPRESSION) @@ -245,3 +246,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1MatchResources.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1MatchResources.java index c60a2ec8fe..014e0adb6b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1MatchResources.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1MatchResources.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * MatchResources decides whether to run the admission control policy on an object based on whether it meets the match criteria. The exclude rules take precedence over include rules (if a resource matches both, it is excluded) */ @ApiModel(description = "MatchResources decides whether to run the admission control policy on an object based on whether it meets the match criteria. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1alpha1MatchResources { public static final String SERIALIZED_NAME_EXCLUDE_RESOURCE_RULES = "excludeResourceRules"; @SerializedName(SERIALIZED_NAME_EXCLUDE_RESOURCE_RULES) @@ -374,3 +375,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1MigrationCondition.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1MigrationCondition.java index 7520ae519f..2906a1a0b0 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1MigrationCondition.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1MigrationCondition.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * Describes the state of a migration at a certain point. */ @ApiModel(description = "Describes the state of a migration at a certain point.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1alpha1MigrationCondition { public static final String SERIALIZED_NAME_LAST_UPDATE_TIME = "lastUpdateTime"; @SerializedName(SERIALIZED_NAME_LAST_UPDATE_TIME) @@ -337,3 +338,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1MutatingAdmissionPolicy.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1MutatingAdmissionPolicy.java index b9b5768d17..f8483451a8 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1MutatingAdmissionPolicy.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1MutatingAdmissionPolicy.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * MutatingAdmissionPolicy describes the definition of an admission mutation policy that mutates the object coming into admission chain. */ @ApiModel(description = "MutatingAdmissionPolicy describes the definition of an admission mutation policy that mutates the object coming into admission chain.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1alpha1MutatingAdmissionPolicy implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -303,3 +304,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1MutatingAdmissionPolicyBinding.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1MutatingAdmissionPolicyBinding.java index 0f20f0935f..51a55f50e7 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1MutatingAdmissionPolicyBinding.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1MutatingAdmissionPolicyBinding.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * 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. */ @ApiModel(description = "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.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1alpha1MutatingAdmissionPolicyBinding implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -303,3 +304,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1MutatingAdmissionPolicyBindingList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1MutatingAdmissionPolicyBindingList.java index d44301afeb..d5ae6c2d5e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1MutatingAdmissionPolicyBindingList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1MutatingAdmissionPolicyBindingList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * MutatingAdmissionPolicyBindingList is a list of MutatingAdmissionPolicyBinding. */ @ApiModel(description = "MutatingAdmissionPolicyBindingList is a list of MutatingAdmissionPolicyBinding.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1alpha1MutatingAdmissionPolicyBindingList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1MutatingAdmissionPolicyBindingSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1MutatingAdmissionPolicyBindingSpec.java index 99382ab463..11245b15e9 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1MutatingAdmissionPolicyBindingSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1MutatingAdmissionPolicyBindingSpec.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * MutatingAdmissionPolicyBindingSpec is the specification of the MutatingAdmissionPolicyBinding. */ @ApiModel(description = "MutatingAdmissionPolicyBindingSpec is the specification of the MutatingAdmissionPolicyBinding.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1alpha1MutatingAdmissionPolicyBindingSpec { public static final String SERIALIZED_NAME_MATCH_RESOURCES = "matchResources"; @SerializedName(SERIALIZED_NAME_MATCH_RESOURCES) @@ -272,3 +273,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1MutatingAdmissionPolicyList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1MutatingAdmissionPolicyList.java index 0d58a86802..b04bceb930 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1MutatingAdmissionPolicyList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1MutatingAdmissionPolicyList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * MutatingAdmissionPolicyList is a list of MutatingAdmissionPolicy. */ @ApiModel(description = "MutatingAdmissionPolicyList is a list of MutatingAdmissionPolicy.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1alpha1MutatingAdmissionPolicyList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1MutatingAdmissionPolicySpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1MutatingAdmissionPolicySpec.java index 55f0dda9a7..a825379468 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1MutatingAdmissionPolicySpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1MutatingAdmissionPolicySpec.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -57,7 +58,7 @@ * MutatingAdmissionPolicySpec is the specification of the desired behavior of the admission policy. */ @ApiModel(description = "MutatingAdmissionPolicySpec is the specification of the desired behavior of the admission policy.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1alpha1MutatingAdmissionPolicySpec { public static final String SERIALIZED_NAME_FAILURE_POLICY = "failurePolicy"; @SerializedName(SERIALIZED_NAME_FAILURE_POLICY) @@ -458,3 +459,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1Mutation.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1Mutation.java index 28d8bb45b7..5af93ff6bd 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1Mutation.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1Mutation.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * Mutation specifies the CEL expression which is used to apply the Mutation. */ @ApiModel(description = "Mutation specifies the CEL expression which is used to apply the Mutation.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1alpha1Mutation { public static final String SERIALIZED_NAME_APPLY_CONFIGURATION = "applyConfiguration"; @SerializedName(SERIALIZED_NAME_APPLY_CONFIGURATION) @@ -280,3 +281,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1NamedRuleWithOperations.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1NamedRuleWithOperations.java index ba8cd1b14d..3c2dc679c3 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1NamedRuleWithOperations.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1NamedRuleWithOperations.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames. */ @ApiModel(description = "NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1alpha1NamedRuleWithOperations { public static final String SERIALIZED_NAME_API_GROUPS = "apiGroups"; @SerializedName(SERIALIZED_NAME_API_GROUPS) @@ -408,3 +409,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1ParamKind.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1ParamKind.java index 619ea75392..49130f1599 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1ParamKind.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1ParamKind.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * ParamKind is a tuple of Group Kind and Version. */ @ApiModel(description = "ParamKind is a tuple of Group Kind and Version.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1alpha1ParamKind { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -237,3 +238,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1ParamRef.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1ParamRef.java index 84d855b37f..7b09cb5a86 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1ParamRef.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1ParamRef.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding. */ @ApiModel(description = "ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1alpha1ParamRef { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -301,3 +302,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ValidatingAdmissionPolicy.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1PodCertificateRequest.java similarity index 64% rename from kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ValidatingAdmissionPolicy.java rename to kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1PodCertificateRequest.java index 87d5de28f8..6f94d71c47 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ValidatingAdmissionPolicy.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1PodCertificateRequest.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -19,8 +20,8 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import io.kubernetes.client.openapi.models.V1ObjectMeta; -import io.kubernetes.client.openapi.models.V1beta1ValidatingAdmissionPolicySpec; -import io.kubernetes.client.openapi.models.V1beta1ValidatingAdmissionPolicyStatus; +import io.kubernetes.client.openapi.models.V1alpha1PodCertificateRequestSpec; +import io.kubernetes.client.openapi.models.V1alpha1PodCertificateRequestStatus; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; @@ -50,11 +51,11 @@ import io.kubernetes.client.openapi.JSON; /** - * ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it. + * PodCertificateRequest encodes a pod requesting a certificate from a given signer. Kubelets use this API to implement podCertificate projected volumes */ -@ApiModel(description = "ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") -public class V1beta1ValidatingAdmissionPolicy implements io.kubernetes.client.common.KubernetesObject { +@ApiModel(description = "PodCertificateRequest encodes a pod requesting a certificate from a given signer. Kubelets use this API to implement podCertificate projected volumes") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1alpha1PodCertificateRequest implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @jakarta.annotation.Nullable @@ -72,18 +73,18 @@ public class V1beta1ValidatingAdmissionPolicy implements io.kubernetes.client.co public static final String SERIALIZED_NAME_SPEC = "spec"; @SerializedName(SERIALIZED_NAME_SPEC) - @jakarta.annotation.Nullable - private V1beta1ValidatingAdmissionPolicySpec spec; + @jakarta.annotation.Nonnull + private V1alpha1PodCertificateRequestSpec spec; public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) @jakarta.annotation.Nullable - private V1beta1ValidatingAdmissionPolicyStatus status; + private V1alpha1PodCertificateRequestStatus status; - public V1beta1ValidatingAdmissionPolicy() { + public V1alpha1PodCertificateRequest() { } - public V1beta1ValidatingAdmissionPolicy apiVersion(@jakarta.annotation.Nullable String apiVersion) { + public V1alpha1PodCertificateRequest apiVersion(@jakarta.annotation.Nullable String apiVersion) { this.apiVersion = apiVersion; return this; } @@ -103,7 +104,7 @@ public void setApiVersion(@jakarta.annotation.Nullable String apiVersion) { } - public V1beta1ValidatingAdmissionPolicy kind(@jakarta.annotation.Nullable String kind) { + public V1alpha1PodCertificateRequest kind(@jakarta.annotation.Nullable String kind) { this.kind = kind; return this; } @@ -123,7 +124,7 @@ public void setKind(@jakarta.annotation.Nullable String kind) { } - public V1beta1ValidatingAdmissionPolicy metadata(@jakarta.annotation.Nullable V1ObjectMeta metadata) { + public V1alpha1PodCertificateRequest metadata(@jakarta.annotation.Nullable V1ObjectMeta metadata) { this.metadata = metadata; return this; } @@ -143,7 +144,7 @@ public void setMetadata(@jakarta.annotation.Nullable V1ObjectMeta metadata) { } - public V1beta1ValidatingAdmissionPolicy spec(@jakarta.annotation.Nullable V1beta1ValidatingAdmissionPolicySpec spec) { + public V1alpha1PodCertificateRequest spec(@jakarta.annotation.Nonnull V1alpha1PodCertificateRequestSpec spec) { this.spec = spec; return this; } @@ -152,18 +153,18 @@ public V1beta1ValidatingAdmissionPolicy spec(@jakarta.annotation.Nullable V1beta * Get spec * @return spec */ - @jakarta.annotation.Nullable - @ApiModelProperty(value = "") - public V1beta1ValidatingAdmissionPolicySpec getSpec() { + @jakarta.annotation.Nonnull + @ApiModelProperty(required = true, value = "") + public V1alpha1PodCertificateRequestSpec getSpec() { return spec; } - public void setSpec(@jakarta.annotation.Nullable V1beta1ValidatingAdmissionPolicySpec spec) { + public void setSpec(@jakarta.annotation.Nonnull V1alpha1PodCertificateRequestSpec spec) { this.spec = spec; } - public V1beta1ValidatingAdmissionPolicy status(@jakarta.annotation.Nullable V1beta1ValidatingAdmissionPolicyStatus status) { + public V1alpha1PodCertificateRequest status(@jakarta.annotation.Nullable V1alpha1PodCertificateRequestStatus status) { this.status = status; return this; } @@ -174,11 +175,11 @@ public V1beta1ValidatingAdmissionPolicy status(@jakarta.annotation.Nullable V1be */ @jakarta.annotation.Nullable @ApiModelProperty(value = "") - public V1beta1ValidatingAdmissionPolicyStatus getStatus() { + public V1alpha1PodCertificateRequestStatus getStatus() { return status; } - public void setStatus(@jakarta.annotation.Nullable V1beta1ValidatingAdmissionPolicyStatus status) { + public void setStatus(@jakarta.annotation.Nullable V1alpha1PodCertificateRequestStatus status) { this.status = status; } @@ -192,12 +193,12 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V1beta1ValidatingAdmissionPolicy v1beta1ValidatingAdmissionPolicy = (V1beta1ValidatingAdmissionPolicy) o; - return Objects.equals(this.apiVersion, v1beta1ValidatingAdmissionPolicy.apiVersion) && - Objects.equals(this.kind, v1beta1ValidatingAdmissionPolicy.kind) && - Objects.equals(this.metadata, v1beta1ValidatingAdmissionPolicy.metadata) && - Objects.equals(this.spec, v1beta1ValidatingAdmissionPolicy.spec) && - Objects.equals(this.status, v1beta1ValidatingAdmissionPolicy.status); + V1alpha1PodCertificateRequest v1alpha1PodCertificateRequest = (V1alpha1PodCertificateRequest) o; + return Objects.equals(this.apiVersion, v1alpha1PodCertificateRequest.apiVersion) && + Objects.equals(this.kind, v1alpha1PodCertificateRequest.kind) && + Objects.equals(this.metadata, v1alpha1PodCertificateRequest.metadata) && + Objects.equals(this.spec, v1alpha1PodCertificateRequest.spec) && + Objects.equals(this.status, v1alpha1PodCertificateRequest.status); } @Override @@ -208,7 +209,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V1beta1ValidatingAdmissionPolicy {\n"); + sb.append("class V1alpha1PodCertificateRequest {\n"); sb.append(" apiVersion: ").append(toIndentedString(apiVersion)).append("\n"); sb.append(" kind: ").append(toIndentedString(kind)).append("\n"); sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); @@ -244,26 +245,34 @@ private String toIndentedString(Object o) { // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("spec"); } /** * Validates the JSON Element and throws an exception if issues found * * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to V1beta1ValidatingAdmissionPolicy + * @throws IOException if the JSON Element is invalid with respect to V1alpha1PodCertificateRequest */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - if (!V1beta1ValidatingAdmissionPolicy.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in V1beta1ValidatingAdmissionPolicy is not found in the empty JSON string", V1beta1ValidatingAdmissionPolicy.openapiRequiredFields.toString())); + if (!V1alpha1PodCertificateRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1alpha1PodCertificateRequest is not found in the empty JSON string", V1alpha1PodCertificateRequest.openapiRequiredFields.toString())); } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { - if (!V1beta1ValidatingAdmissionPolicy.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1beta1ValidatingAdmissionPolicy` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + if (!V1alpha1PodCertificateRequest.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1alpha1PodCertificateRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : V1alpha1PodCertificateRequest.openapiRequiredFields) { + if (jsonElement.getAsJsonObject().get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); @@ -277,13 +286,11 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonObj.get("metadata") != null && !jsonObj.get("metadata").isJsonNull()) { V1ObjectMeta.validateJsonElement(jsonObj.get("metadata")); } - // validate the optional field `spec` - if (jsonObj.get("spec") != null && !jsonObj.get("spec").isJsonNull()) { - V1beta1ValidatingAdmissionPolicySpec.validateJsonElement(jsonObj.get("spec")); - } + // validate the required field `spec` + V1alpha1PodCertificateRequestSpec.validateJsonElement(jsonObj.get("spec")); // validate the optional field `status` if (jsonObj.get("status") != null && !jsonObj.get("status").isJsonNull()) { - V1beta1ValidatingAdmissionPolicyStatus.validateJsonElement(jsonObj.get("status")); + V1alpha1PodCertificateRequestStatus.validateJsonElement(jsonObj.get("status")); } } @@ -291,22 +298,22 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1beta1ValidatingAdmissionPolicy.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1beta1ValidatingAdmissionPolicy' and its subtypes + if (!V1alpha1PodCertificateRequest.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1alpha1PodCertificateRequest' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1beta1ValidatingAdmissionPolicy.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1alpha1PodCertificateRequest.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, V1beta1ValidatingAdmissionPolicy value) throws IOException { + public void write(JsonWriter out, V1alpha1PodCertificateRequest value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public V1beta1ValidatingAdmissionPolicy read(JsonReader in) throws IOException { + public V1alpha1PodCertificateRequest read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -317,18 +324,18 @@ public V1beta1ValidatingAdmissionPolicy read(JsonReader in) throws IOException { } /** - * Create an instance of V1beta1ValidatingAdmissionPolicy given an JSON string + * Create an instance of V1alpha1PodCertificateRequest given an JSON string * * @param jsonString JSON string - * @return An instance of V1beta1ValidatingAdmissionPolicy - * @throws IOException if the JSON string is invalid with respect to V1beta1ValidatingAdmissionPolicy + * @return An instance of V1alpha1PodCertificateRequest + * @throws IOException if the JSON string is invalid with respect to V1alpha1PodCertificateRequest */ - public static V1beta1ValidatingAdmissionPolicy fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1beta1ValidatingAdmissionPolicy.class); + public static V1alpha1PodCertificateRequest fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1alpha1PodCertificateRequest.class); } /** - * Convert an instance of V1beta1ValidatingAdmissionPolicy to an JSON string + * Convert an instance of V1alpha1PodCertificateRequest to an JSON string * * @return JSON string */ @@ -336,3 +343,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3ResourceClaimTemplateList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1PodCertificateRequestList.java similarity index 72% rename from kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3ResourceClaimTemplateList.java rename to kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1PodCertificateRequestList.java index 5712459403..b46e0ce285 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3ResourceClaimTemplateList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1PodCertificateRequestList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -19,7 +20,7 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import io.kubernetes.client.openapi.models.V1ListMeta; -import io.kubernetes.client.openapi.models.V1alpha3ResourceClaimTemplate; +import io.kubernetes.client.openapi.models.V1alpha1PodCertificateRequest; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; @@ -51,11 +52,11 @@ import io.kubernetes.client.openapi.JSON; /** - * ResourceClaimTemplateList is a collection of claim templates. + * PodCertificateRequestList is a collection of PodCertificateRequest objects */ -@ApiModel(description = "ResourceClaimTemplateList is a collection of claim templates.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") -public class V1alpha3ResourceClaimTemplateList implements io.kubernetes.client.common.KubernetesListObject { +@ApiModel(description = "PodCertificateRequestList is a collection of PodCertificateRequest objects") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1alpha1PodCertificateRequestList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @jakarta.annotation.Nullable @@ -64,7 +65,7 @@ public class V1alpha3ResourceClaimTemplateList implements io.kubernetes.client.c public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) @jakarta.annotation.Nonnull - private List items = new ArrayList<>(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; @SerializedName(SERIALIZED_NAME_KIND) @@ -76,10 +77,10 @@ public class V1alpha3ResourceClaimTemplateList implements io.kubernetes.client.c @jakarta.annotation.Nullable private V1ListMeta metadata; - public V1alpha3ResourceClaimTemplateList() { + public V1alpha1PodCertificateRequestList() { } - public V1alpha3ResourceClaimTemplateList apiVersion(@jakarta.annotation.Nullable String apiVersion) { + public V1alpha1PodCertificateRequestList apiVersion(@jakarta.annotation.Nullable String apiVersion) { this.apiVersion = apiVersion; return this; } @@ -99,12 +100,12 @@ public void setApiVersion(@jakarta.annotation.Nullable String apiVersion) { } - public V1alpha3ResourceClaimTemplateList items(@jakarta.annotation.Nonnull List items) { + public V1alpha1PodCertificateRequestList items(@jakarta.annotation.Nonnull List items) { this.items = items; return this; } - public V1alpha3ResourceClaimTemplateList addItemsItem(V1alpha3ResourceClaimTemplate itemsItem) { + public V1alpha1PodCertificateRequestList addItemsItem(V1alpha1PodCertificateRequest itemsItem) { if (this.items == null) { this.items = new ArrayList<>(); } @@ -113,21 +114,21 @@ public V1alpha3ResourceClaimTemplateList addItemsItem(V1alpha3ResourceClaimTempl } /** - * Items is the list of resource claim templates. + * items is a collection of PodCertificateRequest objects * @return items */ @jakarta.annotation.Nonnull - @ApiModelProperty(required = true, value = "Items is the list of resource claim templates.") - public List getItems() { + @ApiModelProperty(required = true, value = "items is a collection of PodCertificateRequest objects") + public List getItems() { return items; } - public void setItems(@jakarta.annotation.Nonnull List items) { + public void setItems(@jakarta.annotation.Nonnull List items) { this.items = items; } - public V1alpha3ResourceClaimTemplateList kind(@jakarta.annotation.Nullable String kind) { + public V1alpha1PodCertificateRequestList kind(@jakarta.annotation.Nullable String kind) { this.kind = kind; return this; } @@ -147,7 +148,7 @@ public void setKind(@jakarta.annotation.Nullable String kind) { } - public V1alpha3ResourceClaimTemplateList metadata(@jakarta.annotation.Nullable V1ListMeta metadata) { + public V1alpha1PodCertificateRequestList metadata(@jakarta.annotation.Nullable V1ListMeta metadata) { this.metadata = metadata; return this; } @@ -176,11 +177,11 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V1alpha3ResourceClaimTemplateList v1alpha3ResourceClaimTemplateList = (V1alpha3ResourceClaimTemplateList) o; - return Objects.equals(this.apiVersion, v1alpha3ResourceClaimTemplateList.apiVersion) && - Objects.equals(this.items, v1alpha3ResourceClaimTemplateList.items) && - Objects.equals(this.kind, v1alpha3ResourceClaimTemplateList.kind) && - Objects.equals(this.metadata, v1alpha3ResourceClaimTemplateList.metadata); + V1alpha1PodCertificateRequestList v1alpha1PodCertificateRequestList = (V1alpha1PodCertificateRequestList) o; + return Objects.equals(this.apiVersion, v1alpha1PodCertificateRequestList.apiVersion) && + Objects.equals(this.items, v1alpha1PodCertificateRequestList.items) && + Objects.equals(this.kind, v1alpha1PodCertificateRequestList.kind) && + Objects.equals(this.metadata, v1alpha1PodCertificateRequestList.metadata); } @Override @@ -191,7 +192,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V1alpha3ResourceClaimTemplateList {\n"); + sb.append("class V1alpha1PodCertificateRequestList {\n"); sb.append(" apiVersion: ").append(toIndentedString(apiVersion)).append("\n"); sb.append(" items: ").append(toIndentedString(items)).append("\n"); sb.append(" kind: ").append(toIndentedString(kind)).append("\n"); @@ -232,25 +233,25 @@ private String toIndentedString(Object o) { * Validates the JSON Element and throws an exception if issues found * * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to V1alpha3ResourceClaimTemplateList + * @throws IOException if the JSON Element is invalid with respect to V1alpha1PodCertificateRequestList */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - if (!V1alpha3ResourceClaimTemplateList.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in V1alpha3ResourceClaimTemplateList is not found in the empty JSON string", V1alpha3ResourceClaimTemplateList.openapiRequiredFields.toString())); + if (!V1alpha1PodCertificateRequestList.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1alpha1PodCertificateRequestList is not found in the empty JSON string", V1alpha1PodCertificateRequestList.openapiRequiredFields.toString())); } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { - if (!V1alpha3ResourceClaimTemplateList.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1alpha3ResourceClaimTemplateList` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + if (!V1alpha1PodCertificateRequestList.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1alpha1PodCertificateRequestList` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } // check to make sure all required properties/fields are present in the JSON string - for (String requiredField : V1alpha3ResourceClaimTemplateList.openapiRequiredFields) { + for (String requiredField : V1alpha1PodCertificateRequestList.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); } @@ -267,7 +268,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonArray jsonArrayitems = jsonObj.getAsJsonArray("items"); // validate the required field `items` (array) for (int i = 0; i < jsonArrayitems.size(); i++) { - V1alpha3ResourceClaimTemplate.validateJsonElement(jsonArrayitems.get(i)); + V1alpha1PodCertificateRequest.validateJsonElement(jsonArrayitems.get(i)); }; if ((jsonObj.get("kind") != null && !jsonObj.get("kind").isJsonNull()) && !jsonObj.get("kind").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `kind` to be a primitive type in the JSON string but got `%s`", jsonObj.get("kind").toString())); @@ -282,22 +283,22 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1alpha3ResourceClaimTemplateList.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1alpha3ResourceClaimTemplateList' and its subtypes + if (!V1alpha1PodCertificateRequestList.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1alpha1PodCertificateRequestList' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1alpha3ResourceClaimTemplateList.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1alpha1PodCertificateRequestList.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, V1alpha3ResourceClaimTemplateList value) throws IOException { + public void write(JsonWriter out, V1alpha1PodCertificateRequestList value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public V1alpha3ResourceClaimTemplateList read(JsonReader in) throws IOException { + public V1alpha1PodCertificateRequestList read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -308,18 +309,18 @@ public V1alpha3ResourceClaimTemplateList read(JsonReader in) throws IOException } /** - * Create an instance of V1alpha3ResourceClaimTemplateList given an JSON string + * Create an instance of V1alpha1PodCertificateRequestList given an JSON string * * @param jsonString JSON string - * @return An instance of V1alpha3ResourceClaimTemplateList - * @throws IOException if the JSON string is invalid with respect to V1alpha3ResourceClaimTemplateList + * @return An instance of V1alpha1PodCertificateRequestList + * @throws IOException if the JSON string is invalid with respect to V1alpha1PodCertificateRequestList */ - public static V1alpha3ResourceClaimTemplateList fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1alpha3ResourceClaimTemplateList.class); + public static V1alpha1PodCertificateRequestList fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1alpha1PodCertificateRequestList.class); } /** - * Convert an instance of V1alpha3ResourceClaimTemplateList to an JSON string + * Convert an instance of V1alpha1PodCertificateRequestList to an JSON string * * @return JSON string */ @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1PodCertificateRequestSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1PodCertificateRequestSpec.java new file mode 100644 index 0000000000..560aa66ff1 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1PodCertificateRequestSpec.java @@ -0,0 +1,496 @@ +/* + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package io.kubernetes.client.openapi.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.Arrays; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import io.kubernetes.client.openapi.JSON; + +/** + * PodCertificateRequestSpec describes the certificate request. All fields are immutable after creation. + */ +@ApiModel(description = "PodCertificateRequestSpec describes the certificate request. All fields are immutable after creation.") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1alpha1PodCertificateRequestSpec { + public static final String SERIALIZED_NAME_MAX_EXPIRATION_SECONDS = "maxExpirationSeconds"; + @SerializedName(SERIALIZED_NAME_MAX_EXPIRATION_SECONDS) + @jakarta.annotation.Nullable + private Integer maxExpirationSeconds; + + public static final String SERIALIZED_NAME_NODE_NAME = "nodeName"; + @SerializedName(SERIALIZED_NAME_NODE_NAME) + @jakarta.annotation.Nonnull + private String nodeName; + + public static final String SERIALIZED_NAME_NODE_U_I_D = "nodeUID"; + @SerializedName(SERIALIZED_NAME_NODE_U_I_D) + @jakarta.annotation.Nonnull + private String nodeUID; + + public static final String SERIALIZED_NAME_PKIX_PUBLIC_KEY = "pkixPublicKey"; + @SerializedName(SERIALIZED_NAME_PKIX_PUBLIC_KEY) + @jakarta.annotation.Nonnull + private byte[] pkixPublicKey; + + public static final String SERIALIZED_NAME_POD_NAME = "podName"; + @SerializedName(SERIALIZED_NAME_POD_NAME) + @jakarta.annotation.Nonnull + private String podName; + + public static final String SERIALIZED_NAME_POD_U_I_D = "podUID"; + @SerializedName(SERIALIZED_NAME_POD_U_I_D) + @jakarta.annotation.Nonnull + private String podUID; + + public static final String SERIALIZED_NAME_PROOF_OF_POSSESSION = "proofOfPossession"; + @SerializedName(SERIALIZED_NAME_PROOF_OF_POSSESSION) + @jakarta.annotation.Nonnull + private byte[] proofOfPossession; + + public static final String SERIALIZED_NAME_SERVICE_ACCOUNT_NAME = "serviceAccountName"; + @SerializedName(SERIALIZED_NAME_SERVICE_ACCOUNT_NAME) + @jakarta.annotation.Nonnull + private String serviceAccountName; + + public static final String SERIALIZED_NAME_SERVICE_ACCOUNT_U_I_D = "serviceAccountUID"; + @SerializedName(SERIALIZED_NAME_SERVICE_ACCOUNT_U_I_D) + @jakarta.annotation.Nonnull + private String serviceAccountUID; + + public static final String SERIALIZED_NAME_SIGNER_NAME = "signerName"; + @SerializedName(SERIALIZED_NAME_SIGNER_NAME) + @jakarta.annotation.Nonnull + private String signerName; + + public V1alpha1PodCertificateRequestSpec() { + } + + public V1alpha1PodCertificateRequestSpec maxExpirationSeconds(@jakarta.annotation.Nullable Integer maxExpirationSeconds) { + this.maxExpirationSeconds = maxExpirationSeconds; + return this; + } + + /** + * maxExpirationSeconds is the maximum lifetime permitted for the certificate. If omitted, kube-apiserver will set it to 86400(24 hours). kube-apiserver will reject values shorter than 3600 (1 hour). The maximum allowable value is 7862400 (91 days). The signer implementation is then free to issue a certificate with any lifetime *shorter* than MaxExpirationSeconds, but no shorter than 3600 seconds (1 hour). This constraint is enforced by kube-apiserver. `kubernetes.io` signers will never issue certificates with a lifetime longer than 24 hours. + * @return maxExpirationSeconds + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "maxExpirationSeconds is the maximum lifetime permitted for the certificate. If omitted, kube-apiserver will set it to 86400(24 hours). kube-apiserver will reject values shorter than 3600 (1 hour). The maximum allowable value is 7862400 (91 days). The signer implementation is then free to issue a certificate with any lifetime *shorter* than MaxExpirationSeconds, but no shorter than 3600 seconds (1 hour). This constraint is enforced by kube-apiserver. `kubernetes.io` signers will never issue certificates with a lifetime longer than 24 hours.") + public Integer getMaxExpirationSeconds() { + return maxExpirationSeconds; + } + + public void setMaxExpirationSeconds(@jakarta.annotation.Nullable Integer maxExpirationSeconds) { + this.maxExpirationSeconds = maxExpirationSeconds; + } + + + public V1alpha1PodCertificateRequestSpec nodeName(@jakarta.annotation.Nonnull String nodeName) { + this.nodeName = nodeName; + return this; + } + + /** + * nodeName is the name of the node the pod is assigned to. + * @return nodeName + */ + @jakarta.annotation.Nonnull + @ApiModelProperty(required = true, value = "nodeName is the name of the node the pod is assigned to.") + public String getNodeName() { + return nodeName; + } + + public void setNodeName(@jakarta.annotation.Nonnull String nodeName) { + this.nodeName = nodeName; + } + + + public V1alpha1PodCertificateRequestSpec nodeUID(@jakarta.annotation.Nonnull String nodeUID) { + this.nodeUID = nodeUID; + return this; + } + + /** + * nodeUID is the UID of the node the pod is assigned to. + * @return nodeUID + */ + @jakarta.annotation.Nonnull + @ApiModelProperty(required = true, value = "nodeUID is the UID of the node the pod is assigned to.") + public String getNodeUID() { + return nodeUID; + } + + public void setNodeUID(@jakarta.annotation.Nonnull String nodeUID) { + this.nodeUID = nodeUID; + } + + + public V1alpha1PodCertificateRequestSpec pkixPublicKey(@jakarta.annotation.Nonnull byte[] pkixPublicKey) { + this.pkixPublicKey = pkixPublicKey; + return this; + } + + /** + * pkixPublicKey is the PKIX-serialized public key the signer will issue the certificate to. The key must be one of RSA3072, RSA4096, ECDSAP256, ECDSAP384, ECDSAP521, or ED25519. Note that this list may be expanded in the future. Signer implementations do not need to support all key types supported by kube-apiserver and kubelet. If a signer does not support the key type used for a given PodCertificateRequest, it must deny the request by setting a status.conditions entry with a type of \"Denied\" and a reason of \"UnsupportedKeyType\". It may also suggest a key type that it does support in the message field. + * @return pkixPublicKey + */ + @jakarta.annotation.Nonnull + @ApiModelProperty(required = true, value = "pkixPublicKey is the PKIX-serialized public key the signer will issue the certificate to. The key must be one of RSA3072, RSA4096, ECDSAP256, ECDSAP384, ECDSAP521, or ED25519. Note that this list may be expanded in the future. Signer implementations do not need to support all key types supported by kube-apiserver and kubelet. If a signer does not support the key type used for a given PodCertificateRequest, it must deny the request by setting a status.conditions entry with a type of \"Denied\" and a reason of \"UnsupportedKeyType\". It may also suggest a key type that it does support in the message field.") + public byte[] getPkixPublicKey() { + return pkixPublicKey; + } + + public void setPkixPublicKey(@jakarta.annotation.Nonnull byte[] pkixPublicKey) { + this.pkixPublicKey = pkixPublicKey; + } + + + public V1alpha1PodCertificateRequestSpec podName(@jakarta.annotation.Nonnull String podName) { + this.podName = podName; + return this; + } + + /** + * podName is the name of the pod into which the certificate will be mounted. + * @return podName + */ + @jakarta.annotation.Nonnull + @ApiModelProperty(required = true, value = "podName is the name of the pod into which the certificate will be mounted.") + public String getPodName() { + return podName; + } + + public void setPodName(@jakarta.annotation.Nonnull String podName) { + this.podName = podName; + } + + + public V1alpha1PodCertificateRequestSpec podUID(@jakarta.annotation.Nonnull String podUID) { + this.podUID = podUID; + return this; + } + + /** + * podUID is the UID of the pod into which the certificate will be mounted. + * @return podUID + */ + @jakarta.annotation.Nonnull + @ApiModelProperty(required = true, value = "podUID is the UID of the pod into which the certificate will be mounted.") + public String getPodUID() { + return podUID; + } + + public void setPodUID(@jakarta.annotation.Nonnull String podUID) { + this.podUID = podUID; + } + + + public V1alpha1PodCertificateRequestSpec proofOfPossession(@jakarta.annotation.Nonnull byte[] proofOfPossession) { + this.proofOfPossession = proofOfPossession; + return this; + } + + /** + * proofOfPossession proves that the requesting kubelet holds the private key corresponding to pkixPublicKey. It is contructed by signing the ASCII bytes of the pod's UID using `pkixPublicKey`. kube-apiserver validates the proof of possession during creation of the PodCertificateRequest. If the key is an RSA key, then the signature is over the ASCII bytes of the pod UID, using RSASSA-PSS from RFC 8017 (as implemented by the golang function crypto/rsa.SignPSS with nil options). If the key is an ECDSA key, then the signature is as described by [SEC 1, Version 2.0](https://www.secg.org/sec1-v2.pdf) (as implemented by the golang library function crypto/ecdsa.SignASN1) If the key is an ED25519 key, the the signature is as described by the [ED25519 Specification](https://ed25519.cr.yp.to/) (as implemented by the golang library crypto/ed25519.Sign). + * @return proofOfPossession + */ + @jakarta.annotation.Nonnull + @ApiModelProperty(required = true, value = "proofOfPossession proves that the requesting kubelet holds the private key corresponding to pkixPublicKey. It is contructed by signing the ASCII bytes of the pod's UID using `pkixPublicKey`. kube-apiserver validates the proof of possession during creation of the PodCertificateRequest. If the key is an RSA key, then the signature is over the ASCII bytes of the pod UID, using RSASSA-PSS from RFC 8017 (as implemented by the golang function crypto/rsa.SignPSS with nil options). If the key is an ECDSA key, then the signature is as described by [SEC 1, Version 2.0](https://www.secg.org/sec1-v2.pdf) (as implemented by the golang library function crypto/ecdsa.SignASN1) If the key is an ED25519 key, the the signature is as described by the [ED25519 Specification](https://ed25519.cr.yp.to/) (as implemented by the golang library crypto/ed25519.Sign).") + public byte[] getProofOfPossession() { + return proofOfPossession; + } + + public void setProofOfPossession(@jakarta.annotation.Nonnull byte[] proofOfPossession) { + this.proofOfPossession = proofOfPossession; + } + + + public V1alpha1PodCertificateRequestSpec serviceAccountName(@jakarta.annotation.Nonnull String serviceAccountName) { + this.serviceAccountName = serviceAccountName; + return this; + } + + /** + * serviceAccountName is the name of the service account the pod is running as. + * @return serviceAccountName + */ + @jakarta.annotation.Nonnull + @ApiModelProperty(required = true, value = "serviceAccountName is the name of the service account the pod is running as.") + public String getServiceAccountName() { + return serviceAccountName; + } + + public void setServiceAccountName(@jakarta.annotation.Nonnull String serviceAccountName) { + this.serviceAccountName = serviceAccountName; + } + + + public V1alpha1PodCertificateRequestSpec serviceAccountUID(@jakarta.annotation.Nonnull String serviceAccountUID) { + this.serviceAccountUID = serviceAccountUID; + return this; + } + + /** + * serviceAccountUID is the UID of the service account the pod is running as. + * @return serviceAccountUID + */ + @jakarta.annotation.Nonnull + @ApiModelProperty(required = true, value = "serviceAccountUID is the UID of the service account the pod is running as.") + public String getServiceAccountUID() { + return serviceAccountUID; + } + + public void setServiceAccountUID(@jakarta.annotation.Nonnull String serviceAccountUID) { + this.serviceAccountUID = serviceAccountUID; + } + + + public V1alpha1PodCertificateRequestSpec signerName(@jakarta.annotation.Nonnull String signerName) { + this.signerName = signerName; + return this; + } + + /** + * signerName indicates the requested signer. All signer names beginning with `kubernetes.io` are reserved for use by the Kubernetes project. There is currently one well-known signer documented by the Kubernetes project, `kubernetes.io/kube-apiserver-client-pod`, which will issue client certificates understood by kube-apiserver. It is currently unimplemented. + * @return signerName + */ + @jakarta.annotation.Nonnull + @ApiModelProperty(required = true, value = "signerName indicates the requested signer. All signer names beginning with `kubernetes.io` are reserved for use by the Kubernetes project. There is currently one well-known signer documented by the Kubernetes project, `kubernetes.io/kube-apiserver-client-pod`, which will issue client certificates understood by kube-apiserver. It is currently unimplemented.") + public String getSignerName() { + return signerName; + } + + public void setSignerName(@jakarta.annotation.Nonnull String signerName) { + this.signerName = signerName; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1alpha1PodCertificateRequestSpec v1alpha1PodCertificateRequestSpec = (V1alpha1PodCertificateRequestSpec) o; + return Objects.equals(this.maxExpirationSeconds, v1alpha1PodCertificateRequestSpec.maxExpirationSeconds) && + Objects.equals(this.nodeName, v1alpha1PodCertificateRequestSpec.nodeName) && + Objects.equals(this.nodeUID, v1alpha1PodCertificateRequestSpec.nodeUID) && + Arrays.equals(this.pkixPublicKey, v1alpha1PodCertificateRequestSpec.pkixPublicKey) && + Objects.equals(this.podName, v1alpha1PodCertificateRequestSpec.podName) && + Objects.equals(this.podUID, v1alpha1PodCertificateRequestSpec.podUID) && + Arrays.equals(this.proofOfPossession, v1alpha1PodCertificateRequestSpec.proofOfPossession) && + Objects.equals(this.serviceAccountName, v1alpha1PodCertificateRequestSpec.serviceAccountName) && + Objects.equals(this.serviceAccountUID, v1alpha1PodCertificateRequestSpec.serviceAccountUID) && + Objects.equals(this.signerName, v1alpha1PodCertificateRequestSpec.signerName); + } + + @Override + public int hashCode() { + return Objects.hash(maxExpirationSeconds, nodeName, nodeUID, Arrays.hashCode(pkixPublicKey), podName, podUID, Arrays.hashCode(proofOfPossession), serviceAccountName, serviceAccountUID, signerName); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1alpha1PodCertificateRequestSpec {\n"); + sb.append(" maxExpirationSeconds: ").append(toIndentedString(maxExpirationSeconds)).append("\n"); + sb.append(" nodeName: ").append(toIndentedString(nodeName)).append("\n"); + sb.append(" nodeUID: ").append(toIndentedString(nodeUID)).append("\n"); + sb.append(" pkixPublicKey: ").append(toIndentedString(pkixPublicKey)).append("\n"); + sb.append(" podName: ").append(toIndentedString(podName)).append("\n"); + sb.append(" podUID: ").append(toIndentedString(podUID)).append("\n"); + sb.append(" proofOfPossession: ").append(toIndentedString(proofOfPossession)).append("\n"); + sb.append(" serviceAccountName: ").append(toIndentedString(serviceAccountName)).append("\n"); + sb.append(" serviceAccountUID: ").append(toIndentedString(serviceAccountUID)).append("\n"); + sb.append(" signerName: ").append(toIndentedString(signerName)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("maxExpirationSeconds"); + openapiFields.add("nodeName"); + openapiFields.add("nodeUID"); + openapiFields.add("pkixPublicKey"); + openapiFields.add("podName"); + openapiFields.add("podUID"); + openapiFields.add("proofOfPossession"); + openapiFields.add("serviceAccountName"); + openapiFields.add("serviceAccountUID"); + openapiFields.add("signerName"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("nodeName"); + openapiRequiredFields.add("nodeUID"); + openapiRequiredFields.add("pkixPublicKey"); + openapiRequiredFields.add("podName"); + openapiRequiredFields.add("podUID"); + openapiRequiredFields.add("proofOfPossession"); + openapiRequiredFields.add("serviceAccountName"); + openapiRequiredFields.add("serviceAccountUID"); + openapiRequiredFields.add("signerName"); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to V1alpha1PodCertificateRequestSpec + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!V1alpha1PodCertificateRequestSpec.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1alpha1PodCertificateRequestSpec is not found in the empty JSON string", V1alpha1PodCertificateRequestSpec.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!V1alpha1PodCertificateRequestSpec.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1alpha1PodCertificateRequestSpec` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : V1alpha1PodCertificateRequestSpec.openapiRequiredFields) { + if (jsonElement.getAsJsonObject().get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if (!jsonObj.get("nodeName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `nodeName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("nodeName").toString())); + } + if (!jsonObj.get("nodeUID").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `nodeUID` to be a primitive type in the JSON string but got `%s`", jsonObj.get("nodeUID").toString())); + } + if (!jsonObj.get("podName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `podName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("podName").toString())); + } + if (!jsonObj.get("podUID").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `podUID` to be a primitive type in the JSON string but got `%s`", jsonObj.get("podUID").toString())); + } + if (!jsonObj.get("serviceAccountName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `serviceAccountName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("serviceAccountName").toString())); + } + if (!jsonObj.get("serviceAccountUID").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `serviceAccountUID` to be a primitive type in the JSON string but got `%s`", jsonObj.get("serviceAccountUID").toString())); + } + if (!jsonObj.get("signerName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `signerName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("signerName").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!V1alpha1PodCertificateRequestSpec.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1alpha1PodCertificateRequestSpec' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1alpha1PodCertificateRequestSpec.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, V1alpha1PodCertificateRequestSpec value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public V1alpha1PodCertificateRequestSpec read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of V1alpha1PodCertificateRequestSpec given an JSON string + * + * @param jsonString JSON string + * @return An instance of V1alpha1PodCertificateRequestSpec + * @throws IOException if the JSON string is invalid with respect to V1alpha1PodCertificateRequestSpec + */ + public static V1alpha1PodCertificateRequestSpec fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1alpha1PodCertificateRequestSpec.class); + } + + /** + * Convert an instance of V1alpha1PodCertificateRequestSpec to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1PodCertificateRequestStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1PodCertificateRequestStatus.java new file mode 100644 index 0000000000..b91cb6d485 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1PodCertificateRequestStatus.java @@ -0,0 +1,348 @@ +/* + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package io.kubernetes.client.openapi.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.openapi.models.V1Condition; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import io.kubernetes.client.openapi.JSON; + +/** + * PodCertificateRequestStatus describes the status of the request, and holds the certificate data if the request is issued. + */ +@ApiModel(description = "PodCertificateRequestStatus describes the status of the request, and holds the certificate data if the request is issued.") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1alpha1PodCertificateRequestStatus { + public static final String SERIALIZED_NAME_BEGIN_REFRESH_AT = "beginRefreshAt"; + @SerializedName(SERIALIZED_NAME_BEGIN_REFRESH_AT) + @jakarta.annotation.Nullable + private OffsetDateTime beginRefreshAt; + + public static final String SERIALIZED_NAME_CERTIFICATE_CHAIN = "certificateChain"; + @SerializedName(SERIALIZED_NAME_CERTIFICATE_CHAIN) + @jakarta.annotation.Nullable + private String certificateChain; + + public static final String SERIALIZED_NAME_CONDITIONS = "conditions"; + @SerializedName(SERIALIZED_NAME_CONDITIONS) + @jakarta.annotation.Nullable + private List conditions = new ArrayList<>(); + + public static final String SERIALIZED_NAME_NOT_AFTER = "notAfter"; + @SerializedName(SERIALIZED_NAME_NOT_AFTER) + @jakarta.annotation.Nullable + private OffsetDateTime notAfter; + + public static final String SERIALIZED_NAME_NOT_BEFORE = "notBefore"; + @SerializedName(SERIALIZED_NAME_NOT_BEFORE) + @jakarta.annotation.Nullable + private OffsetDateTime notBefore; + + public V1alpha1PodCertificateRequestStatus() { + } + + public V1alpha1PodCertificateRequestStatus beginRefreshAt(@jakarta.annotation.Nullable OffsetDateTime beginRefreshAt) { + this.beginRefreshAt = beginRefreshAt; + return this; + } + + /** + * beginRefreshAt is the time at which the kubelet should begin trying to refresh the certificate. This field is set via the /status subresource, and must be set at the same time as certificateChain. Once populated, this field is immutable. This field is only a hint. Kubelet may start refreshing before or after this time if necessary. + * @return beginRefreshAt + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "beginRefreshAt is the time at which the kubelet should begin trying to refresh the certificate. This field is set via the /status subresource, and must be set at the same time as certificateChain. Once populated, this field is immutable. This field is only a hint. Kubelet may start refreshing before or after this time if necessary.") + public OffsetDateTime getBeginRefreshAt() { + return beginRefreshAt; + } + + public void setBeginRefreshAt(@jakarta.annotation.Nullable OffsetDateTime beginRefreshAt) { + this.beginRefreshAt = beginRefreshAt; + } + + + public V1alpha1PodCertificateRequestStatus certificateChain(@jakarta.annotation.Nullable String certificateChain) { + this.certificateChain = certificateChain; + return this; + } + + /** + * certificateChain is populated with an issued certificate by the signer. This field is set via the /status subresource. Once populated, this field is immutable. If the certificate signing request is denied, a condition of type \"Denied\" is added and this field remains empty. If the signer cannot issue the certificate, a condition of type \"Failed\" is added and this field remains empty. Validation requirements: 1. certificateChain must consist of one or more PEM-formatted certificates. 2. Each entry must be a valid PEM-wrapped, DER-encoded ASN.1 Certificate as described in section 4 of RFC5280. If more than one block is present, and the definition of the requested spec.signerName does not indicate otherwise, the first block is the issued certificate, and subsequent blocks should be treated as intermediate certificates and presented in TLS handshakes. When projecting the chain into a pod volume, kubelet will drop any data in-between the PEM blocks, as well as any PEM block headers. + * @return certificateChain + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "certificateChain is populated with an issued certificate by the signer. This field is set via the /status subresource. Once populated, this field is immutable. If the certificate signing request is denied, a condition of type \"Denied\" is added and this field remains empty. If the signer cannot issue the certificate, a condition of type \"Failed\" is added and this field remains empty. Validation requirements: 1. certificateChain must consist of one or more PEM-formatted certificates. 2. Each entry must be a valid PEM-wrapped, DER-encoded ASN.1 Certificate as described in section 4 of RFC5280. If more than one block is present, and the definition of the requested spec.signerName does not indicate otherwise, the first block is the issued certificate, and subsequent blocks should be treated as intermediate certificates and presented in TLS handshakes. When projecting the chain into a pod volume, kubelet will drop any data in-between the PEM blocks, as well as any PEM block headers.") + public String getCertificateChain() { + return certificateChain; + } + + public void setCertificateChain(@jakarta.annotation.Nullable String certificateChain) { + this.certificateChain = certificateChain; + } + + + public V1alpha1PodCertificateRequestStatus conditions(@jakarta.annotation.Nullable List conditions) { + this.conditions = conditions; + return this; + } + + public V1alpha1PodCertificateRequestStatus addConditionsItem(V1Condition conditionsItem) { + if (this.conditions == null) { + this.conditions = new ArrayList<>(); + } + this.conditions.add(conditionsItem); + return this; + } + + /** + * conditions applied to the request. The types \"Issued\", \"Denied\", and \"Failed\" have special handling. At most one of these conditions may be present, and they must have status \"True\". If the request is denied with `Reason=UnsupportedKeyType`, the signer may suggest a key type that will work in the message field. + * @return conditions + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "conditions applied to the request. The types \"Issued\", \"Denied\", and \"Failed\" have special handling. At most one of these conditions may be present, and they must have status \"True\". If the request is denied with `Reason=UnsupportedKeyType`, the signer may suggest a key type that will work in the message field.") + public List getConditions() { + return conditions; + } + + public void setConditions(@jakarta.annotation.Nullable List conditions) { + this.conditions = conditions; + } + + + public V1alpha1PodCertificateRequestStatus notAfter(@jakarta.annotation.Nullable OffsetDateTime notAfter) { + this.notAfter = notAfter; + return this; + } + + /** + * notAfter is the time at which the certificate expires. The value must be the same as the notAfter value in the leaf certificate in certificateChain. This field is set via the /status subresource. Once populated, it is immutable. The signer must set this field at the same time it sets certificateChain. + * @return notAfter + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "notAfter is the time at which the certificate expires. The value must be the same as the notAfter value in the leaf certificate in certificateChain. This field is set via the /status subresource. Once populated, it is immutable. The signer must set this field at the same time it sets certificateChain.") + public OffsetDateTime getNotAfter() { + return notAfter; + } + + public void setNotAfter(@jakarta.annotation.Nullable OffsetDateTime notAfter) { + this.notAfter = notAfter; + } + + + public V1alpha1PodCertificateRequestStatus notBefore(@jakarta.annotation.Nullable OffsetDateTime notBefore) { + this.notBefore = notBefore; + return this; + } + + /** + * notBefore is the time at which the certificate becomes valid. The value must be the same as the notBefore value in the leaf certificate in certificateChain. This field is set via the /status subresource. Once populated, it is immutable. The signer must set this field at the same time it sets certificateChain. + * @return notBefore + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "notBefore is the time at which the certificate becomes valid. The value must be the same as the notBefore value in the leaf certificate in certificateChain. This field is set via the /status subresource. Once populated, it is immutable. The signer must set this field at the same time it sets certificateChain.") + public OffsetDateTime getNotBefore() { + return notBefore; + } + + public void setNotBefore(@jakarta.annotation.Nullable OffsetDateTime notBefore) { + this.notBefore = notBefore; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1alpha1PodCertificateRequestStatus v1alpha1PodCertificateRequestStatus = (V1alpha1PodCertificateRequestStatus) o; + return Objects.equals(this.beginRefreshAt, v1alpha1PodCertificateRequestStatus.beginRefreshAt) && + Objects.equals(this.certificateChain, v1alpha1PodCertificateRequestStatus.certificateChain) && + Objects.equals(this.conditions, v1alpha1PodCertificateRequestStatus.conditions) && + Objects.equals(this.notAfter, v1alpha1PodCertificateRequestStatus.notAfter) && + Objects.equals(this.notBefore, v1alpha1PodCertificateRequestStatus.notBefore); + } + + @Override + public int hashCode() { + return Objects.hash(beginRefreshAt, certificateChain, conditions, notAfter, notBefore); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1alpha1PodCertificateRequestStatus {\n"); + sb.append(" beginRefreshAt: ").append(toIndentedString(beginRefreshAt)).append("\n"); + sb.append(" certificateChain: ").append(toIndentedString(certificateChain)).append("\n"); + sb.append(" conditions: ").append(toIndentedString(conditions)).append("\n"); + sb.append(" notAfter: ").append(toIndentedString(notAfter)).append("\n"); + sb.append(" notBefore: ").append(toIndentedString(notBefore)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("beginRefreshAt"); + openapiFields.add("certificateChain"); + openapiFields.add("conditions"); + openapiFields.add("notAfter"); + openapiFields.add("notBefore"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to V1alpha1PodCertificateRequestStatus + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!V1alpha1PodCertificateRequestStatus.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1alpha1PodCertificateRequestStatus is not found in the empty JSON string", V1alpha1PodCertificateRequestStatus.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!V1alpha1PodCertificateRequestStatus.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1alpha1PodCertificateRequestStatus` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("certificateChain") != null && !jsonObj.get("certificateChain").isJsonNull()) && !jsonObj.get("certificateChain").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `certificateChain` to be a primitive type in the JSON string but got `%s`", jsonObj.get("certificateChain").toString())); + } + if (jsonObj.get("conditions") != null && !jsonObj.get("conditions").isJsonNull()) { + JsonArray jsonArrayconditions = jsonObj.getAsJsonArray("conditions"); + if (jsonArrayconditions != null) { + // ensure the json data is an array + if (!jsonObj.get("conditions").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `conditions` to be an array in the JSON string but got `%s`", jsonObj.get("conditions").toString())); + } + + // validate the optional field `conditions` (array) + for (int i = 0; i < jsonArrayconditions.size(); i++) { + V1Condition.validateJsonElement(jsonArrayconditions.get(i)); + }; + } + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!V1alpha1PodCertificateRequestStatus.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1alpha1PodCertificateRequestStatus' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1alpha1PodCertificateRequestStatus.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, V1alpha1PodCertificateRequestStatus value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public V1alpha1PodCertificateRequestStatus read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of V1alpha1PodCertificateRequestStatus given an JSON string + * + * @param jsonString JSON string + * @return An instance of V1alpha1PodCertificateRequestStatus + * @throws IOException if the JSON string is invalid with respect to V1alpha1PodCertificateRequestStatus + */ + public static V1alpha1PodCertificateRequestStatus fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1alpha1PodCertificateRequestStatus.class); + } + + /** + * Convert an instance of V1alpha1PodCertificateRequestStatus to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1ServerStorageVersion.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1ServerStorageVersion.java index cec5086d9a..41c4fa86cc 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1ServerStorageVersion.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1ServerStorageVersion.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * An API server instance reports the version it can decode and the version it encodes objects to when persisting objects in the backend. */ @ApiModel(description = "An API server instance reports the version it can decode and the version it encodes objects to when persisting objects in the backend.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1alpha1ServerStorageVersion { public static final String SERIALIZED_NAME_API_SERVER_I_D = "apiServerID"; @SerializedName(SERIALIZED_NAME_API_SERVER_I_D) @@ -319,3 +320,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1StorageVersion.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1StorageVersion.java index 83ee89fcce..ae8c6e268c 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1StorageVersion.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1StorageVersion.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * Storage version of a specific resource. */ @ApiModel(description = "Storage version of a specific resource.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1alpha1StorageVersion implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -338,3 +339,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1StorageVersionCondition.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1StorageVersionCondition.java index f9c06ee1a5..4e27f8a4b0 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1StorageVersionCondition.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1StorageVersionCondition.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * Describes the state of the storageVersion at a certain point. */ @ApiModel(description = "Describes the state of the storageVersion at a certain point.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1alpha1StorageVersionCondition { public static final String SERIALIZED_NAME_LAST_TRANSITION_TIME = "lastTransitionTime"; @SerializedName(SERIALIZED_NAME_LAST_TRANSITION_TIME) @@ -367,3 +368,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1StorageVersionList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1StorageVersionList.java index 96773daa96..e8b3226fbf 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1StorageVersionList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1StorageVersionList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * A list of StorageVersions. */ @ApiModel(description = "A list of StorageVersions.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1alpha1StorageVersionList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1StorageVersionMigration.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1StorageVersionMigration.java index 63356b0ed8..ff96a8ee37 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1StorageVersionMigration.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1StorageVersionMigration.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * StorageVersionMigration represents a migration of stored data to the latest storage version. */ @ApiModel(description = "StorageVersionMigration represents a migration of stored data to the latest storage version.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1alpha1StorageVersionMigration implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -336,3 +337,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1StorageVersionMigrationList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1StorageVersionMigrationList.java index 08c7c30b85..117a9d34c9 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1StorageVersionMigrationList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1StorageVersionMigrationList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * StorageVersionMigrationList is a collection of storage version migrations. */ @ApiModel(description = "StorageVersionMigrationList is a collection of storage version migrations.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1alpha1StorageVersionMigrationList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1StorageVersionMigrationSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1StorageVersionMigrationSpec.java index 20137b1d44..fbe67d0d8e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1StorageVersionMigrationSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1StorageVersionMigrationSpec.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * Spec of the storage version migration. */ @ApiModel(description = "Spec of the storage version migration.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1alpha1StorageVersionMigrationSpec { public static final String SERIALIZED_NAME_CONTINUE_TOKEN = "continueToken"; @SerializedName(SERIALIZED_NAME_CONTINUE_TOKEN) @@ -245,3 +246,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1StorageVersionMigrationStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1StorageVersionMigrationStatus.java index 28e03ba4f5..7305b2fe10 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1StorageVersionMigrationStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1StorageVersionMigrationStatus.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * Status of the storage version migration. */ @ApiModel(description = "Status of the storage version migration.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1alpha1StorageVersionMigrationStatus { public static final String SERIALIZED_NAME_CONDITIONS = "conditions"; @SerializedName(SERIALIZED_NAME_CONDITIONS) @@ -259,3 +260,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1StorageVersionStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1StorageVersionStatus.java index 1d70eccd4c..a76ad37ec9 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1StorageVersionStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1StorageVersionStatus.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * API server instances report the versions they can decode and the version they encode objects to when persisting objects in the backend. */ @ApiModel(description = "API server instances report the versions they can decode and the version they encode objects to when persisting objects in the backend.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1alpha1StorageVersionStatus { public static final String SERIALIZED_NAME_COMMON_ENCODING_VERSION = "commonEncodingVersion"; @SerializedName(SERIALIZED_NAME_COMMON_ENCODING_VERSION) @@ -310,3 +311,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1Variable.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1Variable.java index 918c2b04e0..bce415ac3a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1Variable.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1Variable.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * Variable is the definition of a variable that is used for composition. */ @ApiModel(description = "Variable is the definition of a variable that is used for composition.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1alpha1Variable { public static final String SERIALIZED_NAME_EXPRESSION = "expression"; @SerializedName(SERIALIZED_NAME_EXPRESSION) @@ -246,3 +247,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1VolumeAttributesClass.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1VolumeAttributesClass.java index 7140107231..85498a5e1c 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1VolumeAttributesClass.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1VolumeAttributesClass.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * VolumeAttributesClass represents a specification of mutable volume attributes defined by the CSI driver. The class can be specified during dynamic provisioning of PersistentVolumeClaims, and changed in the PersistentVolumeClaim spec after provisioning. */ @ApiModel(description = "VolumeAttributesClass represents a specification of mutable volume attributes defined by the CSI driver. The class can be specified during dynamic provisioning of PersistentVolumeClaims, and changed in the PersistentVolumeClaim spec after provisioning.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1alpha1VolumeAttributesClass implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -347,3 +348,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1VolumeAttributesClassList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1VolumeAttributesClassList.java index 70e8d48251..72dfba45d2 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1VolumeAttributesClassList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha1VolumeAttributesClassList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * VolumeAttributesClassList is a collection of VolumeAttributesClass objects. */ @ApiModel(description = "VolumeAttributesClassList is a collection of VolumeAttributesClass objects.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1alpha1VolumeAttributesClassList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha2LeaseCandidate.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha2LeaseCandidate.java index 6ed3b29663..fd9510cbe8 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha2LeaseCandidate.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha2LeaseCandidate.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * LeaseCandidate defines a candidate for a Lease object. Candidates are created such that coordinated leader election will pick the best leader from the list of candidates. */ @ApiModel(description = "LeaseCandidate defines a candidate for a Lease object. Candidates are created such that coordinated leader election will pick the best leader from the list of candidates.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1alpha2LeaseCandidate implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -303,3 +304,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha2LeaseCandidateList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha2LeaseCandidateList.java index 80053e2101..4c68191a22 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha2LeaseCandidateList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha2LeaseCandidateList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * LeaseCandidateList is a list of Lease objects. */ @ApiModel(description = "LeaseCandidateList is a list of Lease objects.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1alpha2LeaseCandidateList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha2LeaseCandidateSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha2LeaseCandidateSpec.java index 6a8f4c92c3..a6405fdaeb 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha2LeaseCandidateSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha2LeaseCandidateSpec.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * LeaseCandidateSpec is a specification of a Lease. */ @ApiModel(description = "LeaseCandidateSpec is a specification of a Lease.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1alpha2LeaseCandidateSpec { public static final String SERIALIZED_NAME_BINARY_VERSION = "binaryVersion"; @SerializedName(SERIALIZED_NAME_BINARY_VERSION) @@ -366,3 +367,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3BasicDevice.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3BasicDevice.java deleted file mode 100644 index 9ca14cabf0..0000000000 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3BasicDevice.java +++ /dev/null @@ -1,449 +0,0 @@ -/* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ -package io.kubernetes.client.openapi.models; - -import java.util.Objects; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.kubernetes.client.custom.Quantity; -import io.kubernetes.client.openapi.models.V1NodeSelector; -import io.kubernetes.client.openapi.models.V1alpha3DeviceAttribute; -import io.kubernetes.client.openapi.models.V1alpha3DeviceCounterConsumption; -import io.kubernetes.client.openapi.models.V1alpha3DeviceTaint; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; -import com.google.gson.TypeAdapter; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; - -import java.util.HashMap; -import java.util.HashSet; -import java.util.List; -import java.util.Map; -import java.util.Set; - -import io.kubernetes.client.openapi.JSON; - -/** - * BasicDevice defines one device instance. - */ -@ApiModel(description = "BasicDevice defines one device instance.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") -public class V1alpha3BasicDevice { - public static final String SERIALIZED_NAME_ALL_NODES = "allNodes"; - @SerializedName(SERIALIZED_NAME_ALL_NODES) - @jakarta.annotation.Nullable - private Boolean allNodes; - - public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; - @SerializedName(SERIALIZED_NAME_ATTRIBUTES) - @jakarta.annotation.Nullable - private Map attributes = new HashMap<>(); - - public static final String SERIALIZED_NAME_CAPACITY = "capacity"; - @SerializedName(SERIALIZED_NAME_CAPACITY) - @jakarta.annotation.Nullable - private Map capacity = new HashMap<>(); - - public static final String SERIALIZED_NAME_CONSUMES_COUNTERS = "consumesCounters"; - @SerializedName(SERIALIZED_NAME_CONSUMES_COUNTERS) - @jakarta.annotation.Nullable - private List consumesCounters = new ArrayList<>(); - - public static final String SERIALIZED_NAME_NODE_NAME = "nodeName"; - @SerializedName(SERIALIZED_NAME_NODE_NAME) - @jakarta.annotation.Nullable - private String nodeName; - - public static final String SERIALIZED_NAME_NODE_SELECTOR = "nodeSelector"; - @SerializedName(SERIALIZED_NAME_NODE_SELECTOR) - @jakarta.annotation.Nullable - private V1NodeSelector nodeSelector; - - public static final String SERIALIZED_NAME_TAINTS = "taints"; - @SerializedName(SERIALIZED_NAME_TAINTS) - @jakarta.annotation.Nullable - private List taints = new ArrayList<>(); - - public V1alpha3BasicDevice() { - } - - public V1alpha3BasicDevice allNodes(@jakarta.annotation.Nullable Boolean allNodes) { - this.allNodes = allNodes; - return this; - } - - /** - * 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. - * @return allNodes - */ - @jakarta.annotation.Nullable - @ApiModelProperty(value = "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.") - public Boolean getAllNodes() { - return allNodes; - } - - public void setAllNodes(@jakarta.annotation.Nullable Boolean allNodes) { - this.allNodes = allNodes; - } - - - public V1alpha3BasicDevice attributes(@jakarta.annotation.Nullable Map attributes) { - this.attributes = attributes; - return this; - } - - public V1alpha3BasicDevice putAttributesItem(String key, V1alpha3DeviceAttribute attributesItem) { - if (this.attributes == null) { - this.attributes = new HashMap<>(); - } - this.attributes.put(key, attributesItem); - return this; - } - - /** - * 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. - * @return attributes - */ - @jakarta.annotation.Nullable - @ApiModelProperty(value = "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.") - public Map getAttributes() { - return attributes; - } - - public void setAttributes(@jakarta.annotation.Nullable Map attributes) { - this.attributes = attributes; - } - - - public V1alpha3BasicDevice capacity(@jakarta.annotation.Nullable Map capacity) { - this.capacity = capacity; - return this; - } - - public V1alpha3BasicDevice putCapacityItem(String key, Quantity capacityItem) { - if (this.capacity == null) { - this.capacity = new HashMap<>(); - } - this.capacity.put(key, capacityItem); - return this; - } - - /** - * 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. - * @return capacity - */ - @jakarta.annotation.Nullable - @ApiModelProperty(value = "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.") - public Map getCapacity() { - return capacity; - } - - public void setCapacity(@jakarta.annotation.Nullable Map capacity) { - this.capacity = capacity; - } - - - public V1alpha3BasicDevice consumesCounters(@jakarta.annotation.Nullable List consumesCounters) { - this.consumesCounters = consumesCounters; - return this; - } - - public V1alpha3BasicDevice addConsumesCountersItem(V1alpha3DeviceCounterConsumption consumesCountersItem) { - if (this.consumesCounters == null) { - this.consumesCounters = new ArrayList<>(); - } - this.consumesCounters.add(consumesCountersItem); - return this; - } - - /** - * ConsumesCounters defines a list of references to sharedCounters and the set of counters that the device will consume from those counter sets. There can only be a single entry per counterSet. The total number of device counter consumption entries must be <= 32. In addition, the total number in the entire ResourceSlice must be <= 1024 (for example, 64 devices with 16 counters each). - * @return consumesCounters - */ - @jakarta.annotation.Nullable - @ApiModelProperty(value = "ConsumesCounters defines a list of references to sharedCounters and the set of counters that the device will consume from those counter sets. There can only be a single entry per counterSet. The total number of device counter consumption entries must be <= 32. In addition, the total number in the entire ResourceSlice must be <= 1024 (for example, 64 devices with 16 counters each).") - public List getConsumesCounters() { - return consumesCounters; - } - - public void setConsumesCounters(@jakarta.annotation.Nullable List consumesCounters) { - this.consumesCounters = consumesCounters; - } - - - public V1alpha3BasicDevice nodeName(@jakarta.annotation.Nullable String nodeName) { - this.nodeName = nodeName; - return this; - } - - /** - * 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. - * @return nodeName - */ - @jakarta.annotation.Nullable - @ApiModelProperty(value = "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.") - public String getNodeName() { - return nodeName; - } - - public void setNodeName(@jakarta.annotation.Nullable String nodeName) { - this.nodeName = nodeName; - } - - - public V1alpha3BasicDevice nodeSelector(@jakarta.annotation.Nullable V1NodeSelector nodeSelector) { - this.nodeSelector = nodeSelector; - return this; - } - - /** - * Get nodeSelector - * @return nodeSelector - */ - @jakarta.annotation.Nullable - @ApiModelProperty(value = "") - public V1NodeSelector getNodeSelector() { - return nodeSelector; - } - - public void setNodeSelector(@jakarta.annotation.Nullable V1NodeSelector nodeSelector) { - this.nodeSelector = nodeSelector; - } - - - public V1alpha3BasicDevice taints(@jakarta.annotation.Nullable List taints) { - this.taints = taints; - return this; - } - - public V1alpha3BasicDevice addTaintsItem(V1alpha3DeviceTaint taintsItem) { - if (this.taints == null) { - this.taints = new ArrayList<>(); - } - this.taints.add(taintsItem); - return this; - } - - /** - * If specified, these are the driver-defined taints. The maximum number of taints is 4. This is an alpha field and requires enabling the DRADeviceTaints feature gate. - * @return taints - */ - @jakarta.annotation.Nullable - @ApiModelProperty(value = "If specified, these are the driver-defined taints. The maximum number of taints is 4. This is an alpha field and requires enabling the DRADeviceTaints feature gate.") - public List getTaints() { - return taints; - } - - public void setTaints(@jakarta.annotation.Nullable List taints) { - this.taints = taints; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1alpha3BasicDevice v1alpha3BasicDevice = (V1alpha3BasicDevice) o; - return Objects.equals(this.allNodes, v1alpha3BasicDevice.allNodes) && - Objects.equals(this.attributes, v1alpha3BasicDevice.attributes) && - Objects.equals(this.capacity, v1alpha3BasicDevice.capacity) && - Objects.equals(this.consumesCounters, v1alpha3BasicDevice.consumesCounters) && - Objects.equals(this.nodeName, v1alpha3BasicDevice.nodeName) && - Objects.equals(this.nodeSelector, v1alpha3BasicDevice.nodeSelector) && - Objects.equals(this.taints, v1alpha3BasicDevice.taints); - } - - @Override - public int hashCode() { - return Objects.hash(allNodes, attributes, capacity, consumesCounters, nodeName, nodeSelector, taints); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1alpha3BasicDevice {\n"); - sb.append(" allNodes: ").append(toIndentedString(allNodes)).append("\n"); - sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n"); - sb.append(" capacity: ").append(toIndentedString(capacity)).append("\n"); - sb.append(" consumesCounters: ").append(toIndentedString(consumesCounters)).append("\n"); - sb.append(" nodeName: ").append(toIndentedString(nodeName)).append("\n"); - sb.append(" nodeSelector: ").append(toIndentedString(nodeSelector)).append("\n"); - sb.append(" taints: ").append(toIndentedString(taints)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("allNodes"); - openapiFields.add("attributes"); - openapiFields.add("capacity"); - openapiFields.add("consumesCounters"); - openapiFields.add("nodeName"); - openapiFields.add("nodeSelector"); - openapiFields.add("taints"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to V1alpha3BasicDevice - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!V1alpha3BasicDevice.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in V1alpha3BasicDevice is not found in the empty JSON string", V1alpha3BasicDevice.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!V1alpha3BasicDevice.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1alpha3BasicDevice` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if (jsonObj.get("consumesCounters") != null && !jsonObj.get("consumesCounters").isJsonNull()) { - JsonArray jsonArrayconsumesCounters = jsonObj.getAsJsonArray("consumesCounters"); - if (jsonArrayconsumesCounters != null) { - // ensure the json data is an array - if (!jsonObj.get("consumesCounters").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `consumesCounters` to be an array in the JSON string but got `%s`", jsonObj.get("consumesCounters").toString())); - } - - // validate the optional field `consumesCounters` (array) - for (int i = 0; i < jsonArrayconsumesCounters.size(); i++) { - V1alpha3DeviceCounterConsumption.validateJsonElement(jsonArrayconsumesCounters.get(i)); - }; - } - } - if ((jsonObj.get("nodeName") != null && !jsonObj.get("nodeName").isJsonNull()) && !jsonObj.get("nodeName").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `nodeName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("nodeName").toString())); - } - // validate the optional field `nodeSelector` - if (jsonObj.get("nodeSelector") != null && !jsonObj.get("nodeSelector").isJsonNull()) { - V1NodeSelector.validateJsonElement(jsonObj.get("nodeSelector")); - } - if (jsonObj.get("taints") != null && !jsonObj.get("taints").isJsonNull()) { - JsonArray jsonArraytaints = jsonObj.getAsJsonArray("taints"); - if (jsonArraytaints != null) { - // ensure the json data is an array - if (!jsonObj.get("taints").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `taints` to be an array in the JSON string but got `%s`", jsonObj.get("taints").toString())); - } - - // validate the optional field `taints` (array) - for (int i = 0; i < jsonArraytaints.size(); i++) { - V1alpha3DeviceTaint.validateJsonElement(jsonArraytaints.get(i)); - }; - } - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1alpha3BasicDevice.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1alpha3BasicDevice' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1alpha3BasicDevice.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1alpha3BasicDevice value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1alpha3BasicDevice read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1alpha3BasicDevice given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1alpha3BasicDevice - * @throws IOException if the JSON string is invalid with respect to V1alpha3BasicDevice - */ - public static V1alpha3BasicDevice fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1alpha3BasicDevice.class); - } - - /** - * Convert an instance of V1alpha3BasicDevice to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3CELDeviceSelector.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3CELDeviceSelector.java index b6ad292255..58b82a7ff8 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3CELDeviceSelector.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3CELDeviceSelector.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * CELDeviceSelector contains a CEL expression for selecting a device. */ @ApiModel(description = "CELDeviceSelector contains a CEL expression for selecting a device.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1alpha3CELDeviceSelector { public static final String SERIALIZED_NAME_EXPRESSION = "expression"; @SerializedName(SERIALIZED_NAME_EXPRESSION) @@ -214,3 +215,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceSelector.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceSelector.java index b27e8e4122..cf13774d90 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceSelector.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceSelector.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * DeviceSelector must have exactly one field set. */ @ApiModel(description = "DeviceSelector must have exactly one field set.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1alpha3DeviceSelector { public static final String SERIALIZED_NAME_CEL = "cel"; @SerializedName(SERIALIZED_NAME_CEL) @@ -208,3 +209,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceTaint.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceTaint.java index 3704dc0d29..61aaafab8a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceTaint.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceTaint.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * The device this taint is attached to has the \"effect\" on any claim which does not tolerate the taint and, through the claim, to pods using the claim. */ @ApiModel(description = "The device this taint is attached to has the \"effect\" on any claim which does not tolerate the taint and, through the claim, to pods using the claim.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1alpha3DeviceTaint { public static final String SERIALIZED_NAME_EFFECT = "effect"; @SerializedName(SERIALIZED_NAME_EFFECT) @@ -306,3 +307,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceTaintRule.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceTaintRule.java index 9be1ff7f5c..69336bec37 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceTaintRule.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceTaintRule.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * DeviceTaintRule adds one taint to all devices which match the selector. This has the same effect as if the taint was specified directly in the ResourceSlice by the DRA driver. */ @ApiModel(description = "DeviceTaintRule adds one taint to all devices which match the selector. This has the same effect as if the taint was specified directly in the ResourceSlice by the DRA driver.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1alpha3DeviceTaintRule implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -309,3 +310,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceTaintRuleList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceTaintRuleList.java index ad1e21d4e8..6c9fb2c8b0 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceTaintRuleList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceTaintRuleList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * DeviceTaintRuleList is a collection of DeviceTaintRules. */ @ApiModel(description = "DeviceTaintRuleList is a collection of DeviceTaintRules.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1alpha3DeviceTaintRuleList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceTaintRuleSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceTaintRuleSpec.java index dab5faa511..c0c8936530 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceTaintRuleSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceTaintRuleSpec.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * DeviceTaintRuleSpec specifies the selector and one taint. */ @ApiModel(description = "DeviceTaintRuleSpec specifies the selector and one taint.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1alpha3DeviceTaintRuleSpec { public static final String SERIALIZED_NAME_DEVICE_SELECTOR = "deviceSelector"; @SerializedName(SERIALIZED_NAME_DEVICE_SELECTOR) @@ -247,3 +248,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceTaintSelector.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceTaintSelector.java index 6bcbec20b0..2aa11041c2 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceTaintSelector.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1alpha3DeviceTaintSelector.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * DeviceTaintSelector defines which device(s) a DeviceTaintRule applies to. The empty selector matches all devices. Without a selector, no devices are matched. */ @ApiModel(description = "DeviceTaintSelector defines which device(s) a DeviceTaintRule applies to. The empty selector matches all devices. Without a selector, no devices are matched.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1alpha3DeviceTaintSelector { public static final String SERIALIZED_NAME_DEVICE = "device"; @SerializedName(SERIALIZED_NAME_DEVICE) @@ -352,3 +353,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1AllocatedDeviceStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1AllocatedDeviceStatus.java index 02c673e863..3371d3399c 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1AllocatedDeviceStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1AllocatedDeviceStatus.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,10 +52,10 @@ import io.kubernetes.client.openapi.JSON; /** - * AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it. This may include driver-specific information. + * AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it. This may include driver-specific information. The combination of Driver, Pool, Device, and ShareID must match the corresponding key in Status.Allocation.Devices. */ -@ApiModel(description = "AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it. This may include driver-specific information.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@ApiModel(description = "AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it. This may include driver-specific information. The combination of Driver, Pool, Device, and ShareID must match the corresponding key in Status.Allocation.Devices.") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta1AllocatedDeviceStatus { public static final String SERIALIZED_NAME_CONDITIONS = "conditions"; @SerializedName(SERIALIZED_NAME_CONDITIONS) @@ -86,6 +87,11 @@ public class V1beta1AllocatedDeviceStatus { @jakarta.annotation.Nonnull private String pool; + public static final String SERIALIZED_NAME_SHARE_I_D = "shareID"; + @SerializedName(SERIALIZED_NAME_SHARE_I_D) + @jakarta.annotation.Nullable + private String shareID; + public V1beta1AllocatedDeviceStatus() { } @@ -217,6 +223,26 @@ public void setPool(@jakarta.annotation.Nonnull String pool) { } + public V1beta1AllocatedDeviceStatus shareID(@jakarta.annotation.Nullable String shareID) { + this.shareID = shareID; + return this; + } + + /** + * ShareID uniquely identifies an individual allocation share of the device. + * @return shareID + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "ShareID uniquely identifies an individual allocation share of the device.") + public String getShareID() { + return shareID; + } + + public void setShareID(@jakarta.annotation.Nullable String shareID) { + this.shareID = shareID; + } + + @Override public boolean equals(Object o) { @@ -232,12 +258,13 @@ public boolean equals(Object o) { Objects.equals(this.device, v1beta1AllocatedDeviceStatus.device) && Objects.equals(this.driver, v1beta1AllocatedDeviceStatus.driver) && Objects.equals(this.networkData, v1beta1AllocatedDeviceStatus.networkData) && - Objects.equals(this.pool, v1beta1AllocatedDeviceStatus.pool); + Objects.equals(this.pool, v1beta1AllocatedDeviceStatus.pool) && + Objects.equals(this.shareID, v1beta1AllocatedDeviceStatus.shareID); } @Override public int hashCode() { - return Objects.hash(conditions, data, device, driver, networkData, pool); + return Objects.hash(conditions, data, device, driver, networkData, pool, shareID); } @Override @@ -250,6 +277,7 @@ public String toString() { sb.append(" driver: ").append(toIndentedString(driver)).append("\n"); sb.append(" networkData: ").append(toIndentedString(networkData)).append("\n"); sb.append(" pool: ").append(toIndentedString(pool)).append("\n"); + sb.append(" shareID: ").append(toIndentedString(shareID)).append("\n"); sb.append("}"); return sb.toString(); } @@ -278,6 +306,7 @@ private String toIndentedString(Object o) { openapiFields.add("driver"); openapiFields.add("networkData"); openapiFields.add("pool"); + openapiFields.add("shareID"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); @@ -341,6 +370,9 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!jsonObj.get("pool").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `pool` to be a primitive type in the JSON string but got `%s`", jsonObj.get("pool").toString())); } + if ((jsonObj.get("shareID") != null && !jsonObj.get("shareID").isJsonNull()) && !jsonObj.get("shareID").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `shareID` to be a primitive type in the JSON string but got `%s`", jsonObj.get("shareID").toString())); + } } public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @@ -392,3 +424,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1AllocationResult.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1AllocationResult.java index 860d1d10da..29f40d2820 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1AllocationResult.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1AllocationResult.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -23,6 +24,7 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; +import java.time.OffsetDateTime; import java.util.Arrays; import com.google.gson.Gson; @@ -52,8 +54,13 @@ * AllocationResult contains attributes of an allocated resource. */ @ApiModel(description = "AllocationResult contains attributes of an allocated resource.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta1AllocationResult { + public static final String SERIALIZED_NAME_ALLOCATION_TIMESTAMP = "allocationTimestamp"; + @SerializedName(SERIALIZED_NAME_ALLOCATION_TIMESTAMP) + @jakarta.annotation.Nullable + private OffsetDateTime allocationTimestamp; + public static final String SERIALIZED_NAME_DEVICES = "devices"; @SerializedName(SERIALIZED_NAME_DEVICES) @jakarta.annotation.Nullable @@ -67,6 +74,26 @@ public class V1beta1AllocationResult { public V1beta1AllocationResult() { } + public V1beta1AllocationResult allocationTimestamp(@jakarta.annotation.Nullable OffsetDateTime allocationTimestamp) { + this.allocationTimestamp = allocationTimestamp; + return this; + } + + /** + * 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 feature gate. + * @return allocationTimestamp + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "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 feature gate.") + public OffsetDateTime getAllocationTimestamp() { + return allocationTimestamp; + } + + public void setAllocationTimestamp(@jakarta.annotation.Nullable OffsetDateTime allocationTimestamp) { + this.allocationTimestamp = allocationTimestamp; + } + + public V1beta1AllocationResult devices(@jakarta.annotation.Nullable V1beta1DeviceAllocationResult devices) { this.devices = devices; return this; @@ -117,19 +144,21 @@ public boolean equals(Object o) { return false; } V1beta1AllocationResult v1beta1AllocationResult = (V1beta1AllocationResult) o; - return Objects.equals(this.devices, v1beta1AllocationResult.devices) && + return Objects.equals(this.allocationTimestamp, v1beta1AllocationResult.allocationTimestamp) && + Objects.equals(this.devices, v1beta1AllocationResult.devices) && Objects.equals(this.nodeSelector, v1beta1AllocationResult.nodeSelector); } @Override public int hashCode() { - return Objects.hash(devices, nodeSelector); + return Objects.hash(allocationTimestamp, devices, nodeSelector); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class V1beta1AllocationResult {\n"); + sb.append(" allocationTimestamp: ").append(toIndentedString(allocationTimestamp)).append("\n"); sb.append(" devices: ").append(toIndentedString(devices)).append("\n"); sb.append(" nodeSelector: ").append(toIndentedString(nodeSelector)).append("\n"); sb.append("}"); @@ -154,6 +183,7 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); + openapiFields.add("allocationTimestamp"); openapiFields.add("devices"); openapiFields.add("nodeSelector"); @@ -241,3 +271,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ApplyConfiguration.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ApplyConfiguration.java new file mode 100644 index 0000000000..a509740893 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ApplyConfiguration.java @@ -0,0 +1,210 @@ +/* + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package io.kubernetes.client.openapi.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.Arrays; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import io.kubernetes.client.openapi.JSON; + +/** + * ApplyConfiguration defines the desired configuration values of an object. + */ +@ApiModel(description = "ApplyConfiguration defines the desired configuration values of an object.") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1beta1ApplyConfiguration { + public static final String SERIALIZED_NAME_EXPRESSION = "expression"; + @SerializedName(SERIALIZED_NAME_EXPRESSION) + @jakarta.annotation.Nullable + private String expression; + + public V1beta1ApplyConfiguration() { + } + + public V1beta1ApplyConfiguration expression(@jakarta.annotation.Nullable String expression) { + this.expression = expression; + return this; + } + + /** + * 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.<fieldName>' - CEL type of object field (such as 'Object.spec') - 'Object.<fieldName1>.<fieldName2>...<fieldNameN>` - 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. + * @return expression + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "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.") + public String getExpression() { + return expression; + } + + public void setExpression(@jakarta.annotation.Nullable String expression) { + this.expression = expression; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta1ApplyConfiguration v1beta1ApplyConfiguration = (V1beta1ApplyConfiguration) o; + return Objects.equals(this.expression, v1beta1ApplyConfiguration.expression); + } + + @Override + public int hashCode() { + return Objects.hash(expression); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta1ApplyConfiguration {\n"); + sb.append(" expression: ").append(toIndentedString(expression)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("expression"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to V1beta1ApplyConfiguration + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!V1beta1ApplyConfiguration.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1beta1ApplyConfiguration is not found in the empty JSON string", V1beta1ApplyConfiguration.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!V1beta1ApplyConfiguration.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1beta1ApplyConfiguration` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("expression") != null && !jsonObj.get("expression").isJsonNull()) && !jsonObj.get("expression").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `expression` to be a primitive type in the JSON string but got `%s`", jsonObj.get("expression").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!V1beta1ApplyConfiguration.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1beta1ApplyConfiguration' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1beta1ApplyConfiguration.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, V1beta1ApplyConfiguration value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public V1beta1ApplyConfiguration read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of V1beta1ApplyConfiguration given an JSON string + * + * @param jsonString JSON string + * @return An instance of V1beta1ApplyConfiguration + * @throws IOException if the JSON string is invalid with respect to V1beta1ApplyConfiguration + */ + public static V1beta1ApplyConfiguration fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1beta1ApplyConfiguration.class); + } + + /** + * Convert an instance of V1beta1ApplyConfiguration to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1AuditAnnotation.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1AuditAnnotation.java deleted file mode 100644 index b9242743b2..0000000000 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1AuditAnnotation.java +++ /dev/null @@ -1,248 +0,0 @@ -/* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ -package io.kubernetes.client.openapi.models; - -import java.util.Objects; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.Arrays; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; -import com.google.gson.TypeAdapter; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; - -import java.util.HashMap; -import java.util.HashSet; -import java.util.List; -import java.util.Map; -import java.util.Set; - -import io.kubernetes.client.openapi.JSON; - -/** - * AuditAnnotation describes how to produce an audit annotation for an API request. - */ -@ApiModel(description = "AuditAnnotation describes how to produce an audit annotation for an API request.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") -public class V1beta1AuditAnnotation { - public static final String SERIALIZED_NAME_KEY = "key"; - @SerializedName(SERIALIZED_NAME_KEY) - @jakarta.annotation.Nonnull - private String key; - - public static final String SERIALIZED_NAME_VALUE_EXPRESSION = "valueExpression"; - @SerializedName(SERIALIZED_NAME_VALUE_EXPRESSION) - @jakarta.annotation.Nonnull - private String valueExpression; - - public V1beta1AuditAnnotation() { - } - - public V1beta1AuditAnnotation key(@jakarta.annotation.Nonnull String key) { - this.key = key; - return this; - } - - /** - * key specifies the audit annotation key. The audit annotation keys of a ValidatingAdmissionPolicy must be unique. The key must be a qualified name ([A-Za-z0-9][-A-Za-z0-9_.]*) no more than 63 bytes in length. The key is combined with the resource name of the ValidatingAdmissionPolicy to construct an audit annotation key: \"{ValidatingAdmissionPolicy name}/{key}\". If an admission webhook uses the same resource name as this ValidatingAdmissionPolicy and the same audit annotation key, the annotation key will be identical. In this case, the first annotation written with the key will be included in the audit event and all subsequent annotations with the same key will be discarded. Required. - * @return key - */ - @jakarta.annotation.Nonnull - @ApiModelProperty(required = true, value = "key specifies the audit annotation key. The audit annotation keys of a ValidatingAdmissionPolicy must be unique. The key must be a qualified name ([A-Za-z0-9][-A-Za-z0-9_.]*) no more than 63 bytes in length. The key is combined with the resource name of the ValidatingAdmissionPolicy to construct an audit annotation key: \"{ValidatingAdmissionPolicy name}/{key}\". If an admission webhook uses the same resource name as this ValidatingAdmissionPolicy and the same audit annotation key, the annotation key will be identical. In this case, the first annotation written with the key will be included in the audit event and all subsequent annotations with the same key will be discarded. Required.") - public String getKey() { - return key; - } - - public void setKey(@jakarta.annotation.Nonnull String key) { - this.key = key; - } - - - public V1beta1AuditAnnotation valueExpression(@jakarta.annotation.Nonnull String valueExpression) { - this.valueExpression = valueExpression; - return this; - } - - /** - * valueExpression represents the expression which is evaluated by CEL to produce an audit annotation value. The expression must evaluate to either a string or null value. If the expression evaluates to a string, the audit annotation is included with the string value. If the expression evaluates to null or empty string the audit annotation will be omitted. The valueExpression may be no longer than 5kb in length. If the result of the valueExpression is more than 10kb in length, it will be truncated to 10kb. If multiple ValidatingAdmissionPolicyBinding resources match an API request, then the valueExpression will be evaluated for each binding. All unique values produced by the valueExpressions will be joined together in a comma-separated list. Required. - * @return valueExpression - */ - @jakarta.annotation.Nonnull - @ApiModelProperty(required = true, value = "valueExpression represents the expression which is evaluated by CEL to produce an audit annotation value. The expression must evaluate to either a string or null value. If the expression evaluates to a string, the audit annotation is included with the string value. If the expression evaluates to null or empty string the audit annotation will be omitted. The valueExpression may be no longer than 5kb in length. If the result of the valueExpression is more than 10kb in length, it will be truncated to 10kb. If multiple ValidatingAdmissionPolicyBinding resources match an API request, then the valueExpression will be evaluated for each binding. All unique values produced by the valueExpressions will be joined together in a comma-separated list. Required.") - public String getValueExpression() { - return valueExpression; - } - - public void setValueExpression(@jakarta.annotation.Nonnull String valueExpression) { - this.valueExpression = valueExpression; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1beta1AuditAnnotation v1beta1AuditAnnotation = (V1beta1AuditAnnotation) o; - return Objects.equals(this.key, v1beta1AuditAnnotation.key) && - Objects.equals(this.valueExpression, v1beta1AuditAnnotation.valueExpression); - } - - @Override - public int hashCode() { - return Objects.hash(key, valueExpression); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1beta1AuditAnnotation {\n"); - sb.append(" key: ").append(toIndentedString(key)).append("\n"); - sb.append(" valueExpression: ").append(toIndentedString(valueExpression)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("key"); - openapiFields.add("valueExpression"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("key"); - openapiRequiredFields.add("valueExpression"); - } - - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to V1beta1AuditAnnotation - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!V1beta1AuditAnnotation.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in V1beta1AuditAnnotation is not found in the empty JSON string", V1beta1AuditAnnotation.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!V1beta1AuditAnnotation.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1beta1AuditAnnotation` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - - // check to make sure all required properties/fields are present in the JSON string - for (String requiredField : V1beta1AuditAnnotation.openapiRequiredFields) { - if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if (!jsonObj.get("key").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `key` to be a primitive type in the JSON string but got `%s`", jsonObj.get("key").toString())); - } - if (!jsonObj.get("valueExpression").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `valueExpression` to be a primitive type in the JSON string but got `%s`", jsonObj.get("valueExpression").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1beta1AuditAnnotation.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1beta1AuditAnnotation' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1beta1AuditAnnotation.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1beta1AuditAnnotation value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1beta1AuditAnnotation read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1beta1AuditAnnotation given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1beta1AuditAnnotation - * @throws IOException if the JSON string is invalid with respect to V1beta1AuditAnnotation - */ - public static V1beta1AuditAnnotation fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1beta1AuditAnnotation.class); - } - - /** - * Convert an instance of V1beta1AuditAnnotation to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1BasicDevice.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1BasicDevice.java index a6e32c4488..f94555390d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1BasicDevice.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1BasicDevice.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -59,18 +60,38 @@ * BasicDevice defines one device instance. */ @ApiModel(description = "BasicDevice defines one device instance.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta1BasicDevice { public static final String SERIALIZED_NAME_ALL_NODES = "allNodes"; @SerializedName(SERIALIZED_NAME_ALL_NODES) @jakarta.annotation.Nullable private Boolean allNodes; + public static final String SERIALIZED_NAME_ALLOW_MULTIPLE_ALLOCATIONS = "allowMultipleAllocations"; + @SerializedName(SERIALIZED_NAME_ALLOW_MULTIPLE_ALLOCATIONS) + @jakarta.annotation.Nullable + private Boolean allowMultipleAllocations; + public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; @SerializedName(SERIALIZED_NAME_ATTRIBUTES) @jakarta.annotation.Nullable private Map attributes = new HashMap<>(); + public static final String SERIALIZED_NAME_BINDING_CONDITIONS = "bindingConditions"; + @SerializedName(SERIALIZED_NAME_BINDING_CONDITIONS) + @jakarta.annotation.Nullable + private List bindingConditions = new ArrayList<>(); + + public static final String SERIALIZED_NAME_BINDING_FAILURE_CONDITIONS = "bindingFailureConditions"; + @SerializedName(SERIALIZED_NAME_BINDING_FAILURE_CONDITIONS) + @jakarta.annotation.Nullable + private List bindingFailureConditions = new ArrayList<>(); + + public static final String SERIALIZED_NAME_BINDS_TO_NODE = "bindsToNode"; + @SerializedName(SERIALIZED_NAME_BINDS_TO_NODE) + @jakarta.annotation.Nullable + private Boolean bindsToNode; + public static final String SERIALIZED_NAME_CAPACITY = "capacity"; @SerializedName(SERIALIZED_NAME_CAPACITY) @jakarta.annotation.Nullable @@ -119,6 +140,26 @@ public void setAllNodes(@jakarta.annotation.Nullable Boolean allNodes) { } + public V1beta1BasicDevice allowMultipleAllocations(@jakarta.annotation.Nullable Boolean allowMultipleAllocations) { + this.allowMultipleAllocations = allowMultipleAllocations; + return this; + } + + /** + * 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. + * @return allowMultipleAllocations + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "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.") + public Boolean getAllowMultipleAllocations() { + return allowMultipleAllocations; + } + + public void setAllowMultipleAllocations(@jakarta.annotation.Nullable Boolean allowMultipleAllocations) { + this.allowMultipleAllocations = allowMultipleAllocations; + } + + public V1beta1BasicDevice attributes(@jakarta.annotation.Nullable Map attributes) { this.attributes = attributes; return this; @@ -147,6 +188,82 @@ public void setAttributes(@jakarta.annotation.Nullable Map bindingConditions) { + this.bindingConditions = bindingConditions; + return this; + } + + public V1beta1BasicDevice addBindingConditionsItem(String bindingConditionsItem) { + if (this.bindingConditions == null) { + this.bindingConditions = new ArrayList<>(); + } + this.bindingConditions.add(bindingConditionsItem); + return this; + } + + /** + * BindingConditions defines the conditions for proceeding with binding. All of these conditions must be set in the per-device status conditions with a value of True to proceed with binding the pod to the node while scheduling the pod. The maximum number of binding conditions is 4. The conditions must be a valid condition type string. This is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates. + * @return bindingConditions + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "BindingConditions defines the conditions for proceeding with binding. All of these conditions must be set in the per-device status conditions with a value of True to proceed with binding the pod to the node while scheduling the pod. The maximum number of binding conditions is 4. The conditions must be a valid condition type string. This is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates.") + public List getBindingConditions() { + return bindingConditions; + } + + public void setBindingConditions(@jakarta.annotation.Nullable List bindingConditions) { + this.bindingConditions = bindingConditions; + } + + + public V1beta1BasicDevice bindingFailureConditions(@jakarta.annotation.Nullable List bindingFailureConditions) { + this.bindingFailureConditions = bindingFailureConditions; + return this; + } + + public V1beta1BasicDevice addBindingFailureConditionsItem(String bindingFailureConditionsItem) { + if (this.bindingFailureConditions == null) { + this.bindingFailureConditions = new ArrayList<>(); + } + this.bindingFailureConditions.add(bindingFailureConditionsItem); + return this; + } + + /** + * BindingFailureConditions defines the conditions for binding failure. They may be set in the per-device status conditions. If any is true, a binding failure occurred. The maximum number of binding failure conditions is 4. The conditions must be a valid condition type string. This is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates. + * @return bindingFailureConditions + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "BindingFailureConditions defines the conditions for binding failure. They may be set in the per-device status conditions. If any is true, a binding failure occurred. The maximum number of binding failure conditions is 4. The conditions must be a valid condition type string. This is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates.") + public List getBindingFailureConditions() { + return bindingFailureConditions; + } + + public void setBindingFailureConditions(@jakarta.annotation.Nullable List bindingFailureConditions) { + this.bindingFailureConditions = bindingFailureConditions; + } + + + public V1beta1BasicDevice bindsToNode(@jakarta.annotation.Nullable Boolean bindsToNode) { + this.bindsToNode = bindsToNode; + return this; + } + + /** + * 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 feature gates. + * @return bindsToNode + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "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 feature gates.") + public Boolean getBindsToNode() { + return bindsToNode; + } + + public void setBindsToNode(@jakarta.annotation.Nullable Boolean bindsToNode) { + this.bindsToNode = bindsToNode; + } + + public V1beta1BasicDevice capacity(@jakarta.annotation.Nullable Map capacity) { this.capacity = capacity; return this; @@ -282,7 +399,11 @@ public boolean equals(Object o) { } V1beta1BasicDevice v1beta1BasicDevice = (V1beta1BasicDevice) o; return Objects.equals(this.allNodes, v1beta1BasicDevice.allNodes) && + Objects.equals(this.allowMultipleAllocations, v1beta1BasicDevice.allowMultipleAllocations) && Objects.equals(this.attributes, v1beta1BasicDevice.attributes) && + Objects.equals(this.bindingConditions, v1beta1BasicDevice.bindingConditions) && + Objects.equals(this.bindingFailureConditions, v1beta1BasicDevice.bindingFailureConditions) && + Objects.equals(this.bindsToNode, v1beta1BasicDevice.bindsToNode) && Objects.equals(this.capacity, v1beta1BasicDevice.capacity) && Objects.equals(this.consumesCounters, v1beta1BasicDevice.consumesCounters) && Objects.equals(this.nodeName, v1beta1BasicDevice.nodeName) && @@ -292,7 +413,7 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(allNodes, attributes, capacity, consumesCounters, nodeName, nodeSelector, taints); + return Objects.hash(allNodes, allowMultipleAllocations, attributes, bindingConditions, bindingFailureConditions, bindsToNode, capacity, consumesCounters, nodeName, nodeSelector, taints); } @Override @@ -300,7 +421,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class V1beta1BasicDevice {\n"); sb.append(" allNodes: ").append(toIndentedString(allNodes)).append("\n"); + sb.append(" allowMultipleAllocations: ").append(toIndentedString(allowMultipleAllocations)).append("\n"); sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n"); + sb.append(" bindingConditions: ").append(toIndentedString(bindingConditions)).append("\n"); + sb.append(" bindingFailureConditions: ").append(toIndentedString(bindingFailureConditions)).append("\n"); + sb.append(" bindsToNode: ").append(toIndentedString(bindsToNode)).append("\n"); sb.append(" capacity: ").append(toIndentedString(capacity)).append("\n"); sb.append(" consumesCounters: ").append(toIndentedString(consumesCounters)).append("\n"); sb.append(" nodeName: ").append(toIndentedString(nodeName)).append("\n"); @@ -329,7 +454,11 @@ private String toIndentedString(Object o) { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); openapiFields.add("allNodes"); + openapiFields.add("allowMultipleAllocations"); openapiFields.add("attributes"); + openapiFields.add("bindingConditions"); + openapiFields.add("bindingFailureConditions"); + openapiFields.add("bindsToNode"); openapiFields.add("capacity"); openapiFields.add("consumesCounters"); openapiFields.add("nodeName"); @@ -361,6 +490,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } } JsonObject jsonObj = jsonElement.getAsJsonObject(); + // ensure the optional json data is an array if present + if (jsonObj.get("bindingConditions") != null && !jsonObj.get("bindingConditions").isJsonNull() && !jsonObj.get("bindingConditions").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `bindingConditions` to be an array in the JSON string but got `%s`", jsonObj.get("bindingConditions").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("bindingFailureConditions") != null && !jsonObj.get("bindingFailureConditions").isJsonNull() && !jsonObj.get("bindingFailureConditions").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `bindingFailureConditions` to be an array in the JSON string but got `%s`", jsonObj.get("bindingFailureConditions").toString())); + } if (jsonObj.get("consumesCounters") != null && !jsonObj.get("consumesCounters").isJsonNull()) { JsonArray jsonArrayconsumesCounters = jsonObj.getAsJsonArray("consumesCounters"); if (jsonArrayconsumesCounters != null) { @@ -447,3 +584,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CELDeviceSelector.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CELDeviceSelector.java index 537c0c923c..99045916ab 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CELDeviceSelector.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CELDeviceSelector.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * CELDeviceSelector contains a CEL expression for selecting a device. */ @ApiModel(description = "CELDeviceSelector contains a CEL expression for selecting a device.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta1CELDeviceSelector { public static final String SERIALIZED_NAME_EXPRESSION = "expression"; @SerializedName(SERIALIZED_NAME_EXPRESSION) @@ -66,11 +67,11 @@ public V1beta1CELDeviceSelector expression(@jakarta.annotation.Nonnull String ex } /** - * Expression is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort. The expression's input is an object named \"device\", which carries the following properties: - driver (string): the name of the driver which defines this device. - attributes (map[string]object): the device's attributes, grouped by prefix (e.g. device.attributes[\"dra.example.com\"] evaluates to an object with all of the attributes which were prefixed by \"dra.example.com\". - capacity (map[string]object): the device's capacities, grouped by prefix. Example: Consider a device with driver=\"dra.example.com\", which exposes two attributes named \"model\" and \"ext.example.com/family\" and which exposes one capacity named \"modules\". This input to this expression would have the following fields: device.driver device.attributes[\"dra.example.com\"].model device.attributes[\"ext.example.com\"].family device.capacity[\"dra.example.com\"].modules The device.driver field can be used to check for a specific driver, either as a high-level precondition (i.e. you only want to consider devices from this driver) or as part of a multi-clause expression that is meant to consider devices from different drivers. The value type of each attribute is defined by the device definition, and users who write these expressions must consult the documentation for their specific drivers. The value type of each capacity is Quantity. If an unknown prefix is used as a lookup in either device.attributes or device.capacity, an empty map will be returned. Any reference to an unknown field will cause an evaluation error and allocation to abort. A robust expression should check for the existence of attributes before referencing them. For ease of use, the cel.bind() function is enabled, and can be used to simplify expressions that access multiple attributes with the same domain. For example: cel.bind(dra, device.attributes[\"dra.example.com\"], dra.someBool && dra.anotherBool) 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 is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort. The expression's input is an object named \"device\", which carries the following properties: - driver (string): the name of the driver which defines this device. - attributes (map[string]object): the device's attributes, grouped by prefix (e.g. device.attributes[\"dra.example.com\"] evaluates to an object with all of the attributes which were prefixed by \"dra.example.com\". - capacity (map[string]object): the device's capacities, grouped by prefix. - allowMultipleAllocations (bool): the allowMultipleAllocations property of the device (v1.34+ with the DRAConsumableCapacity feature enabled). Example: Consider a device with driver=\"dra.example.com\", which exposes two attributes named \"model\" and \"ext.example.com/family\" and which exposes one capacity named \"modules\". This input to this expression would have the following fields: device.driver device.attributes[\"dra.example.com\"].model device.attributes[\"ext.example.com\"].family device.capacity[\"dra.example.com\"].modules The device.driver field can be used to check for a specific driver, either as a high-level precondition (i.e. you only want to consider devices from this driver) or as part of a multi-clause expression that is meant to consider devices from different drivers. The value type of each attribute is defined by the device definition, and users who write these expressions must consult the documentation for their specific drivers. The value type of each capacity is Quantity. If an unknown prefix is used as a lookup in either device.attributes or device.capacity, an empty map will be returned. Any reference to an unknown field will cause an evaluation error and allocation to abort. A robust expression should check for the existence of attributes before referencing them. For ease of use, the cel.bind() function is enabled, and can be used to simplify expressions that access multiple attributes with the same domain. For example: cel.bind(dra, device.attributes[\"dra.example.com\"], dra.someBool && dra.anotherBool) 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. * @return expression */ @jakarta.annotation.Nonnull - @ApiModelProperty(required = true, value = "Expression is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort. The expression's input is an object named \"device\", which carries the following properties: - driver (string): the name of the driver which defines this device. - attributes (map[string]object): the device's attributes, grouped by prefix (e.g. device.attributes[\"dra.example.com\"] evaluates to an object with all of the attributes which were prefixed by \"dra.example.com\". - capacity (map[string]object): the device's capacities, grouped by prefix. Example: Consider a device with driver=\"dra.example.com\", which exposes two attributes named \"model\" and \"ext.example.com/family\" and which exposes one capacity named \"modules\". This input to this expression would have the following fields: device.driver device.attributes[\"dra.example.com\"].model device.attributes[\"ext.example.com\"].family device.capacity[\"dra.example.com\"].modules The device.driver field can be used to check for a specific driver, either as a high-level precondition (i.e. you only want to consider devices from this driver) or as part of a multi-clause expression that is meant to consider devices from different drivers. The value type of each attribute is defined by the device definition, and users who write these expressions must consult the documentation for their specific drivers. The value type of each capacity is Quantity. If an unknown prefix is used as a lookup in either device.attributes or device.capacity, an empty map will be returned. Any reference to an unknown field will cause an evaluation error and allocation to abort. A robust expression should check for the existence of attributes before referencing them. For ease of use, the cel.bind() function is enabled, and can be used to simplify expressions that access multiple attributes with the same domain. For example: cel.bind(dra, device.attributes[\"dra.example.com\"], dra.someBool && dra.anotherBool) 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.") + @ApiModelProperty(required = true, value = "Expression is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort. The expression's input is an object named \"device\", which carries the following properties: - driver (string): the name of the driver which defines this device. - attributes (map[string]object): the device's attributes, grouped by prefix (e.g. device.attributes[\"dra.example.com\"] evaluates to an object with all of the attributes which were prefixed by \"dra.example.com\". - capacity (map[string]object): the device's capacities, grouped by prefix. - allowMultipleAllocations (bool): the allowMultipleAllocations property of the device (v1.34+ with the DRAConsumableCapacity feature enabled). Example: Consider a device with driver=\"dra.example.com\", which exposes two attributes named \"model\" and \"ext.example.com/family\" and which exposes one capacity named \"modules\". This input to this expression would have the following fields: device.driver device.attributes[\"dra.example.com\"].model device.attributes[\"ext.example.com\"].family device.capacity[\"dra.example.com\"].modules The device.driver field can be used to check for a specific driver, either as a high-level precondition (i.e. you only want to consider devices from this driver) or as part of a multi-clause expression that is meant to consider devices from different drivers. The value type of each attribute is defined by the device definition, and users who write these expressions must consult the documentation for their specific drivers. The value type of each capacity is Quantity. If an unknown prefix is used as a lookup in either device.attributes or device.capacity, an empty map will be returned. Any reference to an unknown field will cause an evaluation error and allocation to abort. A robust expression should check for the existence of attributes before referencing them. For ease of use, the cel.bind() function is enabled, and can be used to simplify expressions that access multiple attributes with the same domain. For example: cel.bind(dra, device.attributes[\"dra.example.com\"], dra.someBool && dra.anotherBool) 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.") public String getExpression() { return expression; } @@ -214,3 +215,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CapacityRequestPolicy.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CapacityRequestPolicy.java new file mode 100644 index 0000000000..97f9c5ff35 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CapacityRequestPolicy.java @@ -0,0 +1,286 @@ +/* + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package io.kubernetes.client.openapi.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.custom.Quantity; +import io.kubernetes.client.openapi.models.V1beta1CapacityRequestPolicyRange; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import io.kubernetes.client.openapi.JSON; + +/** + * CapacityRequestPolicy defines how requests consume device capacity. Must not set more than one ValidRequestValues. + */ +@ApiModel(description = "CapacityRequestPolicy defines how requests consume device capacity. Must not set more than one ValidRequestValues.") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1beta1CapacityRequestPolicy { + public static final String SERIALIZED_NAME_DEFAULT = "default"; + @SerializedName(SERIALIZED_NAME_DEFAULT) + @jakarta.annotation.Nullable + private Quantity _default; + + public static final String SERIALIZED_NAME_VALID_RANGE = "validRange"; + @SerializedName(SERIALIZED_NAME_VALID_RANGE) + @jakarta.annotation.Nullable + private V1beta1CapacityRequestPolicyRange validRange; + + public static final String SERIALIZED_NAME_VALID_VALUES = "validValues"; + @SerializedName(SERIALIZED_NAME_VALID_VALUES) + @jakarta.annotation.Nullable + private List validValues = new ArrayList<>(); + + public V1beta1CapacityRequestPolicy() { + } + + public V1beta1CapacityRequestPolicy _default(@jakarta.annotation.Nullable Quantity _default) { + this._default = _default; + return this; + } + + /** + * Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. The serialization format is: ``` <quantity> ::= <signedNumber><suffix> (Note that <suffix> may be empty, from the \"\" case in <decimalSI>.) <digit> ::= 0 | 1 | ... | 9 <digits> ::= <digit> | <digit><digits> <number> ::= <digits> | <digits>.<digits> | <digits>. | .<digits> <sign> ::= \"+\" | \"-\" <signedNumber> ::= <number> | <sign><number> <suffix> ::= <binarySI> | <decimalExponent> | <decimalSI> <binarySI> ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) <decimalSI> ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) <decimalExponent> ::= \"e\" <signedNumber> | \"E\" <signedNumber> ``` No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: - No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: - 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation. + * @return _default + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. The serialization format is: ``` ::= (Note that may be empty, from the \"\" case in .) ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) ::= \"e\" | \"E\" ``` No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: - No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: - 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.") + public Quantity getDefault() { + return _default; + } + + public void setDefault(@jakarta.annotation.Nullable Quantity _default) { + this._default = _default; + } + + + public V1beta1CapacityRequestPolicy validRange(@jakarta.annotation.Nullable V1beta1CapacityRequestPolicyRange validRange) { + this.validRange = validRange; + return this; + } + + /** + * Get validRange + * @return validRange + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "") + public V1beta1CapacityRequestPolicyRange getValidRange() { + return validRange; + } + + public void setValidRange(@jakarta.annotation.Nullable V1beta1CapacityRequestPolicyRange validRange) { + this.validRange = validRange; + } + + + public V1beta1CapacityRequestPolicy validValues(@jakarta.annotation.Nullable List validValues) { + this.validValues = validValues; + return this; + } + + public V1beta1CapacityRequestPolicy addValidValuesItem(Quantity validValuesItem) { + if (this.validValues == null) { + this.validValues = new ArrayList<>(); + } + this.validValues.add(validValuesItem); + return this; + } + + /** + * ValidValues defines a set of acceptable quantity values in consuming requests. Must not contain more than 10 entries. Must be sorted in ascending order. If this field is set, Default must be defined and it must be included in ValidValues list. If the requested amount does not match any valid value but smaller than some valid values, the scheduler calculates the smallest valid value that is greater than or equal to the request. That is: min(ceil(requestedValue) ∈ validValues), where requestedValue ≤ max(validValues). If the requested amount exceeds all valid values, the request violates the policy, and this device cannot be allocated. + * @return validValues + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "ValidValues defines a set of acceptable quantity values in consuming requests. Must not contain more than 10 entries. Must be sorted in ascending order. If this field is set, Default must be defined and it must be included in ValidValues list. If the requested amount does not match any valid value but smaller than some valid values, the scheduler calculates the smallest valid value that is greater than or equal to the request. That is: min(ceil(requestedValue) ∈ validValues), where requestedValue ≤ max(validValues). If the requested amount exceeds all valid values, the request violates the policy, and this device cannot be allocated.") + public List getValidValues() { + return validValues; + } + + public void setValidValues(@jakarta.annotation.Nullable List validValues) { + this.validValues = validValues; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta1CapacityRequestPolicy v1beta1CapacityRequestPolicy = (V1beta1CapacityRequestPolicy) o; + return Objects.equals(this._default, v1beta1CapacityRequestPolicy._default) && + Objects.equals(this.validRange, v1beta1CapacityRequestPolicy.validRange) && + Objects.equals(this.validValues, v1beta1CapacityRequestPolicy.validValues); + } + + @Override + public int hashCode() { + return Objects.hash(_default, validRange, validValues); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta1CapacityRequestPolicy {\n"); + sb.append(" _default: ").append(toIndentedString(_default)).append("\n"); + sb.append(" validRange: ").append(toIndentedString(validRange)).append("\n"); + sb.append(" validValues: ").append(toIndentedString(validValues)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("default"); + openapiFields.add("validRange"); + openapiFields.add("validValues"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to V1beta1CapacityRequestPolicy + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!V1beta1CapacityRequestPolicy.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1beta1CapacityRequestPolicy is not found in the empty JSON string", V1beta1CapacityRequestPolicy.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!V1beta1CapacityRequestPolicy.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1beta1CapacityRequestPolicy` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("default") != null && !jsonObj.get("default").isJsonNull()) && !jsonObj.get("default").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `default` to be a primitive type in the JSON string but got `%s`", jsonObj.get("default").toString())); + } + // validate the optional field `validRange` + if (jsonObj.get("validRange") != null && !jsonObj.get("validRange").isJsonNull()) { + V1beta1CapacityRequestPolicyRange.validateJsonElement(jsonObj.get("validRange")); + } + // ensure the optional json data is an array if present + if (jsonObj.get("validValues") != null && !jsonObj.get("validValues").isJsonNull() && !jsonObj.get("validValues").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `validValues` to be an array in the JSON string but got `%s`", jsonObj.get("validValues").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!V1beta1CapacityRequestPolicy.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1beta1CapacityRequestPolicy' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1beta1CapacityRequestPolicy.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, V1beta1CapacityRequestPolicy value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public V1beta1CapacityRequestPolicy read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of V1beta1CapacityRequestPolicy given an JSON string + * + * @param jsonString JSON string + * @return An instance of V1beta1CapacityRequestPolicy + * @throws IOException if the JSON string is invalid with respect to V1beta1CapacityRequestPolicy + */ + public static V1beta1CapacityRequestPolicy fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1beta1CapacityRequestPolicy.class); + } + + /** + * Convert an instance of V1beta1CapacityRequestPolicy to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CapacityRequestPolicyRange.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CapacityRequestPolicyRange.java new file mode 100644 index 0000000000..875ca64ac0 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CapacityRequestPolicyRange.java @@ -0,0 +1,281 @@ +/* + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package io.kubernetes.client.openapi.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.custom.Quantity; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.Arrays; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import io.kubernetes.client.openapi.JSON; + +/** + * CapacityRequestPolicyRange defines a valid range for consumable capacity values. - If the requested amount is less than Min, it is rounded up to the Min value. - If Step is set and the requested amount is between Min and Max but not aligned with Step, it will be rounded up to the next value equal to Min + (n * Step). - If Step is not set, the requested amount is used as-is if it falls within the range Min to Max (if set). - If the requested or rounded amount exceeds Max (if set), the request does not satisfy the policy, and the device cannot be allocated. + */ +@ApiModel(description = "CapacityRequestPolicyRange defines a valid range for consumable capacity values. - If the requested amount is less than Min, it is rounded up to the Min value. - If Step is set and the requested amount is between Min and Max but not aligned with Step, it will be rounded up to the next value equal to Min + (n * Step). - If Step is not set, the requested amount is used as-is if it falls within the range Min to Max (if set). - If the requested or rounded amount exceeds Max (if set), the request does not satisfy the policy, and the device cannot be allocated.") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1beta1CapacityRequestPolicyRange { + public static final String SERIALIZED_NAME_MAX = "max"; + @SerializedName(SERIALIZED_NAME_MAX) + @jakarta.annotation.Nullable + private Quantity max; + + public static final String SERIALIZED_NAME_MIN = "min"; + @SerializedName(SERIALIZED_NAME_MIN) + @jakarta.annotation.Nonnull + private Quantity min; + + public static final String SERIALIZED_NAME_STEP = "step"; + @SerializedName(SERIALIZED_NAME_STEP) + @jakarta.annotation.Nullable + private Quantity step; + + public V1beta1CapacityRequestPolicyRange() { + } + + public V1beta1CapacityRequestPolicyRange max(@jakarta.annotation.Nullable Quantity max) { + this.max = max; + return this; + } + + /** + * Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. The serialization format is: ``` <quantity> ::= <signedNumber><suffix> (Note that <suffix> may be empty, from the \"\" case in <decimalSI>.) <digit> ::= 0 | 1 | ... | 9 <digits> ::= <digit> | <digit><digits> <number> ::= <digits> | <digits>.<digits> | <digits>. | .<digits> <sign> ::= \"+\" | \"-\" <signedNumber> ::= <number> | <sign><number> <suffix> ::= <binarySI> | <decimalExponent> | <decimalSI> <binarySI> ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) <decimalSI> ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) <decimalExponent> ::= \"e\" <signedNumber> | \"E\" <signedNumber> ``` No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: - No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: - 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation. + * @return max + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. The serialization format is: ``` ::= (Note that may be empty, from the \"\" case in .) ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) ::= \"e\" | \"E\" ``` No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: - No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: - 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.") + public Quantity getMax() { + return max; + } + + public void setMax(@jakarta.annotation.Nullable Quantity max) { + this.max = max; + } + + + public V1beta1CapacityRequestPolicyRange min(@jakarta.annotation.Nonnull Quantity min) { + this.min = min; + return this; + } + + /** + * Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. The serialization format is: ``` <quantity> ::= <signedNumber><suffix> (Note that <suffix> may be empty, from the \"\" case in <decimalSI>.) <digit> ::= 0 | 1 | ... | 9 <digits> ::= <digit> | <digit><digits> <number> ::= <digits> | <digits>.<digits> | <digits>. | .<digits> <sign> ::= \"+\" | \"-\" <signedNumber> ::= <number> | <sign><number> <suffix> ::= <binarySI> | <decimalExponent> | <decimalSI> <binarySI> ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) <decimalSI> ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) <decimalExponent> ::= \"e\" <signedNumber> | \"E\" <signedNumber> ``` No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: - No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: - 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation. + * @return min + */ + @jakarta.annotation.Nonnull + @ApiModelProperty(required = true, value = "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. The serialization format is: ``` ::= (Note that may be empty, from the \"\" case in .) ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) ::= \"e\" | \"E\" ``` No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: - No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: - 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.") + public Quantity getMin() { + return min; + } + + public void setMin(@jakarta.annotation.Nonnull Quantity min) { + this.min = min; + } + + + public V1beta1CapacityRequestPolicyRange step(@jakarta.annotation.Nullable Quantity step) { + this.step = step; + return this; + } + + /** + * Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. The serialization format is: ``` <quantity> ::= <signedNumber><suffix> (Note that <suffix> may be empty, from the \"\" case in <decimalSI>.) <digit> ::= 0 | 1 | ... | 9 <digits> ::= <digit> | <digit><digits> <number> ::= <digits> | <digits>.<digits> | <digits>. | .<digits> <sign> ::= \"+\" | \"-\" <signedNumber> ::= <number> | <sign><number> <suffix> ::= <binarySI> | <decimalExponent> | <decimalSI> <binarySI> ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) <decimalSI> ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) <decimalExponent> ::= \"e\" <signedNumber> | \"E\" <signedNumber> ``` No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: - No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: - 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation. + * @return step + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. The serialization format is: ``` ::= (Note that may be empty, from the \"\" case in .) ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) ::= \"e\" | \"E\" ``` No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: - No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: - 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.") + public Quantity getStep() { + return step; + } + + public void setStep(@jakarta.annotation.Nullable Quantity step) { + this.step = step; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta1CapacityRequestPolicyRange v1beta1CapacityRequestPolicyRange = (V1beta1CapacityRequestPolicyRange) o; + return Objects.equals(this.max, v1beta1CapacityRequestPolicyRange.max) && + Objects.equals(this.min, v1beta1CapacityRequestPolicyRange.min) && + Objects.equals(this.step, v1beta1CapacityRequestPolicyRange.step); + } + + @Override + public int hashCode() { + return Objects.hash(max, min, step); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta1CapacityRequestPolicyRange {\n"); + sb.append(" max: ").append(toIndentedString(max)).append("\n"); + sb.append(" min: ").append(toIndentedString(min)).append("\n"); + sb.append(" step: ").append(toIndentedString(step)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("max"); + openapiFields.add("min"); + openapiFields.add("step"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("min"); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to V1beta1CapacityRequestPolicyRange + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!V1beta1CapacityRequestPolicyRange.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1beta1CapacityRequestPolicyRange is not found in the empty JSON string", V1beta1CapacityRequestPolicyRange.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!V1beta1CapacityRequestPolicyRange.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1beta1CapacityRequestPolicyRange` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : V1beta1CapacityRequestPolicyRange.openapiRequiredFields) { + if (jsonElement.getAsJsonObject().get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("max") != null && !jsonObj.get("max").isJsonNull()) && !jsonObj.get("max").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `max` to be a primitive type in the JSON string but got `%s`", jsonObj.get("max").toString())); + } + if (!jsonObj.get("min").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `min` to be a primitive type in the JSON string but got `%s`", jsonObj.get("min").toString())); + } + if ((jsonObj.get("step") != null && !jsonObj.get("step").isJsonNull()) && !jsonObj.get("step").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `step` to be a primitive type in the JSON string but got `%s`", jsonObj.get("step").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!V1beta1CapacityRequestPolicyRange.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1beta1CapacityRequestPolicyRange' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1beta1CapacityRequestPolicyRange.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, V1beta1CapacityRequestPolicyRange value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public V1beta1CapacityRequestPolicyRange read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of V1beta1CapacityRequestPolicyRange given an JSON string + * + * @param jsonString JSON string + * @return An instance of V1beta1CapacityRequestPolicyRange + * @throws IOException if the JSON string is invalid with respect to V1beta1CapacityRequestPolicyRange + */ + public static V1beta1CapacityRequestPolicyRange fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1beta1CapacityRequestPolicyRange.class); + } + + /** + * Convert an instance of V1beta1CapacityRequestPolicyRange to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CapacityRequirements.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CapacityRequirements.java new file mode 100644 index 0000000000..a36ff17e4a --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CapacityRequirements.java @@ -0,0 +1,218 @@ +/* + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package io.kubernetes.client.openapi.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.custom.Quantity; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import io.kubernetes.client.openapi.JSON; + +/** + * CapacityRequirements defines the capacity requirements for a specific device request. + */ +@ApiModel(description = "CapacityRequirements defines the capacity requirements for a specific device request.") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1beta1CapacityRequirements { + public static final String SERIALIZED_NAME_REQUESTS = "requests"; + @SerializedName(SERIALIZED_NAME_REQUESTS) + @jakarta.annotation.Nullable + private Map requests = new HashMap<>(); + + public V1beta1CapacityRequirements() { + } + + public V1beta1CapacityRequirements requests(@jakarta.annotation.Nullable Map requests) { + this.requests = requests; + return this; + } + + public V1beta1CapacityRequirements putRequestsItem(String key, Quantity requestsItem) { + if (this.requests == null) { + this.requests = new HashMap<>(); + } + this.requests.put(key, requestsItem); + return this; + } + + /** + * Requests represent individual device resource requests for distinct resources, all of which must be provided by the device. This value is used as an additional filtering condition against the available capacity on the device. This is semantically equivalent to a CEL selector with `device.capacity[<domain>].<name>.compareTo(quantity(<request quantity>)) >= 0`. For example, device.capacity['test-driver.cdi.k8s.io'].counters.compareTo(quantity('2')) >= 0. When a requestPolicy is defined, the requested amount is adjusted upward to the nearest valid value based on the policy. If the requested amount cannot be adjusted to a valid value—because it exceeds what the requestPolicy allows— the device is considered ineligible for allocation. For any capacity that is not explicitly requested: - If no requestPolicy is set, the default consumed capacity is equal to the full device capacity (i.e., the whole device is claimed). - If a requestPolicy is set, the default consumed capacity is determined according to that policy. If the device allows multiple allocation, 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. + * @return requests + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "Requests represent individual device resource requests for distinct resources, all of which must be provided by the device. This value is used as an additional filtering condition against the available capacity on the device. This is semantically equivalent to a CEL selector with `device.capacity[]..compareTo(quantity()) >= 0`. For example, device.capacity['test-driver.cdi.k8s.io'].counters.compareTo(quantity('2')) >= 0. When a requestPolicy is defined, the requested amount is adjusted upward to the nearest valid value based on the policy. If the requested amount cannot be adjusted to a valid value—because it exceeds what the requestPolicy allows— the device is considered ineligible for allocation. For any capacity that is not explicitly requested: - If no requestPolicy is set, the default consumed capacity is equal to the full device capacity (i.e., the whole device is claimed). - If a requestPolicy is set, the default consumed capacity is determined according to that policy. If the device allows multiple allocation, 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.") + public Map getRequests() { + return requests; + } + + public void setRequests(@jakarta.annotation.Nullable Map requests) { + this.requests = requests; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta1CapacityRequirements v1beta1CapacityRequirements = (V1beta1CapacityRequirements) o; + return Objects.equals(this.requests, v1beta1CapacityRequirements.requests); + } + + @Override + public int hashCode() { + return Objects.hash(requests); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta1CapacityRequirements {\n"); + sb.append(" requests: ").append(toIndentedString(requests)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("requests"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to V1beta1CapacityRequirements + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!V1beta1CapacityRequirements.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1beta1CapacityRequirements is not found in the empty JSON string", V1beta1CapacityRequirements.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!V1beta1CapacityRequirements.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1beta1CapacityRequirements` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!V1beta1CapacityRequirements.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1beta1CapacityRequirements' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1beta1CapacityRequirements.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, V1beta1CapacityRequirements value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public V1beta1CapacityRequirements read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of V1beta1CapacityRequirements given an JSON string + * + * @param jsonString JSON string + * @return An instance of V1beta1CapacityRequirements + * @throws IOException if the JSON string is invalid with respect to V1beta1CapacityRequirements + */ + public static V1beta1CapacityRequirements fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1beta1CapacityRequirements.class); + } + + /** + * Convert an instance of V1beta1CapacityRequirements to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ClusterTrustBundle.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ClusterTrustBundle.java index aa321bec32..296db16e70 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ClusterTrustBundle.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ClusterTrustBundle.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * ClusterTrustBundle is a cluster-scoped container for X.509 trust anchors (root certificates). ClusterTrustBundle objects are considered to be readable by any authenticated user in the cluster, because they can be mounted by pods using the `clusterTrustBundle` projection. All service accounts have read access to ClusterTrustBundles by default. Users who only have namespace-level access to a cluster can read ClusterTrustBundles by impersonating a serviceaccount that they have access to. It can be optionally associated with a particular assigner, in which case it contains one valid set of trust anchors for that signer. Signers may have multiple associated ClusterTrustBundles; each is an independent set of trust anchors for that signer. Admission control is used to enforce that only users with permissions on the signer can create or modify the corresponding bundle. */ @ApiModel(description = "ClusterTrustBundle is a cluster-scoped container for X.509 trust anchors (root certificates). ClusterTrustBundle objects are considered to be readable by any authenticated user in the cluster, because they can be mounted by pods using the `clusterTrustBundle` projection. All service accounts have read access to ClusterTrustBundles by default. Users who only have namespace-level access to a cluster can read ClusterTrustBundles by impersonating a serviceaccount that they have access to. It can be optionally associated with a particular assigner, in which case it contains one valid set of trust anchors for that signer. Signers may have multiple associated ClusterTrustBundles; each is an independent set of trust anchors for that signer. Admission control is used to enforce that only users with permissions on the signer can create or modify the corresponding bundle.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta1ClusterTrustBundle implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -309,3 +310,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ClusterTrustBundleList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ClusterTrustBundleList.java index 625b2fb0eb..c376d72f28 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ClusterTrustBundleList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ClusterTrustBundleList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * ClusterTrustBundleList is a collection of ClusterTrustBundle objects */ @ApiModel(description = "ClusterTrustBundleList is a collection of ClusterTrustBundle objects") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta1ClusterTrustBundleList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ClusterTrustBundleSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ClusterTrustBundleSpec.java index 5e5c67d732..bfe53ebcca 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ClusterTrustBundleSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ClusterTrustBundleSpec.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * ClusterTrustBundleSpec contains the signer and trust anchors. */ @ApiModel(description = "ClusterTrustBundleSpec contains the signer and trust anchors.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta1ClusterTrustBundleSpec { public static final String SERIALIZED_NAME_SIGNER_NAME = "signerName"; @SerializedName(SERIALIZED_NAME_SIGNER_NAME) @@ -245,3 +246,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1Counter.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1Counter.java index 3d3d93fa3e..ef90108a27 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1Counter.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1Counter.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * Counter describes a quantity associated with a device. */ @ApiModel(description = "Counter describes a quantity associated with a device.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta1Counter { public static final String SERIALIZED_NAME_VALUE = "value"; @SerializedName(SERIALIZED_NAME_VALUE) @@ -215,3 +216,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CounterSet.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CounterSet.java index 4c1ad6dd1b..40ab793109 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CounterSet.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1CounterSet.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * CounterSet defines a named set of counters that are available to be used by devices defined in the ResourceSlice. The counters are not allocatable by themselves, but can be referenced by devices. When a device is allocated, the portion of counters it uses will no longer be available for use by other devices. */ @ApiModel(description = "CounterSet defines a named set of counters that are available to be used by devices defined in the ResourceSlice. The counters are not allocatable by themselves, but can be referenced by devices. When a device is allocated, the portion of counters it uses will no longer be available for use by other devices.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta1CounterSet { public static final String SERIALIZED_NAME_COUNTERS = "counters"; @SerializedName(SERIALIZED_NAME_COUNTERS) @@ -254,3 +255,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1Device.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1Device.java index d10be17637..2255ba3abb 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1Device.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1Device.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * Device represents one individual hardware instance that can be selected based on its attributes. Besides the name, exactly one field must be set. */ @ApiModel(description = "Device represents one individual hardware instance that can be selected based on its attributes. Besides the name, exactly one field must be set.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta1Device { public static final String SERIALIZED_NAME_BASIC = "basic"; @SerializedName(SERIALIZED_NAME_BASIC) @@ -247,3 +248,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceAllocationConfiguration.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceAllocationConfiguration.java index 19a75e0e59..13500ca115 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceAllocationConfiguration.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceAllocationConfiguration.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * DeviceAllocationConfiguration gets embedded in an AllocationResult. */ @ApiModel(description = "DeviceAllocationConfiguration gets embedded in an AllocationResult.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta1DeviceAllocationConfiguration { public static final String SERIALIZED_NAME_OPAQUE = "opaque"; @SerializedName(SERIALIZED_NAME_OPAQUE) @@ -289,3 +290,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceAllocationResult.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceAllocationResult.java index cb53b70a3c..9c02a52202 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceAllocationResult.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceAllocationResult.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * DeviceAllocationResult is the result of allocating devices. */ @ApiModel(description = "DeviceAllocationResult is the result of allocating devices.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta1DeviceAllocationResult { public static final String SERIALIZED_NAME_CONFIG = "config"; @SerializedName(SERIALIZED_NAME_CONFIG) @@ -279,3 +280,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceAttribute.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceAttribute.java index 9c0e7f1644..16f4c74a7e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceAttribute.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceAttribute.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * DeviceAttribute must have exactly one field set. */ @ApiModel(description = "DeviceAttribute must have exactly one field set.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta1DeviceAttribute { public static final String SERIALIZED_NAME_BOOL = "bool"; @SerializedName(SERIALIZED_NAME_BOOL) @@ -293,3 +294,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceCapacity.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceCapacity.java index c2e226dc7a..6c7655e9cc 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceCapacity.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceCapacity.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -19,6 +20,7 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import io.kubernetes.client.custom.Quantity; +import io.kubernetes.client.openapi.models.V1beta1CapacityRequestPolicy; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; @@ -51,8 +53,13 @@ * DeviceCapacity describes a quantity associated with a device. */ @ApiModel(description = "DeviceCapacity describes a quantity associated with a device.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta1DeviceCapacity { + public static final String SERIALIZED_NAME_REQUEST_POLICY = "requestPolicy"; + @SerializedName(SERIALIZED_NAME_REQUEST_POLICY) + @jakarta.annotation.Nullable + private V1beta1CapacityRequestPolicy requestPolicy; + public static final String SERIALIZED_NAME_VALUE = "value"; @SerializedName(SERIALIZED_NAME_VALUE) @jakarta.annotation.Nonnull @@ -61,6 +68,26 @@ public class V1beta1DeviceCapacity { public V1beta1DeviceCapacity() { } + public V1beta1DeviceCapacity requestPolicy(@jakarta.annotation.Nullable V1beta1CapacityRequestPolicy requestPolicy) { + this.requestPolicy = requestPolicy; + return this; + } + + /** + * Get requestPolicy + * @return requestPolicy + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "") + public V1beta1CapacityRequestPolicy getRequestPolicy() { + return requestPolicy; + } + + public void setRequestPolicy(@jakarta.annotation.Nullable V1beta1CapacityRequestPolicy requestPolicy) { + this.requestPolicy = requestPolicy; + } + + public V1beta1DeviceCapacity value(@jakarta.annotation.Nonnull Quantity value) { this.value = value; return this; @@ -91,18 +118,20 @@ public boolean equals(Object o) { return false; } V1beta1DeviceCapacity v1beta1DeviceCapacity = (V1beta1DeviceCapacity) o; - return Objects.equals(this.value, v1beta1DeviceCapacity.value); + return Objects.equals(this.requestPolicy, v1beta1DeviceCapacity.requestPolicy) && + Objects.equals(this.value, v1beta1DeviceCapacity.value); } @Override public int hashCode() { - return Objects.hash(value); + return Objects.hash(requestPolicy, value); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class V1beta1DeviceCapacity {\n"); + sb.append(" requestPolicy: ").append(toIndentedString(requestPolicy)).append("\n"); sb.append(" value: ").append(toIndentedString(value)).append("\n"); sb.append("}"); return sb.toString(); @@ -126,6 +155,7 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); + openapiFields.add("requestPolicy"); openapiFields.add("value"); // a set of required properties/fields (JSON key names) @@ -161,6 +191,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } } JsonObject jsonObj = jsonElement.getAsJsonObject(); + // validate the optional field `requestPolicy` + if (jsonObj.get("requestPolicy") != null && !jsonObj.get("requestPolicy").isJsonNull()) { + V1beta1CapacityRequestPolicy.validateJsonElement(jsonObj.get("requestPolicy")); + } if (!jsonObj.get("value").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `value` to be a primitive type in the JSON string but got `%s`", jsonObj.get("value").toString())); } @@ -215,3 +249,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceClaim.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceClaim.java index c55bfaa5a7..37cc026174 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceClaim.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceClaim.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -55,7 +56,7 @@ * DeviceClaim defines how to request devices with a ResourceClaim. */ @ApiModel(description = "DeviceClaim defines how to request devices with a ResourceClaim.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta1DeviceClaim { public static final String SERIALIZED_NAME_CONFIG = "config"; @SerializedName(SERIALIZED_NAME_CONFIG) @@ -330,3 +331,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceClaimConfiguration.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceClaimConfiguration.java index e60e0eccf3..d973263cfd 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceClaimConfiguration.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceClaimConfiguration.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * DeviceClaimConfiguration is used for configuration parameters in DeviceClaim. */ @ApiModel(description = "DeviceClaimConfiguration is used for configuration parameters in DeviceClaim.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta1DeviceClaimConfiguration { public static final String SERIALIZED_NAME_OPAQUE = "opaque"; @SerializedName(SERIALIZED_NAME_OPAQUE) @@ -250,3 +251,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceClass.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceClass.java index de729a584d..984a7caee5 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceClass.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceClass.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * DeviceClass is a vendor- or admin-provided resource that contains 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. */ @ApiModel(description = "DeviceClass is a vendor- or admin-provided resource that contains 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.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta1DeviceClass implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -309,3 +310,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceClassConfiguration.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceClassConfiguration.java index c679323a69..05abde66c5 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceClassConfiguration.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceClassConfiguration.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * DeviceClassConfiguration is used in DeviceClass. */ @ApiModel(description = "DeviceClassConfiguration is used in DeviceClass.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta1DeviceClassConfiguration { public static final String SERIALIZED_NAME_OPAQUE = "opaque"; @SerializedName(SERIALIZED_NAME_OPAQUE) @@ -208,3 +209,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceClassList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceClassList.java index 8c90663ed4..e9bf76e26c 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceClassList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceClassList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * DeviceClassList is a collection of classes. */ @ApiModel(description = "DeviceClassList is a collection of classes.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta1DeviceClassList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceClassSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceClassSpec.java index 80c803c3a8..f7a268bc4b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceClassSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceClassSpec.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,13 +55,18 @@ * DeviceClassSpec is used in a [DeviceClass] to define what can be allocated and how to configure it. */ @ApiModel(description = "DeviceClassSpec is used in a [DeviceClass] to define what can be allocated and how to configure it.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta1DeviceClassSpec { public static final String SERIALIZED_NAME_CONFIG = "config"; @SerializedName(SERIALIZED_NAME_CONFIG) @jakarta.annotation.Nullable private List config = new ArrayList<>(); + public static final String SERIALIZED_NAME_EXTENDED_RESOURCE_NAME = "extendedResourceName"; + @SerializedName(SERIALIZED_NAME_EXTENDED_RESOURCE_NAME) + @jakarta.annotation.Nullable + private String extendedResourceName; + public static final String SERIALIZED_NAME_SELECTORS = "selectors"; @SerializedName(SERIALIZED_NAME_SELECTORS) @jakarta.annotation.Nullable @@ -97,6 +103,26 @@ public void setConfig(@jakarta.annotation.Nullable List selectors) { this.selectors = selectors; return this; @@ -136,12 +162,13 @@ public boolean equals(Object o) { } V1beta1DeviceClassSpec v1beta1DeviceClassSpec = (V1beta1DeviceClassSpec) o; return Objects.equals(this.config, v1beta1DeviceClassSpec.config) && + Objects.equals(this.extendedResourceName, v1beta1DeviceClassSpec.extendedResourceName) && Objects.equals(this.selectors, v1beta1DeviceClassSpec.selectors); } @Override public int hashCode() { - return Objects.hash(config, selectors); + return Objects.hash(config, extendedResourceName, selectors); } @Override @@ -149,6 +176,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class V1beta1DeviceClassSpec {\n"); sb.append(" config: ").append(toIndentedString(config)).append("\n"); + sb.append(" extendedResourceName: ").append(toIndentedString(extendedResourceName)).append("\n"); sb.append(" selectors: ").append(toIndentedString(selectors)).append("\n"); sb.append("}"); return sb.toString(); @@ -173,6 +201,7 @@ private String toIndentedString(Object o) { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); openapiFields.add("config"); + openapiFields.add("extendedResourceName"); openapiFields.add("selectors"); // a set of required properties/fields (JSON key names) @@ -214,6 +243,9 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti }; } } + if ((jsonObj.get("extendedResourceName") != null && !jsonObj.get("extendedResourceName").isJsonNull()) && !jsonObj.get("extendedResourceName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `extendedResourceName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("extendedResourceName").toString())); + } if (jsonObj.get("selectors") != null && !jsonObj.get("selectors").isJsonNull()) { JsonArray jsonArrayselectors = jsonObj.getAsJsonArray("selectors"); if (jsonArrayselectors != null) { @@ -279,3 +311,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceConstraint.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceConstraint.java index 4557130472..7648364957 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceConstraint.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceConstraint.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,8 +53,13 @@ * DeviceConstraint must have exactly one field set besides Requests. */ @ApiModel(description = "DeviceConstraint must have exactly one field set besides Requests.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta1DeviceConstraint { + public static final String SERIALIZED_NAME_DISTINCT_ATTRIBUTE = "distinctAttribute"; + @SerializedName(SERIALIZED_NAME_DISTINCT_ATTRIBUTE) + @jakarta.annotation.Nullable + private String distinctAttribute; + public static final String SERIALIZED_NAME_MATCH_ATTRIBUTE = "matchAttribute"; @SerializedName(SERIALIZED_NAME_MATCH_ATTRIBUTE) @jakarta.annotation.Nullable @@ -67,6 +73,26 @@ public class V1beta1DeviceConstraint { public V1beta1DeviceConstraint() { } + public V1beta1DeviceConstraint distinctAttribute(@jakarta.annotation.Nullable String distinctAttribute) { + this.distinctAttribute = distinctAttribute; + return this; + } + + /** + * DistinctAttribute requires that all devices in question have this attribute and that its type and value are unique across those devices. This acts as the inverse of MatchAttribute. This constraint is used to avoid allocating multiple requests to the same device by ensuring attribute-level differentiation. 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. + * @return distinctAttribute + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "DistinctAttribute requires that all devices in question have this attribute and that its type and value are unique across those devices. This acts as the inverse of MatchAttribute. This constraint is used to avoid allocating multiple requests to the same device by ensuring attribute-level differentiation. 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.") + public String getDistinctAttribute() { + return distinctAttribute; + } + + public void setDistinctAttribute(@jakarta.annotation.Nullable String distinctAttribute) { + this.distinctAttribute = distinctAttribute; + } + + public V1beta1DeviceConstraint matchAttribute(@jakarta.annotation.Nullable String matchAttribute) { this.matchAttribute = matchAttribute; return this; @@ -125,19 +151,21 @@ public boolean equals(Object o) { return false; } V1beta1DeviceConstraint v1beta1DeviceConstraint = (V1beta1DeviceConstraint) o; - return Objects.equals(this.matchAttribute, v1beta1DeviceConstraint.matchAttribute) && + return Objects.equals(this.distinctAttribute, v1beta1DeviceConstraint.distinctAttribute) && + Objects.equals(this.matchAttribute, v1beta1DeviceConstraint.matchAttribute) && Objects.equals(this.requests, v1beta1DeviceConstraint.requests); } @Override public int hashCode() { - return Objects.hash(matchAttribute, requests); + return Objects.hash(distinctAttribute, matchAttribute, requests); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class V1beta1DeviceConstraint {\n"); + sb.append(" distinctAttribute: ").append(toIndentedString(distinctAttribute)).append("\n"); sb.append(" matchAttribute: ").append(toIndentedString(matchAttribute)).append("\n"); sb.append(" requests: ").append(toIndentedString(requests)).append("\n"); sb.append("}"); @@ -162,6 +190,7 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); + openapiFields.add("distinctAttribute"); openapiFields.add("matchAttribute"); openapiFields.add("requests"); @@ -190,6 +219,9 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } } JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("distinctAttribute") != null && !jsonObj.get("distinctAttribute").isJsonNull()) && !jsonObj.get("distinctAttribute").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `distinctAttribute` to be a primitive type in the JSON string but got `%s`", jsonObj.get("distinctAttribute").toString())); + } if ((jsonObj.get("matchAttribute") != null && !jsonObj.get("matchAttribute").isJsonNull()) && !jsonObj.get("matchAttribute").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `matchAttribute` to be a primitive type in the JSON string but got `%s`", jsonObj.get("matchAttribute").toString())); } @@ -248,3 +280,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceCounterConsumption.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceCounterConsumption.java index 92ecb9cb0d..689944025c 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceCounterConsumption.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceCounterConsumption.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * DeviceCounterConsumption defines a set of counters that a device will consume from a CounterSet. */ @ApiModel(description = "DeviceCounterConsumption defines a set of counters that a device will consume from a CounterSet.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta1DeviceCounterConsumption { public static final String SERIALIZED_NAME_COUNTER_SET = "counterSet"; @SerializedName(SERIALIZED_NAME_COUNTER_SET) @@ -254,3 +255,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceRequest.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceRequest.java index 44dad708fa..fe08045d49 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceRequest.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceRequest.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -18,6 +19,7 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.openapi.models.V1beta1CapacityRequirements; import io.kubernetes.client.openapi.models.V1beta1DeviceSelector; import io.kubernetes.client.openapi.models.V1beta1DeviceSubRequest; import io.kubernetes.client.openapi.models.V1beta1DeviceToleration; @@ -55,7 +57,7 @@ * DeviceRequest is a request for devices required for a claim. This is typically a request for a single resource like a device, but can also ask for several identical devices. */ @ApiModel(description = "DeviceRequest is a request for devices required for a claim. This is typically a request for a single resource like a device, but can also ask for several identical devices.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta1DeviceRequest { public static final String SERIALIZED_NAME_ADMIN_ACCESS = "adminAccess"; @SerializedName(SERIALIZED_NAME_ADMIN_ACCESS) @@ -67,6 +69,11 @@ public class V1beta1DeviceRequest { @jakarta.annotation.Nullable private String allocationMode; + public static final String SERIALIZED_NAME_CAPACITY = "capacity"; + @SerializedName(SERIALIZED_NAME_CAPACITY) + @jakarta.annotation.Nullable + private V1beta1CapacityRequirements capacity; + public static final String SERIALIZED_NAME_COUNT = "count"; @SerializedName(SERIALIZED_NAME_COUNT) @jakarta.annotation.Nullable @@ -140,6 +147,26 @@ public void setAllocationMode(@jakarta.annotation.Nullable String allocationMode } + public V1beta1DeviceRequest capacity(@jakarta.annotation.Nullable V1beta1CapacityRequirements capacity) { + this.capacity = capacity; + return this; + } + + /** + * Get capacity + * @return capacity + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "") + public V1beta1CapacityRequirements getCapacity() { + return capacity; + } + + public void setCapacity(@jakarta.annotation.Nullable V1beta1CapacityRequirements capacity) { + this.capacity = capacity; + } + + public V1beta1DeviceRequest count(@jakarta.annotation.Nullable Long count) { this.count = count; return this; @@ -296,6 +323,7 @@ public boolean equals(Object o) { V1beta1DeviceRequest v1beta1DeviceRequest = (V1beta1DeviceRequest) o; return Objects.equals(this.adminAccess, v1beta1DeviceRequest.adminAccess) && Objects.equals(this.allocationMode, v1beta1DeviceRequest.allocationMode) && + Objects.equals(this.capacity, v1beta1DeviceRequest.capacity) && Objects.equals(this.count, v1beta1DeviceRequest.count) && Objects.equals(this.deviceClassName, v1beta1DeviceRequest.deviceClassName) && Objects.equals(this.firstAvailable, v1beta1DeviceRequest.firstAvailable) && @@ -306,7 +334,7 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(adminAccess, allocationMode, count, deviceClassName, firstAvailable, name, selectors, tolerations); + return Objects.hash(adminAccess, allocationMode, capacity, count, deviceClassName, firstAvailable, name, selectors, tolerations); } @Override @@ -315,6 +343,7 @@ public String toString() { sb.append("class V1beta1DeviceRequest {\n"); sb.append(" adminAccess: ").append(toIndentedString(adminAccess)).append("\n"); sb.append(" allocationMode: ").append(toIndentedString(allocationMode)).append("\n"); + sb.append(" capacity: ").append(toIndentedString(capacity)).append("\n"); sb.append(" count: ").append(toIndentedString(count)).append("\n"); sb.append(" deviceClassName: ").append(toIndentedString(deviceClassName)).append("\n"); sb.append(" firstAvailable: ").append(toIndentedString(firstAvailable)).append("\n"); @@ -345,6 +374,7 @@ private String toIndentedString(Object o) { openapiFields = new HashSet(); openapiFields.add("adminAccess"); openapiFields.add("allocationMode"); + openapiFields.add("capacity"); openapiFields.add("count"); openapiFields.add("deviceClassName"); openapiFields.add("firstAvailable"); @@ -388,6 +418,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if ((jsonObj.get("allocationMode") != null && !jsonObj.get("allocationMode").isJsonNull()) && !jsonObj.get("allocationMode").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `allocationMode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("allocationMode").toString())); } + // validate the optional field `capacity` + if (jsonObj.get("capacity") != null && !jsonObj.get("capacity").isJsonNull()) { + V1beta1CapacityRequirements.validateJsonElement(jsonObj.get("capacity")); + } if ((jsonObj.get("deviceClassName") != null && !jsonObj.get("deviceClassName").isJsonNull()) && !jsonObj.get("deviceClassName").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `deviceClassName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("deviceClassName").toString())); } @@ -487,3 +521,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceRequestAllocationResult.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceRequestAllocationResult.java index 1d12c1aa17..d8906e9b2d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceRequestAllocationResult.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceRequestAllocationResult.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -18,13 +19,16 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.custom.Quantity; import io.kubernetes.client.openapi.models.V1beta1DeviceToleration; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; +import java.util.HashMap; import java.util.List; +import java.util.Map; import com.google.gson.Gson; import com.google.gson.GsonBuilder; @@ -53,13 +57,28 @@ * DeviceRequestAllocationResult contains the allocation result for one request. */ @ApiModel(description = "DeviceRequestAllocationResult contains the allocation result for one request.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta1DeviceRequestAllocationResult { public static final String SERIALIZED_NAME_ADMIN_ACCESS = "adminAccess"; @SerializedName(SERIALIZED_NAME_ADMIN_ACCESS) @jakarta.annotation.Nullable private Boolean adminAccess; + public static final String SERIALIZED_NAME_BINDING_CONDITIONS = "bindingConditions"; + @SerializedName(SERIALIZED_NAME_BINDING_CONDITIONS) + @jakarta.annotation.Nullable + private List bindingConditions = new ArrayList<>(); + + public static final String SERIALIZED_NAME_BINDING_FAILURE_CONDITIONS = "bindingFailureConditions"; + @SerializedName(SERIALIZED_NAME_BINDING_FAILURE_CONDITIONS) + @jakarta.annotation.Nullable + private List bindingFailureConditions = new ArrayList<>(); + + public static final String SERIALIZED_NAME_CONSUMED_CAPACITY = "consumedCapacity"; + @SerializedName(SERIALIZED_NAME_CONSUMED_CAPACITY) + @jakarta.annotation.Nullable + private Map consumedCapacity = new HashMap<>(); + public static final String SERIALIZED_NAME_DEVICE = "device"; @SerializedName(SERIALIZED_NAME_DEVICE) @jakarta.annotation.Nonnull @@ -80,6 +99,11 @@ public class V1beta1DeviceRequestAllocationResult { @jakarta.annotation.Nonnull private String request; + public static final String SERIALIZED_NAME_SHARE_I_D = "shareID"; + @SerializedName(SERIALIZED_NAME_SHARE_I_D) + @jakarta.annotation.Nullable + private String shareID; + public static final String SERIALIZED_NAME_TOLERATIONS = "tolerations"; @SerializedName(SERIALIZED_NAME_TOLERATIONS) @jakarta.annotation.Nullable @@ -108,6 +132,90 @@ public void setAdminAccess(@jakarta.annotation.Nullable Boolean adminAccess) { } + public V1beta1DeviceRequestAllocationResult bindingConditions(@jakarta.annotation.Nullable List bindingConditions) { + this.bindingConditions = bindingConditions; + return this; + } + + public V1beta1DeviceRequestAllocationResult addBindingConditionsItem(String bindingConditionsItem) { + if (this.bindingConditions == null) { + this.bindingConditions = new ArrayList<>(); + } + this.bindingConditions.add(bindingConditionsItem); + return this; + } + + /** + * 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 feature gates. + * @return bindingConditions + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "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 feature gates.") + public List getBindingConditions() { + return bindingConditions; + } + + public void setBindingConditions(@jakarta.annotation.Nullable List bindingConditions) { + this.bindingConditions = bindingConditions; + } + + + public V1beta1DeviceRequestAllocationResult bindingFailureConditions(@jakarta.annotation.Nullable List bindingFailureConditions) { + this.bindingFailureConditions = bindingFailureConditions; + return this; + } + + public V1beta1DeviceRequestAllocationResult addBindingFailureConditionsItem(String bindingFailureConditionsItem) { + if (this.bindingFailureConditions == null) { + this.bindingFailureConditions = new ArrayList<>(); + } + this.bindingFailureConditions.add(bindingFailureConditionsItem); + return this; + } + + /** + * 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 feature gates. + * @return bindingFailureConditions + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "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 feature gates.") + public List getBindingFailureConditions() { + return bindingFailureConditions; + } + + public void setBindingFailureConditions(@jakarta.annotation.Nullable List bindingFailureConditions) { + this.bindingFailureConditions = bindingFailureConditions; + } + + + public V1beta1DeviceRequestAllocationResult consumedCapacity(@jakarta.annotation.Nullable Map consumedCapacity) { + this.consumedCapacity = consumedCapacity; + return this; + } + + public V1beta1DeviceRequestAllocationResult putConsumedCapacityItem(String key, Quantity consumedCapacityItem) { + if (this.consumedCapacity == null) { + this.consumedCapacity = new HashMap<>(); + } + this.consumedCapacity.put(key, consumedCapacityItem); + return this; + } + + /** + * 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 value based on the device’s requestPolicy if applicable (i.e., may not be less than the requested amount). The total consumed capacity for each device must not exceed the DeviceCapacity's Value. This field is populated only for devices that allow multiple allocations. All capacity entries are included, even if the consumed amount is zero. + * @return consumedCapacity + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "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 value based on the device’s requestPolicy if applicable (i.e., may not be less than the requested amount). The total consumed capacity for each device must not exceed the DeviceCapacity's Value. This field is populated only for devices that allow multiple allocations. All capacity entries are included, even if the consumed amount is zero.") + public Map getConsumedCapacity() { + return consumedCapacity; + } + + public void setConsumedCapacity(@jakarta.annotation.Nullable Map consumedCapacity) { + this.consumedCapacity = consumedCapacity; + } + + public V1beta1DeviceRequestAllocationResult device(@jakarta.annotation.Nonnull String device) { this.device = device; return this; @@ -188,6 +296,26 @@ public void setRequest(@jakarta.annotation.Nonnull String request) { } + public V1beta1DeviceRequestAllocationResult shareID(@jakarta.annotation.Nullable String shareID) { + this.shareID = shareID; + return this; + } + + /** + * 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. + * @return shareID + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "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.") + public String getShareID() { + return shareID; + } + + public void setShareID(@jakarta.annotation.Nullable String shareID) { + this.shareID = shareID; + } + + public V1beta1DeviceRequestAllocationResult tolerations(@jakarta.annotation.Nullable List tolerations) { this.tolerations = tolerations; return this; @@ -227,16 +355,20 @@ public boolean equals(Object o) { } V1beta1DeviceRequestAllocationResult v1beta1DeviceRequestAllocationResult = (V1beta1DeviceRequestAllocationResult) o; return Objects.equals(this.adminAccess, v1beta1DeviceRequestAllocationResult.adminAccess) && + Objects.equals(this.bindingConditions, v1beta1DeviceRequestAllocationResult.bindingConditions) && + Objects.equals(this.bindingFailureConditions, v1beta1DeviceRequestAllocationResult.bindingFailureConditions) && + Objects.equals(this.consumedCapacity, v1beta1DeviceRequestAllocationResult.consumedCapacity) && Objects.equals(this.device, v1beta1DeviceRequestAllocationResult.device) && Objects.equals(this.driver, v1beta1DeviceRequestAllocationResult.driver) && Objects.equals(this.pool, v1beta1DeviceRequestAllocationResult.pool) && Objects.equals(this.request, v1beta1DeviceRequestAllocationResult.request) && + Objects.equals(this.shareID, v1beta1DeviceRequestAllocationResult.shareID) && Objects.equals(this.tolerations, v1beta1DeviceRequestAllocationResult.tolerations); } @Override public int hashCode() { - return Objects.hash(adminAccess, device, driver, pool, request, tolerations); + return Objects.hash(adminAccess, bindingConditions, bindingFailureConditions, consumedCapacity, device, driver, pool, request, shareID, tolerations); } @Override @@ -244,10 +376,14 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class V1beta1DeviceRequestAllocationResult {\n"); sb.append(" adminAccess: ").append(toIndentedString(adminAccess)).append("\n"); + sb.append(" bindingConditions: ").append(toIndentedString(bindingConditions)).append("\n"); + sb.append(" bindingFailureConditions: ").append(toIndentedString(bindingFailureConditions)).append("\n"); + sb.append(" consumedCapacity: ").append(toIndentedString(consumedCapacity)).append("\n"); sb.append(" device: ").append(toIndentedString(device)).append("\n"); sb.append(" driver: ").append(toIndentedString(driver)).append("\n"); sb.append(" pool: ").append(toIndentedString(pool)).append("\n"); sb.append(" request: ").append(toIndentedString(request)).append("\n"); + sb.append(" shareID: ").append(toIndentedString(shareID)).append("\n"); sb.append(" tolerations: ").append(toIndentedString(tolerations)).append("\n"); sb.append("}"); return sb.toString(); @@ -272,10 +408,14 @@ private String toIndentedString(Object o) { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); openapiFields.add("adminAccess"); + openapiFields.add("bindingConditions"); + openapiFields.add("bindingFailureConditions"); + openapiFields.add("consumedCapacity"); openapiFields.add("device"); openapiFields.add("driver"); openapiFields.add("pool"); openapiFields.add("request"); + openapiFields.add("shareID"); openapiFields.add("tolerations"); // a set of required properties/fields (JSON key names) @@ -314,6 +454,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } } JsonObject jsonObj = jsonElement.getAsJsonObject(); + // ensure the optional json data is an array if present + if (jsonObj.get("bindingConditions") != null && !jsonObj.get("bindingConditions").isJsonNull() && !jsonObj.get("bindingConditions").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `bindingConditions` to be an array in the JSON string but got `%s`", jsonObj.get("bindingConditions").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("bindingFailureConditions") != null && !jsonObj.get("bindingFailureConditions").isJsonNull() && !jsonObj.get("bindingFailureConditions").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `bindingFailureConditions` to be an array in the JSON string but got `%s`", jsonObj.get("bindingFailureConditions").toString())); + } if (!jsonObj.get("device").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `device` to be a primitive type in the JSON string but got `%s`", jsonObj.get("device").toString())); } @@ -326,6 +474,9 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!jsonObj.get("request").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `request` to be a primitive type in the JSON string but got `%s`", jsonObj.get("request").toString())); } + if ((jsonObj.get("shareID") != null && !jsonObj.get("shareID").isJsonNull()) && !jsonObj.get("shareID").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `shareID` to be a primitive type in the JSON string but got `%s`", jsonObj.get("shareID").toString())); + } if (jsonObj.get("tolerations") != null && !jsonObj.get("tolerations").isJsonNull()) { JsonArray jsonArraytolerations = jsonObj.getAsJsonArray("tolerations"); if (jsonArraytolerations != null) { @@ -391,3 +542,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceSelector.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceSelector.java index eeb57838e8..320805ffb0 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceSelector.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceSelector.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * DeviceSelector must have exactly one field set. */ @ApiModel(description = "DeviceSelector must have exactly one field set.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta1DeviceSelector { public static final String SERIALIZED_NAME_CEL = "cel"; @SerializedName(SERIALIZED_NAME_CEL) @@ -208,3 +209,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceSubRequest.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceSubRequest.java index f8706d47ff..36c8d7447c 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceSubRequest.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceSubRequest.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -18,6 +19,7 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.openapi.models.V1beta1CapacityRequirements; import io.kubernetes.client.openapi.models.V1beta1DeviceSelector; import io.kubernetes.client.openapi.models.V1beta1DeviceToleration; import io.swagger.annotations.ApiModel; @@ -54,13 +56,18 @@ * DeviceSubRequest describes a request for device provided in the claim.spec.devices.requests[].firstAvailable array. Each is typically a request for a single resource like a device, but can also ask for several identical devices. DeviceSubRequest is similar to Request, but doesn't expose the AdminAccess or FirstAvailable fields, as those can only be set on the top-level request. AdminAccess is not supported for requests with a prioritized list, and recursive FirstAvailable fields are not supported. */ @ApiModel(description = "DeviceSubRequest describes a request for device provided in the claim.spec.devices.requests[].firstAvailable array. Each is typically a request for a single resource like a device, but can also ask for several identical devices. DeviceSubRequest is similar to Request, but doesn't expose the AdminAccess or FirstAvailable fields, as those can only be set on the top-level request. AdminAccess is not supported for requests with a prioritized list, and recursive FirstAvailable fields are not supported.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta1DeviceSubRequest { public static final String SERIALIZED_NAME_ALLOCATION_MODE = "allocationMode"; @SerializedName(SERIALIZED_NAME_ALLOCATION_MODE) @jakarta.annotation.Nullable private String allocationMode; + public static final String SERIALIZED_NAME_CAPACITY = "capacity"; + @SerializedName(SERIALIZED_NAME_CAPACITY) + @jakarta.annotation.Nullable + private V1beta1CapacityRequirements capacity; + public static final String SERIALIZED_NAME_COUNT = "count"; @SerializedName(SERIALIZED_NAME_COUNT) @jakarta.annotation.Nullable @@ -109,6 +116,26 @@ public void setAllocationMode(@jakarta.annotation.Nullable String allocationMode } + public V1beta1DeviceSubRequest capacity(@jakarta.annotation.Nullable V1beta1CapacityRequirements capacity) { + this.capacity = capacity; + return this; + } + + /** + * Get capacity + * @return capacity + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "") + public V1beta1CapacityRequirements getCapacity() { + return capacity; + } + + public void setCapacity(@jakarta.annotation.Nullable V1beta1CapacityRequirements capacity) { + this.capacity = capacity; + } + + public V1beta1DeviceSubRequest count(@jakarta.annotation.Nullable Long count) { this.count = count; return this; @@ -236,6 +263,7 @@ public boolean equals(Object o) { } V1beta1DeviceSubRequest v1beta1DeviceSubRequest = (V1beta1DeviceSubRequest) o; return Objects.equals(this.allocationMode, v1beta1DeviceSubRequest.allocationMode) && + Objects.equals(this.capacity, v1beta1DeviceSubRequest.capacity) && Objects.equals(this.count, v1beta1DeviceSubRequest.count) && Objects.equals(this.deviceClassName, v1beta1DeviceSubRequest.deviceClassName) && Objects.equals(this.name, v1beta1DeviceSubRequest.name) && @@ -245,7 +273,7 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(allocationMode, count, deviceClassName, name, selectors, tolerations); + return Objects.hash(allocationMode, capacity, count, deviceClassName, name, selectors, tolerations); } @Override @@ -253,6 +281,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class V1beta1DeviceSubRequest {\n"); sb.append(" allocationMode: ").append(toIndentedString(allocationMode)).append("\n"); + sb.append(" capacity: ").append(toIndentedString(capacity)).append("\n"); sb.append(" count: ").append(toIndentedString(count)).append("\n"); sb.append(" deviceClassName: ").append(toIndentedString(deviceClassName)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); @@ -281,6 +310,7 @@ private String toIndentedString(Object o) { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); openapiFields.add("allocationMode"); + openapiFields.add("capacity"); openapiFields.add("count"); openapiFields.add("deviceClassName"); openapiFields.add("name"); @@ -324,6 +354,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if ((jsonObj.get("allocationMode") != null && !jsonObj.get("allocationMode").isJsonNull()) && !jsonObj.get("allocationMode").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `allocationMode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("allocationMode").toString())); } + // validate the optional field `capacity` + if (jsonObj.get("capacity") != null && !jsonObj.get("capacity").isJsonNull()) { + V1beta1CapacityRequirements.validateJsonElement(jsonObj.get("capacity")); + } if (!jsonObj.get("deviceClassName").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `deviceClassName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("deviceClassName").toString())); } @@ -409,3 +443,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceTaint.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceTaint.java index 8aaaae5406..c269dff371 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceTaint.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceTaint.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * The device this taint is attached to has the \"effect\" on any claim which does not tolerate the taint and, through the claim, to pods using the claim. */ @ApiModel(description = "The device this taint is attached to has the \"effect\" on any claim which does not tolerate the taint and, through the claim, to pods using the claim.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta1DeviceTaint { public static final String SERIALIZED_NAME_EFFECT = "effect"; @SerializedName(SERIALIZED_NAME_EFFECT) @@ -306,3 +307,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceToleration.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceToleration.java index 32583a736f..3593f39d08 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceToleration.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1DeviceToleration.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * The ResourceClaim this DeviceToleration is attached to tolerates any taint that matches the triple <key,value,effect> using the matching operator <operator>. */ @ApiModel(description = "The ResourceClaim this DeviceToleration is attached to tolerates any taint that matches the triple using the matching operator .") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta1DeviceToleration { public static final String SERIALIZED_NAME_EFFECT = "effect"; @SerializedName(SERIALIZED_NAME_EFFECT) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ExpressionWarning.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ExpressionWarning.java deleted file mode 100644 index 1a6fd5eea6..0000000000 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ExpressionWarning.java +++ /dev/null @@ -1,248 +0,0 @@ -/* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ -package io.kubernetes.client.openapi.models; - -import java.util.Objects; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.Arrays; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; -import com.google.gson.TypeAdapter; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; - -import java.util.HashMap; -import java.util.HashSet; -import java.util.List; -import java.util.Map; -import java.util.Set; - -import io.kubernetes.client.openapi.JSON; - -/** - * ExpressionWarning is a warning information that targets a specific expression. - */ -@ApiModel(description = "ExpressionWarning is a warning information that targets a specific expression.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") -public class V1beta1ExpressionWarning { - public static final String SERIALIZED_NAME_FIELD_REF = "fieldRef"; - @SerializedName(SERIALIZED_NAME_FIELD_REF) - @jakarta.annotation.Nonnull - private String fieldRef; - - public static final String SERIALIZED_NAME_WARNING = "warning"; - @SerializedName(SERIALIZED_NAME_WARNING) - @jakarta.annotation.Nonnull - private String warning; - - public V1beta1ExpressionWarning() { - } - - public V1beta1ExpressionWarning fieldRef(@jakarta.annotation.Nonnull String fieldRef) { - this.fieldRef = fieldRef; - return this; - } - - /** - * The path to the field that refers the expression. For example, the reference to the expression of the first item of validations is \"spec.validations[0].expression\" - * @return fieldRef - */ - @jakarta.annotation.Nonnull - @ApiModelProperty(required = true, value = "The path to the field that refers the expression. For example, the reference to the expression of the first item of validations is \"spec.validations[0].expression\"") - public String getFieldRef() { - return fieldRef; - } - - public void setFieldRef(@jakarta.annotation.Nonnull String fieldRef) { - this.fieldRef = fieldRef; - } - - - public V1beta1ExpressionWarning warning(@jakarta.annotation.Nonnull String warning) { - this.warning = warning; - return this; - } - - /** - * 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. - * @return warning - */ - @jakarta.annotation.Nonnull - @ApiModelProperty(required = true, value = "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.") - public String getWarning() { - return warning; - } - - public void setWarning(@jakarta.annotation.Nonnull String warning) { - this.warning = warning; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1beta1ExpressionWarning v1beta1ExpressionWarning = (V1beta1ExpressionWarning) o; - return Objects.equals(this.fieldRef, v1beta1ExpressionWarning.fieldRef) && - Objects.equals(this.warning, v1beta1ExpressionWarning.warning); - } - - @Override - public int hashCode() { - return Objects.hash(fieldRef, warning); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1beta1ExpressionWarning {\n"); - sb.append(" fieldRef: ").append(toIndentedString(fieldRef)).append("\n"); - sb.append(" warning: ").append(toIndentedString(warning)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("fieldRef"); - openapiFields.add("warning"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("fieldRef"); - openapiRequiredFields.add("warning"); - } - - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to V1beta1ExpressionWarning - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!V1beta1ExpressionWarning.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in V1beta1ExpressionWarning is not found in the empty JSON string", V1beta1ExpressionWarning.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!V1beta1ExpressionWarning.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1beta1ExpressionWarning` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - - // check to make sure all required properties/fields are present in the JSON string - for (String requiredField : V1beta1ExpressionWarning.openapiRequiredFields) { - if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if (!jsonObj.get("fieldRef").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `fieldRef` to be a primitive type in the JSON string but got `%s`", jsonObj.get("fieldRef").toString())); - } - if (!jsonObj.get("warning").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `warning` to be a primitive type in the JSON string but got `%s`", jsonObj.get("warning").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1beta1ExpressionWarning.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1beta1ExpressionWarning' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1beta1ExpressionWarning.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1beta1ExpressionWarning value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1beta1ExpressionWarning read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1beta1ExpressionWarning given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1beta1ExpressionWarning - * @throws IOException if the JSON string is invalid with respect to V1beta1ExpressionWarning - */ - public static V1beta1ExpressionWarning fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1beta1ExpressionWarning.class); - } - - /** - * Convert an instance of V1beta1ExpressionWarning to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1IPAddress.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1IPAddress.java index c6c88c61cd..f56b0429b2 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1IPAddress.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1IPAddress.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * IPAddress represents a single IP of a single IP Family. The object is designed to be used by APIs that operate on IP addresses. The object is used by the Service core API for allocation of IP addresses. An IP address can be represented in different formats, to guarantee the uniqueness of the IP, the name of the object is the IP address in canonical format, four decimal digits separated by dots suppressing leading zeros for IPv4 and the representation defined by RFC 5952 for IPv6. Valid: 192.168.1.5 or 2001:db8::1 or 2001:db8:aaaa:bbbb:cccc:dddd:eeee:1 Invalid: 10.01.2.3 or 2001:db8:0:0:0::1 */ @ApiModel(description = "IPAddress represents a single IP of a single IP Family. The object is designed to be used by APIs that operate on IP addresses. The object is used by the Service core API for allocation of IP addresses. An IP address can be represented in different formats, to guarantee the uniqueness of the IP, the name of the object is the IP address in canonical format, four decimal digits separated by dots suppressing leading zeros for IPv4 and the representation defined by RFC 5952 for IPv6. Valid: 192.168.1.5 or 2001:db8::1 or 2001:db8:aaaa:bbbb:cccc:dddd:eeee:1 Invalid: 10.01.2.3 or 2001:db8:0:0:0::1") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta1IPAddress implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -303,3 +304,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1IPAddressList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1IPAddressList.java index dc79c7adea..0f858a5ac5 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1IPAddressList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1IPAddressList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * IPAddressList contains a list of IPAddress. */ @ApiModel(description = "IPAddressList contains a list of IPAddress.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta1IPAddressList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1IPAddressSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1IPAddressSpec.java index 5d4db4bf2f..a3a502b1f3 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1IPAddressSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1IPAddressSpec.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * IPAddressSpec describe the attributes in an IP Address. */ @ApiModel(description = "IPAddressSpec describe the attributes in an IP Address.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta1IPAddressSpec { public static final String SERIALIZED_NAME_PARENT_REF = "parentRef"; @SerializedName(SERIALIZED_NAME_PARENT_REF) @@ -214,3 +215,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1JSONPatch.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1JSONPatch.java new file mode 100644 index 0000000000..342733a587 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1JSONPatch.java @@ -0,0 +1,210 @@ +/* + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package io.kubernetes.client.openapi.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.Arrays; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import io.kubernetes.client.openapi.JSON; + +/** + * JSONPatch defines a JSON Patch. + */ +@ApiModel(description = "JSONPatch defines a JSON Patch.") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1beta1JSONPatch { + public static final String SERIALIZED_NAME_EXPRESSION = "expression"; + @SerializedName(SERIALIZED_NAME_EXPRESSION) + @jakarta.annotation.Nullable + private String expression; + + public V1beta1JSONPatch() { + } + + public V1beta1JSONPatch expression(@jakarta.annotation.Nullable String expression) { + this.expression = expression; + return this; + } + + /** + * 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.<fieldName>' - CEL type of object field (such as 'Object.spec') - 'Object.<fieldName1>.<fieldName2>...<fieldNameN>` - 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. + * @return expression + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "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.") + public String getExpression() { + return expression; + } + + public void setExpression(@jakarta.annotation.Nullable String expression) { + this.expression = expression; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta1JSONPatch v1beta1JSONPatch = (V1beta1JSONPatch) o; + return Objects.equals(this.expression, v1beta1JSONPatch.expression); + } + + @Override + public int hashCode() { + return Objects.hash(expression); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta1JSONPatch {\n"); + sb.append(" expression: ").append(toIndentedString(expression)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("expression"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to V1beta1JSONPatch + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!V1beta1JSONPatch.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1beta1JSONPatch is not found in the empty JSON string", V1beta1JSONPatch.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!V1beta1JSONPatch.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1beta1JSONPatch` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("expression") != null && !jsonObj.get("expression").isJsonNull()) && !jsonObj.get("expression").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `expression` to be a primitive type in the JSON string but got `%s`", jsonObj.get("expression").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!V1beta1JSONPatch.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1beta1JSONPatch' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1beta1JSONPatch.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, V1beta1JSONPatch value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public V1beta1JSONPatch read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of V1beta1JSONPatch given an JSON string + * + * @param jsonString JSON string + * @return An instance of V1beta1JSONPatch + * @throws IOException if the JSON string is invalid with respect to V1beta1JSONPatch + */ + public static V1beta1JSONPatch fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1beta1JSONPatch.class); + } + + /** + * Convert an instance of V1beta1JSONPatch to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1LeaseCandidate.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1LeaseCandidate.java index b3a83b67c8..67c6b55ab8 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1LeaseCandidate.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1LeaseCandidate.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * LeaseCandidate defines a candidate for a Lease object. Candidates are created such that coordinated leader election will pick the best leader from the list of candidates. */ @ApiModel(description = "LeaseCandidate defines a candidate for a Lease object. Candidates are created such that coordinated leader election will pick the best leader from the list of candidates.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta1LeaseCandidate implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -303,3 +304,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1LeaseCandidateList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1LeaseCandidateList.java index 1d8b39bc89..acc87c5352 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1LeaseCandidateList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1LeaseCandidateList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * LeaseCandidateList is a list of Lease objects. */ @ApiModel(description = "LeaseCandidateList is a list of Lease objects.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta1LeaseCandidateList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1LeaseCandidateSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1LeaseCandidateSpec.java index 2dfda726a2..c8bb3e7665 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1LeaseCandidateSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1LeaseCandidateSpec.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * LeaseCandidateSpec is a specification of a Lease. */ @ApiModel(description = "LeaseCandidateSpec is a specification of a Lease.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta1LeaseCandidateSpec { public static final String SERIALIZED_NAME_BINARY_VERSION = "binaryVersion"; @SerializedName(SERIALIZED_NAME_BINARY_VERSION) @@ -366,3 +367,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1MatchCondition.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1MatchCondition.java index b4b0677add..694dca8632 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1MatchCondition.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1MatchCondition.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * MatchCondition represents a condition which must be fulfilled for a request to be sent to a webhook. */ @ApiModel(description = "MatchCondition represents a condition which must be fulfilled for a request to be sent to a webhook.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta1MatchCondition { public static final String SERIALIZED_NAME_EXPRESSION = "expression"; @SerializedName(SERIALIZED_NAME_EXPRESSION) @@ -246,3 +247,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1MatchResources.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1MatchResources.java index 8c7aac0ebb..3a9e4cdd5e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1MatchResources.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1MatchResources.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * MatchResources decides whether to run the admission control policy on an object based on whether it meets the match criteria. The exclude rules take precedence over include rules (if a resource matches both, it is excluded) */ @ApiModel(description = "MatchResources decides whether to run the admission control policy on an object based on whether it meets the match criteria. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta1MatchResources { public static final String SERIALIZED_NAME_EXCLUDE_RESOURCE_RULES = "excludeResourceRules"; @SerializedName(SERIALIZED_NAME_EXCLUDE_RESOURCE_RULES) @@ -374,3 +375,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ValidatingAdmissionPolicyBinding.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1MutatingAdmissionPolicy.java similarity index 60% rename from kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ValidatingAdmissionPolicyBinding.java rename to kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1MutatingAdmissionPolicy.java index 805296293b..10a2c13edc 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ValidatingAdmissionPolicyBinding.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1MutatingAdmissionPolicy.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -19,7 +20,7 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import io.kubernetes.client.openapi.models.V1ObjectMeta; -import io.kubernetes.client.openapi.models.V1beta1ValidatingAdmissionPolicyBindingSpec; +import io.kubernetes.client.openapi.models.V1beta1MutatingAdmissionPolicySpec; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; @@ -49,11 +50,11 @@ import io.kubernetes.client.openapi.JSON; /** - * ValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources. ValidatingAdmissionPolicyBinding and parameter CRDs 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. The CEL expressions of a policy must have a computed CEL cost below the maximum CEL budget. Each evaluation of the policy is given an independent CEL cost budget. Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget. + * MutatingAdmissionPolicy describes the definition of an admission mutation policy that mutates the object coming into admission chain. */ -@ApiModel(description = "ValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources. ValidatingAdmissionPolicyBinding and parameter CRDs 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. The CEL expressions of a policy must have a computed CEL cost below the maximum CEL budget. Each evaluation of the policy is given an independent CEL cost budget. Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") -public class V1beta1ValidatingAdmissionPolicyBinding implements io.kubernetes.client.common.KubernetesObject { +@ApiModel(description = "MutatingAdmissionPolicy describes the definition of an admission mutation policy that mutates the object coming into admission chain.") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1beta1MutatingAdmissionPolicy implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @jakarta.annotation.Nullable @@ -72,12 +73,12 @@ public class V1beta1ValidatingAdmissionPolicyBinding implements io.kubernetes.cl public static final String SERIALIZED_NAME_SPEC = "spec"; @SerializedName(SERIALIZED_NAME_SPEC) @jakarta.annotation.Nullable - private V1beta1ValidatingAdmissionPolicyBindingSpec spec; + private V1beta1MutatingAdmissionPolicySpec spec; - public V1beta1ValidatingAdmissionPolicyBinding() { + public V1beta1MutatingAdmissionPolicy() { } - public V1beta1ValidatingAdmissionPolicyBinding apiVersion(@jakarta.annotation.Nullable String apiVersion) { + public V1beta1MutatingAdmissionPolicy apiVersion(@jakarta.annotation.Nullable String apiVersion) { this.apiVersion = apiVersion; return this; } @@ -97,7 +98,7 @@ public void setApiVersion(@jakarta.annotation.Nullable String apiVersion) { } - public V1beta1ValidatingAdmissionPolicyBinding kind(@jakarta.annotation.Nullable String kind) { + public V1beta1MutatingAdmissionPolicy kind(@jakarta.annotation.Nullable String kind) { this.kind = kind; return this; } @@ -117,7 +118,7 @@ public void setKind(@jakarta.annotation.Nullable String kind) { } - public V1beta1ValidatingAdmissionPolicyBinding metadata(@jakarta.annotation.Nullable V1ObjectMeta metadata) { + public V1beta1MutatingAdmissionPolicy metadata(@jakarta.annotation.Nullable V1ObjectMeta metadata) { this.metadata = metadata; return this; } @@ -137,7 +138,7 @@ public void setMetadata(@jakarta.annotation.Nullable V1ObjectMeta metadata) { } - public V1beta1ValidatingAdmissionPolicyBinding spec(@jakarta.annotation.Nullable V1beta1ValidatingAdmissionPolicyBindingSpec spec) { + public V1beta1MutatingAdmissionPolicy spec(@jakarta.annotation.Nullable V1beta1MutatingAdmissionPolicySpec spec) { this.spec = spec; return this; } @@ -148,11 +149,11 @@ public V1beta1ValidatingAdmissionPolicyBinding spec(@jakarta.annotation.Nullable */ @jakarta.annotation.Nullable @ApiModelProperty(value = "") - public V1beta1ValidatingAdmissionPolicyBindingSpec getSpec() { + public V1beta1MutatingAdmissionPolicySpec getSpec() { return spec; } - public void setSpec(@jakarta.annotation.Nullable V1beta1ValidatingAdmissionPolicyBindingSpec spec) { + public void setSpec(@jakarta.annotation.Nullable V1beta1MutatingAdmissionPolicySpec spec) { this.spec = spec; } @@ -166,11 +167,11 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V1beta1ValidatingAdmissionPolicyBinding v1beta1ValidatingAdmissionPolicyBinding = (V1beta1ValidatingAdmissionPolicyBinding) o; - return Objects.equals(this.apiVersion, v1beta1ValidatingAdmissionPolicyBinding.apiVersion) && - Objects.equals(this.kind, v1beta1ValidatingAdmissionPolicyBinding.kind) && - Objects.equals(this.metadata, v1beta1ValidatingAdmissionPolicyBinding.metadata) && - Objects.equals(this.spec, v1beta1ValidatingAdmissionPolicyBinding.spec); + V1beta1MutatingAdmissionPolicy v1beta1MutatingAdmissionPolicy = (V1beta1MutatingAdmissionPolicy) o; + return Objects.equals(this.apiVersion, v1beta1MutatingAdmissionPolicy.apiVersion) && + Objects.equals(this.kind, v1beta1MutatingAdmissionPolicy.kind) && + Objects.equals(this.metadata, v1beta1MutatingAdmissionPolicy.metadata) && + Objects.equals(this.spec, v1beta1MutatingAdmissionPolicy.spec); } @Override @@ -181,7 +182,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V1beta1ValidatingAdmissionPolicyBinding {\n"); + sb.append("class V1beta1MutatingAdmissionPolicy {\n"); sb.append(" apiVersion: ").append(toIndentedString(apiVersion)).append("\n"); sb.append(" kind: ").append(toIndentedString(kind)).append("\n"); sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); @@ -221,20 +222,20 @@ private String toIndentedString(Object o) { * Validates the JSON Element and throws an exception if issues found * * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to V1beta1ValidatingAdmissionPolicyBinding + * @throws IOException if the JSON Element is invalid with respect to V1beta1MutatingAdmissionPolicy */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - if (!V1beta1ValidatingAdmissionPolicyBinding.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in V1beta1ValidatingAdmissionPolicyBinding is not found in the empty JSON string", V1beta1ValidatingAdmissionPolicyBinding.openapiRequiredFields.toString())); + if (!V1beta1MutatingAdmissionPolicy.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1beta1MutatingAdmissionPolicy is not found in the empty JSON string", V1beta1MutatingAdmissionPolicy.openapiRequiredFields.toString())); } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { - if (!V1beta1ValidatingAdmissionPolicyBinding.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1beta1ValidatingAdmissionPolicyBinding` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + if (!V1beta1MutatingAdmissionPolicy.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1beta1MutatingAdmissionPolicy` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); @@ -250,7 +251,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } // validate the optional field `spec` if (jsonObj.get("spec") != null && !jsonObj.get("spec").isJsonNull()) { - V1beta1ValidatingAdmissionPolicyBindingSpec.validateJsonElement(jsonObj.get("spec")); + V1beta1MutatingAdmissionPolicySpec.validateJsonElement(jsonObj.get("spec")); } } @@ -258,22 +259,22 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1beta1ValidatingAdmissionPolicyBinding.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1beta1ValidatingAdmissionPolicyBinding' and its subtypes + if (!V1beta1MutatingAdmissionPolicy.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1beta1MutatingAdmissionPolicy' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1beta1ValidatingAdmissionPolicyBinding.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1beta1MutatingAdmissionPolicy.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, V1beta1ValidatingAdmissionPolicyBinding value) throws IOException { + public void write(JsonWriter out, V1beta1MutatingAdmissionPolicy value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public V1beta1ValidatingAdmissionPolicyBinding read(JsonReader in) throws IOException { + public V1beta1MutatingAdmissionPolicy read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -284,18 +285,18 @@ public V1beta1ValidatingAdmissionPolicyBinding read(JsonReader in) throws IOExce } /** - * Create an instance of V1beta1ValidatingAdmissionPolicyBinding given an JSON string + * Create an instance of V1beta1MutatingAdmissionPolicy given an JSON string * * @param jsonString JSON string - * @return An instance of V1beta1ValidatingAdmissionPolicyBinding - * @throws IOException if the JSON string is invalid with respect to V1beta1ValidatingAdmissionPolicyBinding + * @return An instance of V1beta1MutatingAdmissionPolicy + * @throws IOException if the JSON string is invalid with respect to V1beta1MutatingAdmissionPolicy */ - public static V1beta1ValidatingAdmissionPolicyBinding fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1beta1ValidatingAdmissionPolicyBinding.class); + public static V1beta1MutatingAdmissionPolicy fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1beta1MutatingAdmissionPolicy.class); } /** - * Convert an instance of V1beta1ValidatingAdmissionPolicyBinding to an JSON string + * Convert an instance of V1beta1MutatingAdmissionPolicy to an JSON string * * @return JSON string */ @@ -303,3 +304,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1MutatingAdmissionPolicyBinding.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1MutatingAdmissionPolicyBinding.java new file mode 100644 index 0000000000..1ac2f56088 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1MutatingAdmissionPolicyBinding.java @@ -0,0 +1,307 @@ +/* + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package io.kubernetes.client.openapi.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.openapi.models.V1ObjectMeta; +import io.kubernetes.client.openapi.models.V1beta1MutatingAdmissionPolicyBindingSpec; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.Arrays; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import io.kubernetes.client.openapi.JSON; + +/** + * 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. + */ +@ApiModel(description = "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.") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1beta1MutatingAdmissionPolicyBinding implements io.kubernetes.client.common.KubernetesObject { + public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; + @SerializedName(SERIALIZED_NAME_API_VERSION) + @jakarta.annotation.Nullable + private String apiVersion; + + public static final String SERIALIZED_NAME_KIND = "kind"; + @SerializedName(SERIALIZED_NAME_KIND) + @jakarta.annotation.Nullable + private String kind; + + public static final String SERIALIZED_NAME_METADATA = "metadata"; + @SerializedName(SERIALIZED_NAME_METADATA) + @jakarta.annotation.Nullable + private V1ObjectMeta metadata; + + public static final String SERIALIZED_NAME_SPEC = "spec"; + @SerializedName(SERIALIZED_NAME_SPEC) + @jakarta.annotation.Nullable + private V1beta1MutatingAdmissionPolicyBindingSpec spec; + + public V1beta1MutatingAdmissionPolicyBinding() { + } + + public V1beta1MutatingAdmissionPolicyBinding apiVersion(@jakarta.annotation.Nullable String apiVersion) { + this.apiVersion = apiVersion; + return this; + } + + /** + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + * @return apiVersion + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources") + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(@jakarta.annotation.Nullable String apiVersion) { + this.apiVersion = apiVersion; + } + + + public V1beta1MutatingAdmissionPolicyBinding kind(@jakarta.annotation.Nullable String kind) { + this.kind = kind; + return this; + } + + /** + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + * @return kind + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds") + public String getKind() { + return kind; + } + + public void setKind(@jakarta.annotation.Nullable String kind) { + this.kind = kind; + } + + + public V1beta1MutatingAdmissionPolicyBinding metadata(@jakarta.annotation.Nullable V1ObjectMeta metadata) { + this.metadata = metadata; + return this; + } + + /** + * Get metadata + * @return metadata + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "") + public V1ObjectMeta getMetadata() { + return metadata; + } + + public void setMetadata(@jakarta.annotation.Nullable V1ObjectMeta metadata) { + this.metadata = metadata; + } + + + public V1beta1MutatingAdmissionPolicyBinding spec(@jakarta.annotation.Nullable V1beta1MutatingAdmissionPolicyBindingSpec spec) { + this.spec = spec; + return this; + } + + /** + * Get spec + * @return spec + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "") + public V1beta1MutatingAdmissionPolicyBindingSpec getSpec() { + return spec; + } + + public void setSpec(@jakarta.annotation.Nullable V1beta1MutatingAdmissionPolicyBindingSpec spec) { + this.spec = spec; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta1MutatingAdmissionPolicyBinding v1beta1MutatingAdmissionPolicyBinding = (V1beta1MutatingAdmissionPolicyBinding) o; + return Objects.equals(this.apiVersion, v1beta1MutatingAdmissionPolicyBinding.apiVersion) && + Objects.equals(this.kind, v1beta1MutatingAdmissionPolicyBinding.kind) && + Objects.equals(this.metadata, v1beta1MutatingAdmissionPolicyBinding.metadata) && + Objects.equals(this.spec, v1beta1MutatingAdmissionPolicyBinding.spec); + } + + @Override + public int hashCode() { + return Objects.hash(apiVersion, kind, metadata, spec); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta1MutatingAdmissionPolicyBinding {\n"); + sb.append(" apiVersion: ").append(toIndentedString(apiVersion)).append("\n"); + sb.append(" kind: ").append(toIndentedString(kind)).append("\n"); + sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + sb.append(" spec: ").append(toIndentedString(spec)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("apiVersion"); + openapiFields.add("kind"); + openapiFields.add("metadata"); + openapiFields.add("spec"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to V1beta1MutatingAdmissionPolicyBinding + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!V1beta1MutatingAdmissionPolicyBinding.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1beta1MutatingAdmissionPolicyBinding is not found in the empty JSON string", V1beta1MutatingAdmissionPolicyBinding.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!V1beta1MutatingAdmissionPolicyBinding.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1beta1MutatingAdmissionPolicyBinding` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("apiVersion") != null && !jsonObj.get("apiVersion").isJsonNull()) && !jsonObj.get("apiVersion").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `apiVersion` to be a primitive type in the JSON string but got `%s`", jsonObj.get("apiVersion").toString())); + } + if ((jsonObj.get("kind") != null && !jsonObj.get("kind").isJsonNull()) && !jsonObj.get("kind").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `kind` to be a primitive type in the JSON string but got `%s`", jsonObj.get("kind").toString())); + } + // validate the optional field `metadata` + if (jsonObj.get("metadata") != null && !jsonObj.get("metadata").isJsonNull()) { + V1ObjectMeta.validateJsonElement(jsonObj.get("metadata")); + } + // validate the optional field `spec` + if (jsonObj.get("spec") != null && !jsonObj.get("spec").isJsonNull()) { + V1beta1MutatingAdmissionPolicyBindingSpec.validateJsonElement(jsonObj.get("spec")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!V1beta1MutatingAdmissionPolicyBinding.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1beta1MutatingAdmissionPolicyBinding' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1beta1MutatingAdmissionPolicyBinding.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, V1beta1MutatingAdmissionPolicyBinding value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public V1beta1MutatingAdmissionPolicyBinding read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of V1beta1MutatingAdmissionPolicyBinding given an JSON string + * + * @param jsonString JSON string + * @return An instance of V1beta1MutatingAdmissionPolicyBinding + * @throws IOException if the JSON string is invalid with respect to V1beta1MutatingAdmissionPolicyBinding + */ + public static V1beta1MutatingAdmissionPolicyBinding fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1beta1MutatingAdmissionPolicyBinding.class); + } + + /** + * Convert an instance of V1beta1MutatingAdmissionPolicyBinding to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1MutatingAdmissionPolicyBindingList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1MutatingAdmissionPolicyBindingList.java new file mode 100644 index 0000000000..6bd97e70c2 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1MutatingAdmissionPolicyBindingList.java @@ -0,0 +1,331 @@ +/* + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package io.kubernetes.client.openapi.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.openapi.models.V1ListMeta; +import io.kubernetes.client.openapi.models.V1beta1MutatingAdmissionPolicyBinding; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import io.kubernetes.client.openapi.JSON; + +/** + * MutatingAdmissionPolicyBindingList is a list of MutatingAdmissionPolicyBinding. + */ +@ApiModel(description = "MutatingAdmissionPolicyBindingList is a list of MutatingAdmissionPolicyBinding.") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1beta1MutatingAdmissionPolicyBindingList implements io.kubernetes.client.common.KubernetesListObject { + public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; + @SerializedName(SERIALIZED_NAME_API_VERSION) + @jakarta.annotation.Nullable + private String apiVersion; + + public static final String SERIALIZED_NAME_ITEMS = "items"; + @SerializedName(SERIALIZED_NAME_ITEMS) + @jakarta.annotation.Nonnull + private List items = new ArrayList<>(); + + public static final String SERIALIZED_NAME_KIND = "kind"; + @SerializedName(SERIALIZED_NAME_KIND) + @jakarta.annotation.Nullable + private String kind; + + public static final String SERIALIZED_NAME_METADATA = "metadata"; + @SerializedName(SERIALIZED_NAME_METADATA) + @jakarta.annotation.Nullable + private V1ListMeta metadata; + + public V1beta1MutatingAdmissionPolicyBindingList() { + } + + public V1beta1MutatingAdmissionPolicyBindingList apiVersion(@jakarta.annotation.Nullable String apiVersion) { + this.apiVersion = apiVersion; + return this; + } + + /** + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + * @return apiVersion + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources") + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(@jakarta.annotation.Nullable String apiVersion) { + this.apiVersion = apiVersion; + } + + + public V1beta1MutatingAdmissionPolicyBindingList items(@jakarta.annotation.Nonnull List items) { + this.items = items; + return this; + } + + public V1beta1MutatingAdmissionPolicyBindingList addItemsItem(V1beta1MutatingAdmissionPolicyBinding itemsItem) { + if (this.items == null) { + this.items = new ArrayList<>(); + } + this.items.add(itemsItem); + return this; + } + + /** + * List of PolicyBinding. + * @return items + */ + @jakarta.annotation.Nonnull + @ApiModelProperty(required = true, value = "List of PolicyBinding.") + public List getItems() { + return items; + } + + public void setItems(@jakarta.annotation.Nonnull List items) { + this.items = items; + } + + + public V1beta1MutatingAdmissionPolicyBindingList kind(@jakarta.annotation.Nullable String kind) { + this.kind = kind; + return this; + } + + /** + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + * @return kind + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds") + public String getKind() { + return kind; + } + + public void setKind(@jakarta.annotation.Nullable String kind) { + this.kind = kind; + } + + + public V1beta1MutatingAdmissionPolicyBindingList metadata(@jakarta.annotation.Nullable V1ListMeta metadata) { + this.metadata = metadata; + return this; + } + + /** + * Get metadata + * @return metadata + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "") + public V1ListMeta getMetadata() { + return metadata; + } + + public void setMetadata(@jakarta.annotation.Nullable V1ListMeta metadata) { + this.metadata = metadata; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta1MutatingAdmissionPolicyBindingList v1beta1MutatingAdmissionPolicyBindingList = (V1beta1MutatingAdmissionPolicyBindingList) o; + return Objects.equals(this.apiVersion, v1beta1MutatingAdmissionPolicyBindingList.apiVersion) && + Objects.equals(this.items, v1beta1MutatingAdmissionPolicyBindingList.items) && + Objects.equals(this.kind, v1beta1MutatingAdmissionPolicyBindingList.kind) && + Objects.equals(this.metadata, v1beta1MutatingAdmissionPolicyBindingList.metadata); + } + + @Override + public int hashCode() { + return Objects.hash(apiVersion, items, kind, metadata); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta1MutatingAdmissionPolicyBindingList {\n"); + sb.append(" apiVersion: ").append(toIndentedString(apiVersion)).append("\n"); + sb.append(" items: ").append(toIndentedString(items)).append("\n"); + sb.append(" kind: ").append(toIndentedString(kind)).append("\n"); + sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("apiVersion"); + openapiFields.add("items"); + openapiFields.add("kind"); + openapiFields.add("metadata"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("items"); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to V1beta1MutatingAdmissionPolicyBindingList + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!V1beta1MutatingAdmissionPolicyBindingList.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1beta1MutatingAdmissionPolicyBindingList is not found in the empty JSON string", V1beta1MutatingAdmissionPolicyBindingList.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!V1beta1MutatingAdmissionPolicyBindingList.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1beta1MutatingAdmissionPolicyBindingList` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : V1beta1MutatingAdmissionPolicyBindingList.openapiRequiredFields) { + if (jsonElement.getAsJsonObject().get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("apiVersion") != null && !jsonObj.get("apiVersion").isJsonNull()) && !jsonObj.get("apiVersion").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `apiVersion` to be a primitive type in the JSON string but got `%s`", jsonObj.get("apiVersion").toString())); + } + // ensure the json data is an array + if (!jsonObj.get("items").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `items` to be an array in the JSON string but got `%s`", jsonObj.get("items").toString())); + } + + JsonArray jsonArrayitems = jsonObj.getAsJsonArray("items"); + // validate the required field `items` (array) + for (int i = 0; i < jsonArrayitems.size(); i++) { + V1beta1MutatingAdmissionPolicyBinding.validateJsonElement(jsonArrayitems.get(i)); + }; + if ((jsonObj.get("kind") != null && !jsonObj.get("kind").isJsonNull()) && !jsonObj.get("kind").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `kind` to be a primitive type in the JSON string but got `%s`", jsonObj.get("kind").toString())); + } + // validate the optional field `metadata` + if (jsonObj.get("metadata") != null && !jsonObj.get("metadata").isJsonNull()) { + V1ListMeta.validateJsonElement(jsonObj.get("metadata")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!V1beta1MutatingAdmissionPolicyBindingList.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1beta1MutatingAdmissionPolicyBindingList' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1beta1MutatingAdmissionPolicyBindingList.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, V1beta1MutatingAdmissionPolicyBindingList value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public V1beta1MutatingAdmissionPolicyBindingList read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of V1beta1MutatingAdmissionPolicyBindingList given an JSON string + * + * @param jsonString JSON string + * @return An instance of V1beta1MutatingAdmissionPolicyBindingList + * @throws IOException if the JSON string is invalid with respect to V1beta1MutatingAdmissionPolicyBindingList + */ + public static V1beta1MutatingAdmissionPolicyBindingList fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1beta1MutatingAdmissionPolicyBindingList.class); + } + + /** + * Convert an instance of V1beta1MutatingAdmissionPolicyBindingList to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1MutatingAdmissionPolicyBindingSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1MutatingAdmissionPolicyBindingSpec.java new file mode 100644 index 0000000000..9d106990e4 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1MutatingAdmissionPolicyBindingSpec.java @@ -0,0 +1,276 @@ +/* + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package io.kubernetes.client.openapi.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.openapi.models.V1beta1MatchResources; +import io.kubernetes.client.openapi.models.V1beta1ParamRef; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.Arrays; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import io.kubernetes.client.openapi.JSON; + +/** + * MutatingAdmissionPolicyBindingSpec is the specification of the MutatingAdmissionPolicyBinding. + */ +@ApiModel(description = "MutatingAdmissionPolicyBindingSpec is the specification of the MutatingAdmissionPolicyBinding.") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1beta1MutatingAdmissionPolicyBindingSpec { + public static final String SERIALIZED_NAME_MATCH_RESOURCES = "matchResources"; + @SerializedName(SERIALIZED_NAME_MATCH_RESOURCES) + @jakarta.annotation.Nullable + private V1beta1MatchResources matchResources; + + public static final String SERIALIZED_NAME_PARAM_REF = "paramRef"; + @SerializedName(SERIALIZED_NAME_PARAM_REF) + @jakarta.annotation.Nullable + private V1beta1ParamRef paramRef; + + public static final String SERIALIZED_NAME_POLICY_NAME = "policyName"; + @SerializedName(SERIALIZED_NAME_POLICY_NAME) + @jakarta.annotation.Nullable + private String policyName; + + public V1beta1MutatingAdmissionPolicyBindingSpec() { + } + + public V1beta1MutatingAdmissionPolicyBindingSpec matchResources(@jakarta.annotation.Nullable V1beta1MatchResources matchResources) { + this.matchResources = matchResources; + return this; + } + + /** + * Get matchResources + * @return matchResources + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "") + public V1beta1MatchResources getMatchResources() { + return matchResources; + } + + public void setMatchResources(@jakarta.annotation.Nullable V1beta1MatchResources matchResources) { + this.matchResources = matchResources; + } + + + public V1beta1MutatingAdmissionPolicyBindingSpec paramRef(@jakarta.annotation.Nullable V1beta1ParamRef paramRef) { + this.paramRef = paramRef; + return this; + } + + /** + * Get paramRef + * @return paramRef + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "") + public V1beta1ParamRef getParamRef() { + return paramRef; + } + + public void setParamRef(@jakarta.annotation.Nullable V1beta1ParamRef paramRef) { + this.paramRef = paramRef; + } + + + public V1beta1MutatingAdmissionPolicyBindingSpec policyName(@jakarta.annotation.Nullable String policyName) { + this.policyName = policyName; + return this; + } + + /** + * 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. + * @return policyName + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "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.") + public String getPolicyName() { + return policyName; + } + + public void setPolicyName(@jakarta.annotation.Nullable String policyName) { + this.policyName = policyName; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta1MutatingAdmissionPolicyBindingSpec v1beta1MutatingAdmissionPolicyBindingSpec = (V1beta1MutatingAdmissionPolicyBindingSpec) o; + return Objects.equals(this.matchResources, v1beta1MutatingAdmissionPolicyBindingSpec.matchResources) && + Objects.equals(this.paramRef, v1beta1MutatingAdmissionPolicyBindingSpec.paramRef) && + Objects.equals(this.policyName, v1beta1MutatingAdmissionPolicyBindingSpec.policyName); + } + + @Override + public int hashCode() { + return Objects.hash(matchResources, paramRef, policyName); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta1MutatingAdmissionPolicyBindingSpec {\n"); + sb.append(" matchResources: ").append(toIndentedString(matchResources)).append("\n"); + sb.append(" paramRef: ").append(toIndentedString(paramRef)).append("\n"); + sb.append(" policyName: ").append(toIndentedString(policyName)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("matchResources"); + openapiFields.add("paramRef"); + openapiFields.add("policyName"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to V1beta1MutatingAdmissionPolicyBindingSpec + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!V1beta1MutatingAdmissionPolicyBindingSpec.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1beta1MutatingAdmissionPolicyBindingSpec is not found in the empty JSON string", V1beta1MutatingAdmissionPolicyBindingSpec.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!V1beta1MutatingAdmissionPolicyBindingSpec.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1beta1MutatingAdmissionPolicyBindingSpec` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + // validate the optional field `matchResources` + if (jsonObj.get("matchResources") != null && !jsonObj.get("matchResources").isJsonNull()) { + V1beta1MatchResources.validateJsonElement(jsonObj.get("matchResources")); + } + // validate the optional field `paramRef` + if (jsonObj.get("paramRef") != null && !jsonObj.get("paramRef").isJsonNull()) { + V1beta1ParamRef.validateJsonElement(jsonObj.get("paramRef")); + } + if ((jsonObj.get("policyName") != null && !jsonObj.get("policyName").isJsonNull()) && !jsonObj.get("policyName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `policyName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("policyName").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!V1beta1MutatingAdmissionPolicyBindingSpec.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1beta1MutatingAdmissionPolicyBindingSpec' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1beta1MutatingAdmissionPolicyBindingSpec.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, V1beta1MutatingAdmissionPolicyBindingSpec value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public V1beta1MutatingAdmissionPolicyBindingSpec read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of V1beta1MutatingAdmissionPolicyBindingSpec given an JSON string + * + * @param jsonString JSON string + * @return An instance of V1beta1MutatingAdmissionPolicyBindingSpec + * @throws IOException if the JSON string is invalid with respect to V1beta1MutatingAdmissionPolicyBindingSpec + */ + public static V1beta1MutatingAdmissionPolicyBindingSpec fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1beta1MutatingAdmissionPolicyBindingSpec.class); + } + + /** + * Convert an instance of V1beta1MutatingAdmissionPolicyBindingSpec to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ValidatingAdmissionPolicyList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1MutatingAdmissionPolicyList.java similarity index 69% rename from kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ValidatingAdmissionPolicyList.java rename to kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1MutatingAdmissionPolicyList.java index db042184d0..d15c429141 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ValidatingAdmissionPolicyList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1MutatingAdmissionPolicyList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -19,7 +20,7 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import io.kubernetes.client.openapi.models.V1ListMeta; -import io.kubernetes.client.openapi.models.V1beta1ValidatingAdmissionPolicy; +import io.kubernetes.client.openapi.models.V1beta1MutatingAdmissionPolicy; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; @@ -51,11 +52,11 @@ import io.kubernetes.client.openapi.JSON; /** - * ValidatingAdmissionPolicyList is a list of ValidatingAdmissionPolicy. + * MutatingAdmissionPolicyList is a list of MutatingAdmissionPolicy. */ -@ApiModel(description = "ValidatingAdmissionPolicyList is a list of ValidatingAdmissionPolicy.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") -public class V1beta1ValidatingAdmissionPolicyList implements io.kubernetes.client.common.KubernetesListObject { +@ApiModel(description = "MutatingAdmissionPolicyList is a list of MutatingAdmissionPolicy.") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1beta1MutatingAdmissionPolicyList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @jakarta.annotation.Nullable @@ -64,7 +65,7 @@ public class V1beta1ValidatingAdmissionPolicyList implements io.kubernetes.clien public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) @jakarta.annotation.Nonnull - private List items = new ArrayList<>(); + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_KIND = "kind"; @SerializedName(SERIALIZED_NAME_KIND) @@ -76,10 +77,10 @@ public class V1beta1ValidatingAdmissionPolicyList implements io.kubernetes.clien @jakarta.annotation.Nullable private V1ListMeta metadata; - public V1beta1ValidatingAdmissionPolicyList() { + public V1beta1MutatingAdmissionPolicyList() { } - public V1beta1ValidatingAdmissionPolicyList apiVersion(@jakarta.annotation.Nullable String apiVersion) { + public V1beta1MutatingAdmissionPolicyList apiVersion(@jakarta.annotation.Nullable String apiVersion) { this.apiVersion = apiVersion; return this; } @@ -99,12 +100,12 @@ public void setApiVersion(@jakarta.annotation.Nullable String apiVersion) { } - public V1beta1ValidatingAdmissionPolicyList items(@jakarta.annotation.Nonnull List items) { + public V1beta1MutatingAdmissionPolicyList items(@jakarta.annotation.Nonnull List items) { this.items = items; return this; } - public V1beta1ValidatingAdmissionPolicyList addItemsItem(V1beta1ValidatingAdmissionPolicy itemsItem) { + public V1beta1MutatingAdmissionPolicyList addItemsItem(V1beta1MutatingAdmissionPolicy itemsItem) { if (this.items == null) { this.items = new ArrayList<>(); } @@ -118,16 +119,16 @@ public V1beta1ValidatingAdmissionPolicyList addItemsItem(V1beta1ValidatingAdmiss */ @jakarta.annotation.Nonnull @ApiModelProperty(required = true, value = "List of ValidatingAdmissionPolicy.") - public List getItems() { + public List getItems() { return items; } - public void setItems(@jakarta.annotation.Nonnull List items) { + public void setItems(@jakarta.annotation.Nonnull List items) { this.items = items; } - public V1beta1ValidatingAdmissionPolicyList kind(@jakarta.annotation.Nullable String kind) { + public V1beta1MutatingAdmissionPolicyList kind(@jakarta.annotation.Nullable String kind) { this.kind = kind; return this; } @@ -147,7 +148,7 @@ public void setKind(@jakarta.annotation.Nullable String kind) { } - public V1beta1ValidatingAdmissionPolicyList metadata(@jakarta.annotation.Nullable V1ListMeta metadata) { + public V1beta1MutatingAdmissionPolicyList metadata(@jakarta.annotation.Nullable V1ListMeta metadata) { this.metadata = metadata; return this; } @@ -176,11 +177,11 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V1beta1ValidatingAdmissionPolicyList v1beta1ValidatingAdmissionPolicyList = (V1beta1ValidatingAdmissionPolicyList) o; - return Objects.equals(this.apiVersion, v1beta1ValidatingAdmissionPolicyList.apiVersion) && - Objects.equals(this.items, v1beta1ValidatingAdmissionPolicyList.items) && - Objects.equals(this.kind, v1beta1ValidatingAdmissionPolicyList.kind) && - Objects.equals(this.metadata, v1beta1ValidatingAdmissionPolicyList.metadata); + V1beta1MutatingAdmissionPolicyList v1beta1MutatingAdmissionPolicyList = (V1beta1MutatingAdmissionPolicyList) o; + return Objects.equals(this.apiVersion, v1beta1MutatingAdmissionPolicyList.apiVersion) && + Objects.equals(this.items, v1beta1MutatingAdmissionPolicyList.items) && + Objects.equals(this.kind, v1beta1MutatingAdmissionPolicyList.kind) && + Objects.equals(this.metadata, v1beta1MutatingAdmissionPolicyList.metadata); } @Override @@ -191,7 +192,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V1beta1ValidatingAdmissionPolicyList {\n"); + sb.append("class V1beta1MutatingAdmissionPolicyList {\n"); sb.append(" apiVersion: ").append(toIndentedString(apiVersion)).append("\n"); sb.append(" items: ").append(toIndentedString(items)).append("\n"); sb.append(" kind: ").append(toIndentedString(kind)).append("\n"); @@ -232,25 +233,25 @@ private String toIndentedString(Object o) { * Validates the JSON Element and throws an exception if issues found * * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to V1beta1ValidatingAdmissionPolicyList + * @throws IOException if the JSON Element is invalid with respect to V1beta1MutatingAdmissionPolicyList */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - if (!V1beta1ValidatingAdmissionPolicyList.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in V1beta1ValidatingAdmissionPolicyList is not found in the empty JSON string", V1beta1ValidatingAdmissionPolicyList.openapiRequiredFields.toString())); + if (!V1beta1MutatingAdmissionPolicyList.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1beta1MutatingAdmissionPolicyList is not found in the empty JSON string", V1beta1MutatingAdmissionPolicyList.openapiRequiredFields.toString())); } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { - if (!V1beta1ValidatingAdmissionPolicyList.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1beta1ValidatingAdmissionPolicyList` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + if (!V1beta1MutatingAdmissionPolicyList.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1beta1MutatingAdmissionPolicyList` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } // check to make sure all required properties/fields are present in the JSON string - for (String requiredField : V1beta1ValidatingAdmissionPolicyList.openapiRequiredFields) { + for (String requiredField : V1beta1MutatingAdmissionPolicyList.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); } @@ -267,7 +268,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonArray jsonArrayitems = jsonObj.getAsJsonArray("items"); // validate the required field `items` (array) for (int i = 0; i < jsonArrayitems.size(); i++) { - V1beta1ValidatingAdmissionPolicy.validateJsonElement(jsonArrayitems.get(i)); + V1beta1MutatingAdmissionPolicy.validateJsonElement(jsonArrayitems.get(i)); }; if ((jsonObj.get("kind") != null && !jsonObj.get("kind").isJsonNull()) && !jsonObj.get("kind").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `kind` to be a primitive type in the JSON string but got `%s`", jsonObj.get("kind").toString())); @@ -282,22 +283,22 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1beta1ValidatingAdmissionPolicyList.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1beta1ValidatingAdmissionPolicyList' and its subtypes + if (!V1beta1MutatingAdmissionPolicyList.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1beta1MutatingAdmissionPolicyList' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1beta1ValidatingAdmissionPolicyList.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1beta1MutatingAdmissionPolicyList.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, V1beta1ValidatingAdmissionPolicyList value) throws IOException { + public void write(JsonWriter out, V1beta1MutatingAdmissionPolicyList value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public V1beta1ValidatingAdmissionPolicyList read(JsonReader in) throws IOException { + public V1beta1MutatingAdmissionPolicyList read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -308,18 +309,18 @@ public V1beta1ValidatingAdmissionPolicyList read(JsonReader in) throws IOExcepti } /** - * Create an instance of V1beta1ValidatingAdmissionPolicyList given an JSON string + * Create an instance of V1beta1MutatingAdmissionPolicyList given an JSON string * * @param jsonString JSON string - * @return An instance of V1beta1ValidatingAdmissionPolicyList - * @throws IOException if the JSON string is invalid with respect to V1beta1ValidatingAdmissionPolicyList + * @return An instance of V1beta1MutatingAdmissionPolicyList + * @throws IOException if the JSON string is invalid with respect to V1beta1MutatingAdmissionPolicyList */ - public static V1beta1ValidatingAdmissionPolicyList fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1beta1ValidatingAdmissionPolicyList.class); + public static V1beta1MutatingAdmissionPolicyList fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1beta1MutatingAdmissionPolicyList.class); } /** - * Convert an instance of V1beta1ValidatingAdmissionPolicyList to an JSON string + * Convert an instance of V1beta1MutatingAdmissionPolicyList to an JSON string * * @return JSON string */ @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ValidatingAdmissionPolicySpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1MutatingAdmissionPolicySpec.java similarity index 50% rename from kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ValidatingAdmissionPolicySpec.java rename to kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1MutatingAdmissionPolicySpec.java index 3fe966eb11..34ad20c20a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ValidatingAdmissionPolicySpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1MutatingAdmissionPolicySpec.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -18,11 +19,10 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.kubernetes.client.openapi.models.V1beta1AuditAnnotation; import io.kubernetes.client.openapi.models.V1beta1MatchCondition; import io.kubernetes.client.openapi.models.V1beta1MatchResources; +import io.kubernetes.client.openapi.models.V1beta1Mutation; import io.kubernetes.client.openapi.models.V1beta1ParamKind; -import io.kubernetes.client.openapi.models.V1beta1Validation; import io.kubernetes.client.openapi.models.V1beta1Variable; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; @@ -55,16 +55,11 @@ import io.kubernetes.client.openapi.JSON; /** - * ValidatingAdmissionPolicySpec is the specification of the desired behavior of the AdmissionPolicy. + * MutatingAdmissionPolicySpec is the specification of the desired behavior of the admission policy. */ -@ApiModel(description = "ValidatingAdmissionPolicySpec is the specification of the desired behavior of the AdmissionPolicy.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") -public class V1beta1ValidatingAdmissionPolicySpec { - public static final String SERIALIZED_NAME_AUDIT_ANNOTATIONS = "auditAnnotations"; - @SerializedName(SERIALIZED_NAME_AUDIT_ANNOTATIONS) - @jakarta.annotation.Nullable - private List auditAnnotations = new ArrayList<>(); - +@ApiModel(description = "MutatingAdmissionPolicySpec is the specification of the desired behavior of the admission policy.") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1beta1MutatingAdmissionPolicySpec { public static final String SERIALIZED_NAME_FAILURE_POLICY = "failurePolicy"; @SerializedName(SERIALIZED_NAME_FAILURE_POLICY) @jakarta.annotation.Nullable @@ -80,63 +75,40 @@ public class V1beta1ValidatingAdmissionPolicySpec { @jakarta.annotation.Nullable private V1beta1MatchResources matchConstraints; + public static final String SERIALIZED_NAME_MUTATIONS = "mutations"; + @SerializedName(SERIALIZED_NAME_MUTATIONS) + @jakarta.annotation.Nullable + private List mutations = new ArrayList<>(); + public static final String SERIALIZED_NAME_PARAM_KIND = "paramKind"; @SerializedName(SERIALIZED_NAME_PARAM_KIND) @jakarta.annotation.Nullable private V1beta1ParamKind paramKind; - public static final String SERIALIZED_NAME_VALIDATIONS = "validations"; - @SerializedName(SERIALIZED_NAME_VALIDATIONS) + public static final String SERIALIZED_NAME_REINVOCATION_POLICY = "reinvocationPolicy"; + @SerializedName(SERIALIZED_NAME_REINVOCATION_POLICY) @jakarta.annotation.Nullable - private List validations = new ArrayList<>(); + private String reinvocationPolicy; public static final String SERIALIZED_NAME_VARIABLES = "variables"; @SerializedName(SERIALIZED_NAME_VARIABLES) @jakarta.annotation.Nullable private List variables = new ArrayList<>(); - public V1beta1ValidatingAdmissionPolicySpec() { + public V1beta1MutatingAdmissionPolicySpec() { } - public V1beta1ValidatingAdmissionPolicySpec auditAnnotations(@jakarta.annotation.Nullable List auditAnnotations) { - this.auditAnnotations = auditAnnotations; - return this; - } - - public V1beta1ValidatingAdmissionPolicySpec addAuditAnnotationsItem(V1beta1AuditAnnotation auditAnnotationsItem) { - if (this.auditAnnotations == null) { - this.auditAnnotations = new ArrayList<>(); - } - this.auditAnnotations.add(auditAnnotationsItem); - return this; - } - - /** - * auditAnnotations contains CEL expressions which are used to produce audit annotations for the audit event of the API request. validations and auditAnnotations may not both be empty; a least one of validations or auditAnnotations is required. - * @return auditAnnotations - */ - @jakarta.annotation.Nullable - @ApiModelProperty(value = "auditAnnotations contains CEL expressions which are used to produce audit annotations for the audit event of the API request. validations and auditAnnotations may not both be empty; a least one of validations or auditAnnotations is required.") - public List getAuditAnnotations() { - return auditAnnotations; - } - - public void setAuditAnnotations(@jakarta.annotation.Nullable List auditAnnotations) { - this.auditAnnotations = auditAnnotations; - } - - - public V1beta1ValidatingAdmissionPolicySpec failurePolicy(@jakarta.annotation.Nullable String failurePolicy) { + public V1beta1MutatingAdmissionPolicySpec failurePolicy(@jakarta.annotation.Nullable String failurePolicy) { this.failurePolicy = failurePolicy; return this; } /** - * 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 spec.paramKind refers to a non-existent Kind. A binding is invalid if spec.paramRef.name refers to a non-existent resource. failurePolicy does not define how validations that evaluate to false are handled. When failurePolicy is set to Fail, ValidatingAdmissionPolicyBinding validationActions define how failures are enforced. Allowed values are Ignore or Fail. Defaults to Fail. + * 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. * @return failurePolicy */ @jakarta.annotation.Nullable - @ApiModelProperty(value = "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 spec.paramKind refers to a non-existent Kind. A binding is invalid if spec.paramRef.name refers to a non-existent resource. failurePolicy does not define how validations that evaluate to false are handled. When failurePolicy is set to Fail, ValidatingAdmissionPolicyBinding validationActions define how failures are enforced. Allowed values are Ignore or Fail. Defaults to Fail.") + @ApiModelProperty(value = "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.") public String getFailurePolicy() { return failurePolicy; } @@ -146,12 +118,12 @@ public void setFailurePolicy(@jakarta.annotation.Nullable String failurePolicy) } - public V1beta1ValidatingAdmissionPolicySpec matchConditions(@jakarta.annotation.Nullable List matchConditions) { + public V1beta1MutatingAdmissionPolicySpec matchConditions(@jakarta.annotation.Nullable List matchConditions) { this.matchConditions = matchConditions; return this; } - public V1beta1ValidatingAdmissionPolicySpec addMatchConditionsItem(V1beta1MatchCondition matchConditionsItem) { + public V1beta1MutatingAdmissionPolicySpec addMatchConditionsItem(V1beta1MatchCondition matchConditionsItem) { if (this.matchConditions == null) { this.matchConditions = new ArrayList<>(); } @@ -160,11 +132,11 @@ public V1beta1ValidatingAdmissionPolicySpec addMatchConditionsItem(V1beta1MatchC } /** - * 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. 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 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 * @return matchConditions */ @jakarta.annotation.Nullable - @ApiModelProperty(value = "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. 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") + @ApiModelProperty(value = "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") public List getMatchConditions() { return matchConditions; } @@ -174,7 +146,7 @@ public void setMatchConditions(@jakarta.annotation.Nullable List mutations) { + this.mutations = mutations; + return this; + } + + public V1beta1MutatingAdmissionPolicySpec addMutationsItem(V1beta1Mutation mutationsItem) { + if (this.mutations == null) { + this.mutations = new ArrayList<>(); + } + this.mutations.add(mutationsItem); + return this; + } + + /** + * 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. + * @return mutations + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "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.") + public List getMutations() { + return mutations; + } + + public void setMutations(@jakarta.annotation.Nullable List mutations) { + this.mutations = mutations; + } + + + public V1beta1MutatingAdmissionPolicySpec paramKind(@jakarta.annotation.Nullable V1beta1ParamKind paramKind) { this.paramKind = paramKind; return this; } @@ -214,40 +214,32 @@ public void setParamKind(@jakarta.annotation.Nullable V1beta1ParamKind paramKind } - public V1beta1ValidatingAdmissionPolicySpec validations(@jakarta.annotation.Nullable List validations) { - this.validations = validations; - return this; - } - - public V1beta1ValidatingAdmissionPolicySpec addValidationsItem(V1beta1Validation validationsItem) { - if (this.validations == null) { - this.validations = new ArrayList<>(); - } - this.validations.add(validationsItem); + public V1beta1MutatingAdmissionPolicySpec reinvocationPolicy(@jakarta.annotation.Nullable String reinvocationPolicy) { + this.reinvocationPolicy = reinvocationPolicy; return this; } /** - * 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. - * @return validations + * 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. + * @return reinvocationPolicy */ @jakarta.annotation.Nullable - @ApiModelProperty(value = "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.") - public List getValidations() { - return validations; + @ApiModelProperty(value = "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.") + public String getReinvocationPolicy() { + return reinvocationPolicy; } - public void setValidations(@jakarta.annotation.Nullable List validations) { - this.validations = validations; + public void setReinvocationPolicy(@jakarta.annotation.Nullable String reinvocationPolicy) { + this.reinvocationPolicy = reinvocationPolicy; } - public V1beta1ValidatingAdmissionPolicySpec variables(@jakarta.annotation.Nullable List variables) { + public V1beta1MutatingAdmissionPolicySpec variables(@jakarta.annotation.Nullable List variables) { this.variables = variables; return this; } - public V1beta1ValidatingAdmissionPolicySpec addVariablesItem(V1beta1Variable variablesItem) { + public V1beta1MutatingAdmissionPolicySpec addVariablesItem(V1beta1Variable variablesItem) { if (this.variables == null) { this.variables = new ArrayList<>(); } @@ -256,11 +248,11 @@ public V1beta1ValidatingAdmissionPolicySpec addVariablesItem(V1beta1Variable var } /** - * 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 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. * @return variables */ @jakarta.annotation.Nullable - @ApiModelProperty(value = "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.") + @ApiModelProperty(value = "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.") public List getVariables() { return variables; } @@ -279,31 +271,31 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V1beta1ValidatingAdmissionPolicySpec v1beta1ValidatingAdmissionPolicySpec = (V1beta1ValidatingAdmissionPolicySpec) o; - return Objects.equals(this.auditAnnotations, v1beta1ValidatingAdmissionPolicySpec.auditAnnotations) && - Objects.equals(this.failurePolicy, v1beta1ValidatingAdmissionPolicySpec.failurePolicy) && - Objects.equals(this.matchConditions, v1beta1ValidatingAdmissionPolicySpec.matchConditions) && - Objects.equals(this.matchConstraints, v1beta1ValidatingAdmissionPolicySpec.matchConstraints) && - Objects.equals(this.paramKind, v1beta1ValidatingAdmissionPolicySpec.paramKind) && - Objects.equals(this.validations, v1beta1ValidatingAdmissionPolicySpec.validations) && - Objects.equals(this.variables, v1beta1ValidatingAdmissionPolicySpec.variables); + V1beta1MutatingAdmissionPolicySpec v1beta1MutatingAdmissionPolicySpec = (V1beta1MutatingAdmissionPolicySpec) o; + return Objects.equals(this.failurePolicy, v1beta1MutatingAdmissionPolicySpec.failurePolicy) && + Objects.equals(this.matchConditions, v1beta1MutatingAdmissionPolicySpec.matchConditions) && + Objects.equals(this.matchConstraints, v1beta1MutatingAdmissionPolicySpec.matchConstraints) && + Objects.equals(this.mutations, v1beta1MutatingAdmissionPolicySpec.mutations) && + Objects.equals(this.paramKind, v1beta1MutatingAdmissionPolicySpec.paramKind) && + Objects.equals(this.reinvocationPolicy, v1beta1MutatingAdmissionPolicySpec.reinvocationPolicy) && + Objects.equals(this.variables, v1beta1MutatingAdmissionPolicySpec.variables); } @Override public int hashCode() { - return Objects.hash(auditAnnotations, failurePolicy, matchConditions, matchConstraints, paramKind, validations, variables); + return Objects.hash(failurePolicy, matchConditions, matchConstraints, mutations, paramKind, reinvocationPolicy, variables); } @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V1beta1ValidatingAdmissionPolicySpec {\n"); - sb.append(" auditAnnotations: ").append(toIndentedString(auditAnnotations)).append("\n"); + sb.append("class V1beta1MutatingAdmissionPolicySpec {\n"); sb.append(" failurePolicy: ").append(toIndentedString(failurePolicy)).append("\n"); sb.append(" matchConditions: ").append(toIndentedString(matchConditions)).append("\n"); sb.append(" matchConstraints: ").append(toIndentedString(matchConstraints)).append("\n"); + sb.append(" mutations: ").append(toIndentedString(mutations)).append("\n"); sb.append(" paramKind: ").append(toIndentedString(paramKind)).append("\n"); - sb.append(" validations: ").append(toIndentedString(validations)).append("\n"); + sb.append(" reinvocationPolicy: ").append(toIndentedString(reinvocationPolicy)).append("\n"); sb.append(" variables: ").append(toIndentedString(variables)).append("\n"); sb.append("}"); return sb.toString(); @@ -327,12 +319,12 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); - openapiFields.add("auditAnnotations"); openapiFields.add("failurePolicy"); openapiFields.add("matchConditions"); openapiFields.add("matchConstraints"); + openapiFields.add("mutations"); openapiFields.add("paramKind"); - openapiFields.add("validations"); + openapiFields.add("reinvocationPolicy"); openapiFields.add("variables"); // a set of required properties/fields (JSON key names) @@ -343,37 +335,23 @@ private String toIndentedString(Object o) { * Validates the JSON Element and throws an exception if issues found * * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to V1beta1ValidatingAdmissionPolicySpec + * @throws IOException if the JSON Element is invalid with respect to V1beta1MutatingAdmissionPolicySpec */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - if (!V1beta1ValidatingAdmissionPolicySpec.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in V1beta1ValidatingAdmissionPolicySpec is not found in the empty JSON string", V1beta1ValidatingAdmissionPolicySpec.openapiRequiredFields.toString())); + if (!V1beta1MutatingAdmissionPolicySpec.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1beta1MutatingAdmissionPolicySpec is not found in the empty JSON string", V1beta1MutatingAdmissionPolicySpec.openapiRequiredFields.toString())); } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { - if (!V1beta1ValidatingAdmissionPolicySpec.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1beta1ValidatingAdmissionPolicySpec` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + if (!V1beta1MutatingAdmissionPolicySpec.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1beta1MutatingAdmissionPolicySpec` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); - if (jsonObj.get("auditAnnotations") != null && !jsonObj.get("auditAnnotations").isJsonNull()) { - JsonArray jsonArrayauditAnnotations = jsonObj.getAsJsonArray("auditAnnotations"); - if (jsonArrayauditAnnotations != null) { - // ensure the json data is an array - if (!jsonObj.get("auditAnnotations").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `auditAnnotations` to be an array in the JSON string but got `%s`", jsonObj.get("auditAnnotations").toString())); - } - - // validate the optional field `auditAnnotations` (array) - for (int i = 0; i < jsonArrayauditAnnotations.size(); i++) { - V1beta1AuditAnnotation.validateJsonElement(jsonArrayauditAnnotations.get(i)); - }; - } - } if ((jsonObj.get("failurePolicy") != null && !jsonObj.get("failurePolicy").isJsonNull()) && !jsonObj.get("failurePolicy").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `failurePolicy` to be a primitive type in the JSON string but got `%s`", jsonObj.get("failurePolicy").toString())); } @@ -395,24 +373,27 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonObj.get("matchConstraints") != null && !jsonObj.get("matchConstraints").isJsonNull()) { V1beta1MatchResources.validateJsonElement(jsonObj.get("matchConstraints")); } - // validate the optional field `paramKind` - if (jsonObj.get("paramKind") != null && !jsonObj.get("paramKind").isJsonNull()) { - V1beta1ParamKind.validateJsonElement(jsonObj.get("paramKind")); - } - if (jsonObj.get("validations") != null && !jsonObj.get("validations").isJsonNull()) { - JsonArray jsonArrayvalidations = jsonObj.getAsJsonArray("validations"); - if (jsonArrayvalidations != null) { + if (jsonObj.get("mutations") != null && !jsonObj.get("mutations").isJsonNull()) { + JsonArray jsonArraymutations = jsonObj.getAsJsonArray("mutations"); + if (jsonArraymutations != null) { // ensure the json data is an array - if (!jsonObj.get("validations").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `validations` to be an array in the JSON string but got `%s`", jsonObj.get("validations").toString())); + if (!jsonObj.get("mutations").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `mutations` to be an array in the JSON string but got `%s`", jsonObj.get("mutations").toString())); } - // validate the optional field `validations` (array) - for (int i = 0; i < jsonArrayvalidations.size(); i++) { - V1beta1Validation.validateJsonElement(jsonArrayvalidations.get(i)); + // validate the optional field `mutations` (array) + for (int i = 0; i < jsonArraymutations.size(); i++) { + V1beta1Mutation.validateJsonElement(jsonArraymutations.get(i)); }; } } + // validate the optional field `paramKind` + if (jsonObj.get("paramKind") != null && !jsonObj.get("paramKind").isJsonNull()) { + V1beta1ParamKind.validateJsonElement(jsonObj.get("paramKind")); + } + if ((jsonObj.get("reinvocationPolicy") != null && !jsonObj.get("reinvocationPolicy").isJsonNull()) && !jsonObj.get("reinvocationPolicy").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `reinvocationPolicy` to be a primitive type in the JSON string but got `%s`", jsonObj.get("reinvocationPolicy").toString())); + } if (jsonObj.get("variables") != null && !jsonObj.get("variables").isJsonNull()) { JsonArray jsonArrayvariables = jsonObj.getAsJsonArray("variables"); if (jsonArrayvariables != null) { @@ -433,22 +414,22 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1beta1ValidatingAdmissionPolicySpec.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1beta1ValidatingAdmissionPolicySpec' and its subtypes + if (!V1beta1MutatingAdmissionPolicySpec.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1beta1MutatingAdmissionPolicySpec' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1beta1ValidatingAdmissionPolicySpec.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1beta1MutatingAdmissionPolicySpec.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, V1beta1ValidatingAdmissionPolicySpec value) throws IOException { + public void write(JsonWriter out, V1beta1MutatingAdmissionPolicySpec value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public V1beta1ValidatingAdmissionPolicySpec read(JsonReader in) throws IOException { + public V1beta1MutatingAdmissionPolicySpec read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -459,18 +440,18 @@ public V1beta1ValidatingAdmissionPolicySpec read(JsonReader in) throws IOExcepti } /** - * Create an instance of V1beta1ValidatingAdmissionPolicySpec given an JSON string + * Create an instance of V1beta1MutatingAdmissionPolicySpec given an JSON string * * @param jsonString JSON string - * @return An instance of V1beta1ValidatingAdmissionPolicySpec - * @throws IOException if the JSON string is invalid with respect to V1beta1ValidatingAdmissionPolicySpec + * @return An instance of V1beta1MutatingAdmissionPolicySpec + * @throws IOException if the JSON string is invalid with respect to V1beta1MutatingAdmissionPolicySpec */ - public static V1beta1ValidatingAdmissionPolicySpec fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1beta1ValidatingAdmissionPolicySpec.class); + public static V1beta1MutatingAdmissionPolicySpec fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1beta1MutatingAdmissionPolicySpec.class); } /** - * Convert an instance of V1beta1ValidatingAdmissionPolicySpec to an JSON string + * Convert an instance of V1beta1MutatingAdmissionPolicySpec to an JSON string * * @return JSON string */ @@ -478,3 +459,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1Mutation.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1Mutation.java new file mode 100644 index 0000000000..c92b45cd6f --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1Mutation.java @@ -0,0 +1,284 @@ +/* + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package io.kubernetes.client.openapi.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.openapi.models.V1beta1ApplyConfiguration; +import io.kubernetes.client.openapi.models.V1beta1JSONPatch; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.Arrays; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import io.kubernetes.client.openapi.JSON; + +/** + * Mutation specifies the CEL expression which is used to apply the Mutation. + */ +@ApiModel(description = "Mutation specifies the CEL expression which is used to apply the Mutation.") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1beta1Mutation { + public static final String SERIALIZED_NAME_APPLY_CONFIGURATION = "applyConfiguration"; + @SerializedName(SERIALIZED_NAME_APPLY_CONFIGURATION) + @jakarta.annotation.Nullable + private V1beta1ApplyConfiguration applyConfiguration; + + public static final String SERIALIZED_NAME_JSON_PATCH = "jsonPatch"; + @SerializedName(SERIALIZED_NAME_JSON_PATCH) + @jakarta.annotation.Nullable + private V1beta1JSONPatch jsonPatch; + + public static final String SERIALIZED_NAME_PATCH_TYPE = "patchType"; + @SerializedName(SERIALIZED_NAME_PATCH_TYPE) + @jakarta.annotation.Nonnull + private String patchType; + + public V1beta1Mutation() { + } + + public V1beta1Mutation applyConfiguration(@jakarta.annotation.Nullable V1beta1ApplyConfiguration applyConfiguration) { + this.applyConfiguration = applyConfiguration; + return this; + } + + /** + * Get applyConfiguration + * @return applyConfiguration + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "") + public V1beta1ApplyConfiguration getApplyConfiguration() { + return applyConfiguration; + } + + public void setApplyConfiguration(@jakarta.annotation.Nullable V1beta1ApplyConfiguration applyConfiguration) { + this.applyConfiguration = applyConfiguration; + } + + + public V1beta1Mutation jsonPatch(@jakarta.annotation.Nullable V1beta1JSONPatch jsonPatch) { + this.jsonPatch = jsonPatch; + return this; + } + + /** + * Get jsonPatch + * @return jsonPatch + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "") + public V1beta1JSONPatch getJsonPatch() { + return jsonPatch; + } + + public void setJsonPatch(@jakarta.annotation.Nullable V1beta1JSONPatch jsonPatch) { + this.jsonPatch = jsonPatch; + } + + + public V1beta1Mutation patchType(@jakarta.annotation.Nonnull String patchType) { + this.patchType = patchType; + return this; + } + + /** + * patchType indicates the patch strategy used. Allowed values are \"ApplyConfiguration\" and \"JSONPatch\". Required. + * @return patchType + */ + @jakarta.annotation.Nonnull + @ApiModelProperty(required = true, value = "patchType indicates the patch strategy used. Allowed values are \"ApplyConfiguration\" and \"JSONPatch\". Required.") + public String getPatchType() { + return patchType; + } + + public void setPatchType(@jakarta.annotation.Nonnull String patchType) { + this.patchType = patchType; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta1Mutation v1beta1Mutation = (V1beta1Mutation) o; + return Objects.equals(this.applyConfiguration, v1beta1Mutation.applyConfiguration) && + Objects.equals(this.jsonPatch, v1beta1Mutation.jsonPatch) && + Objects.equals(this.patchType, v1beta1Mutation.patchType); + } + + @Override + public int hashCode() { + return Objects.hash(applyConfiguration, jsonPatch, patchType); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta1Mutation {\n"); + sb.append(" applyConfiguration: ").append(toIndentedString(applyConfiguration)).append("\n"); + sb.append(" jsonPatch: ").append(toIndentedString(jsonPatch)).append("\n"); + sb.append(" patchType: ").append(toIndentedString(patchType)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("applyConfiguration"); + openapiFields.add("jsonPatch"); + openapiFields.add("patchType"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("patchType"); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to V1beta1Mutation + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!V1beta1Mutation.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1beta1Mutation is not found in the empty JSON string", V1beta1Mutation.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!V1beta1Mutation.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1beta1Mutation` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : V1beta1Mutation.openapiRequiredFields) { + if (jsonElement.getAsJsonObject().get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + // validate the optional field `applyConfiguration` + if (jsonObj.get("applyConfiguration") != null && !jsonObj.get("applyConfiguration").isJsonNull()) { + V1beta1ApplyConfiguration.validateJsonElement(jsonObj.get("applyConfiguration")); + } + // validate the optional field `jsonPatch` + if (jsonObj.get("jsonPatch") != null && !jsonObj.get("jsonPatch").isJsonNull()) { + V1beta1JSONPatch.validateJsonElement(jsonObj.get("jsonPatch")); + } + if (!jsonObj.get("patchType").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `patchType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("patchType").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!V1beta1Mutation.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1beta1Mutation' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1beta1Mutation.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, V1beta1Mutation value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public V1beta1Mutation read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of V1beta1Mutation given an JSON string + * + * @param jsonString JSON string + * @return An instance of V1beta1Mutation + * @throws IOException if the JSON string is invalid with respect to V1beta1Mutation + */ + public static V1beta1Mutation fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1beta1Mutation.class); + } + + /** + * Convert an instance of V1beta1Mutation to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1NamedRuleWithOperations.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1NamedRuleWithOperations.java index 9ac35ddaac..b5a3b7c179 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1NamedRuleWithOperations.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1NamedRuleWithOperations.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames. */ @ApiModel(description = "NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta1NamedRuleWithOperations { public static final String SERIALIZED_NAME_API_GROUPS = "apiGroups"; @SerializedName(SERIALIZED_NAME_API_GROUPS) @@ -408,3 +409,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1NetworkDeviceData.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1NetworkDeviceData.java index 17ed0cd32c..3e57f8c85c 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1NetworkDeviceData.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1NetworkDeviceData.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * NetworkDeviceData provides network-related details for the allocated device. This information may be filled by drivers or other components to configure or identify the device within a network context. */ @ApiModel(description = "NetworkDeviceData provides network-related details for the allocated device. This information may be filled by drivers or other components to configure or identify the device within a network context.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta1NetworkDeviceData { public static final String SERIALIZED_NAME_HARDWARE_ADDRESS = "hardwareAddress"; @SerializedName(SERIALIZED_NAME_HARDWARE_ADDRESS) @@ -279,3 +280,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1OpaqueDeviceConfiguration.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1OpaqueDeviceConfiguration.java index 0ef246694d..a451731c65 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1OpaqueDeviceConfiguration.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1OpaqueDeviceConfiguration.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * OpaqueDeviceConfiguration contains configuration parameters for a driver in a format defined by the driver vendor. */ @ApiModel(description = "OpaqueDeviceConfiguration contains configuration parameters for a driver in a format defined by the driver vendor.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta1OpaqueDeviceConfiguration { public static final String SERIALIZED_NAME_DRIVER = "driver"; @SerializedName(SERIALIZED_NAME_DRIVER) @@ -243,3 +244,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ParamKind.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ParamKind.java index b767be60bc..6a71f40bbe 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ParamKind.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ParamKind.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * ParamKind is a tuple of Group Kind and Version. */ @ApiModel(description = "ParamKind is a tuple of Group Kind and Version.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta1ParamKind { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -237,3 +238,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ParamRef.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ParamRef.java index de6f197af7..ba3a6bc835 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ParamRef.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ParamRef.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding. */ @ApiModel(description = "ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta1ParamRef { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -301,3 +302,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ParentReference.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ParentReference.java index 113fd25fd0..6075716476 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ParentReference.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ParentReference.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * ParentReference describes a reference to a parent object. */ @ApiModel(description = "ParentReference describes a reference to a parent object.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta1ParentReference { public static final String SERIALIZED_NAME_GROUP = "group"; @SerializedName(SERIALIZED_NAME_GROUP) @@ -308,3 +309,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ResourceClaim.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ResourceClaim.java index 4d1e32c024..c22e546e33 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ResourceClaim.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ResourceClaim.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * ResourceClaim describes a request for access to resources in the cluster, for use by workloads. For example, if a workload needs an accelerator device with specific properties, this is how that request is expressed. The status stanza tracks whether this claim has been satisfied and what specific resources have been allocated. This is an alpha type and requires enabling the DynamicResourceAllocation feature gate. */ @ApiModel(description = "ResourceClaim describes a request for access to resources in the cluster, for use by workloads. For example, if a workload needs an accelerator device with specific properties, this is how that request is expressed. The status stanza tracks whether this claim has been satisfied and what specific resources have been allocated. This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta1ResourceClaim implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -342,3 +343,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ResourceClaimConsumerReference.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ResourceClaimConsumerReference.java index 16bb32e761..739d7847ae 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ResourceClaimConsumerReference.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ResourceClaimConsumerReference.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * ResourceClaimConsumerReference contains enough information to let you locate the consumer of a ResourceClaim. The user must be a resource in the same namespace as the ResourceClaim. */ @ApiModel(description = "ResourceClaimConsumerReference contains enough information to let you locate the consumer of a ResourceClaim. The user must be a resource in the same namespace as the ResourceClaim.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta1ResourceClaimConsumerReference { public static final String SERIALIZED_NAME_API_GROUP = "apiGroup"; @SerializedName(SERIALIZED_NAME_API_GROUP) @@ -309,3 +310,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ResourceClaimList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ResourceClaimList.java index 72df30ba31..73c3815d16 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ResourceClaimList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ResourceClaimList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * ResourceClaimList is a collection of claims. */ @ApiModel(description = "ResourceClaimList is a collection of claims.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta1ResourceClaimList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ResourceClaimSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ResourceClaimSpec.java index 44f1ac91ea..0d973506bc 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ResourceClaimSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ResourceClaimSpec.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * ResourceClaimSpec defines what is being requested in a ResourceClaim and how to configure it. */ @ApiModel(description = "ResourceClaimSpec defines what is being requested in a ResourceClaim and how to configure it.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta1ResourceClaimSpec { public static final String SERIALIZED_NAME_DEVICES = "devices"; @SerializedName(SERIALIZED_NAME_DEVICES) @@ -208,3 +209,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ResourceClaimStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ResourceClaimStatus.java index 7ae384a6e5..9388277a58 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ResourceClaimStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ResourceClaimStatus.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -55,7 +56,7 @@ * ResourceClaimStatus tracks whether the resource has been allocated and what the result of that was. */ @ApiModel(description = "ResourceClaimStatus tracks whether the resource has been allocated and what the result of that was.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta1ResourceClaimStatus { public static final String SERIALIZED_NAME_ALLOCATION = "allocation"; @SerializedName(SERIALIZED_NAME_ALLOCATION) @@ -312,3 +313,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ResourceClaimTemplate.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ResourceClaimTemplate.java index 3c273edf47..45e59f7e08 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ResourceClaimTemplate.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ResourceClaimTemplate.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * ResourceClaimTemplate is used to produce ResourceClaim objects. This is an alpha type and requires enabling the DynamicResourceAllocation feature gate. */ @ApiModel(description = "ResourceClaimTemplate is used to produce ResourceClaim objects. This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta1ResourceClaimTemplate implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -309,3 +310,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ResourceClaimTemplateList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ResourceClaimTemplateList.java index bcf2e590be..32ee99f4b3 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ResourceClaimTemplateList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ResourceClaimTemplateList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * ResourceClaimTemplateList is a collection of claim templates. */ @ApiModel(description = "ResourceClaimTemplateList is a collection of claim templates.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta1ResourceClaimTemplateList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ResourceClaimTemplateSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ResourceClaimTemplateSpec.java index f1599d2775..8f3def81fb 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ResourceClaimTemplateSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ResourceClaimTemplateSpec.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * ResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim. */ @ApiModel(description = "ResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta1ResourceClaimTemplateSpec { public static final String SERIALIZED_NAME_METADATA = "metadata"; @SerializedName(SERIALIZED_NAME_METADATA) @@ -247,3 +248,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ResourcePool.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ResourcePool.java index 10ebf65847..4c68706b09 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ResourcePool.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ResourcePool.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * ResourcePool describes the pool that ResourceSlices belong to. */ @ApiModel(description = "ResourcePool describes the pool that ResourceSlices belong to.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta1ResourcePool { public static final String SERIALIZED_NAME_GENERATION = "generation"; @SerializedName(SERIALIZED_NAME_GENERATION) @@ -272,3 +273,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ResourceSlice.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ResourceSlice.java index 46fd17fac7..ac069611a2 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ResourceSlice.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ResourceSlice.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * ResourceSlice represents one or more resources in a pool of similar resources, managed by a common driver. A pool may span more than one ResourceSlice, and exactly how many ResourceSlices comprise a pool is determined by the driver. At the moment, the only supported resources are devices with attributes and capacities. Each device in a given pool, regardless of how many ResourceSlices, must have a unique name. The ResourceSlice in which a device gets published may change over time. The unique identifier for a device is the tuple <driver name>, <pool name>, <device name>. Whenever a driver needs to update a pool, it increments the pool.Spec.Pool.Generation number and updates all ResourceSlices with that new number and new resource definitions. A consumer must only use ResourceSlices with the highest generation number and ignore all others. When allocating all resources in a pool matching certain criteria or when looking for the best solution among several different alternatives, a consumer should check the number of ResourceSlices in a pool (included in each ResourceSlice) to determine whether its view of a pool is complete and if not, should wait until the driver has completed updating the pool. For resources that are not local to a node, the node name is not set. Instead, the driver may use a node selector to specify where the devices are available. This is an alpha type and requires enabling the DynamicResourceAllocation feature gate. */ @ApiModel(description = "ResourceSlice represents one or more resources in a pool of similar resources, managed by a common driver. A pool may span more than one ResourceSlice, and exactly how many ResourceSlices comprise a pool is determined by the driver. At the moment, the only supported resources are devices with attributes and capacities. Each device in a given pool, regardless of how many ResourceSlices, must have a unique name. The ResourceSlice in which a device gets published may change over time. The unique identifier for a device is the tuple , , . Whenever a driver needs to update a pool, it increments the pool.Spec.Pool.Generation number and updates all ResourceSlices with that new number and new resource definitions. A consumer must only use ResourceSlices with the highest generation number and ignore all others. When allocating all resources in a pool matching certain criteria or when looking for the best solution among several different alternatives, a consumer should check the number of ResourceSlices in a pool (included in each ResourceSlice) to determine whether its view of a pool is complete and if not, should wait until the driver has completed updating the pool. For resources that are not local to a node, the node name is not set. Instead, the driver may use a node selector to specify where the devices are available. This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta1ResourceSlice implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -309,3 +310,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ResourceSliceList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ResourceSliceList.java index 0c3e065693..63df170a51 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ResourceSliceList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ResourceSliceList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * ResourceSliceList is a collection of ResourceSlices. */ @ApiModel(description = "ResourceSliceList is a collection of ResourceSlices.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta1ResourceSliceList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ResourceSliceSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ResourceSliceSpec.java index 347af5ab48..27b9e0f377 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ResourceSliceSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ResourceSliceSpec.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -56,7 +57,7 @@ * ResourceSliceSpec contains the information published by the driver in one ResourceSlice. */ @ApiModel(description = "ResourceSliceSpec contains the information published by the driver in one ResourceSlice.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta1ResourceSliceSpec { public static final String SERIALIZED_NAME_ALL_NODES = "allNodes"; @SerializedName(SERIALIZED_NAME_ALL_NODES) @@ -470,3 +471,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ServiceCIDR.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ServiceCIDR.java index 5a94275d18..e71425aa10 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ServiceCIDR.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ServiceCIDR.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * ServiceCIDR defines a range of IP addresses using CIDR format (e.g. 192.168.0.0/24 or 2001:db2::/64). This range is used to allocate ClusterIPs to Service objects. */ @ApiModel(description = "ServiceCIDR defines a range of IP addresses using CIDR format (e.g. 192.168.0.0/24 or 2001:db2::/64). This range is used to allocate ClusterIPs to Service objects.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta1ServiceCIDR implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -336,3 +337,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ServiceCIDRList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ServiceCIDRList.java index 9db000365c..718ad9e3ec 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ServiceCIDRList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ServiceCIDRList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * ServiceCIDRList contains a list of ServiceCIDR objects. */ @ApiModel(description = "ServiceCIDRList contains a list of ServiceCIDR objects.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta1ServiceCIDRList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ServiceCIDRSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ServiceCIDRSpec.java index 915e0c7ec7..cf3770df04 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ServiceCIDRSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ServiceCIDRSpec.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * ServiceCIDRSpec define the CIDRs the user wants to use for allocating ClusterIPs for Services. */ @ApiModel(description = "ServiceCIDRSpec define the CIDRs the user wants to use for allocating ClusterIPs for Services.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta1ServiceCIDRSpec { public static final String SERIALIZED_NAME_CIDRS = "cidrs"; @SerializedName(SERIALIZED_NAME_CIDRS) @@ -217,3 +218,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ServiceCIDRStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ServiceCIDRStatus.java index fd5e36f827..dda8cae549 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ServiceCIDRStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ServiceCIDRStatus.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * ServiceCIDRStatus describes the current state of the ServiceCIDR. */ @ApiModel(description = "ServiceCIDRStatus describes the current state of the ServiceCIDR.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta1ServiceCIDRStatus { public static final String SERIALIZED_NAME_CONDITIONS = "conditions"; @SerializedName(SERIALIZED_NAME_CONDITIONS) @@ -228,3 +229,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1TypeChecking.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1TypeChecking.java deleted file mode 100644 index b8a768bb12..0000000000 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1TypeChecking.java +++ /dev/null @@ -1,230 +0,0 @@ -/* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ -package io.kubernetes.client.openapi.models; - -import java.util.Objects; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.kubernetes.client.openapi.models.V1beta1ExpressionWarning; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; -import com.google.gson.TypeAdapter; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; - -import java.util.HashMap; -import java.util.HashSet; -import java.util.List; -import java.util.Map; -import java.util.Set; - -import io.kubernetes.client.openapi.JSON; - -/** - * TypeChecking contains results of type checking the expressions in the ValidatingAdmissionPolicy - */ -@ApiModel(description = "TypeChecking contains results of type checking the expressions in the ValidatingAdmissionPolicy") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") -public class V1beta1TypeChecking { - public static final String SERIALIZED_NAME_EXPRESSION_WARNINGS = "expressionWarnings"; - @SerializedName(SERIALIZED_NAME_EXPRESSION_WARNINGS) - @jakarta.annotation.Nullable - private List expressionWarnings = new ArrayList<>(); - - public V1beta1TypeChecking() { - } - - public V1beta1TypeChecking expressionWarnings(@jakarta.annotation.Nullable List expressionWarnings) { - this.expressionWarnings = expressionWarnings; - return this; - } - - public V1beta1TypeChecking addExpressionWarningsItem(V1beta1ExpressionWarning expressionWarningsItem) { - if (this.expressionWarnings == null) { - this.expressionWarnings = new ArrayList<>(); - } - this.expressionWarnings.add(expressionWarningsItem); - return this; - } - - /** - * The type checking warnings for each expression. - * @return expressionWarnings - */ - @jakarta.annotation.Nullable - @ApiModelProperty(value = "The type checking warnings for each expression.") - public List getExpressionWarnings() { - return expressionWarnings; - } - - public void setExpressionWarnings(@jakarta.annotation.Nullable List expressionWarnings) { - this.expressionWarnings = expressionWarnings; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1beta1TypeChecking v1beta1TypeChecking = (V1beta1TypeChecking) o; - return Objects.equals(this.expressionWarnings, v1beta1TypeChecking.expressionWarnings); - } - - @Override - public int hashCode() { - return Objects.hash(expressionWarnings); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1beta1TypeChecking {\n"); - sb.append(" expressionWarnings: ").append(toIndentedString(expressionWarnings)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("expressionWarnings"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to V1beta1TypeChecking - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!V1beta1TypeChecking.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in V1beta1TypeChecking is not found in the empty JSON string", V1beta1TypeChecking.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!V1beta1TypeChecking.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1beta1TypeChecking` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if (jsonObj.get("expressionWarnings") != null && !jsonObj.get("expressionWarnings").isJsonNull()) { - JsonArray jsonArrayexpressionWarnings = jsonObj.getAsJsonArray("expressionWarnings"); - if (jsonArrayexpressionWarnings != null) { - // ensure the json data is an array - if (!jsonObj.get("expressionWarnings").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `expressionWarnings` to be an array in the JSON string but got `%s`", jsonObj.get("expressionWarnings").toString())); - } - - // validate the optional field `expressionWarnings` (array) - for (int i = 0; i < jsonArrayexpressionWarnings.size(); i++) { - V1beta1ExpressionWarning.validateJsonElement(jsonArrayexpressionWarnings.get(i)); - }; - } - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1beta1TypeChecking.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1beta1TypeChecking' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1beta1TypeChecking.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1beta1TypeChecking value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1beta1TypeChecking read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1beta1TypeChecking given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1beta1TypeChecking - * @throws IOException if the JSON string is invalid with respect to V1beta1TypeChecking - */ - public static V1beta1TypeChecking fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1beta1TypeChecking.class); - } - - /** - * Convert an instance of V1beta1TypeChecking to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ValidatingAdmissionPolicyBindingList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ValidatingAdmissionPolicyBindingList.java deleted file mode 100644 index b277299941..0000000000 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ValidatingAdmissionPolicyBindingList.java +++ /dev/null @@ -1,329 +0,0 @@ -/* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ -package io.kubernetes.client.openapi.models; - -import java.util.Objects; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.kubernetes.client.openapi.models.V1ListMeta; -import io.kubernetes.client.openapi.models.V1beta1ValidatingAdmissionPolicyBinding; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; -import com.google.gson.TypeAdapter; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; - -import java.util.HashMap; -import java.util.HashSet; -import java.util.List; -import java.util.Map; -import java.util.Set; - -import io.kubernetes.client.openapi.JSON; - -/** - * ValidatingAdmissionPolicyBindingList is a list of ValidatingAdmissionPolicyBinding. - */ -@ApiModel(description = "ValidatingAdmissionPolicyBindingList is a list of ValidatingAdmissionPolicyBinding.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") -public class V1beta1ValidatingAdmissionPolicyBindingList implements io.kubernetes.client.common.KubernetesListObject { - public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; - @SerializedName(SERIALIZED_NAME_API_VERSION) - @jakarta.annotation.Nullable - private String apiVersion; - - public static final String SERIALIZED_NAME_ITEMS = "items"; - @SerializedName(SERIALIZED_NAME_ITEMS) - @jakarta.annotation.Nonnull - private List items = new ArrayList<>(); - - public static final String SERIALIZED_NAME_KIND = "kind"; - @SerializedName(SERIALIZED_NAME_KIND) - @jakarta.annotation.Nullable - private String kind; - - public static final String SERIALIZED_NAME_METADATA = "metadata"; - @SerializedName(SERIALIZED_NAME_METADATA) - @jakarta.annotation.Nullable - private V1ListMeta metadata; - - public V1beta1ValidatingAdmissionPolicyBindingList() { - } - - public V1beta1ValidatingAdmissionPolicyBindingList apiVersion(@jakarta.annotation.Nullable String apiVersion) { - this.apiVersion = apiVersion; - return this; - } - - /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - * @return apiVersion - */ - @jakarta.annotation.Nullable - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources") - public String getApiVersion() { - return apiVersion; - } - - public void setApiVersion(@jakarta.annotation.Nullable String apiVersion) { - this.apiVersion = apiVersion; - } - - - public V1beta1ValidatingAdmissionPolicyBindingList items(@jakarta.annotation.Nonnull List items) { - this.items = items; - return this; - } - - public V1beta1ValidatingAdmissionPolicyBindingList addItemsItem(V1beta1ValidatingAdmissionPolicyBinding itemsItem) { - if (this.items == null) { - this.items = new ArrayList<>(); - } - this.items.add(itemsItem); - return this; - } - - /** - * List of PolicyBinding. - * @return items - */ - @jakarta.annotation.Nonnull - @ApiModelProperty(required = true, value = "List of PolicyBinding.") - public List getItems() { - return items; - } - - public void setItems(@jakarta.annotation.Nonnull List items) { - this.items = items; - } - - - public V1beta1ValidatingAdmissionPolicyBindingList kind(@jakarta.annotation.Nullable String kind) { - this.kind = kind; - return this; - } - - /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - * @return kind - */ - @jakarta.annotation.Nullable - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds") - public String getKind() { - return kind; - } - - public void setKind(@jakarta.annotation.Nullable String kind) { - this.kind = kind; - } - - - public V1beta1ValidatingAdmissionPolicyBindingList metadata(@jakarta.annotation.Nullable V1ListMeta metadata) { - this.metadata = metadata; - return this; - } - - /** - * Get metadata - * @return metadata - */ - @jakarta.annotation.Nullable - @ApiModelProperty(value = "") - public V1ListMeta getMetadata() { - return metadata; - } - - public void setMetadata(@jakarta.annotation.Nullable V1ListMeta metadata) { - this.metadata = metadata; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1beta1ValidatingAdmissionPolicyBindingList v1beta1ValidatingAdmissionPolicyBindingList = (V1beta1ValidatingAdmissionPolicyBindingList) o; - return Objects.equals(this.apiVersion, v1beta1ValidatingAdmissionPolicyBindingList.apiVersion) && - Objects.equals(this.items, v1beta1ValidatingAdmissionPolicyBindingList.items) && - Objects.equals(this.kind, v1beta1ValidatingAdmissionPolicyBindingList.kind) && - Objects.equals(this.metadata, v1beta1ValidatingAdmissionPolicyBindingList.metadata); - } - - @Override - public int hashCode() { - return Objects.hash(apiVersion, items, kind, metadata); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1beta1ValidatingAdmissionPolicyBindingList {\n"); - sb.append(" apiVersion: ").append(toIndentedString(apiVersion)).append("\n"); - sb.append(" items: ").append(toIndentedString(items)).append("\n"); - sb.append(" kind: ").append(toIndentedString(kind)).append("\n"); - sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("apiVersion"); - openapiFields.add("items"); - openapiFields.add("kind"); - openapiFields.add("metadata"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("items"); - } - - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to V1beta1ValidatingAdmissionPolicyBindingList - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!V1beta1ValidatingAdmissionPolicyBindingList.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in V1beta1ValidatingAdmissionPolicyBindingList is not found in the empty JSON string", V1beta1ValidatingAdmissionPolicyBindingList.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!V1beta1ValidatingAdmissionPolicyBindingList.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1beta1ValidatingAdmissionPolicyBindingList` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - - // check to make sure all required properties/fields are present in the JSON string - for (String requiredField : V1beta1ValidatingAdmissionPolicyBindingList.openapiRequiredFields) { - if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("apiVersion") != null && !jsonObj.get("apiVersion").isJsonNull()) && !jsonObj.get("apiVersion").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `apiVersion` to be a primitive type in the JSON string but got `%s`", jsonObj.get("apiVersion").toString())); - } - // ensure the json data is an array - if (!jsonObj.get("items").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `items` to be an array in the JSON string but got `%s`", jsonObj.get("items").toString())); - } - - JsonArray jsonArrayitems = jsonObj.getAsJsonArray("items"); - // validate the required field `items` (array) - for (int i = 0; i < jsonArrayitems.size(); i++) { - V1beta1ValidatingAdmissionPolicyBinding.validateJsonElement(jsonArrayitems.get(i)); - }; - if ((jsonObj.get("kind") != null && !jsonObj.get("kind").isJsonNull()) && !jsonObj.get("kind").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `kind` to be a primitive type in the JSON string but got `%s`", jsonObj.get("kind").toString())); - } - // validate the optional field `metadata` - if (jsonObj.get("metadata") != null && !jsonObj.get("metadata").isJsonNull()) { - V1ListMeta.validateJsonElement(jsonObj.get("metadata")); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1beta1ValidatingAdmissionPolicyBindingList.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1beta1ValidatingAdmissionPolicyBindingList' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1beta1ValidatingAdmissionPolicyBindingList.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1beta1ValidatingAdmissionPolicyBindingList value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1beta1ValidatingAdmissionPolicyBindingList read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1beta1ValidatingAdmissionPolicyBindingList given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1beta1ValidatingAdmissionPolicyBindingList - * @throws IOException if the JSON string is invalid with respect to V1beta1ValidatingAdmissionPolicyBindingList - */ - public static V1beta1ValidatingAdmissionPolicyBindingList fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1beta1ValidatingAdmissionPolicyBindingList.class); - } - - /** - * Convert an instance of V1beta1ValidatingAdmissionPolicyBindingList to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ValidatingAdmissionPolicyBindingSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ValidatingAdmissionPolicyBindingSpec.java deleted file mode 100644 index 5c46ac34cb..0000000000 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ValidatingAdmissionPolicyBindingSpec.java +++ /dev/null @@ -1,316 +0,0 @@ -/* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ -package io.kubernetes.client.openapi.models; - -import java.util.Objects; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.kubernetes.client.openapi.models.V1beta1MatchResources; -import io.kubernetes.client.openapi.models.V1beta1ParamRef; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; -import com.google.gson.TypeAdapter; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; - -import java.util.HashMap; -import java.util.HashSet; -import java.util.List; -import java.util.Map; -import java.util.Set; - -import io.kubernetes.client.openapi.JSON; - -/** - * ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding. - */ -@ApiModel(description = "ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") -public class V1beta1ValidatingAdmissionPolicyBindingSpec { - public static final String SERIALIZED_NAME_MATCH_RESOURCES = "matchResources"; - @SerializedName(SERIALIZED_NAME_MATCH_RESOURCES) - @jakarta.annotation.Nullable - private V1beta1MatchResources matchResources; - - public static final String SERIALIZED_NAME_PARAM_REF = "paramRef"; - @SerializedName(SERIALIZED_NAME_PARAM_REF) - @jakarta.annotation.Nullable - private V1beta1ParamRef paramRef; - - public static final String SERIALIZED_NAME_POLICY_NAME = "policyName"; - @SerializedName(SERIALIZED_NAME_POLICY_NAME) - @jakarta.annotation.Nullable - private String policyName; - - public static final String SERIALIZED_NAME_VALIDATION_ACTIONS = "validationActions"; - @SerializedName(SERIALIZED_NAME_VALIDATION_ACTIONS) - @jakarta.annotation.Nullable - private List validationActions = new ArrayList<>(); - - public V1beta1ValidatingAdmissionPolicyBindingSpec() { - } - - public V1beta1ValidatingAdmissionPolicyBindingSpec matchResources(@jakarta.annotation.Nullable V1beta1MatchResources matchResources) { - this.matchResources = matchResources; - return this; - } - - /** - * Get matchResources - * @return matchResources - */ - @jakarta.annotation.Nullable - @ApiModelProperty(value = "") - public V1beta1MatchResources getMatchResources() { - return matchResources; - } - - public void setMatchResources(@jakarta.annotation.Nullable V1beta1MatchResources matchResources) { - this.matchResources = matchResources; - } - - - public V1beta1ValidatingAdmissionPolicyBindingSpec paramRef(@jakarta.annotation.Nullable V1beta1ParamRef paramRef) { - this.paramRef = paramRef; - return this; - } - - /** - * Get paramRef - * @return paramRef - */ - @jakarta.annotation.Nullable - @ApiModelProperty(value = "") - public V1beta1ParamRef getParamRef() { - return paramRef; - } - - public void setParamRef(@jakarta.annotation.Nullable V1beta1ParamRef paramRef) { - this.paramRef = paramRef; - } - - - public V1beta1ValidatingAdmissionPolicyBindingSpec policyName(@jakarta.annotation.Nullable String policyName) { - this.policyName = policyName; - return this; - } - - /** - * 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. - * @return policyName - */ - @jakarta.annotation.Nullable - @ApiModelProperty(value = "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.") - public String getPolicyName() { - return policyName; - } - - public void setPolicyName(@jakarta.annotation.Nullable String policyName) { - this.policyName = policyName; - } - - - public V1beta1ValidatingAdmissionPolicyBindingSpec validationActions(@jakarta.annotation.Nullable List validationActions) { - this.validationActions = validationActions; - return this; - } - - public V1beta1ValidatingAdmissionPolicyBindingSpec addValidationActionsItem(String validationActionsItem) { - if (this.validationActions == null) { - this.validationActions = new ArrayList<>(); - } - this.validationActions.add(validationActionsItem); - return this; - } - - /** - * validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions. Failures defined by the ValidatingAdmissionPolicy's FailurePolicy are enforced according to these actions only if the FailurePolicy is set to Fail, otherwise the failures are ignored. This includes compilation errors, runtime errors and misconfigurations of the policy. validationActions is declared as a set of action values. Order does not matter. validationActions may not contain duplicates of the same action. The supported actions values are: \"Deny\" specifies that a validation failure results in a denied request. \"Warn\" specifies that a validation failure is reported to the request client in HTTP Warning headers, with a warning code of 299. Warnings can be sent both for allowed or denied admission responses. \"Audit\" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `\"validation.policy.admission.k8s.io/validation_failure\": \"[{\\\"message\\\": \\\"Invalid value\\\", {\\\"policy\\\": \\\"policy.example.com\\\", {\\\"binding\\\": \\\"policybinding.example.com\\\", {\\\"expressionIndex\\\": \\\"1\\\", {\\\"validationActions\\\": [\\\"Audit\\\"]}]\"` Clients should expect to handle additional values by ignoring any values not recognized. \"Deny\" and \"Warn\" may not be used together since this combination needlessly duplicates the validation failure both in the API response body and the HTTP warning headers. Required. - * @return validationActions - */ - @jakarta.annotation.Nullable - @ApiModelProperty(value = "validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions. Failures defined by the ValidatingAdmissionPolicy's FailurePolicy are enforced according to these actions only if the FailurePolicy is set to Fail, otherwise the failures are ignored. This includes compilation errors, runtime errors and misconfigurations of the policy. validationActions is declared as a set of action values. Order does not matter. validationActions may not contain duplicates of the same action. The supported actions values are: \"Deny\" specifies that a validation failure results in a denied request. \"Warn\" specifies that a validation failure is reported to the request client in HTTP Warning headers, with a warning code of 299. Warnings can be sent both for allowed or denied admission responses. \"Audit\" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `\"validation.policy.admission.k8s.io/validation_failure\": \"[{\\\"message\\\": \\\"Invalid value\\\", {\\\"policy\\\": \\\"policy.example.com\\\", {\\\"binding\\\": \\\"policybinding.example.com\\\", {\\\"expressionIndex\\\": \\\"1\\\", {\\\"validationActions\\\": [\\\"Audit\\\"]}]\"` Clients should expect to handle additional values by ignoring any values not recognized. \"Deny\" and \"Warn\" may not be used together since this combination needlessly duplicates the validation failure both in the API response body and the HTTP warning headers. Required.") - public List getValidationActions() { - return validationActions; - } - - public void setValidationActions(@jakarta.annotation.Nullable List validationActions) { - this.validationActions = validationActions; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1beta1ValidatingAdmissionPolicyBindingSpec v1beta1ValidatingAdmissionPolicyBindingSpec = (V1beta1ValidatingAdmissionPolicyBindingSpec) o; - return Objects.equals(this.matchResources, v1beta1ValidatingAdmissionPolicyBindingSpec.matchResources) && - Objects.equals(this.paramRef, v1beta1ValidatingAdmissionPolicyBindingSpec.paramRef) && - Objects.equals(this.policyName, v1beta1ValidatingAdmissionPolicyBindingSpec.policyName) && - Objects.equals(this.validationActions, v1beta1ValidatingAdmissionPolicyBindingSpec.validationActions); - } - - @Override - public int hashCode() { - return Objects.hash(matchResources, paramRef, policyName, validationActions); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1beta1ValidatingAdmissionPolicyBindingSpec {\n"); - sb.append(" matchResources: ").append(toIndentedString(matchResources)).append("\n"); - sb.append(" paramRef: ").append(toIndentedString(paramRef)).append("\n"); - sb.append(" policyName: ").append(toIndentedString(policyName)).append("\n"); - sb.append(" validationActions: ").append(toIndentedString(validationActions)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("matchResources"); - openapiFields.add("paramRef"); - openapiFields.add("policyName"); - openapiFields.add("validationActions"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to V1beta1ValidatingAdmissionPolicyBindingSpec - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!V1beta1ValidatingAdmissionPolicyBindingSpec.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in V1beta1ValidatingAdmissionPolicyBindingSpec is not found in the empty JSON string", V1beta1ValidatingAdmissionPolicyBindingSpec.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!V1beta1ValidatingAdmissionPolicyBindingSpec.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1beta1ValidatingAdmissionPolicyBindingSpec` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - // validate the optional field `matchResources` - if (jsonObj.get("matchResources") != null && !jsonObj.get("matchResources").isJsonNull()) { - V1beta1MatchResources.validateJsonElement(jsonObj.get("matchResources")); - } - // validate the optional field `paramRef` - if (jsonObj.get("paramRef") != null && !jsonObj.get("paramRef").isJsonNull()) { - V1beta1ParamRef.validateJsonElement(jsonObj.get("paramRef")); - } - if ((jsonObj.get("policyName") != null && !jsonObj.get("policyName").isJsonNull()) && !jsonObj.get("policyName").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `policyName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("policyName").toString())); - } - // ensure the optional json data is an array if present - if (jsonObj.get("validationActions") != null && !jsonObj.get("validationActions").isJsonNull() && !jsonObj.get("validationActions").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `validationActions` to be an array in the JSON string but got `%s`", jsonObj.get("validationActions").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1beta1ValidatingAdmissionPolicyBindingSpec.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1beta1ValidatingAdmissionPolicyBindingSpec' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1beta1ValidatingAdmissionPolicyBindingSpec.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1beta1ValidatingAdmissionPolicyBindingSpec value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1beta1ValidatingAdmissionPolicyBindingSpec read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1beta1ValidatingAdmissionPolicyBindingSpec given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1beta1ValidatingAdmissionPolicyBindingSpec - * @throws IOException if the JSON string is invalid with respect to V1beta1ValidatingAdmissionPolicyBindingSpec - */ - public static V1beta1ValidatingAdmissionPolicyBindingSpec fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1beta1ValidatingAdmissionPolicyBindingSpec.class); - } - - /** - * Convert an instance of V1beta1ValidatingAdmissionPolicyBindingSpec to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ValidatingAdmissionPolicyStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ValidatingAdmissionPolicyStatus.java deleted file mode 100644 index 365f788a68..0000000000 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1ValidatingAdmissionPolicyStatus.java +++ /dev/null @@ -1,291 +0,0 @@ -/* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ -package io.kubernetes.client.openapi.models; - -import java.util.Objects; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.kubernetes.client.openapi.models.V1Condition; -import io.kubernetes.client.openapi.models.V1beta1TypeChecking; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; -import com.google.gson.TypeAdapter; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; - -import java.util.HashMap; -import java.util.HashSet; -import java.util.List; -import java.util.Map; -import java.util.Set; - -import io.kubernetes.client.openapi.JSON; - -/** - * ValidatingAdmissionPolicyStatus represents the status of an admission validation policy. - */ -@ApiModel(description = "ValidatingAdmissionPolicyStatus represents the status of an admission validation policy.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") -public class V1beta1ValidatingAdmissionPolicyStatus { - public static final String SERIALIZED_NAME_CONDITIONS = "conditions"; - @SerializedName(SERIALIZED_NAME_CONDITIONS) - @jakarta.annotation.Nullable - private List conditions = new ArrayList<>(); - - public static final String SERIALIZED_NAME_OBSERVED_GENERATION = "observedGeneration"; - @SerializedName(SERIALIZED_NAME_OBSERVED_GENERATION) - @jakarta.annotation.Nullable - private Long observedGeneration; - - public static final String SERIALIZED_NAME_TYPE_CHECKING = "typeChecking"; - @SerializedName(SERIALIZED_NAME_TYPE_CHECKING) - @jakarta.annotation.Nullable - private V1beta1TypeChecking typeChecking; - - public V1beta1ValidatingAdmissionPolicyStatus() { - } - - public V1beta1ValidatingAdmissionPolicyStatus conditions(@jakarta.annotation.Nullable List conditions) { - this.conditions = conditions; - return this; - } - - public V1beta1ValidatingAdmissionPolicyStatus addConditionsItem(V1Condition conditionsItem) { - if (this.conditions == null) { - this.conditions = new ArrayList<>(); - } - this.conditions.add(conditionsItem); - return this; - } - - /** - * The conditions represent the latest available observations of a policy's current state. - * @return conditions - */ - @jakarta.annotation.Nullable - @ApiModelProperty(value = "The conditions represent the latest available observations of a policy's current state.") - public List getConditions() { - return conditions; - } - - public void setConditions(@jakarta.annotation.Nullable List conditions) { - this.conditions = conditions; - } - - - public V1beta1ValidatingAdmissionPolicyStatus observedGeneration(@jakarta.annotation.Nullable Long observedGeneration) { - this.observedGeneration = observedGeneration; - return this; - } - - /** - * The generation observed by the controller. - * @return observedGeneration - */ - @jakarta.annotation.Nullable - @ApiModelProperty(value = "The generation observed by the controller.") - public Long getObservedGeneration() { - return observedGeneration; - } - - public void setObservedGeneration(@jakarta.annotation.Nullable Long observedGeneration) { - this.observedGeneration = observedGeneration; - } - - - public V1beta1ValidatingAdmissionPolicyStatus typeChecking(@jakarta.annotation.Nullable V1beta1TypeChecking typeChecking) { - this.typeChecking = typeChecking; - return this; - } - - /** - * Get typeChecking - * @return typeChecking - */ - @jakarta.annotation.Nullable - @ApiModelProperty(value = "") - public V1beta1TypeChecking getTypeChecking() { - return typeChecking; - } - - public void setTypeChecking(@jakarta.annotation.Nullable V1beta1TypeChecking typeChecking) { - this.typeChecking = typeChecking; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1beta1ValidatingAdmissionPolicyStatus v1beta1ValidatingAdmissionPolicyStatus = (V1beta1ValidatingAdmissionPolicyStatus) o; - return Objects.equals(this.conditions, v1beta1ValidatingAdmissionPolicyStatus.conditions) && - Objects.equals(this.observedGeneration, v1beta1ValidatingAdmissionPolicyStatus.observedGeneration) && - Objects.equals(this.typeChecking, v1beta1ValidatingAdmissionPolicyStatus.typeChecking); - } - - @Override - public int hashCode() { - return Objects.hash(conditions, observedGeneration, typeChecking); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1beta1ValidatingAdmissionPolicyStatus {\n"); - sb.append(" conditions: ").append(toIndentedString(conditions)).append("\n"); - sb.append(" observedGeneration: ").append(toIndentedString(observedGeneration)).append("\n"); - sb.append(" typeChecking: ").append(toIndentedString(typeChecking)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("conditions"); - openapiFields.add("observedGeneration"); - openapiFields.add("typeChecking"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to V1beta1ValidatingAdmissionPolicyStatus - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!V1beta1ValidatingAdmissionPolicyStatus.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in V1beta1ValidatingAdmissionPolicyStatus is not found in the empty JSON string", V1beta1ValidatingAdmissionPolicyStatus.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!V1beta1ValidatingAdmissionPolicyStatus.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1beta1ValidatingAdmissionPolicyStatus` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if (jsonObj.get("conditions") != null && !jsonObj.get("conditions").isJsonNull()) { - JsonArray jsonArrayconditions = jsonObj.getAsJsonArray("conditions"); - if (jsonArrayconditions != null) { - // ensure the json data is an array - if (!jsonObj.get("conditions").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `conditions` to be an array in the JSON string but got `%s`", jsonObj.get("conditions").toString())); - } - - // validate the optional field `conditions` (array) - for (int i = 0; i < jsonArrayconditions.size(); i++) { - V1Condition.validateJsonElement(jsonArrayconditions.get(i)); - }; - } - } - // validate the optional field `typeChecking` - if (jsonObj.get("typeChecking") != null && !jsonObj.get("typeChecking").isJsonNull()) { - V1beta1TypeChecking.validateJsonElement(jsonObj.get("typeChecking")); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1beta1ValidatingAdmissionPolicyStatus.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1beta1ValidatingAdmissionPolicyStatus' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1beta1ValidatingAdmissionPolicyStatus.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1beta1ValidatingAdmissionPolicyStatus value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1beta1ValidatingAdmissionPolicyStatus read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1beta1ValidatingAdmissionPolicyStatus given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1beta1ValidatingAdmissionPolicyStatus - * @throws IOException if the JSON string is invalid with respect to V1beta1ValidatingAdmissionPolicyStatus - */ - public static V1beta1ValidatingAdmissionPolicyStatus fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1beta1ValidatingAdmissionPolicyStatus.class); - } - - /** - * Convert an instance of V1beta1ValidatingAdmissionPolicyStatus to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1Validation.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1Validation.java deleted file mode 100644 index 78fdf692ea..0000000000 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1Validation.java +++ /dev/null @@ -1,309 +0,0 @@ -/* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ -package io.kubernetes.client.openapi.models; - -import java.util.Objects; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.Arrays; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; -import com.google.gson.TypeAdapter; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; - -import java.util.HashMap; -import java.util.HashSet; -import java.util.List; -import java.util.Map; -import java.util.Set; - -import io.kubernetes.client.openapi.JSON; - -/** - * Validation specifies the CEL expression which is used to apply the validation. - */ -@ApiModel(description = "Validation specifies the CEL expression which is used to apply the validation.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") -public class V1beta1Validation { - public static final String SERIALIZED_NAME_EXPRESSION = "expression"; - @SerializedName(SERIALIZED_NAME_EXPRESSION) - @jakarta.annotation.Nonnull - private String expression; - - public static final String SERIALIZED_NAME_MESSAGE = "message"; - @SerializedName(SERIALIZED_NAME_MESSAGE) - @jakarta.annotation.Nullable - private String message; - - public static final String SERIALIZED_NAME_MESSAGE_EXPRESSION = "messageExpression"; - @SerializedName(SERIALIZED_NAME_MESSAGE_EXPRESSION) - @jakarta.annotation.Nullable - private String messageExpression; - - public static final String SERIALIZED_NAME_REASON = "reason"; - @SerializedName(SERIALIZED_NAME_REASON) - @jakarta.annotation.Nullable - private String reason; - - public V1beta1Validation() { - } - - public V1beta1Validation expression(@jakarta.annotation.Nonnull String expression) { - this.expression = expression; - return this; - } - - /** - * 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: - '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. Accessible property names are escaped according to the following rules when accessed in the expression: - '__' escapes to '__underscores__' - '.' escapes to '__dot__' - '-' escapes to '__dash__' - '/' escapes to '__slash__' - Property names that exactly match a CEL RESERVED keyword escape to '__{keyword}__'. The keywords are: \"true\", \"false\", \"null\", \"in\", \"as\", \"break\", \"const\", \"continue\", \"else\", \"for\", \"function\", \"if\", \"import\", \"let\", \"loop\", \"package\", \"namespace\", \"return\". Examples: - Expression accessing a property named \"namespace\": {\"Expression\": \"object.__namespace__ > 0\"} - Expression accessing a property named \"x-prop\": {\"Expression\": \"object.x__dash__prop > 0\"} - Expression accessing a property named \"redact__d\": {\"Expression\": \"object.redact__underscores__d > 0\"} Equality on arrays with list type of 'set' or 'map' ignores element order, i.e. [1, 2] == [2, 1]. Concatenation on arrays with x-kubernetes-list-type use the semantics of the list type: - 'set': `X + Y` performs a union where the array positions of all elements in `X` are preserved and non-intersecting elements in `Y` are appended, retaining their partial order. - 'map': `X + Y` performs a merge where the array positions of all keys in `X` are preserved but the values are overwritten by values in `Y` when the key sets of `X` and `Y` intersect. Elements in `Y` with non-intersecting keys are appended, retaining their partial order. Required. - * @return expression - */ - @jakarta.annotation.Nonnull - @ApiModelProperty(required = true, value = "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: - '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. Accessible property names are escaped according to the following rules when accessed in the expression: - '__' escapes to '__underscores__' - '.' escapes to '__dot__' - '-' escapes to '__dash__' - '/' escapes to '__slash__' - Property names that exactly match a CEL RESERVED keyword escape to '__{keyword}__'. The keywords are: \"true\", \"false\", \"null\", \"in\", \"as\", \"break\", \"const\", \"continue\", \"else\", \"for\", \"function\", \"if\", \"import\", \"let\", \"loop\", \"package\", \"namespace\", \"return\". Examples: - Expression accessing a property named \"namespace\": {\"Expression\": \"object.__namespace__ > 0\"} - Expression accessing a property named \"x-prop\": {\"Expression\": \"object.x__dash__prop > 0\"} - Expression accessing a property named \"redact__d\": {\"Expression\": \"object.redact__underscores__d > 0\"} Equality on arrays with list type of 'set' or 'map' ignores element order, i.e. [1, 2] == [2, 1]. Concatenation on arrays with x-kubernetes-list-type use the semantics of the list type: - 'set': `X + Y` performs a union where the array positions of all elements in `X` are preserved and non-intersecting elements in `Y` are appended, retaining their partial order. - 'map': `X + Y` performs a merge where the array positions of all keys in `X` are preserved but the values are overwritten by values in `Y` when the key sets of `X` and `Y` intersect. Elements in `Y` with non-intersecting keys are appended, retaining their partial order. Required.") - public String getExpression() { - return expression; - } - - public void setExpression(@jakarta.annotation.Nonnull String expression) { - this.expression = expression; - } - - - public V1beta1Validation message(@jakarta.annotation.Nullable String message) { - this.message = message; - return this; - } - - /** - * 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\" If the Expression contains line breaks. Message is required. The message must not contain line breaks. If unset, the message is \"failed Expression: {Expression}\". - * @return message - */ - @jakarta.annotation.Nullable - @ApiModelProperty(value = "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\" If the Expression contains line breaks. Message is required. The message must not contain line breaks. If unset, the message is \"failed Expression: {Expression}\".") - public String getMessage() { - return message; - } - - public void setMessage(@jakarta.annotation.Nullable String message) { - this.message = message; - } - - - public V1beta1Validation messageExpression(@jakarta.annotation.Nullable String messageExpression) { - this.messageExpression = messageExpression; - return this; - } - - /** - * messageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. Since messageExpression is used as a failure message, it must evaluate to a string. If both message and messageExpression are present on a validation, then messageExpression will be used if validation fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged. messageExpression has access to all the same variables as the `expression` except for 'authorizer' and 'authorizer.requestResource'. Example: \"object.x must be less than max (\"+string(params.max)+\")\" - * @return messageExpression - */ - @jakarta.annotation.Nullable - @ApiModelProperty(value = "messageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. Since messageExpression is used as a failure message, it must evaluate to a string. If both message and messageExpression are present on a validation, then messageExpression will be used if validation fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged. messageExpression has access to all the same variables as the `expression` except for 'authorizer' and 'authorizer.requestResource'. Example: \"object.x must be less than max (\"+string(params.max)+\")\"") - public String getMessageExpression() { - return messageExpression; - } - - public void setMessageExpression(@jakarta.annotation.Nullable String messageExpression) { - this.messageExpression = messageExpression; - } - - - public V1beta1Validation reason(@jakarta.annotation.Nullable String reason) { - this.reason = reason; - return this; - } - - /** - * 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. The currently supported reasons are: \"Unauthorized\", \"Forbidden\", \"Invalid\", \"RequestEntityTooLarge\". If not set, StatusReasonInvalid is used in the response to the client. - * @return reason - */ - @jakarta.annotation.Nullable - @ApiModelProperty(value = "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. The currently supported reasons are: \"Unauthorized\", \"Forbidden\", \"Invalid\", \"RequestEntityTooLarge\". If not set, StatusReasonInvalid is used in the response to the client.") - public String getReason() { - return reason; - } - - public void setReason(@jakarta.annotation.Nullable String reason) { - this.reason = reason; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - V1beta1Validation v1beta1Validation = (V1beta1Validation) o; - return Objects.equals(this.expression, v1beta1Validation.expression) && - Objects.equals(this.message, v1beta1Validation.message) && - Objects.equals(this.messageExpression, v1beta1Validation.messageExpression) && - Objects.equals(this.reason, v1beta1Validation.reason); - } - - @Override - public int hashCode() { - return Objects.hash(expression, message, messageExpression, reason); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class V1beta1Validation {\n"); - sb.append(" expression: ").append(toIndentedString(expression)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" messageExpression: ").append(toIndentedString(messageExpression)).append("\n"); - sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("expression"); - openapiFields.add("message"); - openapiFields.add("messageExpression"); - openapiFields.add("reason"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("expression"); - } - - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to V1beta1Validation - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!V1beta1Validation.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in V1beta1Validation is not found in the empty JSON string", V1beta1Validation.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!V1beta1Validation.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1beta1Validation` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - - // check to make sure all required properties/fields are present in the JSON string - for (String requiredField : V1beta1Validation.openapiRequiredFields) { - if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if (!jsonObj.get("expression").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `expression` to be a primitive type in the JSON string but got `%s`", jsonObj.get("expression").toString())); - } - if ((jsonObj.get("message") != null && !jsonObj.get("message").isJsonNull()) && !jsonObj.get("message").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `message` to be a primitive type in the JSON string but got `%s`", jsonObj.get("message").toString())); - } - if ((jsonObj.get("messageExpression") != null && !jsonObj.get("messageExpression").isJsonNull()) && !jsonObj.get("messageExpression").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `messageExpression` to be a primitive type in the JSON string but got `%s`", jsonObj.get("messageExpression").toString())); - } - if ((jsonObj.get("reason") != null && !jsonObj.get("reason").isJsonNull()) && !jsonObj.get("reason").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `reason` to be a primitive type in the JSON string but got `%s`", jsonObj.get("reason").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!V1beta1Validation.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'V1beta1Validation' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(V1beta1Validation.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, V1beta1Validation value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public V1beta1Validation read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of V1beta1Validation given an JSON string - * - * @param jsonString JSON string - * @return An instance of V1beta1Validation - * @throws IOException if the JSON string is invalid with respect to V1beta1Validation - */ - public static V1beta1Validation fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, V1beta1Validation.class); - } - - /** - * Convert an instance of V1beta1Validation to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1Variable.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1Variable.java index 0b17c2512d..e0268a0ee7 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1Variable.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1Variable.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * Variable is the definition of a variable that is used for composition. A variable is defined as a named expression. */ @ApiModel(description = "Variable is the definition of a variable that is used for composition. A variable is defined as a named expression.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta1Variable { public static final String SERIALIZED_NAME_EXPRESSION = "expression"; @SerializedName(SERIALIZED_NAME_EXPRESSION) @@ -246,3 +247,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1VolumeAttributesClass.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1VolumeAttributesClass.java index 0f3e755ea4..3cfd4c3a68 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1VolumeAttributesClass.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1VolumeAttributesClass.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * VolumeAttributesClass represents a specification of mutable volume attributes defined by the CSI driver. The class can be specified during dynamic provisioning of PersistentVolumeClaims, and changed in the PersistentVolumeClaim spec after provisioning. */ @ApiModel(description = "VolumeAttributesClass represents a specification of mutable volume attributes defined by the CSI driver. The class can be specified during dynamic provisioning of PersistentVolumeClaims, and changed in the PersistentVolumeClaim spec after provisioning.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta1VolumeAttributesClass implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -347,3 +348,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1VolumeAttributesClassList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1VolumeAttributesClassList.java index d222d684b2..56a56003ec 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1VolumeAttributesClassList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta1VolumeAttributesClassList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * VolumeAttributesClassList is a collection of VolumeAttributesClass objects. */ @ApiModel(description = "VolumeAttributesClassList is a collection of VolumeAttributesClass objects.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta1VolumeAttributesClassList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2AllocatedDeviceStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2AllocatedDeviceStatus.java index c0f7936cac..956ac92d5c 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2AllocatedDeviceStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2AllocatedDeviceStatus.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,10 +52,10 @@ import io.kubernetes.client.openapi.JSON; /** - * AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it. This may include driver-specific information. + * AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it. This may include driver-specific information. The combination of Driver, Pool, Device, and ShareID must match the corresponding key in Status.Allocation.Devices. */ -@ApiModel(description = "AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it. This may include driver-specific information.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@ApiModel(description = "AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it. This may include driver-specific information. The combination of Driver, Pool, Device, and ShareID must match the corresponding key in Status.Allocation.Devices.") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta2AllocatedDeviceStatus { public static final String SERIALIZED_NAME_CONDITIONS = "conditions"; @SerializedName(SERIALIZED_NAME_CONDITIONS) @@ -86,6 +87,11 @@ public class V1beta2AllocatedDeviceStatus { @jakarta.annotation.Nonnull private String pool; + public static final String SERIALIZED_NAME_SHARE_I_D = "shareID"; + @SerializedName(SERIALIZED_NAME_SHARE_I_D) + @jakarta.annotation.Nullable + private String shareID; + public V1beta2AllocatedDeviceStatus() { } @@ -217,6 +223,26 @@ public void setPool(@jakarta.annotation.Nonnull String pool) { } + public V1beta2AllocatedDeviceStatus shareID(@jakarta.annotation.Nullable String shareID) { + this.shareID = shareID; + return this; + } + + /** + * ShareID uniquely identifies an individual allocation share of the device. + * @return shareID + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "ShareID uniquely identifies an individual allocation share of the device.") + public String getShareID() { + return shareID; + } + + public void setShareID(@jakarta.annotation.Nullable String shareID) { + this.shareID = shareID; + } + + @Override public boolean equals(Object o) { @@ -232,12 +258,13 @@ public boolean equals(Object o) { Objects.equals(this.device, v1beta2AllocatedDeviceStatus.device) && Objects.equals(this.driver, v1beta2AllocatedDeviceStatus.driver) && Objects.equals(this.networkData, v1beta2AllocatedDeviceStatus.networkData) && - Objects.equals(this.pool, v1beta2AllocatedDeviceStatus.pool); + Objects.equals(this.pool, v1beta2AllocatedDeviceStatus.pool) && + Objects.equals(this.shareID, v1beta2AllocatedDeviceStatus.shareID); } @Override public int hashCode() { - return Objects.hash(conditions, data, device, driver, networkData, pool); + return Objects.hash(conditions, data, device, driver, networkData, pool, shareID); } @Override @@ -250,6 +277,7 @@ public String toString() { sb.append(" driver: ").append(toIndentedString(driver)).append("\n"); sb.append(" networkData: ").append(toIndentedString(networkData)).append("\n"); sb.append(" pool: ").append(toIndentedString(pool)).append("\n"); + sb.append(" shareID: ").append(toIndentedString(shareID)).append("\n"); sb.append("}"); return sb.toString(); } @@ -278,6 +306,7 @@ private String toIndentedString(Object o) { openapiFields.add("driver"); openapiFields.add("networkData"); openapiFields.add("pool"); + openapiFields.add("shareID"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); @@ -341,6 +370,9 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!jsonObj.get("pool").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `pool` to be a primitive type in the JSON string but got `%s`", jsonObj.get("pool").toString())); } + if ((jsonObj.get("shareID") != null && !jsonObj.get("shareID").isJsonNull()) && !jsonObj.get("shareID").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `shareID` to be a primitive type in the JSON string but got `%s`", jsonObj.get("shareID").toString())); + } } public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @@ -392,3 +424,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2AllocationResult.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2AllocationResult.java index 0dd3ee6cc3..b40886e3a6 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2AllocationResult.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2AllocationResult.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -23,6 +24,7 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; +import java.time.OffsetDateTime; import java.util.Arrays; import com.google.gson.Gson; @@ -52,8 +54,13 @@ * AllocationResult contains attributes of an allocated resource. */ @ApiModel(description = "AllocationResult contains attributes of an allocated resource.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta2AllocationResult { + public static final String SERIALIZED_NAME_ALLOCATION_TIMESTAMP = "allocationTimestamp"; + @SerializedName(SERIALIZED_NAME_ALLOCATION_TIMESTAMP) + @jakarta.annotation.Nullable + private OffsetDateTime allocationTimestamp; + public static final String SERIALIZED_NAME_DEVICES = "devices"; @SerializedName(SERIALIZED_NAME_DEVICES) @jakarta.annotation.Nullable @@ -67,6 +74,26 @@ public class V1beta2AllocationResult { public V1beta2AllocationResult() { } + public V1beta2AllocationResult allocationTimestamp(@jakarta.annotation.Nullable OffsetDateTime allocationTimestamp) { + this.allocationTimestamp = allocationTimestamp; + return this; + } + + /** + * 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 feature gate. + * @return allocationTimestamp + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "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 feature gate.") + public OffsetDateTime getAllocationTimestamp() { + return allocationTimestamp; + } + + public void setAllocationTimestamp(@jakarta.annotation.Nullable OffsetDateTime allocationTimestamp) { + this.allocationTimestamp = allocationTimestamp; + } + + public V1beta2AllocationResult devices(@jakarta.annotation.Nullable V1beta2DeviceAllocationResult devices) { this.devices = devices; return this; @@ -117,19 +144,21 @@ public boolean equals(Object o) { return false; } V1beta2AllocationResult v1beta2AllocationResult = (V1beta2AllocationResult) o; - return Objects.equals(this.devices, v1beta2AllocationResult.devices) && + return Objects.equals(this.allocationTimestamp, v1beta2AllocationResult.allocationTimestamp) && + Objects.equals(this.devices, v1beta2AllocationResult.devices) && Objects.equals(this.nodeSelector, v1beta2AllocationResult.nodeSelector); } @Override public int hashCode() { - return Objects.hash(devices, nodeSelector); + return Objects.hash(allocationTimestamp, devices, nodeSelector); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class V1beta2AllocationResult {\n"); + sb.append(" allocationTimestamp: ").append(toIndentedString(allocationTimestamp)).append("\n"); sb.append(" devices: ").append(toIndentedString(devices)).append("\n"); sb.append(" nodeSelector: ").append(toIndentedString(nodeSelector)).append("\n"); sb.append("}"); @@ -154,6 +183,7 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); + openapiFields.add("allocationTimestamp"); openapiFields.add("devices"); openapiFields.add("nodeSelector"); @@ -241,3 +271,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2CELDeviceSelector.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2CELDeviceSelector.java index 4937035ed3..d3f7bf7996 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2CELDeviceSelector.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2CELDeviceSelector.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * CELDeviceSelector contains a CEL expression for selecting a device. */ @ApiModel(description = "CELDeviceSelector contains a CEL expression for selecting a device.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta2CELDeviceSelector { public static final String SERIALIZED_NAME_EXPRESSION = "expression"; @SerializedName(SERIALIZED_NAME_EXPRESSION) @@ -66,11 +67,11 @@ public V1beta2CELDeviceSelector expression(@jakarta.annotation.Nonnull String ex } /** - * Expression is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort. The expression's input is an object named \"device\", which carries the following properties: - driver (string): the name of the driver which defines this device. - attributes (map[string]object): the device's attributes, grouped by prefix (e.g. device.attributes[\"dra.example.com\"] evaluates to an object with all of the attributes which were prefixed by \"dra.example.com\". - capacity (map[string]object): the device's capacities, grouped by prefix. Example: Consider a device with driver=\"dra.example.com\", which exposes two attributes named \"model\" and \"ext.example.com/family\" and which exposes one capacity named \"modules\". This input to this expression would have the following fields: device.driver device.attributes[\"dra.example.com\"].model device.attributes[\"ext.example.com\"].family device.capacity[\"dra.example.com\"].modules The device.driver field can be used to check for a specific driver, either as a high-level precondition (i.e. you only want to consider devices from this driver) or as part of a multi-clause expression that is meant to consider devices from different drivers. The value type of each attribute is defined by the device definition, and users who write these expressions must consult the documentation for their specific drivers. The value type of each capacity is Quantity. If an unknown prefix is used as a lookup in either device.attributes or device.capacity, an empty map will be returned. Any reference to an unknown field will cause an evaluation error and allocation to abort. A robust expression should check for the existence of attributes before referencing them. For ease of use, the cel.bind() function is enabled, and can be used to simplify expressions that access multiple attributes with the same domain. For example: cel.bind(dra, device.attributes[\"dra.example.com\"], dra.someBool && dra.anotherBool) 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 is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort. The expression's input is an object named \"device\", which carries the following properties: - driver (string): the name of the driver which defines this device. - attributes (map[string]object): the device's attributes, grouped by prefix (e.g. device.attributes[\"dra.example.com\"] evaluates to an object with all of the attributes which were prefixed by \"dra.example.com\". - capacity (map[string]object): the device's capacities, grouped by prefix. - allowMultipleAllocations (bool): the allowMultipleAllocations property of the device (v1.34+ with the DRAConsumableCapacity feature enabled). Example: Consider a device with driver=\"dra.example.com\", which exposes two attributes named \"model\" and \"ext.example.com/family\" and which exposes one capacity named \"modules\". This input to this expression would have the following fields: device.driver device.attributes[\"dra.example.com\"].model device.attributes[\"ext.example.com\"].family device.capacity[\"dra.example.com\"].modules The device.driver field can be used to check for a specific driver, either as a high-level precondition (i.e. you only want to consider devices from this driver) or as part of a multi-clause expression that is meant to consider devices from different drivers. The value type of each attribute is defined by the device definition, and users who write these expressions must consult the documentation for their specific drivers. The value type of each capacity is Quantity. If an unknown prefix is used as a lookup in either device.attributes or device.capacity, an empty map will be returned. Any reference to an unknown field will cause an evaluation error and allocation to abort. A robust expression should check for the existence of attributes before referencing them. For ease of use, the cel.bind() function is enabled, and can be used to simplify expressions that access multiple attributes with the same domain. For example: cel.bind(dra, device.attributes[\"dra.example.com\"], dra.someBool && dra.anotherBool) 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. * @return expression */ @jakarta.annotation.Nonnull - @ApiModelProperty(required = true, value = "Expression is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort. The expression's input is an object named \"device\", which carries the following properties: - driver (string): the name of the driver which defines this device. - attributes (map[string]object): the device's attributes, grouped by prefix (e.g. device.attributes[\"dra.example.com\"] evaluates to an object with all of the attributes which were prefixed by \"dra.example.com\". - capacity (map[string]object): the device's capacities, grouped by prefix. Example: Consider a device with driver=\"dra.example.com\", which exposes two attributes named \"model\" and \"ext.example.com/family\" and which exposes one capacity named \"modules\". This input to this expression would have the following fields: device.driver device.attributes[\"dra.example.com\"].model device.attributes[\"ext.example.com\"].family device.capacity[\"dra.example.com\"].modules The device.driver field can be used to check for a specific driver, either as a high-level precondition (i.e. you only want to consider devices from this driver) or as part of a multi-clause expression that is meant to consider devices from different drivers. The value type of each attribute is defined by the device definition, and users who write these expressions must consult the documentation for their specific drivers. The value type of each capacity is Quantity. If an unknown prefix is used as a lookup in either device.attributes or device.capacity, an empty map will be returned. Any reference to an unknown field will cause an evaluation error and allocation to abort. A robust expression should check for the existence of attributes before referencing them. For ease of use, the cel.bind() function is enabled, and can be used to simplify expressions that access multiple attributes with the same domain. For example: cel.bind(dra, device.attributes[\"dra.example.com\"], dra.someBool && dra.anotherBool) 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.") + @ApiModelProperty(required = true, value = "Expression is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort. The expression's input is an object named \"device\", which carries the following properties: - driver (string): the name of the driver which defines this device. - attributes (map[string]object): the device's attributes, grouped by prefix (e.g. device.attributes[\"dra.example.com\"] evaluates to an object with all of the attributes which were prefixed by \"dra.example.com\". - capacity (map[string]object): the device's capacities, grouped by prefix. - allowMultipleAllocations (bool): the allowMultipleAllocations property of the device (v1.34+ with the DRAConsumableCapacity feature enabled). Example: Consider a device with driver=\"dra.example.com\", which exposes two attributes named \"model\" and \"ext.example.com/family\" and which exposes one capacity named \"modules\". This input to this expression would have the following fields: device.driver device.attributes[\"dra.example.com\"].model device.attributes[\"ext.example.com\"].family device.capacity[\"dra.example.com\"].modules The device.driver field can be used to check for a specific driver, either as a high-level precondition (i.e. you only want to consider devices from this driver) or as part of a multi-clause expression that is meant to consider devices from different drivers. The value type of each attribute is defined by the device definition, and users who write these expressions must consult the documentation for their specific drivers. The value type of each capacity is Quantity. If an unknown prefix is used as a lookup in either device.attributes or device.capacity, an empty map will be returned. Any reference to an unknown field will cause an evaluation error and allocation to abort. A robust expression should check for the existence of attributes before referencing them. For ease of use, the cel.bind() function is enabled, and can be used to simplify expressions that access multiple attributes with the same domain. For example: cel.bind(dra, device.attributes[\"dra.example.com\"], dra.someBool && dra.anotherBool) 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.") public String getExpression() { return expression; } @@ -214,3 +215,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2CapacityRequestPolicy.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2CapacityRequestPolicy.java new file mode 100644 index 0000000000..91177c7fef --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2CapacityRequestPolicy.java @@ -0,0 +1,286 @@ +/* + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package io.kubernetes.client.openapi.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.custom.Quantity; +import io.kubernetes.client.openapi.models.V1beta2CapacityRequestPolicyRange; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import io.kubernetes.client.openapi.JSON; + +/** + * CapacityRequestPolicy defines how requests consume device capacity. Must not set more than one ValidRequestValues. + */ +@ApiModel(description = "CapacityRequestPolicy defines how requests consume device capacity. Must not set more than one ValidRequestValues.") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1beta2CapacityRequestPolicy { + public static final String SERIALIZED_NAME_DEFAULT = "default"; + @SerializedName(SERIALIZED_NAME_DEFAULT) + @jakarta.annotation.Nullable + private Quantity _default; + + public static final String SERIALIZED_NAME_VALID_RANGE = "validRange"; + @SerializedName(SERIALIZED_NAME_VALID_RANGE) + @jakarta.annotation.Nullable + private V1beta2CapacityRequestPolicyRange validRange; + + public static final String SERIALIZED_NAME_VALID_VALUES = "validValues"; + @SerializedName(SERIALIZED_NAME_VALID_VALUES) + @jakarta.annotation.Nullable + private List validValues = new ArrayList<>(); + + public V1beta2CapacityRequestPolicy() { + } + + public V1beta2CapacityRequestPolicy _default(@jakarta.annotation.Nullable Quantity _default) { + this._default = _default; + return this; + } + + /** + * Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. The serialization format is: ``` <quantity> ::= <signedNumber><suffix> (Note that <suffix> may be empty, from the \"\" case in <decimalSI>.) <digit> ::= 0 | 1 | ... | 9 <digits> ::= <digit> | <digit><digits> <number> ::= <digits> | <digits>.<digits> | <digits>. | .<digits> <sign> ::= \"+\" | \"-\" <signedNumber> ::= <number> | <sign><number> <suffix> ::= <binarySI> | <decimalExponent> | <decimalSI> <binarySI> ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) <decimalSI> ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) <decimalExponent> ::= \"e\" <signedNumber> | \"E\" <signedNumber> ``` No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: - No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: - 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation. + * @return _default + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. The serialization format is: ``` ::= (Note that may be empty, from the \"\" case in .) ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) ::= \"e\" | \"E\" ``` No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: - No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: - 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.") + public Quantity getDefault() { + return _default; + } + + public void setDefault(@jakarta.annotation.Nullable Quantity _default) { + this._default = _default; + } + + + public V1beta2CapacityRequestPolicy validRange(@jakarta.annotation.Nullable V1beta2CapacityRequestPolicyRange validRange) { + this.validRange = validRange; + return this; + } + + /** + * Get validRange + * @return validRange + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "") + public V1beta2CapacityRequestPolicyRange getValidRange() { + return validRange; + } + + public void setValidRange(@jakarta.annotation.Nullable V1beta2CapacityRequestPolicyRange validRange) { + this.validRange = validRange; + } + + + public V1beta2CapacityRequestPolicy validValues(@jakarta.annotation.Nullable List validValues) { + this.validValues = validValues; + return this; + } + + public V1beta2CapacityRequestPolicy addValidValuesItem(Quantity validValuesItem) { + if (this.validValues == null) { + this.validValues = new ArrayList<>(); + } + this.validValues.add(validValuesItem); + return this; + } + + /** + * ValidValues defines a set of acceptable quantity values in consuming requests. Must not contain more than 10 entries. Must be sorted in ascending order. If this field is set, Default must be defined and it must be included in ValidValues list. If the requested amount does not match any valid value but smaller than some valid values, the scheduler calculates the smallest valid value that is greater than or equal to the request. That is: min(ceil(requestedValue) ∈ validValues), where requestedValue ≤ max(validValues). If the requested amount exceeds all valid values, the request violates the policy, and this device cannot be allocated. + * @return validValues + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "ValidValues defines a set of acceptable quantity values in consuming requests. Must not contain more than 10 entries. Must be sorted in ascending order. If this field is set, Default must be defined and it must be included in ValidValues list. If the requested amount does not match any valid value but smaller than some valid values, the scheduler calculates the smallest valid value that is greater than or equal to the request. That is: min(ceil(requestedValue) ∈ validValues), where requestedValue ≤ max(validValues). If the requested amount exceeds all valid values, the request violates the policy, and this device cannot be allocated.") + public List getValidValues() { + return validValues; + } + + public void setValidValues(@jakarta.annotation.Nullable List validValues) { + this.validValues = validValues; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta2CapacityRequestPolicy v1beta2CapacityRequestPolicy = (V1beta2CapacityRequestPolicy) o; + return Objects.equals(this._default, v1beta2CapacityRequestPolicy._default) && + Objects.equals(this.validRange, v1beta2CapacityRequestPolicy.validRange) && + Objects.equals(this.validValues, v1beta2CapacityRequestPolicy.validValues); + } + + @Override + public int hashCode() { + return Objects.hash(_default, validRange, validValues); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta2CapacityRequestPolicy {\n"); + sb.append(" _default: ").append(toIndentedString(_default)).append("\n"); + sb.append(" validRange: ").append(toIndentedString(validRange)).append("\n"); + sb.append(" validValues: ").append(toIndentedString(validValues)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("default"); + openapiFields.add("validRange"); + openapiFields.add("validValues"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to V1beta2CapacityRequestPolicy + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!V1beta2CapacityRequestPolicy.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1beta2CapacityRequestPolicy is not found in the empty JSON string", V1beta2CapacityRequestPolicy.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!V1beta2CapacityRequestPolicy.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1beta2CapacityRequestPolicy` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("default") != null && !jsonObj.get("default").isJsonNull()) && !jsonObj.get("default").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `default` to be a primitive type in the JSON string but got `%s`", jsonObj.get("default").toString())); + } + // validate the optional field `validRange` + if (jsonObj.get("validRange") != null && !jsonObj.get("validRange").isJsonNull()) { + V1beta2CapacityRequestPolicyRange.validateJsonElement(jsonObj.get("validRange")); + } + // ensure the optional json data is an array if present + if (jsonObj.get("validValues") != null && !jsonObj.get("validValues").isJsonNull() && !jsonObj.get("validValues").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `validValues` to be an array in the JSON string but got `%s`", jsonObj.get("validValues").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!V1beta2CapacityRequestPolicy.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1beta2CapacityRequestPolicy' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1beta2CapacityRequestPolicy.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, V1beta2CapacityRequestPolicy value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public V1beta2CapacityRequestPolicy read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of V1beta2CapacityRequestPolicy given an JSON string + * + * @param jsonString JSON string + * @return An instance of V1beta2CapacityRequestPolicy + * @throws IOException if the JSON string is invalid with respect to V1beta2CapacityRequestPolicy + */ + public static V1beta2CapacityRequestPolicy fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1beta2CapacityRequestPolicy.class); + } + + /** + * Convert an instance of V1beta2CapacityRequestPolicy to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2CapacityRequestPolicyRange.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2CapacityRequestPolicyRange.java new file mode 100644 index 0000000000..156bfecf57 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2CapacityRequestPolicyRange.java @@ -0,0 +1,281 @@ +/* + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package io.kubernetes.client.openapi.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.custom.Quantity; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.Arrays; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import io.kubernetes.client.openapi.JSON; + +/** + * CapacityRequestPolicyRange defines a valid range for consumable capacity values. - If the requested amount is less than Min, it is rounded up to the Min value. - If Step is set and the requested amount is between Min and Max but not aligned with Step, it will be rounded up to the next value equal to Min + (n * Step). - If Step is not set, the requested amount is used as-is if it falls within the range Min to Max (if set). - If the requested or rounded amount exceeds Max (if set), the request does not satisfy the policy, and the device cannot be allocated. + */ +@ApiModel(description = "CapacityRequestPolicyRange defines a valid range for consumable capacity values. - If the requested amount is less than Min, it is rounded up to the Min value. - If Step is set and the requested amount is between Min and Max but not aligned with Step, it will be rounded up to the next value equal to Min + (n * Step). - If Step is not set, the requested amount is used as-is if it falls within the range Min to Max (if set). - If the requested or rounded amount exceeds Max (if set), the request does not satisfy the policy, and the device cannot be allocated.") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1beta2CapacityRequestPolicyRange { + public static final String SERIALIZED_NAME_MAX = "max"; + @SerializedName(SERIALIZED_NAME_MAX) + @jakarta.annotation.Nullable + private Quantity max; + + public static final String SERIALIZED_NAME_MIN = "min"; + @SerializedName(SERIALIZED_NAME_MIN) + @jakarta.annotation.Nonnull + private Quantity min; + + public static final String SERIALIZED_NAME_STEP = "step"; + @SerializedName(SERIALIZED_NAME_STEP) + @jakarta.annotation.Nullable + private Quantity step; + + public V1beta2CapacityRequestPolicyRange() { + } + + public V1beta2CapacityRequestPolicyRange max(@jakarta.annotation.Nullable Quantity max) { + this.max = max; + return this; + } + + /** + * Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. The serialization format is: ``` <quantity> ::= <signedNumber><suffix> (Note that <suffix> may be empty, from the \"\" case in <decimalSI>.) <digit> ::= 0 | 1 | ... | 9 <digits> ::= <digit> | <digit><digits> <number> ::= <digits> | <digits>.<digits> | <digits>. | .<digits> <sign> ::= \"+\" | \"-\" <signedNumber> ::= <number> | <sign><number> <suffix> ::= <binarySI> | <decimalExponent> | <decimalSI> <binarySI> ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) <decimalSI> ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) <decimalExponent> ::= \"e\" <signedNumber> | \"E\" <signedNumber> ``` No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: - No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: - 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation. + * @return max + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. The serialization format is: ``` ::= (Note that may be empty, from the \"\" case in .) ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) ::= \"e\" | \"E\" ``` No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: - No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: - 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.") + public Quantity getMax() { + return max; + } + + public void setMax(@jakarta.annotation.Nullable Quantity max) { + this.max = max; + } + + + public V1beta2CapacityRequestPolicyRange min(@jakarta.annotation.Nonnull Quantity min) { + this.min = min; + return this; + } + + /** + * Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. The serialization format is: ``` <quantity> ::= <signedNumber><suffix> (Note that <suffix> may be empty, from the \"\" case in <decimalSI>.) <digit> ::= 0 | 1 | ... | 9 <digits> ::= <digit> | <digit><digits> <number> ::= <digits> | <digits>.<digits> | <digits>. | .<digits> <sign> ::= \"+\" | \"-\" <signedNumber> ::= <number> | <sign><number> <suffix> ::= <binarySI> | <decimalExponent> | <decimalSI> <binarySI> ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) <decimalSI> ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) <decimalExponent> ::= \"e\" <signedNumber> | \"E\" <signedNumber> ``` No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: - No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: - 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation. + * @return min + */ + @jakarta.annotation.Nonnull + @ApiModelProperty(required = true, value = "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. The serialization format is: ``` ::= (Note that may be empty, from the \"\" case in .) ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) ::= \"e\" | \"E\" ``` No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: - No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: - 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.") + public Quantity getMin() { + return min; + } + + public void setMin(@jakarta.annotation.Nonnull Quantity min) { + this.min = min; + } + + + public V1beta2CapacityRequestPolicyRange step(@jakarta.annotation.Nullable Quantity step) { + this.step = step; + return this; + } + + /** + * Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. The serialization format is: ``` <quantity> ::= <signedNumber><suffix> (Note that <suffix> may be empty, from the \"\" case in <decimalSI>.) <digit> ::= 0 | 1 | ... | 9 <digits> ::= <digit> | <digit><digits> <number> ::= <digits> | <digits>.<digits> | <digits>. | .<digits> <sign> ::= \"+\" | \"-\" <signedNumber> ::= <number> | <sign><number> <suffix> ::= <binarySI> | <decimalExponent> | <decimalSI> <binarySI> ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) <decimalSI> ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) <decimalExponent> ::= \"e\" <signedNumber> | \"E\" <signedNumber> ``` No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: - No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: - 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation. + * @return step + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. The serialization format is: ``` ::= (Note that may be empty, from the \"\" case in .) ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) ::= m | \"\" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) ::= \"e\" | \"E\" ``` No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. Before serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: - No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: - 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.") + public Quantity getStep() { + return step; + } + + public void setStep(@jakarta.annotation.Nullable Quantity step) { + this.step = step; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta2CapacityRequestPolicyRange v1beta2CapacityRequestPolicyRange = (V1beta2CapacityRequestPolicyRange) o; + return Objects.equals(this.max, v1beta2CapacityRequestPolicyRange.max) && + Objects.equals(this.min, v1beta2CapacityRequestPolicyRange.min) && + Objects.equals(this.step, v1beta2CapacityRequestPolicyRange.step); + } + + @Override + public int hashCode() { + return Objects.hash(max, min, step); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta2CapacityRequestPolicyRange {\n"); + sb.append(" max: ").append(toIndentedString(max)).append("\n"); + sb.append(" min: ").append(toIndentedString(min)).append("\n"); + sb.append(" step: ").append(toIndentedString(step)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("max"); + openapiFields.add("min"); + openapiFields.add("step"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("min"); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to V1beta2CapacityRequestPolicyRange + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!V1beta2CapacityRequestPolicyRange.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1beta2CapacityRequestPolicyRange is not found in the empty JSON string", V1beta2CapacityRequestPolicyRange.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!V1beta2CapacityRequestPolicyRange.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1beta2CapacityRequestPolicyRange` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : V1beta2CapacityRequestPolicyRange.openapiRequiredFields) { + if (jsonElement.getAsJsonObject().get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("max") != null && !jsonObj.get("max").isJsonNull()) && !jsonObj.get("max").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `max` to be a primitive type in the JSON string but got `%s`", jsonObj.get("max").toString())); + } + if (!jsonObj.get("min").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `min` to be a primitive type in the JSON string but got `%s`", jsonObj.get("min").toString())); + } + if ((jsonObj.get("step") != null && !jsonObj.get("step").isJsonNull()) && !jsonObj.get("step").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `step` to be a primitive type in the JSON string but got `%s`", jsonObj.get("step").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!V1beta2CapacityRequestPolicyRange.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1beta2CapacityRequestPolicyRange' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1beta2CapacityRequestPolicyRange.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, V1beta2CapacityRequestPolicyRange value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public V1beta2CapacityRequestPolicyRange read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of V1beta2CapacityRequestPolicyRange given an JSON string + * + * @param jsonString JSON string + * @return An instance of V1beta2CapacityRequestPolicyRange + * @throws IOException if the JSON string is invalid with respect to V1beta2CapacityRequestPolicyRange + */ + public static V1beta2CapacityRequestPolicyRange fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1beta2CapacityRequestPolicyRange.class); + } + + /** + * Convert an instance of V1beta2CapacityRequestPolicyRange to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2CapacityRequirements.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2CapacityRequirements.java new file mode 100644 index 0000000000..f82e72b710 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2CapacityRequirements.java @@ -0,0 +1,218 @@ +/* + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package io.kubernetes.client.openapi.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.custom.Quantity; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import io.kubernetes.client.openapi.JSON; + +/** + * CapacityRequirements defines the capacity requirements for a specific device request. + */ +@ApiModel(description = "CapacityRequirements defines the capacity requirements for a specific device request.") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") +public class V1beta2CapacityRequirements { + public static final String SERIALIZED_NAME_REQUESTS = "requests"; + @SerializedName(SERIALIZED_NAME_REQUESTS) + @jakarta.annotation.Nullable + private Map requests = new HashMap<>(); + + public V1beta2CapacityRequirements() { + } + + public V1beta2CapacityRequirements requests(@jakarta.annotation.Nullable Map requests) { + this.requests = requests; + return this; + } + + public V1beta2CapacityRequirements putRequestsItem(String key, Quantity requestsItem) { + if (this.requests == null) { + this.requests = new HashMap<>(); + } + this.requests.put(key, requestsItem); + return this; + } + + /** + * Requests represent individual device resource requests for distinct resources, all of which must be provided by the device. This value is used as an additional filtering condition against the available capacity on the device. This is semantically equivalent to a CEL selector with `device.capacity[<domain>].<name>.compareTo(quantity(<request quantity>)) >= 0`. For example, device.capacity['test-driver.cdi.k8s.io'].counters.compareTo(quantity('2')) >= 0. When a requestPolicy is defined, the requested amount is adjusted upward to the nearest valid value based on the policy. If the requested amount cannot be adjusted to a valid value—because it exceeds what the requestPolicy allows— the device is considered ineligible for allocation. For any capacity that is not explicitly requested: - If no requestPolicy is set, the default consumed capacity is equal to the full device capacity (i.e., the whole device is claimed). - If a requestPolicy is set, the default consumed capacity is determined according to that policy. If the device allows multiple allocation, 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. + * @return requests + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "Requests represent individual device resource requests for distinct resources, all of which must be provided by the device. This value is used as an additional filtering condition against the available capacity on the device. This is semantically equivalent to a CEL selector with `device.capacity[]..compareTo(quantity()) >= 0`. For example, device.capacity['test-driver.cdi.k8s.io'].counters.compareTo(quantity('2')) >= 0. When a requestPolicy is defined, the requested amount is adjusted upward to the nearest valid value based on the policy. If the requested amount cannot be adjusted to a valid value—because it exceeds what the requestPolicy allows— the device is considered ineligible for allocation. For any capacity that is not explicitly requested: - If no requestPolicy is set, the default consumed capacity is equal to the full device capacity (i.e., the whole device is claimed). - If a requestPolicy is set, the default consumed capacity is determined according to that policy. If the device allows multiple allocation, 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.") + public Map getRequests() { + return requests; + } + + public void setRequests(@jakarta.annotation.Nullable Map requests) { + this.requests = requests; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta2CapacityRequirements v1beta2CapacityRequirements = (V1beta2CapacityRequirements) o; + return Objects.equals(this.requests, v1beta2CapacityRequirements.requests); + } + + @Override + public int hashCode() { + return Objects.hash(requests); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta2CapacityRequirements {\n"); + sb.append(" requests: ").append(toIndentedString(requests)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("requests"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to V1beta2CapacityRequirements + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!V1beta2CapacityRequirements.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in V1beta2CapacityRequirements is not found in the empty JSON string", V1beta2CapacityRequirements.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!V1beta2CapacityRequirements.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1beta2CapacityRequirements` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!V1beta2CapacityRequirements.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'V1beta2CapacityRequirements' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(V1beta2CapacityRequirements.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, V1beta2CapacityRequirements value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public V1beta2CapacityRequirements read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of V1beta2CapacityRequirements given an JSON string + * + * @param jsonString JSON string + * @return An instance of V1beta2CapacityRequirements + * @throws IOException if the JSON string is invalid with respect to V1beta2CapacityRequirements + */ + public static V1beta2CapacityRequirements fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, V1beta2CapacityRequirements.class); + } + + /** + * Convert an instance of V1beta2CapacityRequirements to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2Counter.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2Counter.java index 538627c441..c27ed08456 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2Counter.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2Counter.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * Counter describes a quantity associated with a device. */ @ApiModel(description = "Counter describes a quantity associated with a device.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta2Counter { public static final String SERIALIZED_NAME_VALUE = "value"; @SerializedName(SERIALIZED_NAME_VALUE) @@ -215,3 +216,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2CounterSet.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2CounterSet.java index ddf8ba79f2..99b196f605 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2CounterSet.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2CounterSet.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * CounterSet defines a named set of counters that are available to be used by devices defined in the ResourceSlice. The counters are not allocatable by themselves, but can be referenced by devices. When a device is allocated, the portion of counters it uses will no longer be available for use by other devices. */ @ApiModel(description = "CounterSet defines a named set of counters that are available to be used by devices defined in the ResourceSlice. The counters are not allocatable by themselves, but can be referenced by devices. When a device is allocated, the portion of counters it uses will no longer be available for use by other devices.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta2CounterSet { public static final String SERIALIZED_NAME_COUNTERS = "counters"; @SerializedName(SERIALIZED_NAME_COUNTERS) @@ -254,3 +255,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2Device.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2Device.java index fd7b3600ef..8a22c618a9 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2Device.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2Device.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -59,18 +60,38 @@ * Device represents one individual hardware instance that can be selected based on its attributes. Besides the name, exactly one field must be set. */ @ApiModel(description = "Device represents one individual hardware instance that can be selected based on its attributes. Besides the name, exactly one field must be set.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta2Device { public static final String SERIALIZED_NAME_ALL_NODES = "allNodes"; @SerializedName(SERIALIZED_NAME_ALL_NODES) @jakarta.annotation.Nullable private Boolean allNodes; + public static final String SERIALIZED_NAME_ALLOW_MULTIPLE_ALLOCATIONS = "allowMultipleAllocations"; + @SerializedName(SERIALIZED_NAME_ALLOW_MULTIPLE_ALLOCATIONS) + @jakarta.annotation.Nullable + private Boolean allowMultipleAllocations; + public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; @SerializedName(SERIALIZED_NAME_ATTRIBUTES) @jakarta.annotation.Nullable private Map attributes = new HashMap<>(); + public static final String SERIALIZED_NAME_BINDING_CONDITIONS = "bindingConditions"; + @SerializedName(SERIALIZED_NAME_BINDING_CONDITIONS) + @jakarta.annotation.Nullable + private List bindingConditions = new ArrayList<>(); + + public static final String SERIALIZED_NAME_BINDING_FAILURE_CONDITIONS = "bindingFailureConditions"; + @SerializedName(SERIALIZED_NAME_BINDING_FAILURE_CONDITIONS) + @jakarta.annotation.Nullable + private List bindingFailureConditions = new ArrayList<>(); + + public static final String SERIALIZED_NAME_BINDS_TO_NODE = "bindsToNode"; + @SerializedName(SERIALIZED_NAME_BINDS_TO_NODE) + @jakarta.annotation.Nullable + private Boolean bindsToNode; + public static final String SERIALIZED_NAME_CAPACITY = "capacity"; @SerializedName(SERIALIZED_NAME_CAPACITY) @jakarta.annotation.Nullable @@ -124,6 +145,26 @@ public void setAllNodes(@jakarta.annotation.Nullable Boolean allNodes) { } + public V1beta2Device allowMultipleAllocations(@jakarta.annotation.Nullable Boolean allowMultipleAllocations) { + this.allowMultipleAllocations = allowMultipleAllocations; + return this; + } + + /** + * 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. + * @return allowMultipleAllocations + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "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.") + public Boolean getAllowMultipleAllocations() { + return allowMultipleAllocations; + } + + public void setAllowMultipleAllocations(@jakarta.annotation.Nullable Boolean allowMultipleAllocations) { + this.allowMultipleAllocations = allowMultipleAllocations; + } + + public V1beta2Device attributes(@jakarta.annotation.Nullable Map attributes) { this.attributes = attributes; return this; @@ -152,6 +193,82 @@ public void setAttributes(@jakarta.annotation.Nullable Map bindingConditions) { + this.bindingConditions = bindingConditions; + return this; + } + + public V1beta2Device addBindingConditionsItem(String bindingConditionsItem) { + if (this.bindingConditions == null) { + this.bindingConditions = new ArrayList<>(); + } + this.bindingConditions.add(bindingConditionsItem); + return this; + } + + /** + * BindingConditions defines the conditions for proceeding with binding. All of these conditions must be set in the per-device status conditions with a value of True to proceed with binding the pod to the node while scheduling the pod. The maximum number of binding conditions is 4. The conditions must be a valid condition type string. This is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates. + * @return bindingConditions + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "BindingConditions defines the conditions for proceeding with binding. All of these conditions must be set in the per-device status conditions with a value of True to proceed with binding the pod to the node while scheduling the pod. The maximum number of binding conditions is 4. The conditions must be a valid condition type string. This is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates.") + public List getBindingConditions() { + return bindingConditions; + } + + public void setBindingConditions(@jakarta.annotation.Nullable List bindingConditions) { + this.bindingConditions = bindingConditions; + } + + + public V1beta2Device bindingFailureConditions(@jakarta.annotation.Nullable List bindingFailureConditions) { + this.bindingFailureConditions = bindingFailureConditions; + return this; + } + + public V1beta2Device addBindingFailureConditionsItem(String bindingFailureConditionsItem) { + if (this.bindingFailureConditions == null) { + this.bindingFailureConditions = new ArrayList<>(); + } + this.bindingFailureConditions.add(bindingFailureConditionsItem); + return this; + } + + /** + * BindingFailureConditions defines the conditions for binding failure. They may be set in the per-device status conditions. If any is set to \"True\", a binding failure occurred. The maximum number of binding failure conditions is 4. The conditions must be a valid condition type string. This is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates. + * @return bindingFailureConditions + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "BindingFailureConditions defines the conditions for binding failure. They may be set in the per-device status conditions. If any is set to \"True\", a binding failure occurred. The maximum number of binding failure conditions is 4. The conditions must be a valid condition type string. This is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates.") + public List getBindingFailureConditions() { + return bindingFailureConditions; + } + + public void setBindingFailureConditions(@jakarta.annotation.Nullable List bindingFailureConditions) { + this.bindingFailureConditions = bindingFailureConditions; + } + + + public V1beta2Device bindsToNode(@jakarta.annotation.Nullable Boolean bindsToNode) { + this.bindsToNode = bindsToNode; + return this; + } + + /** + * 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 feature gates. + * @return bindsToNode + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "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 feature gates.") + public Boolean getBindsToNode() { + return bindsToNode; + } + + public void setBindsToNode(@jakarta.annotation.Nullable Boolean bindsToNode) { + this.bindsToNode = bindsToNode; + } + + public V1beta2Device capacity(@jakarta.annotation.Nullable Map capacity) { this.capacity = capacity; return this; @@ -307,7 +424,11 @@ public boolean equals(Object o) { } V1beta2Device v1beta2Device = (V1beta2Device) o; return Objects.equals(this.allNodes, v1beta2Device.allNodes) && + Objects.equals(this.allowMultipleAllocations, v1beta2Device.allowMultipleAllocations) && Objects.equals(this.attributes, v1beta2Device.attributes) && + Objects.equals(this.bindingConditions, v1beta2Device.bindingConditions) && + Objects.equals(this.bindingFailureConditions, v1beta2Device.bindingFailureConditions) && + Objects.equals(this.bindsToNode, v1beta2Device.bindsToNode) && Objects.equals(this.capacity, v1beta2Device.capacity) && Objects.equals(this.consumesCounters, v1beta2Device.consumesCounters) && Objects.equals(this.name, v1beta2Device.name) && @@ -318,7 +439,7 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(allNodes, attributes, capacity, consumesCounters, name, nodeName, nodeSelector, taints); + return Objects.hash(allNodes, allowMultipleAllocations, attributes, bindingConditions, bindingFailureConditions, bindsToNode, capacity, consumesCounters, name, nodeName, nodeSelector, taints); } @Override @@ -326,7 +447,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class V1beta2Device {\n"); sb.append(" allNodes: ").append(toIndentedString(allNodes)).append("\n"); + sb.append(" allowMultipleAllocations: ").append(toIndentedString(allowMultipleAllocations)).append("\n"); sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n"); + sb.append(" bindingConditions: ").append(toIndentedString(bindingConditions)).append("\n"); + sb.append(" bindingFailureConditions: ").append(toIndentedString(bindingFailureConditions)).append("\n"); + sb.append(" bindsToNode: ").append(toIndentedString(bindsToNode)).append("\n"); sb.append(" capacity: ").append(toIndentedString(capacity)).append("\n"); sb.append(" consumesCounters: ").append(toIndentedString(consumesCounters)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); @@ -356,7 +481,11 @@ private String toIndentedString(Object o) { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); openapiFields.add("allNodes"); + openapiFields.add("allowMultipleAllocations"); openapiFields.add("attributes"); + openapiFields.add("bindingConditions"); + openapiFields.add("bindingFailureConditions"); + openapiFields.add("bindsToNode"); openapiFields.add("capacity"); openapiFields.add("consumesCounters"); openapiFields.add("name"); @@ -397,6 +526,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } } JsonObject jsonObj = jsonElement.getAsJsonObject(); + // ensure the optional json data is an array if present + if (jsonObj.get("bindingConditions") != null && !jsonObj.get("bindingConditions").isJsonNull() && !jsonObj.get("bindingConditions").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `bindingConditions` to be an array in the JSON string but got `%s`", jsonObj.get("bindingConditions").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("bindingFailureConditions") != null && !jsonObj.get("bindingFailureConditions").isJsonNull() && !jsonObj.get("bindingFailureConditions").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `bindingFailureConditions` to be an array in the JSON string but got `%s`", jsonObj.get("bindingFailureConditions").toString())); + } if (jsonObj.get("consumesCounters") != null && !jsonObj.get("consumesCounters").isJsonNull()) { JsonArray jsonArrayconsumesCounters = jsonObj.getAsJsonArray("consumesCounters"); if (jsonArrayconsumesCounters != null) { @@ -486,3 +623,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceAllocationConfiguration.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceAllocationConfiguration.java index 75344dcbb0..f12c397ae4 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceAllocationConfiguration.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceAllocationConfiguration.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * DeviceAllocationConfiguration gets embedded in an AllocationResult. */ @ApiModel(description = "DeviceAllocationConfiguration gets embedded in an AllocationResult.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta2DeviceAllocationConfiguration { public static final String SERIALIZED_NAME_OPAQUE = "opaque"; @SerializedName(SERIALIZED_NAME_OPAQUE) @@ -289,3 +290,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceAllocationResult.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceAllocationResult.java index 79982c200f..09e9446e13 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceAllocationResult.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceAllocationResult.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * DeviceAllocationResult is the result of allocating devices. */ @ApiModel(description = "DeviceAllocationResult is the result of allocating devices.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta2DeviceAllocationResult { public static final String SERIALIZED_NAME_CONFIG = "config"; @SerializedName(SERIALIZED_NAME_CONFIG) @@ -279,3 +280,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceAttribute.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceAttribute.java index 205059bc31..272ad7c237 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceAttribute.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceAttribute.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * DeviceAttribute must have exactly one field set. */ @ApiModel(description = "DeviceAttribute must have exactly one field set.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta2DeviceAttribute { public static final String SERIALIZED_NAME_BOOL = "bool"; @SerializedName(SERIALIZED_NAME_BOOL) @@ -293,3 +294,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceCapacity.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceCapacity.java index ef241f3d88..0eed20c039 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceCapacity.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceCapacity.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -19,6 +20,7 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import io.kubernetes.client.custom.Quantity; +import io.kubernetes.client.openapi.models.V1beta2CapacityRequestPolicy; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; @@ -51,8 +53,13 @@ * DeviceCapacity describes a quantity associated with a device. */ @ApiModel(description = "DeviceCapacity describes a quantity associated with a device.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta2DeviceCapacity { + public static final String SERIALIZED_NAME_REQUEST_POLICY = "requestPolicy"; + @SerializedName(SERIALIZED_NAME_REQUEST_POLICY) + @jakarta.annotation.Nullable + private V1beta2CapacityRequestPolicy requestPolicy; + public static final String SERIALIZED_NAME_VALUE = "value"; @SerializedName(SERIALIZED_NAME_VALUE) @jakarta.annotation.Nonnull @@ -61,6 +68,26 @@ public class V1beta2DeviceCapacity { public V1beta2DeviceCapacity() { } + public V1beta2DeviceCapacity requestPolicy(@jakarta.annotation.Nullable V1beta2CapacityRequestPolicy requestPolicy) { + this.requestPolicy = requestPolicy; + return this; + } + + /** + * Get requestPolicy + * @return requestPolicy + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "") + public V1beta2CapacityRequestPolicy getRequestPolicy() { + return requestPolicy; + } + + public void setRequestPolicy(@jakarta.annotation.Nullable V1beta2CapacityRequestPolicy requestPolicy) { + this.requestPolicy = requestPolicy; + } + + public V1beta2DeviceCapacity value(@jakarta.annotation.Nonnull Quantity value) { this.value = value; return this; @@ -91,18 +118,20 @@ public boolean equals(Object o) { return false; } V1beta2DeviceCapacity v1beta2DeviceCapacity = (V1beta2DeviceCapacity) o; - return Objects.equals(this.value, v1beta2DeviceCapacity.value); + return Objects.equals(this.requestPolicy, v1beta2DeviceCapacity.requestPolicy) && + Objects.equals(this.value, v1beta2DeviceCapacity.value); } @Override public int hashCode() { - return Objects.hash(value); + return Objects.hash(requestPolicy, value); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class V1beta2DeviceCapacity {\n"); + sb.append(" requestPolicy: ").append(toIndentedString(requestPolicy)).append("\n"); sb.append(" value: ").append(toIndentedString(value)).append("\n"); sb.append("}"); return sb.toString(); @@ -126,6 +155,7 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); + openapiFields.add("requestPolicy"); openapiFields.add("value"); // a set of required properties/fields (JSON key names) @@ -161,6 +191,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } } JsonObject jsonObj = jsonElement.getAsJsonObject(); + // validate the optional field `requestPolicy` + if (jsonObj.get("requestPolicy") != null && !jsonObj.get("requestPolicy").isJsonNull()) { + V1beta2CapacityRequestPolicy.validateJsonElement(jsonObj.get("requestPolicy")); + } if (!jsonObj.get("value").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `value` to be a primitive type in the JSON string but got `%s`", jsonObj.get("value").toString())); } @@ -215,3 +249,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceClaim.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceClaim.java index 8bf4ce45b6..ee20ed0851 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceClaim.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceClaim.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -55,7 +56,7 @@ * DeviceClaim defines how to request devices with a ResourceClaim. */ @ApiModel(description = "DeviceClaim defines how to request devices with a ResourceClaim.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta2DeviceClaim { public static final String SERIALIZED_NAME_CONFIG = "config"; @SerializedName(SERIALIZED_NAME_CONFIG) @@ -330,3 +331,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceClaimConfiguration.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceClaimConfiguration.java index 3ee59b141c..16421de81a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceClaimConfiguration.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceClaimConfiguration.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * DeviceClaimConfiguration is used for configuration parameters in DeviceClaim. */ @ApiModel(description = "DeviceClaimConfiguration is used for configuration parameters in DeviceClaim.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta2DeviceClaimConfiguration { public static final String SERIALIZED_NAME_OPAQUE = "opaque"; @SerializedName(SERIALIZED_NAME_OPAQUE) @@ -250,3 +251,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceClass.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceClass.java index b7cfc5950c..e509fcff83 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceClass.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceClass.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * DeviceClass is a vendor- or admin-provided resource that contains 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. */ @ApiModel(description = "DeviceClass is a vendor- or admin-provided resource that contains 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.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta2DeviceClass implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -309,3 +310,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceClassConfiguration.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceClassConfiguration.java index 4615ff74b8..ea5c347e5c 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceClassConfiguration.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceClassConfiguration.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * DeviceClassConfiguration is used in DeviceClass. */ @ApiModel(description = "DeviceClassConfiguration is used in DeviceClass.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta2DeviceClassConfiguration { public static final String SERIALIZED_NAME_OPAQUE = "opaque"; @SerializedName(SERIALIZED_NAME_OPAQUE) @@ -208,3 +209,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceClassList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceClassList.java index cb8b019c0e..cecf3ffc13 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceClassList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceClassList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * DeviceClassList is a collection of classes. */ @ApiModel(description = "DeviceClassList is a collection of classes.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta2DeviceClassList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceClassSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceClassSpec.java index ba448cd366..bb4f9a5767 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceClassSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceClassSpec.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,13 +55,18 @@ * DeviceClassSpec is used in a [DeviceClass] to define what can be allocated and how to configure it. */ @ApiModel(description = "DeviceClassSpec is used in a [DeviceClass] to define what can be allocated and how to configure it.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta2DeviceClassSpec { public static final String SERIALIZED_NAME_CONFIG = "config"; @SerializedName(SERIALIZED_NAME_CONFIG) @jakarta.annotation.Nullable private List config = new ArrayList<>(); + public static final String SERIALIZED_NAME_EXTENDED_RESOURCE_NAME = "extendedResourceName"; + @SerializedName(SERIALIZED_NAME_EXTENDED_RESOURCE_NAME) + @jakarta.annotation.Nullable + private String extendedResourceName; + public static final String SERIALIZED_NAME_SELECTORS = "selectors"; @SerializedName(SERIALIZED_NAME_SELECTORS) @jakarta.annotation.Nullable @@ -97,6 +103,26 @@ public void setConfig(@jakarta.annotation.Nullable List selectors) { this.selectors = selectors; return this; @@ -136,12 +162,13 @@ public boolean equals(Object o) { } V1beta2DeviceClassSpec v1beta2DeviceClassSpec = (V1beta2DeviceClassSpec) o; return Objects.equals(this.config, v1beta2DeviceClassSpec.config) && + Objects.equals(this.extendedResourceName, v1beta2DeviceClassSpec.extendedResourceName) && Objects.equals(this.selectors, v1beta2DeviceClassSpec.selectors); } @Override public int hashCode() { - return Objects.hash(config, selectors); + return Objects.hash(config, extendedResourceName, selectors); } @Override @@ -149,6 +176,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class V1beta2DeviceClassSpec {\n"); sb.append(" config: ").append(toIndentedString(config)).append("\n"); + sb.append(" extendedResourceName: ").append(toIndentedString(extendedResourceName)).append("\n"); sb.append(" selectors: ").append(toIndentedString(selectors)).append("\n"); sb.append("}"); return sb.toString(); @@ -173,6 +201,7 @@ private String toIndentedString(Object o) { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); openapiFields.add("config"); + openapiFields.add("extendedResourceName"); openapiFields.add("selectors"); // a set of required properties/fields (JSON key names) @@ -214,6 +243,9 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti }; } } + if ((jsonObj.get("extendedResourceName") != null && !jsonObj.get("extendedResourceName").isJsonNull()) && !jsonObj.get("extendedResourceName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `extendedResourceName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("extendedResourceName").toString())); + } if (jsonObj.get("selectors") != null && !jsonObj.get("selectors").isJsonNull()) { JsonArray jsonArrayselectors = jsonObj.getAsJsonArray("selectors"); if (jsonArrayselectors != null) { @@ -279,3 +311,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceConstraint.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceConstraint.java index f5cd91ef6d..b30b31d5a1 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceConstraint.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceConstraint.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,8 +53,13 @@ * DeviceConstraint must have exactly one field set besides Requests. */ @ApiModel(description = "DeviceConstraint must have exactly one field set besides Requests.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta2DeviceConstraint { + public static final String SERIALIZED_NAME_DISTINCT_ATTRIBUTE = "distinctAttribute"; + @SerializedName(SERIALIZED_NAME_DISTINCT_ATTRIBUTE) + @jakarta.annotation.Nullable + private String distinctAttribute; + public static final String SERIALIZED_NAME_MATCH_ATTRIBUTE = "matchAttribute"; @SerializedName(SERIALIZED_NAME_MATCH_ATTRIBUTE) @jakarta.annotation.Nullable @@ -67,6 +73,26 @@ public class V1beta2DeviceConstraint { public V1beta2DeviceConstraint() { } + public V1beta2DeviceConstraint distinctAttribute(@jakarta.annotation.Nullable String distinctAttribute) { + this.distinctAttribute = distinctAttribute; + return this; + } + + /** + * DistinctAttribute requires that all devices in question have this attribute and that its type and value are unique across those devices. This acts as the inverse of MatchAttribute. This constraint is used to avoid allocating multiple requests to the same device by ensuring attribute-level differentiation. 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. + * @return distinctAttribute + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "DistinctAttribute requires that all devices in question have this attribute and that its type and value are unique across those devices. This acts as the inverse of MatchAttribute. This constraint is used to avoid allocating multiple requests to the same device by ensuring attribute-level differentiation. 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.") + public String getDistinctAttribute() { + return distinctAttribute; + } + + public void setDistinctAttribute(@jakarta.annotation.Nullable String distinctAttribute) { + this.distinctAttribute = distinctAttribute; + } + + public V1beta2DeviceConstraint matchAttribute(@jakarta.annotation.Nullable String matchAttribute) { this.matchAttribute = matchAttribute; return this; @@ -125,19 +151,21 @@ public boolean equals(Object o) { return false; } V1beta2DeviceConstraint v1beta2DeviceConstraint = (V1beta2DeviceConstraint) o; - return Objects.equals(this.matchAttribute, v1beta2DeviceConstraint.matchAttribute) && + return Objects.equals(this.distinctAttribute, v1beta2DeviceConstraint.distinctAttribute) && + Objects.equals(this.matchAttribute, v1beta2DeviceConstraint.matchAttribute) && Objects.equals(this.requests, v1beta2DeviceConstraint.requests); } @Override public int hashCode() { - return Objects.hash(matchAttribute, requests); + return Objects.hash(distinctAttribute, matchAttribute, requests); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class V1beta2DeviceConstraint {\n"); + sb.append(" distinctAttribute: ").append(toIndentedString(distinctAttribute)).append("\n"); sb.append(" matchAttribute: ").append(toIndentedString(matchAttribute)).append("\n"); sb.append(" requests: ").append(toIndentedString(requests)).append("\n"); sb.append("}"); @@ -162,6 +190,7 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); + openapiFields.add("distinctAttribute"); openapiFields.add("matchAttribute"); openapiFields.add("requests"); @@ -190,6 +219,9 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } } JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("distinctAttribute") != null && !jsonObj.get("distinctAttribute").isJsonNull()) && !jsonObj.get("distinctAttribute").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `distinctAttribute` to be a primitive type in the JSON string but got `%s`", jsonObj.get("distinctAttribute").toString())); + } if ((jsonObj.get("matchAttribute") != null && !jsonObj.get("matchAttribute").isJsonNull()) && !jsonObj.get("matchAttribute").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `matchAttribute` to be a primitive type in the JSON string but got `%s`", jsonObj.get("matchAttribute").toString())); } @@ -248,3 +280,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceCounterConsumption.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceCounterConsumption.java index 972208f235..0ad003b6aa 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceCounterConsumption.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceCounterConsumption.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * DeviceCounterConsumption defines a set of counters that a device will consume from a CounterSet. */ @ApiModel(description = "DeviceCounterConsumption defines a set of counters that a device will consume from a CounterSet.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta2DeviceCounterConsumption { public static final String SERIALIZED_NAME_COUNTER_SET = "counterSet"; @SerializedName(SERIALIZED_NAME_COUNTER_SET) @@ -254,3 +255,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceRequest.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceRequest.java index 324fea89f4..aeb3bf4621 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceRequest.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceRequest.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * DeviceRequest is a request for devices required for a claim. This is typically a request for a single resource like a device, but can also ask for several identical devices. With FirstAvailable it is also possible to provide a prioritized list of requests. */ @ApiModel(description = "DeviceRequest is a request for devices required for a claim. This is typically a request for a single resource like a device, but can also ask for several identical devices. With FirstAvailable it is also possible to provide a prioritized list of requests.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta2DeviceRequest { public static final String SERIALIZED_NAME_EXACTLY = "exactly"; @SerializedName(SERIALIZED_NAME_EXACTLY) @@ -300,3 +301,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceRequestAllocationResult.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceRequestAllocationResult.java index 55c4be075c..b6dc11b5aa 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceRequestAllocationResult.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceRequestAllocationResult.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -18,13 +19,16 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.custom.Quantity; import io.kubernetes.client.openapi.models.V1beta2DeviceToleration; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; +import java.util.HashMap; import java.util.List; +import java.util.Map; import com.google.gson.Gson; import com.google.gson.GsonBuilder; @@ -53,13 +57,28 @@ * DeviceRequestAllocationResult contains the allocation result for one request. */ @ApiModel(description = "DeviceRequestAllocationResult contains the allocation result for one request.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta2DeviceRequestAllocationResult { public static final String SERIALIZED_NAME_ADMIN_ACCESS = "adminAccess"; @SerializedName(SERIALIZED_NAME_ADMIN_ACCESS) @jakarta.annotation.Nullable private Boolean adminAccess; + public static final String SERIALIZED_NAME_BINDING_CONDITIONS = "bindingConditions"; + @SerializedName(SERIALIZED_NAME_BINDING_CONDITIONS) + @jakarta.annotation.Nullable + private List bindingConditions = new ArrayList<>(); + + public static final String SERIALIZED_NAME_BINDING_FAILURE_CONDITIONS = "bindingFailureConditions"; + @SerializedName(SERIALIZED_NAME_BINDING_FAILURE_CONDITIONS) + @jakarta.annotation.Nullable + private List bindingFailureConditions = new ArrayList<>(); + + public static final String SERIALIZED_NAME_CONSUMED_CAPACITY = "consumedCapacity"; + @SerializedName(SERIALIZED_NAME_CONSUMED_CAPACITY) + @jakarta.annotation.Nullable + private Map consumedCapacity = new HashMap<>(); + public static final String SERIALIZED_NAME_DEVICE = "device"; @SerializedName(SERIALIZED_NAME_DEVICE) @jakarta.annotation.Nonnull @@ -80,6 +99,11 @@ public class V1beta2DeviceRequestAllocationResult { @jakarta.annotation.Nonnull private String request; + public static final String SERIALIZED_NAME_SHARE_I_D = "shareID"; + @SerializedName(SERIALIZED_NAME_SHARE_I_D) + @jakarta.annotation.Nullable + private String shareID; + public static final String SERIALIZED_NAME_TOLERATIONS = "tolerations"; @SerializedName(SERIALIZED_NAME_TOLERATIONS) @jakarta.annotation.Nullable @@ -108,6 +132,90 @@ public void setAdminAccess(@jakarta.annotation.Nullable Boolean adminAccess) { } + public V1beta2DeviceRequestAllocationResult bindingConditions(@jakarta.annotation.Nullable List bindingConditions) { + this.bindingConditions = bindingConditions; + return this; + } + + public V1beta2DeviceRequestAllocationResult addBindingConditionsItem(String bindingConditionsItem) { + if (this.bindingConditions == null) { + this.bindingConditions = new ArrayList<>(); + } + this.bindingConditions.add(bindingConditionsItem); + return this; + } + + /** + * 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 feature gates. + * @return bindingConditions + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "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 feature gates.") + public List getBindingConditions() { + return bindingConditions; + } + + public void setBindingConditions(@jakarta.annotation.Nullable List bindingConditions) { + this.bindingConditions = bindingConditions; + } + + + public V1beta2DeviceRequestAllocationResult bindingFailureConditions(@jakarta.annotation.Nullable List bindingFailureConditions) { + this.bindingFailureConditions = bindingFailureConditions; + return this; + } + + public V1beta2DeviceRequestAllocationResult addBindingFailureConditionsItem(String bindingFailureConditionsItem) { + if (this.bindingFailureConditions == null) { + this.bindingFailureConditions = new ArrayList<>(); + } + this.bindingFailureConditions.add(bindingFailureConditionsItem); + return this; + } + + /** + * 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 feature gates. + * @return bindingFailureConditions + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "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 feature gates.") + public List getBindingFailureConditions() { + return bindingFailureConditions; + } + + public void setBindingFailureConditions(@jakarta.annotation.Nullable List bindingFailureConditions) { + this.bindingFailureConditions = bindingFailureConditions; + } + + + public V1beta2DeviceRequestAllocationResult consumedCapacity(@jakarta.annotation.Nullable Map consumedCapacity) { + this.consumedCapacity = consumedCapacity; + return this; + } + + public V1beta2DeviceRequestAllocationResult putConsumedCapacityItem(String key, Quantity consumedCapacityItem) { + if (this.consumedCapacity == null) { + this.consumedCapacity = new HashMap<>(); + } + this.consumedCapacity.put(key, consumedCapacityItem); + return this; + } + + /** + * 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 value based on the device’s requestPolicy if applicable (i.e., may not be less than the requested amount). The total consumed capacity for each device must not exceed the DeviceCapacity's Value. This field is populated only for devices that allow multiple allocations. All capacity entries are included, even if the consumed amount is zero. + * @return consumedCapacity + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "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 value based on the device’s requestPolicy if applicable (i.e., may not be less than the requested amount). The total consumed capacity for each device must not exceed the DeviceCapacity's Value. This field is populated only for devices that allow multiple allocations. All capacity entries are included, even if the consumed amount is zero.") + public Map getConsumedCapacity() { + return consumedCapacity; + } + + public void setConsumedCapacity(@jakarta.annotation.Nullable Map consumedCapacity) { + this.consumedCapacity = consumedCapacity; + } + + public V1beta2DeviceRequestAllocationResult device(@jakarta.annotation.Nonnull String device) { this.device = device; return this; @@ -188,6 +296,26 @@ public void setRequest(@jakarta.annotation.Nonnull String request) { } + public V1beta2DeviceRequestAllocationResult shareID(@jakarta.annotation.Nullable String shareID) { + this.shareID = shareID; + return this; + } + + /** + * 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. + * @return shareID + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "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.") + public String getShareID() { + return shareID; + } + + public void setShareID(@jakarta.annotation.Nullable String shareID) { + this.shareID = shareID; + } + + public V1beta2DeviceRequestAllocationResult tolerations(@jakarta.annotation.Nullable List tolerations) { this.tolerations = tolerations; return this; @@ -227,16 +355,20 @@ public boolean equals(Object o) { } V1beta2DeviceRequestAllocationResult v1beta2DeviceRequestAllocationResult = (V1beta2DeviceRequestAllocationResult) o; return Objects.equals(this.adminAccess, v1beta2DeviceRequestAllocationResult.adminAccess) && + Objects.equals(this.bindingConditions, v1beta2DeviceRequestAllocationResult.bindingConditions) && + Objects.equals(this.bindingFailureConditions, v1beta2DeviceRequestAllocationResult.bindingFailureConditions) && + Objects.equals(this.consumedCapacity, v1beta2DeviceRequestAllocationResult.consumedCapacity) && Objects.equals(this.device, v1beta2DeviceRequestAllocationResult.device) && Objects.equals(this.driver, v1beta2DeviceRequestAllocationResult.driver) && Objects.equals(this.pool, v1beta2DeviceRequestAllocationResult.pool) && Objects.equals(this.request, v1beta2DeviceRequestAllocationResult.request) && + Objects.equals(this.shareID, v1beta2DeviceRequestAllocationResult.shareID) && Objects.equals(this.tolerations, v1beta2DeviceRequestAllocationResult.tolerations); } @Override public int hashCode() { - return Objects.hash(adminAccess, device, driver, pool, request, tolerations); + return Objects.hash(adminAccess, bindingConditions, bindingFailureConditions, consumedCapacity, device, driver, pool, request, shareID, tolerations); } @Override @@ -244,10 +376,14 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class V1beta2DeviceRequestAllocationResult {\n"); sb.append(" adminAccess: ").append(toIndentedString(adminAccess)).append("\n"); + sb.append(" bindingConditions: ").append(toIndentedString(bindingConditions)).append("\n"); + sb.append(" bindingFailureConditions: ").append(toIndentedString(bindingFailureConditions)).append("\n"); + sb.append(" consumedCapacity: ").append(toIndentedString(consumedCapacity)).append("\n"); sb.append(" device: ").append(toIndentedString(device)).append("\n"); sb.append(" driver: ").append(toIndentedString(driver)).append("\n"); sb.append(" pool: ").append(toIndentedString(pool)).append("\n"); sb.append(" request: ").append(toIndentedString(request)).append("\n"); + sb.append(" shareID: ").append(toIndentedString(shareID)).append("\n"); sb.append(" tolerations: ").append(toIndentedString(tolerations)).append("\n"); sb.append("}"); return sb.toString(); @@ -272,10 +408,14 @@ private String toIndentedString(Object o) { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); openapiFields.add("adminAccess"); + openapiFields.add("bindingConditions"); + openapiFields.add("bindingFailureConditions"); + openapiFields.add("consumedCapacity"); openapiFields.add("device"); openapiFields.add("driver"); openapiFields.add("pool"); openapiFields.add("request"); + openapiFields.add("shareID"); openapiFields.add("tolerations"); // a set of required properties/fields (JSON key names) @@ -314,6 +454,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } } JsonObject jsonObj = jsonElement.getAsJsonObject(); + // ensure the optional json data is an array if present + if (jsonObj.get("bindingConditions") != null && !jsonObj.get("bindingConditions").isJsonNull() && !jsonObj.get("bindingConditions").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `bindingConditions` to be an array in the JSON string but got `%s`", jsonObj.get("bindingConditions").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("bindingFailureConditions") != null && !jsonObj.get("bindingFailureConditions").isJsonNull() && !jsonObj.get("bindingFailureConditions").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `bindingFailureConditions` to be an array in the JSON string but got `%s`", jsonObj.get("bindingFailureConditions").toString())); + } if (!jsonObj.get("device").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `device` to be a primitive type in the JSON string but got `%s`", jsonObj.get("device").toString())); } @@ -326,6 +474,9 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!jsonObj.get("request").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `request` to be a primitive type in the JSON string but got `%s`", jsonObj.get("request").toString())); } + if ((jsonObj.get("shareID") != null && !jsonObj.get("shareID").isJsonNull()) && !jsonObj.get("shareID").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `shareID` to be a primitive type in the JSON string but got `%s`", jsonObj.get("shareID").toString())); + } if (jsonObj.get("tolerations") != null && !jsonObj.get("tolerations").isJsonNull()) { JsonArray jsonArraytolerations = jsonObj.getAsJsonArray("tolerations"); if (jsonArraytolerations != null) { @@ -391,3 +542,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceSelector.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceSelector.java index d999b24a29..6e22af9eb0 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceSelector.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceSelector.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * DeviceSelector must have exactly one field set. */ @ApiModel(description = "DeviceSelector must have exactly one field set.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta2DeviceSelector { public static final String SERIALIZED_NAME_CEL = "cel"; @SerializedName(SERIALIZED_NAME_CEL) @@ -208,3 +209,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceSubRequest.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceSubRequest.java index 2e27a42aa0..f6591e89f0 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceSubRequest.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceSubRequest.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -18,6 +19,7 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.openapi.models.V1beta2CapacityRequirements; import io.kubernetes.client.openapi.models.V1beta2DeviceSelector; import io.kubernetes.client.openapi.models.V1beta2DeviceToleration; import io.swagger.annotations.ApiModel; @@ -54,13 +56,18 @@ * DeviceSubRequest describes a request for device provided in the claim.spec.devices.requests[].firstAvailable array. Each is typically a request for a single resource like a device, but can also ask for several identical devices. DeviceSubRequest is similar to ExactDeviceRequest, but doesn't expose the AdminAccess field as that one is only supported when requesting a specific device. */ @ApiModel(description = "DeviceSubRequest describes a request for device provided in the claim.spec.devices.requests[].firstAvailable array. Each is typically a request for a single resource like a device, but can also ask for several identical devices. DeviceSubRequest is similar to ExactDeviceRequest, but doesn't expose the AdminAccess field as that one is only supported when requesting a specific device.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta2DeviceSubRequest { public static final String SERIALIZED_NAME_ALLOCATION_MODE = "allocationMode"; @SerializedName(SERIALIZED_NAME_ALLOCATION_MODE) @jakarta.annotation.Nullable private String allocationMode; + public static final String SERIALIZED_NAME_CAPACITY = "capacity"; + @SerializedName(SERIALIZED_NAME_CAPACITY) + @jakarta.annotation.Nullable + private V1beta2CapacityRequirements capacity; + public static final String SERIALIZED_NAME_COUNT = "count"; @SerializedName(SERIALIZED_NAME_COUNT) @jakarta.annotation.Nullable @@ -109,6 +116,26 @@ public void setAllocationMode(@jakarta.annotation.Nullable String allocationMode } + public V1beta2DeviceSubRequest capacity(@jakarta.annotation.Nullable V1beta2CapacityRequirements capacity) { + this.capacity = capacity; + return this; + } + + /** + * Get capacity + * @return capacity + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "") + public V1beta2CapacityRequirements getCapacity() { + return capacity; + } + + public void setCapacity(@jakarta.annotation.Nullable V1beta2CapacityRequirements capacity) { + this.capacity = capacity; + } + + public V1beta2DeviceSubRequest count(@jakarta.annotation.Nullable Long count) { this.count = count; return this; @@ -236,6 +263,7 @@ public boolean equals(Object o) { } V1beta2DeviceSubRequest v1beta2DeviceSubRequest = (V1beta2DeviceSubRequest) o; return Objects.equals(this.allocationMode, v1beta2DeviceSubRequest.allocationMode) && + Objects.equals(this.capacity, v1beta2DeviceSubRequest.capacity) && Objects.equals(this.count, v1beta2DeviceSubRequest.count) && Objects.equals(this.deviceClassName, v1beta2DeviceSubRequest.deviceClassName) && Objects.equals(this.name, v1beta2DeviceSubRequest.name) && @@ -245,7 +273,7 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(allocationMode, count, deviceClassName, name, selectors, tolerations); + return Objects.hash(allocationMode, capacity, count, deviceClassName, name, selectors, tolerations); } @Override @@ -253,6 +281,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class V1beta2DeviceSubRequest {\n"); sb.append(" allocationMode: ").append(toIndentedString(allocationMode)).append("\n"); + sb.append(" capacity: ").append(toIndentedString(capacity)).append("\n"); sb.append(" count: ").append(toIndentedString(count)).append("\n"); sb.append(" deviceClassName: ").append(toIndentedString(deviceClassName)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); @@ -281,6 +310,7 @@ private String toIndentedString(Object o) { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); openapiFields.add("allocationMode"); + openapiFields.add("capacity"); openapiFields.add("count"); openapiFields.add("deviceClassName"); openapiFields.add("name"); @@ -324,6 +354,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if ((jsonObj.get("allocationMode") != null && !jsonObj.get("allocationMode").isJsonNull()) && !jsonObj.get("allocationMode").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `allocationMode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("allocationMode").toString())); } + // validate the optional field `capacity` + if (jsonObj.get("capacity") != null && !jsonObj.get("capacity").isJsonNull()) { + V1beta2CapacityRequirements.validateJsonElement(jsonObj.get("capacity")); + } if (!jsonObj.get("deviceClassName").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `deviceClassName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("deviceClassName").toString())); } @@ -409,3 +443,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceTaint.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceTaint.java index 5ff9ab7e33..7a9e58e6c3 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceTaint.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceTaint.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * The device this taint is attached to has the \"effect\" on any claim which does not tolerate the taint and, through the claim, to pods using the claim. */ @ApiModel(description = "The device this taint is attached to has the \"effect\" on any claim which does not tolerate the taint and, through the claim, to pods using the claim.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta2DeviceTaint { public static final String SERIALIZED_NAME_EFFECT = "effect"; @SerializedName(SERIALIZED_NAME_EFFECT) @@ -306,3 +307,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceToleration.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceToleration.java index 815a8edb7d..572395d35d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceToleration.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2DeviceToleration.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * The ResourceClaim this DeviceToleration is attached to tolerates any taint that matches the triple <key,value,effect> using the matching operator <operator>. */ @ApiModel(description = "The ResourceClaim this DeviceToleration is attached to tolerates any taint that matches the triple using the matching operator .") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta2DeviceToleration { public static final String SERIALIZED_NAME_EFFECT = "effect"; @SerializedName(SERIALIZED_NAME_EFFECT) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2ExactDeviceRequest.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2ExactDeviceRequest.java index d1d620d1ed..27d827de90 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2ExactDeviceRequest.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2ExactDeviceRequest.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -18,6 +19,7 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.openapi.models.V1beta2CapacityRequirements; import io.kubernetes.client.openapi.models.V1beta2DeviceSelector; import io.kubernetes.client.openapi.models.V1beta2DeviceToleration; import io.swagger.annotations.ApiModel; @@ -54,7 +56,7 @@ * ExactDeviceRequest is a request for one or more identical devices. */ @ApiModel(description = "ExactDeviceRequest is a request for one or more identical devices.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta2ExactDeviceRequest { public static final String SERIALIZED_NAME_ADMIN_ACCESS = "adminAccess"; @SerializedName(SERIALIZED_NAME_ADMIN_ACCESS) @@ -66,6 +68,11 @@ public class V1beta2ExactDeviceRequest { @jakarta.annotation.Nullable private String allocationMode; + public static final String SERIALIZED_NAME_CAPACITY = "capacity"; + @SerializedName(SERIALIZED_NAME_CAPACITY) + @jakarta.annotation.Nullable + private V1beta2CapacityRequirements capacity; + public static final String SERIALIZED_NAME_COUNT = "count"; @SerializedName(SERIALIZED_NAME_COUNT) @jakarta.annotation.Nullable @@ -129,6 +136,26 @@ public void setAllocationMode(@jakarta.annotation.Nullable String allocationMode } + public V1beta2ExactDeviceRequest capacity(@jakarta.annotation.Nullable V1beta2CapacityRequirements capacity) { + this.capacity = capacity; + return this; + } + + /** + * Get capacity + * @return capacity + */ + @jakarta.annotation.Nullable + @ApiModelProperty(value = "") + public V1beta2CapacityRequirements getCapacity() { + return capacity; + } + + public void setCapacity(@jakarta.annotation.Nullable V1beta2CapacityRequirements capacity) { + this.capacity = capacity; + } + + public V1beta2ExactDeviceRequest count(@jakarta.annotation.Nullable Long count) { this.count = count; return this; @@ -237,6 +264,7 @@ public boolean equals(Object o) { V1beta2ExactDeviceRequest v1beta2ExactDeviceRequest = (V1beta2ExactDeviceRequest) o; return Objects.equals(this.adminAccess, v1beta2ExactDeviceRequest.adminAccess) && Objects.equals(this.allocationMode, v1beta2ExactDeviceRequest.allocationMode) && + Objects.equals(this.capacity, v1beta2ExactDeviceRequest.capacity) && Objects.equals(this.count, v1beta2ExactDeviceRequest.count) && Objects.equals(this.deviceClassName, v1beta2ExactDeviceRequest.deviceClassName) && Objects.equals(this.selectors, v1beta2ExactDeviceRequest.selectors) && @@ -245,7 +273,7 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(adminAccess, allocationMode, count, deviceClassName, selectors, tolerations); + return Objects.hash(adminAccess, allocationMode, capacity, count, deviceClassName, selectors, tolerations); } @Override @@ -254,6 +282,7 @@ public String toString() { sb.append("class V1beta2ExactDeviceRequest {\n"); sb.append(" adminAccess: ").append(toIndentedString(adminAccess)).append("\n"); sb.append(" allocationMode: ").append(toIndentedString(allocationMode)).append("\n"); + sb.append(" capacity: ").append(toIndentedString(capacity)).append("\n"); sb.append(" count: ").append(toIndentedString(count)).append("\n"); sb.append(" deviceClassName: ").append(toIndentedString(deviceClassName)).append("\n"); sb.append(" selectors: ").append(toIndentedString(selectors)).append("\n"); @@ -282,6 +311,7 @@ private String toIndentedString(Object o) { openapiFields = new HashSet(); openapiFields.add("adminAccess"); openapiFields.add("allocationMode"); + openapiFields.add("capacity"); openapiFields.add("count"); openapiFields.add("deviceClassName"); openapiFields.add("selectors"); @@ -323,6 +353,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if ((jsonObj.get("allocationMode") != null && !jsonObj.get("allocationMode").isJsonNull()) && !jsonObj.get("allocationMode").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `allocationMode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("allocationMode").toString())); } + // validate the optional field `capacity` + if (jsonObj.get("capacity") != null && !jsonObj.get("capacity").isJsonNull()) { + V1beta2CapacityRequirements.validateJsonElement(jsonObj.get("capacity")); + } if (!jsonObj.get("deviceClassName").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `deviceClassName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("deviceClassName").toString())); } @@ -405,3 +439,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2NetworkDeviceData.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2NetworkDeviceData.java index 8e83e63073..0de404b6d3 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2NetworkDeviceData.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2NetworkDeviceData.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * NetworkDeviceData provides network-related details for the allocated device. This information may be filled by drivers or other components to configure or identify the device within a network context. */ @ApiModel(description = "NetworkDeviceData provides network-related details for the allocated device. This information may be filled by drivers or other components to configure or identify the device within a network context.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta2NetworkDeviceData { public static final String SERIALIZED_NAME_HARDWARE_ADDRESS = "hardwareAddress"; @SerializedName(SERIALIZED_NAME_HARDWARE_ADDRESS) @@ -279,3 +280,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2OpaqueDeviceConfiguration.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2OpaqueDeviceConfiguration.java index 9001dba1b2..05dbd81cd8 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2OpaqueDeviceConfiguration.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2OpaqueDeviceConfiguration.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * OpaqueDeviceConfiguration contains configuration parameters for a driver in a format defined by the driver vendor. */ @ApiModel(description = "OpaqueDeviceConfiguration contains configuration parameters for a driver in a format defined by the driver vendor.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta2OpaqueDeviceConfiguration { public static final String SERIALIZED_NAME_DRIVER = "driver"; @SerializedName(SERIALIZED_NAME_DRIVER) @@ -243,3 +244,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2ResourceClaim.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2ResourceClaim.java index 5c95f6d6c6..34f475b933 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2ResourceClaim.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2ResourceClaim.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * ResourceClaim describes a request for access to resources in the cluster, for use by workloads. For example, if a workload needs an accelerator device with specific properties, this is how that request is expressed. The status stanza tracks whether this claim has been satisfied and what specific resources have been allocated. This is an alpha type and requires enabling the DynamicResourceAllocation feature gate. */ @ApiModel(description = "ResourceClaim describes a request for access to resources in the cluster, for use by workloads. For example, if a workload needs an accelerator device with specific properties, this is how that request is expressed. The status stanza tracks whether this claim has been satisfied and what specific resources have been allocated. This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta2ResourceClaim implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -342,3 +343,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2ResourceClaimConsumerReference.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2ResourceClaimConsumerReference.java index cba1398f44..1e9f31713d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2ResourceClaimConsumerReference.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2ResourceClaimConsumerReference.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * ResourceClaimConsumerReference contains enough information to let you locate the consumer of a ResourceClaim. The user must be a resource in the same namespace as the ResourceClaim. */ @ApiModel(description = "ResourceClaimConsumerReference contains enough information to let you locate the consumer of a ResourceClaim. The user must be a resource in the same namespace as the ResourceClaim.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta2ResourceClaimConsumerReference { public static final String SERIALIZED_NAME_API_GROUP = "apiGroup"; @SerializedName(SERIALIZED_NAME_API_GROUP) @@ -309,3 +310,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2ResourceClaimList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2ResourceClaimList.java index 8ed5b6e55a..5bc19e0373 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2ResourceClaimList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2ResourceClaimList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * ResourceClaimList is a collection of claims. */ @ApiModel(description = "ResourceClaimList is a collection of claims.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta2ResourceClaimList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2ResourceClaimSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2ResourceClaimSpec.java index 2f8ec6ad93..fe7299d060 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2ResourceClaimSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2ResourceClaimSpec.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * ResourceClaimSpec defines what is being requested in a ResourceClaim and how to configure it. */ @ApiModel(description = "ResourceClaimSpec defines what is being requested in a ResourceClaim and how to configure it.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta2ResourceClaimSpec { public static final String SERIALIZED_NAME_DEVICES = "devices"; @SerializedName(SERIALIZED_NAME_DEVICES) @@ -208,3 +209,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2ResourceClaimStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2ResourceClaimStatus.java index 4856aeb0a1..195eb98f8b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2ResourceClaimStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2ResourceClaimStatus.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -55,7 +56,7 @@ * ResourceClaimStatus tracks whether the resource has been allocated and what the result of that was. */ @ApiModel(description = "ResourceClaimStatus tracks whether the resource has been allocated and what the result of that was.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta2ResourceClaimStatus { public static final String SERIALIZED_NAME_ALLOCATION = "allocation"; @SerializedName(SERIALIZED_NAME_ALLOCATION) @@ -312,3 +313,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2ResourceClaimTemplate.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2ResourceClaimTemplate.java index ed4d733f46..fd31036f52 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2ResourceClaimTemplate.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2ResourceClaimTemplate.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * ResourceClaimTemplate is used to produce ResourceClaim objects. This is an alpha type and requires enabling the DynamicResourceAllocation feature gate. */ @ApiModel(description = "ResourceClaimTemplate is used to produce ResourceClaim objects. This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta2ResourceClaimTemplate implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -309,3 +310,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2ResourceClaimTemplateList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2ResourceClaimTemplateList.java index 78882ed92f..c1f87d418e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2ResourceClaimTemplateList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2ResourceClaimTemplateList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * ResourceClaimTemplateList is a collection of claim templates. */ @ApiModel(description = "ResourceClaimTemplateList is a collection of claim templates.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta2ResourceClaimTemplateList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2ResourceClaimTemplateSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2ResourceClaimTemplateSpec.java index 34625ef45d..8763cb4e66 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2ResourceClaimTemplateSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2ResourceClaimTemplateSpec.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * ResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim. */ @ApiModel(description = "ResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta2ResourceClaimTemplateSpec { public static final String SERIALIZED_NAME_METADATA = "metadata"; @SerializedName(SERIALIZED_NAME_METADATA) @@ -247,3 +248,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2ResourcePool.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2ResourcePool.java index 998d8232b3..3bcca76db0 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2ResourcePool.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2ResourcePool.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * ResourcePool describes the pool that ResourceSlices belong to. */ @ApiModel(description = "ResourcePool describes the pool that ResourceSlices belong to.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta2ResourcePool { public static final String SERIALIZED_NAME_GENERATION = "generation"; @SerializedName(SERIALIZED_NAME_GENERATION) @@ -272,3 +273,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2ResourceSlice.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2ResourceSlice.java index 125056b0c0..d17724229e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2ResourceSlice.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2ResourceSlice.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * ResourceSlice represents one or more resources in a pool of similar resources, managed by a common driver. A pool may span more than one ResourceSlice, and exactly how many ResourceSlices comprise a pool is determined by the driver. At the moment, the only supported resources are devices with attributes and capacities. Each device in a given pool, regardless of how many ResourceSlices, must have a unique name. The ResourceSlice in which a device gets published may change over time. The unique identifier for a device is the tuple <driver name>, <pool name>, <device name>. Whenever a driver needs to update a pool, it increments the pool.Spec.Pool.Generation number and updates all ResourceSlices with that new number and new resource definitions. A consumer must only use ResourceSlices with the highest generation number and ignore all others. When allocating all resources in a pool matching certain criteria or when looking for the best solution among several different alternatives, a consumer should check the number of ResourceSlices in a pool (included in each ResourceSlice) to determine whether its view of a pool is complete and if not, should wait until the driver has completed updating the pool. For resources that are not local to a node, the node name is not set. Instead, the driver may use a node selector to specify where the devices are available. This is an alpha type and requires enabling the DynamicResourceAllocation feature gate. */ @ApiModel(description = "ResourceSlice represents one or more resources in a pool of similar resources, managed by a common driver. A pool may span more than one ResourceSlice, and exactly how many ResourceSlices comprise a pool is determined by the driver. At the moment, the only supported resources are devices with attributes and capacities. Each device in a given pool, regardless of how many ResourceSlices, must have a unique name. The ResourceSlice in which a device gets published may change over time. The unique identifier for a device is the tuple , , . Whenever a driver needs to update a pool, it increments the pool.Spec.Pool.Generation number and updates all ResourceSlices with that new number and new resource definitions. A consumer must only use ResourceSlices with the highest generation number and ignore all others. When allocating all resources in a pool matching certain criteria or when looking for the best solution among several different alternatives, a consumer should check the number of ResourceSlices in a pool (included in each ResourceSlice) to determine whether its view of a pool is complete and if not, should wait until the driver has completed updating the pool. For resources that are not local to a node, the node name is not set. Instead, the driver may use a node selector to specify where the devices are available. This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta2ResourceSlice implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -309,3 +310,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2ResourceSliceList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2ResourceSliceList.java index 843f3b40b7..14f6d9bdd3 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2ResourceSliceList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2ResourceSliceList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * ResourceSliceList is a collection of ResourceSlices. */ @ApiModel(description = "ResourceSliceList is a collection of ResourceSlices.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta2ResourceSliceList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2ResourceSliceSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2ResourceSliceSpec.java index 1baa37564c..56ba9f85f1 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2ResourceSliceSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1beta2ResourceSliceSpec.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -56,7 +57,7 @@ * ResourceSliceSpec contains the information published by the driver in one ResourceSlice. */ @ApiModel(description = "ResourceSliceSpec contains the information published by the driver in one ResourceSlice.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V1beta2ResourceSliceSpec { public static final String SERIALIZED_NAME_ALL_NODES = "allNodes"; @SerializedName(SERIALIZED_NAME_ALL_NODES) @@ -470,3 +471,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2ContainerResourceMetricSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2ContainerResourceMetricSource.java index c421a5e1a0..e802a4e926 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2ContainerResourceMetricSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2ContainerResourceMetricSource.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * ContainerResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. Only one \"target\" type should be set. */ @ApiModel(description = "ContainerResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. Only one \"target\" type should be set.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V2ContainerResourceMetricSource { public static final String SERIALIZED_NAME_CONTAINER = "container"; @SerializedName(SERIALIZED_NAME_CONTAINER) @@ -278,3 +279,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2ContainerResourceMetricStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2ContainerResourceMetricStatus.java index c8b2f61f62..c16c02dc19 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2ContainerResourceMetricStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2ContainerResourceMetricStatus.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * ContainerResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. */ @ApiModel(description = "ContainerResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V2ContainerResourceMetricStatus { public static final String SERIALIZED_NAME_CONTAINER = "container"; @SerializedName(SERIALIZED_NAME_CONTAINER) @@ -278,3 +279,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2CrossVersionObjectReference.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2CrossVersionObjectReference.java index 29d045d24f..5bd0538938 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2CrossVersionObjectReference.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2CrossVersionObjectReference.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * CrossVersionObjectReference contains enough information to let you identify the referred resource. */ @ApiModel(description = "CrossVersionObjectReference contains enough information to let you identify the referred resource.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V2CrossVersionObjectReference { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -277,3 +278,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2ExternalMetricSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2ExternalMetricSource.java index f17399ebc7..d10d817244 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2ExternalMetricSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2ExternalMetricSource.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). */ @ApiModel(description = "ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V2ExternalMetricSource { public static final String SERIALIZED_NAME_METRIC = "metric"; @SerializedName(SERIALIZED_NAME_METRIC) @@ -246,3 +247,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2ExternalMetricStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2ExternalMetricStatus.java index 371ede68a3..f328c4acca 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2ExternalMetricStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2ExternalMetricStatus.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object. */ @ApiModel(description = "ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V2ExternalMetricStatus { public static final String SERIALIZED_NAME_CURRENT = "current"; @SerializedName(SERIALIZED_NAME_CURRENT) @@ -246,3 +247,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2HPAScalingPolicy.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2HPAScalingPolicy.java index 4b2d01806d..feda9e5aa9 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2HPAScalingPolicy.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2HPAScalingPolicy.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * HPAScalingPolicy is a single policy which must hold true for a specified past interval. */ @ApiModel(description = "HPAScalingPolicy is a single policy which must hold true for a specified past interval.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V2HPAScalingPolicy { public static final String SERIALIZED_NAME_PERIOD_SECONDS = "periodSeconds"; @SerializedName(SERIALIZED_NAME_PERIOD_SECONDS) @@ -272,3 +273,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2HPAScalingRules.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2HPAScalingRules.java index f8e9e77f25..3b503496b8 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2HPAScalingRules.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2HPAScalingRules.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * HPAScalingRules configures the scaling behavior for one direction via scaling Policy Rules and a configurable metric tolerance. Scaling Policy Rules are applied after calculating DesiredReplicas from metrics for the HPA. They can limit the scaling velocity by specifying scaling policies. They can prevent flapping by specifying the stabilization window, so that the number of replicas is not set instantly, instead, the safest value from the stabilization window is chosen. The tolerance is applied to the metric values and prevents scaling too eagerly for small metric variations. (Note that setting a tolerance requires enabling the alpha HPAConfigurableTolerance feature gate.) */ @ApiModel(description = "HPAScalingRules configures the scaling behavior for one direction via scaling Policy Rules and a configurable metric tolerance. Scaling Policy Rules are applied after calculating DesiredReplicas from metrics for the HPA. They can limit the scaling velocity by specifying scaling policies. They can prevent flapping by specifying the stabilization window, so that the number of replicas is not set instantly, instead, the safest value from the stabilization window is chosen. The tolerance is applied to the metric values and prevents scaling too eagerly for small metric variations. (Note that setting a tolerance requires enabling the alpha HPAConfigurableTolerance feature gate.)") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V2HPAScalingRules { public static final String SERIALIZED_NAME_POLICIES = "policies"; @SerializedName(SERIALIZED_NAME_POLICIES) @@ -319,3 +320,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2HorizontalPodAutoscaler.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2HorizontalPodAutoscaler.java index fb51a188b6..8d9ec39649 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2HorizontalPodAutoscaler.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2HorizontalPodAutoscaler.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified. */ @ApiModel(description = "HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V2HorizontalPodAutoscaler implements io.kubernetes.client.common.KubernetesObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -336,3 +337,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2HorizontalPodAutoscalerBehavior.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2HorizontalPodAutoscalerBehavior.java index ec3f928229..4a061ea23c 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2HorizontalPodAutoscalerBehavior.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2HorizontalPodAutoscalerBehavior.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * HorizontalPodAutoscalerBehavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively). */ @ApiModel(description = "HorizontalPodAutoscalerBehavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively).") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V2HorizontalPodAutoscalerBehavior { public static final String SERIALIZED_NAME_SCALE_DOWN = "scaleDown"; @SerializedName(SERIALIZED_NAME_SCALE_DOWN) @@ -240,3 +241,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2HorizontalPodAutoscalerCondition.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2HorizontalPodAutoscalerCondition.java index eea0415e8c..e6c3dc092f 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2HorizontalPodAutoscalerCondition.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2HorizontalPodAutoscalerCondition.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point. */ @ApiModel(description = "HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V2HorizontalPodAutoscalerCondition { public static final String SERIALIZED_NAME_LAST_TRANSITION_TIME = "lastTransitionTime"; @SerializedName(SERIALIZED_NAME_LAST_TRANSITION_TIME) @@ -337,3 +338,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2HorizontalPodAutoscalerList.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2HorizontalPodAutoscalerList.java index ef53df6a19..047fa40b40 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2HorizontalPodAutoscalerList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2HorizontalPodAutoscalerList.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -54,7 +55,7 @@ * HorizontalPodAutoscalerList is a list of horizontal pod autoscaler objects. */ @ApiModel(description = "HorizontalPodAutoscalerList is a list of horizontal pod autoscaler objects.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V2HorizontalPodAutoscalerList implements io.kubernetes.client.common.KubernetesListObject { public static final String SERIALIZED_NAME_API_VERSION = "apiVersion"; @SerializedName(SERIALIZED_NAME_API_VERSION) @@ -327,3 +328,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2HorizontalPodAutoscalerSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2HorizontalPodAutoscalerSpec.java index 8b810a15b6..1e481a71df 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2HorizontalPodAutoscalerSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2HorizontalPodAutoscalerSpec.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -55,7 +56,7 @@ * HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler. */ @ApiModel(description = "HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V2HorizontalPodAutoscalerSpec { public static final String SERIALIZED_NAME_BEHAVIOR = "behavior"; @SerializedName(SERIALIZED_NAME_BEHAVIOR) @@ -357,3 +358,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2HorizontalPodAutoscalerStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2HorizontalPodAutoscalerStatus.java index d74d54c1a3..85024b636b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2HorizontalPodAutoscalerStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2HorizontalPodAutoscalerStatus.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -55,7 +56,7 @@ * HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler. */ @ApiModel(description = "HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V2HorizontalPodAutoscalerStatus { public static final String SERIALIZED_NAME_CONDITIONS = "conditions"; @SerializedName(SERIALIZED_NAME_CONDITIONS) @@ -400,3 +401,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2MetricIdentifier.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2MetricIdentifier.java index c46bfd3f72..29cfa3f140 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2MetricIdentifier.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2MetricIdentifier.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * MetricIdentifier defines the name and optionally selector for a metric */ @ApiModel(description = "MetricIdentifier defines the name and optionally selector for a metric") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V2MetricIdentifier { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -247,3 +248,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2MetricSpec.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2MetricSpec.java index b840763eb7..61e3c7d2c2 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2MetricSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2MetricSpec.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -55,7 +56,7 @@ * MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once). */ @ApiModel(description = "MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V2MetricSpec { public static final String SERIALIZED_NAME_CONTAINER_RESOURCE = "containerResource"; @SerializedName(SERIALIZED_NAME_CONTAINER_RESOURCE) @@ -379,3 +380,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2MetricStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2MetricStatus.java index 833815842e..22f947ccb9 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2MetricStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2MetricStatus.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -55,7 +56,7 @@ * MetricStatus describes the last-read state of a single metric. */ @ApiModel(description = "MetricStatus describes the last-read state of a single metric.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V2MetricStatus { public static final String SERIALIZED_NAME_CONTAINER_RESOURCE = "containerResource"; @SerializedName(SERIALIZED_NAME_CONTAINER_RESOURCE) @@ -379,3 +380,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2MetricTarget.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2MetricTarget.java index b5c615c75e..b66d31b53b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2MetricTarget.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2MetricTarget.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * MetricTarget defines the target value, average value, or average utilization of a specific metric */ @ApiModel(description = "MetricTarget defines the target value, average value, or average utilization of a specific metric") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V2MetricTarget { public static final String SERIALIZED_NAME_AVERAGE_UTILIZATION = "averageUtilization"; @SerializedName(SERIALIZED_NAME_AVERAGE_UTILIZATION) @@ -305,3 +306,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2MetricValueStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2MetricValueStatus.java index a69d844d29..543c049215 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2MetricValueStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2MetricValueStatus.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * MetricValueStatus holds the current value for a metric */ @ApiModel(description = "MetricValueStatus holds the current value for a metric") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V2MetricValueStatus { public static final String SERIALIZED_NAME_AVERAGE_UTILIZATION = "averageUtilization"; @SerializedName(SERIALIZED_NAME_AVERAGE_UTILIZATION) @@ -266,3 +267,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2ObjectMetricSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2ObjectMetricSource.java index 09bc77cc7c..ba5ed0df50 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2ObjectMetricSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2ObjectMetricSource.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object). */ @ApiModel(description = "ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V2ObjectMetricSource { public static final String SERIALIZED_NAME_DESCRIBED_OBJECT = "describedObject"; @SerializedName(SERIALIZED_NAME_DESCRIBED_OBJECT) @@ -278,3 +279,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2ObjectMetricStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2ObjectMetricStatus.java index c376bf5e1a..a2054cefe9 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2ObjectMetricStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2ObjectMetricStatus.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -53,7 +54,7 @@ * ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object). */ @ApiModel(description = "ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V2ObjectMetricStatus { public static final String SERIALIZED_NAME_CURRENT = "current"; @SerializedName(SERIALIZED_NAME_CURRENT) @@ -278,3 +279,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2PodsMetricSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2PodsMetricSource.java index b257ed790e..5854570ed4 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2PodsMetricSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2PodsMetricSource.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value. */ @ApiModel(description = "PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V2PodsMetricSource { public static final String SERIALIZED_NAME_METRIC = "metric"; @SerializedName(SERIALIZED_NAME_METRIC) @@ -246,3 +247,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2PodsMetricStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2PodsMetricStatus.java index 2ef5148d66..450f31e222 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2PodsMetricStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2PodsMetricStatus.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -52,7 +53,7 @@ * PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second). */ @ApiModel(description = "PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second).") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V2PodsMetricStatus { public static final String SERIALIZED_NAME_CURRENT = "current"; @SerializedName(SERIALIZED_NAME_CURRENT) @@ -246,3 +247,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2ResourceMetricSource.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2ResourceMetricSource.java index 0eddea35c4..9fc37678de 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2ResourceMetricSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2ResourceMetricSource.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * ResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. Only one \"target\" type should be set. */ @ApiModel(description = "ResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. Only one \"target\" type should be set.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V2ResourceMetricSource { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -246,3 +247,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2ResourceMetricStatus.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2ResourceMetricStatus.java index af497bb65b..6f4fff4b26 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2ResourceMetricStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V2ResourceMetricStatus.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -51,7 +52,7 @@ * ResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. */ @ApiModel(description = "ResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class V2ResourceMetricStatus { public static final String SERIALIZED_NAME_CURRENT = "current"; @SerializedName(SERIALIZED_NAME_CURRENT) @@ -246,3 +247,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/VersionInfo.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/VersionInfo.java index 24ad3d3d2b..c37398780d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/openapi/models/VersionInfo.java +++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/models/VersionInfo.java @@ -1,15 +1,16 @@ /* -Copyright 2025 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: release-1.34 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + package io.kubernetes.client.openapi.models; import java.util.Objects; @@ -50,7 +51,7 @@ * Info contains versioning information. how we'll want to distribute that information. */ @ApiModel(description = "Info contains versioning information. how we'll want to distribute that information.") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-20T20:47:13.890592Z[Etc/UTC]", comments = "Generator version: 7.13.0") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-09-11T18:00:16.154662Z[Etc/UTC]", comments = "Generator version: 7.13.0") public class VersionInfo { public static final String SERIALIZED_NAME_BUILD_DATE = "buildDate"; @SerializedName(SERIALIZED_NAME_BUILD_DATE) @@ -594,3 +595,4 @@ public String toJson() { return JSON.getGson().toJson(this); } } + diff --git a/kubernetes/swagger.json b/kubernetes/swagger.json index a0314c9715..1a3e0df80d 100644 --- a/kubernetes/swagger.json +++ b/kubernetes/swagger.json @@ -1299,40 +1299,24 @@ ], "type": "object" }, - "v1beta1.AuditAnnotation": { - "description": "AuditAnnotation describes how to produce an audit annotation for an API request.", + "v1beta1.ApplyConfiguration": { + "description": "ApplyConfiguration defines the desired configuration values of an object.", "properties": { - "key": { - "description": "key specifies the audit annotation key. The audit annotation keys of a ValidatingAdmissionPolicy must be unique. The key must be a qualified name ([A-Za-z0-9][-A-Za-z0-9_.]*) no more than 63 bytes in length.\n\nThe key is combined with the resource name of the ValidatingAdmissionPolicy to construct an audit annotation key: \"{ValidatingAdmissionPolicy name}/{key}\".\n\nIf an admission webhook uses the same resource name as this ValidatingAdmissionPolicy and the same audit annotation key, the annotation key will be identical. In this case, the first annotation written with the key will be included in the audit event and all subsequent annotations with the same key will be discarded.\n\nRequired.", - "type": "string" - }, - "valueExpression": { - "description": "valueExpression represents the expression which is evaluated by CEL to produce an audit annotation value. The expression must evaluate to either a string or null value. If the expression evaluates to a string, the audit annotation is included with the string value. If the expression evaluates to null or empty string the audit annotation will be omitted. The valueExpression may be no longer than 5kb in length. If the result of the valueExpression is more than 10kb in length, it will be truncated to 10kb.\n\nIf multiple ValidatingAdmissionPolicyBinding resources match an API request, then the valueExpression will be evaluated for each binding. All unique values produced by the valueExpressions will be joined together in a comma-separated list.\n\nRequired.", + "expression": { + "description": "expression will be evaluated by CEL to create an apply configuration. ref: https://github.com/google/cel-spec\n\nApply configurations are declared in CEL using object initialization. For example, this CEL expression returns an apply configuration to set a single field:\n\n\tObject{\n\t spec: Object.spec{\n\t serviceAccountName: \"example\"\n\t }\n\t}\n\nApply configurations may not modify atomic structs, maps or arrays due to the risk of accidental deletion of values not included in the apply configuration.\n\nCEL expressions have access to the object types needed to create apply configurations:\n\n- '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')\n\nCEL expressions have access to the contents of the API request, organized into CEL variables as well as some other useful variables:\n\n- '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.\n For example, a variable named 'foo' can be accessed as 'variables.foo'.\n- 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request.\n See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz\n- 'authorizer.requestResource' - A CEL ResourceCheck constructed from the 'authorizer' and configured with the\n request resource.\n\nThe `apiVersion`, `kind`, `metadata.name` and `metadata.generateName` are always accessible from the root of the object. No other metadata properties are accessible.\n\nOnly property names of the form `[a-zA-Z_.-/][a-zA-Z0-9_.-/]*` are accessible. Required.", "type": "string" } }, - "required": [ - "key", - "valueExpression" - ], "type": "object" }, - "v1beta1.ExpressionWarning": { - "description": "ExpressionWarning is a warning information that targets a specific expression.", + "v1beta1.JSONPatch": { + "description": "JSONPatch defines a JSON Patch.", "properties": { - "fieldRef": { - "description": "The path to the field that refers the expression. For example, the reference to the expression of the first item of validations is \"spec.validations[0].expression\"", - "type": "string" - }, - "warning": { - "description": "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.", + "expression": { + "description": "expression will be evaluated by CEL to create a [JSON patch](https://jsonpatch.com/). ref: https://github.com/google/cel-spec\n\nexpression must return an array of JSONPatch values.\n\nFor example, this CEL expression returns a JSON patch to conditionally modify a value:\n\n\t [\n\t JSONPatch{op: \"test\", path: \"/spec/example\", value: \"Red\"},\n\t JSONPatch{op: \"replace\", path: \"/spec/example\", value: \"Green\"}\n\t ]\n\nTo define an object for the patch value, use Object types. For example:\n\n\t [\n\t JSONPatch{\n\t op: \"add\",\n\t path: \"/spec/selector\",\n\t value: Object.spec.selector{matchLabels: {\"environment\": \"test\"}}\n\t }\n\t ]\n\nTo use strings containing '/' and '~' as JSONPatch path keys, use \"jsonpatch.escapeKey\". For example:\n\n\t [\n\t JSONPatch{\n\t op: \"add\",\n\t path: \"/metadata/labels/\" + jsonpatch.escapeKey(\"example.com/environment\"),\n\t value: \"test\"\n\t },\n\t ]\n\nCEL expressions have access to the types needed to create JSON patches and objects:\n\n- 'JSONPatch' - CEL type of JSON Patch operations. JSONPatch has the fields 'op', 'from', 'path' and 'value'.\n See [JSON patch](https://jsonpatch.com/) for more details. The 'value' field may be set to any of: string,\n integer, array, map or object. If set, the 'path' and 'from' fields must be set to a\n [JSON pointer](https://datatracker.ietf.org/doc/html/rfc6901/) string, where the 'jsonpatch.escapeKey()' CEL\n function may be used to escape path keys containing '/' and '~'.\n- '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')\n\nCEL expressions have access to the contents of the API request, organized into CEL variables as well as some other useful variables:\n\n- '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.\n For example, a variable named 'foo' can be accessed as 'variables.foo'.\n- 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request.\n See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz\n- 'authorizer.requestResource' - A CEL ResourceCheck constructed from the 'authorizer' and configured with the\n request resource.\n\nCEL 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:\n\n- 'jsonpatch.escapeKey' - Performs JSONPatch key escaping. '~' and '/' are escaped as '~0' and `~1' respectively).\n\nOnly property names of the form `[a-zA-Z_.-/][a-zA-Z0-9_.-/]*` are accessible. Required.", "type": "string" } }, - "required": [ - "fieldRef", - "warning" - ], "type": "object" }, "v1beta1.MatchCondition": { @@ -1388,111 +1372,8 @@ "type": "object", "x-kubernetes-map-type": "atomic" }, - "v1beta1.NamedRuleWithOperations": { - "description": "NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.", - "properties": { - "apiGroups": { - "description": "APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "apiVersions": { - "description": "APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "operations": { - "description": "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.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "resourceNames": { - "description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "resources": { - "description": "Resources is a list of resources this rule applies to.\n\nFor example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources.\n\nIf wildcard is present, the validation rule will ensure resources do not overlap with each other.\n\nDepending on the enclosing object, subresources might not be allowed. Required.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "scope": { - "description": "scope specifies the scope of this rule. Valid values are \"Cluster\", \"Namespaced\", and \"*\" \"Cluster\" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. \"Namespaced\" means that only namespaced resources will match this rule. \"*\" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is \"*\".", - "type": "string" - } - }, - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "v1beta1.ParamKind": { - "description": "ParamKind is a tuple of Group Kind and Version.", - "properties": { - "apiVersion": { - "description": "APIVersion is the API group version the resources belong to. In format of \"group/version\". Required.", - "type": "string" - }, - "kind": { - "description": "Kind is the API kind the resources belong to. Required.", - "type": "string" - } - }, - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "v1beta1.ParamRef": { - "description": "ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.", - "properties": { - "name": { - "description": "name is the name of the resource being referenced.\n\nOne of `name` or `selector` must be set, but `name` and `selector` are mutually exclusive properties. If one is set, the other must be unset.\n\nA single parameter used for all admission requests can be configured by setting the `name` field, leaving `selector` blank, and setting namespace if `paramKind` is namespace-scoped.", - "type": "string" - }, - "namespace": { - "description": "namespace is the namespace of the referenced resource. Allows limiting the search for params to a specific namespace. Applies to both `name` and `selector` fields.\n\nA per-namespace parameter may be used by specifying a namespace-scoped `paramKind` in the policy and leaving this field empty.\n\n- If `paramKind` is cluster-scoped, this field MUST be unset. Setting this field results in a configuration error.\n\n- If `paramKind` is namespace-scoped, the namespace of the object being 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.", - "type": "string" - }, - "parameterNotFoundAction": { - "description": "`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. If set to `Deny`, then no matched parameters will be subject to the `failurePolicy` of the policy.\n\nAllowed values are `Allow` or `Deny`\n\nRequired", - "type": "string" - }, - "selector": { - "$ref": "#/definitions/v1.LabelSelector", - "description": "selector can be used to match multiple param objects based on their labels. Supply selector: {} to match all resources of the ParamKind.\n\nIf multiple params are found, they are all evaluated with the policy expressions and the results are ANDed together.\n\nOne of `name` or `selector` must be set, but `name` and `selector` are mutually exclusive properties. If one is set, the other must be unset." - } - }, - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "v1beta1.TypeChecking": { - "description": "TypeChecking contains results of type checking the expressions in the ValidatingAdmissionPolicy", - "properties": { - "expressionWarnings": { - "description": "The type checking warnings for each expression.", - "items": { - "$ref": "#/definitions/v1beta1.ExpressionWarning" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "type": "object" - }, - "v1beta1.ValidatingAdmissionPolicy": { - "description": "ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.", + "v1beta1.MutatingAdmissionPolicy": { + "description": "MutatingAdmissionPolicy describes the definition of an admission mutation policy that mutates the object coming into admission chain.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", @@ -1507,19 +1388,15 @@ "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "spec": { - "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicySpec", - "description": "Specification of the desired behavior of the ValidatingAdmissionPolicy." - }, - "status": { - "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicyStatus", - "description": "The 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." + "$ref": "#/definitions/v1beta1.MutatingAdmissionPolicySpec", + "description": "Specification of the desired behavior of the MutatingAdmissionPolicy." } }, "type": "object", "x-kubernetes-group-version-kind": [ { "group": "admissionregistration.k8s.io", - "kind": "ValidatingAdmissionPolicy", + "kind": "MutatingAdmissionPolicy", "version": "v1beta1" } ], @@ -1527,8 +1404,8 @@ "io.kubernetes.client.common.KubernetesObject" ] }, - "v1beta1.ValidatingAdmissionPolicyBinding": { - "description": "ValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources. ValidatingAdmissionPolicyBinding and parameter CRDs together define how cluster administrators configure policies for clusters.\n\nFor 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.\n\nThe CEL expressions of a policy must have a computed CEL cost below the maximum CEL budget. Each evaluation of the policy is given an independent CEL cost budget. Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget.", + "v1beta1.MutatingAdmissionPolicyBinding": { + "description": "MutatingAdmissionPolicyBinding binds the MutatingAdmissionPolicy with parametrized resources. MutatingAdmissionPolicyBinding and the optional parameter resource together define how cluster administrators configure policies for clusters.\n\nFor 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).\n\nAdding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", @@ -1543,15 +1420,15 @@ "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "spec": { - "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicyBindingSpec", - "description": "Specification of the desired behavior of the ValidatingAdmissionPolicyBinding." + "$ref": "#/definitions/v1beta1.MutatingAdmissionPolicyBindingSpec", + "description": "Specification of the desired behavior of the MutatingAdmissionPolicyBinding." } }, "type": "object", "x-kubernetes-group-version-kind": [ { "group": "admissionregistration.k8s.io", - "kind": "ValidatingAdmissionPolicyBinding", + "kind": "MutatingAdmissionPolicyBinding", "version": "v1beta1" } ], @@ -1559,8 +1436,8 @@ "io.kubernetes.client.common.KubernetesObject" ] }, - "v1beta1.ValidatingAdmissionPolicyBindingList": { - "description": "ValidatingAdmissionPolicyBindingList is a list of ValidatingAdmissionPolicyBinding.", + "v1beta1.MutatingAdmissionPolicyBindingList": { + "description": "MutatingAdmissionPolicyBindingList is a list of MutatingAdmissionPolicyBinding.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", @@ -1569,7 +1446,7 @@ "items": { "description": "List of PolicyBinding.", "items": { - "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicyBinding" + "$ref": "#/definitions/v1beta1.MutatingAdmissionPolicyBinding" }, "type": "array" }, @@ -1589,7 +1466,7 @@ "x-kubernetes-group-version-kind": [ { "group": "admissionregistration.k8s.io", - "kind": "ValidatingAdmissionPolicyBindingList", + "kind": "MutatingAdmissionPolicyBindingList", "version": "v1beta1" } ], @@ -1597,34 +1474,26 @@ "io.kubernetes.client.common.KubernetesListObject" ] }, - "v1beta1.ValidatingAdmissionPolicyBindingSpec": { - "description": "ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding.", + "v1beta1.MutatingAdmissionPolicyBindingSpec": { + "description": "MutatingAdmissionPolicyBindingSpec is the specification of the MutatingAdmissionPolicyBinding.", "properties": { "matchResources": { "$ref": "#/definitions/v1beta1.MatchResources", - "description": "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. Note that this is differs from ValidatingAdmissionPolicy matchConstraints, where resourceRules are required." + "description": "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." }, "paramRef": { "$ref": "#/definitions/v1beta1.ParamRef", - "description": "paramRef specifies the parameter resource used to configure the admission control policy. It should point to a resource of the type specified in ParamKind of the bound ValidatingAdmissionPolicy. 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." + "description": "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." }, "policyName": { - "description": "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.", + "description": "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.", "type": "string" - }, - "validationActions": { - "description": "validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.\n\nFailures defined by the ValidatingAdmissionPolicy's FailurePolicy are enforced according to these actions only if the FailurePolicy is set to Fail, otherwise the failures are ignored. This includes compilation errors, runtime errors and misconfigurations of the policy.\n\nvalidationActions is declared as a set of action values. Order does not matter. validationActions may not contain duplicates of the same action.\n\nThe supported actions values are:\n\n\"Deny\" specifies that a validation failure results in a denied request.\n\n\"Warn\" specifies that a validation failure is reported to the request client in HTTP Warning headers, with a warning code of 299. Warnings can be sent both for allowed or denied admission responses.\n\n\"Audit\" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `\"validation.policy.admission.k8s.io/validation_failure\": \"[{\\\"message\\\": \\\"Invalid value\\\", {\\\"policy\\\": \\\"policy.example.com\\\", {\\\"binding\\\": \\\"policybinding.example.com\\\", {\\\"expressionIndex\\\": \\\"1\\\", {\\\"validationActions\\\": [\\\"Audit\\\"]}]\"`\n\nClients should expect to handle additional values by ignoring any values not recognized.\n\n\"Deny\" and \"Warn\" may not be used together since this combination needlessly duplicates the validation failure both in the API response body and the HTTP warning headers.\n\nRequired.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "set" } }, "type": "object" }, - "v1beta1.ValidatingAdmissionPolicyList": { - "description": "ValidatingAdmissionPolicyList is a list of ValidatingAdmissionPolicy.", + "v1beta1.MutatingAdmissionPolicyList": { + "description": "MutatingAdmissionPolicyList is a list of MutatingAdmissionPolicy.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", @@ -1633,7 +1502,7 @@ "items": { "description": "List of ValidatingAdmissionPolicy.", "items": { - "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicy" + "$ref": "#/definitions/v1beta1.MutatingAdmissionPolicy" }, "type": "array" }, @@ -1653,7 +1522,7 @@ "x-kubernetes-group-version-kind": [ { "group": "admissionregistration.k8s.io", - "kind": "ValidatingAdmissionPolicyList", + "kind": "MutatingAdmissionPolicyList", "version": "v1beta1" } ], @@ -1661,23 +1530,15 @@ "io.kubernetes.client.common.KubernetesListObject" ] }, - "v1beta1.ValidatingAdmissionPolicySpec": { - "description": "ValidatingAdmissionPolicySpec is the specification of the desired behavior of the AdmissionPolicy.", + "v1beta1.MutatingAdmissionPolicySpec": { + "description": "MutatingAdmissionPolicySpec is the specification of the desired behavior of the admission policy.", "properties": { - "auditAnnotations": { - "description": "auditAnnotations contains CEL expressions which are used to produce audit annotations for the audit event of the API request. validations and auditAnnotations may not both be empty; a least one of validations or auditAnnotations is required.", - "items": { - "$ref": "#/definitions/v1beta1.AuditAnnotation" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, "failurePolicy": { - "description": "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.\n\nA policy is invalid if spec.paramKind refers to a non-existent Kind. A binding is invalid if spec.paramRef.name refers to a non-existent resource.\n\nfailurePolicy does not define how validations that evaluate to false are handled.\n\nWhen failurePolicy is set to Fail, ValidatingAdmissionPolicyBinding validationActions define how failures are enforced.\n\nAllowed values are Ignore or Fail. Defaults to Fail.", + "description": "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.\n\nA policy is invalid if paramKind refers to a non-existent Kind. A binding is invalid if paramRef.name refers to a non-existent resource.\n\nfailurePolicy does not define how validations that evaluate to false are handled.\n\nAllowed values are Ignore or Fail. Defaults to Fail.", "type": "string" }, "matchConditions": { - "description": "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.\n\nIf a parameter object is provided, it can be accessed via the `params` handle in the same manner as validation expressions.\n\nThe exact matching logic is (in order):\n 1. If ANY matchCondition evaluates to FALSE, the policy is skipped.\n 2. If ALL matchConditions evaluate to TRUE, the policy is evaluated.\n 3. If any matchCondition evaluates to an error (but none are FALSE):\n - If failurePolicy=Fail, reject the request\n - If failurePolicy=Ignore, the policy is skipped", + "description": "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.\n\nIf a parameter object is provided, it can be accessed via the `params` handle in the same manner as validation expressions.\n\nThe exact matching logic is (in order):\n 1. If ANY matchCondition evaluates to FALSE, the policy is skipped.\n 2. If ALL matchConditions evaluate to TRUE, the policy is evaluated.\n 3. If any matchCondition evaluates to an error (but none are FALSE):\n - If failurePolicy=Fail, reject the request\n - If failurePolicy=Ignore, the policy is skipped", "items": { "$ref": "#/definitions/v1beta1.MatchCondition" }, @@ -1691,86 +1552,144 @@ }, "matchConstraints": { "$ref": "#/definitions/v1beta1.MatchResources", - "description": "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." - }, - "paramKind": { - "$ref": "#/definitions/v1beta1.ParamKind", - "description": "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." + "description": "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." }, - "validations": { - "description": "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.", + "mutations": { + "description": "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.", "items": { - "$ref": "#/definitions/v1beta1.Validation" + "$ref": "#/definitions/v1beta1.Mutation" }, "type": "array", "x-kubernetes-list-type": "atomic" }, + "paramKind": { + "$ref": "#/definitions/v1beta1.ParamKind", + "description": "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." + }, + "reinvocationPolicy": { + "description": "reinvocationPolicy indicates whether mutations may be called multiple times per MutatingAdmissionPolicyBinding as part of a single admission evaluation. Allowed values are \"Never\" and \"IfNeeded\".\n\nNever: These mutations will not be called more than once per binding in a single admission evaluation.\n\nIfNeeded: 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.", + "type": "string" + }, "variables": { - "description": "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.\n\nThe 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.", + "description": "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.\n\nThe 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.", "items": { "$ref": "#/definitions/v1beta1.Variable" }, "type": "array", - "x-kubernetes-list-map-keys": [ - "name" - ], - "x-kubernetes-list-type": "map", - "x-kubernetes-patch-merge-key": "name", - "x-kubernetes-patch-strategy": "merge" + "x-kubernetes-list-type": "atomic" } }, "type": "object" }, - "v1beta1.ValidatingAdmissionPolicyStatus": { - "description": "ValidatingAdmissionPolicyStatus represents the status of an admission validation policy.", + "v1beta1.Mutation": { + "description": "Mutation specifies the CEL expression which is used to apply the Mutation.", "properties": { - "conditions": { - "description": "The conditions represent the latest available observations of a policy's current state.", + "applyConfiguration": { + "$ref": "#/definitions/v1beta1.ApplyConfiguration", + "description": "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." + }, + "jsonPatch": { + "$ref": "#/definitions/v1beta1.JSONPatch", + "description": "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." + }, + "patchType": { + "description": "patchType indicates the patch strategy used. Allowed values are \"ApplyConfiguration\" and \"JSONPatch\". Required.", + "type": "string" + } + }, + "required": [ + "patchType" + ], + "type": "object" + }, + "v1beta1.NamedRuleWithOperations": { + "description": "NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.", + "properties": { + "apiGroups": { + "description": "APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.", "items": { - "$ref": "#/definitions/v1.Condition" + "type": "string" }, "type": "array", - "x-kubernetes-list-map-keys": [ - "type" - ], - "x-kubernetes-list-type": "map" + "x-kubernetes-list-type": "atomic" }, - "observedGeneration": { - "description": "The generation observed by the controller.", - "format": "int64", - "type": "integer" + "apiVersions": { + "description": "APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" }, - "typeChecking": { - "$ref": "#/definitions/v1beta1.TypeChecking", - "description": "The results of type checking for each expression. Presence of this field indicates the completion of the type checking." + "operations": { + "description": "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.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "resourceNames": { + "description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "resources": { + "description": "Resources is a list of resources this rule applies to.\n\nFor example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources.\n\nIf wildcard is present, the validation rule will ensure resources do not overlap with each other.\n\nDepending on the enclosing object, subresources might not be allowed. Required.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "scope": { + "description": "scope specifies the scope of this rule. Valid values are \"Cluster\", \"Namespaced\", and \"*\" \"Cluster\" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. \"Namespaced\" means that only namespaced resources will match this rule. \"*\" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is \"*\".", + "type": "string" } }, - "type": "object" + "type": "object", + "x-kubernetes-map-type": "atomic" }, - "v1beta1.Validation": { - "description": "Validation specifies the CEL expression which is used to apply the validation.", + "v1beta1.ParamKind": { + "description": "ParamKind is a tuple of Group Kind and Version.", "properties": { - "expression": { - "description": "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:\n\n- '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.\n For example, a variable named 'foo' can be accessed as 'variables.foo'.\n- 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request.\n See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz\n- 'authorizer.requestResource' - A CEL ResourceCheck constructed from the 'authorizer' and configured with the\n request resource.\n\nThe `apiVersion`, `kind`, `metadata.name` and `metadata.generateName` are always accessible from the root of the object. No other metadata properties are accessible.\n\nOnly property names of the form `[a-zA-Z_.-/][a-zA-Z0-9_.-/]*` are accessible. Accessible property names are escaped according to the following rules when accessed in the expression: - '__' escapes to '__underscores__' - '.' escapes to '__dot__' - '-' escapes to '__dash__' - '/' escapes to '__slash__' - Property names that exactly match a CEL RESERVED keyword escape to '__{keyword}__'. The keywords are:\n\t \"true\", \"false\", \"null\", \"in\", \"as\", \"break\", \"const\", \"continue\", \"else\", \"for\", \"function\", \"if\",\n\t \"import\", \"let\", \"loop\", \"package\", \"namespace\", \"return\".\nExamples:\n - Expression accessing a property named \"namespace\": {\"Expression\": \"object.__namespace__ > 0\"}\n - Expression accessing a property named \"x-prop\": {\"Expression\": \"object.x__dash__prop > 0\"}\n - Expression accessing a property named \"redact__d\": {\"Expression\": \"object.redact__underscores__d > 0\"}\n\nEquality on arrays with list type of 'set' or 'map' ignores element order, i.e. [1, 2] == [2, 1]. Concatenation on arrays with x-kubernetes-list-type use the semantics of the list type:\n - 'set': `X + Y` performs a union where the array positions of all elements in `X` are preserved and\n non-intersecting elements in `Y` are appended, retaining their partial order.\n - 'map': `X + Y` performs a merge where the array positions of all keys in `X` are preserved but the values\n are overwritten by values in `Y` when the key sets of `X` and `Y` intersect. Elements in `Y` with\n non-intersecting keys are appended, retaining their partial order.\nRequired.", + "apiVersion": { + "description": "APIVersion is the API group version the resources belong to. In format of \"group/version\". Required.", "type": "string" }, - "message": { - "description": "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\" If the Expression contains line breaks. Message is required. The message must not contain line breaks. If unset, the message is \"failed Expression: {Expression}\".", + "kind": { + "description": "Kind is the API kind the resources belong to. Required.", + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "v1beta1.ParamRef": { + "description": "ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.", + "properties": { + "name": { + "description": "name is the name of the resource being referenced.\n\nOne of `name` or `selector` must be set, but `name` and `selector` are mutually exclusive properties. If one is set, the other must be unset.\n\nA single parameter used for all admission requests can be configured by setting the `name` field, leaving `selector` blank, and setting namespace if `paramKind` is namespace-scoped.", "type": "string" }, - "messageExpression": { - "description": "messageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. Since messageExpression is used as a failure message, it must evaluate to a string. If both message and messageExpression are present on a validation, then messageExpression will be used if validation fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged. messageExpression has access to all the same variables as the `expression` except for 'authorizer' and 'authorizer.requestResource'. Example: \"object.x must be less than max (\"+string(params.max)+\")\"", + "namespace": { + "description": "namespace is the namespace of the referenced resource. Allows limiting the search for params to a specific namespace. Applies to both `name` and `selector` fields.\n\nA per-namespace parameter may be used by specifying a namespace-scoped `paramKind` in the policy and leaving this field empty.\n\n- If `paramKind` is cluster-scoped, this field MUST be unset. Setting this field results in a configuration error.\n\n- If `paramKind` is namespace-scoped, the namespace of the object being 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.", "type": "string" }, - "reason": { - "description": "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. The currently supported reasons are: \"Unauthorized\", \"Forbidden\", \"Invalid\", \"RequestEntityTooLarge\". If not set, StatusReasonInvalid is used in the response to the client.", + "parameterNotFoundAction": { + "description": "`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. If set to `Deny`, then no matched parameters will be subject to the `failurePolicy` of the policy.\n\nAllowed values are `Allow` or `Deny`\n\nRequired", "type": "string" + }, + "selector": { + "$ref": "#/definitions/v1.LabelSelector", + "description": "selector can be used to match multiple param objects based on their labels. Supply selector: {} to match all resources of the ParamKind.\n\nIf multiple params are found, they are all evaluated with the policy expressions and the results are ANDed together.\n\nOne of `name` or `selector` must be set, but `name` and `selector` are mutually exclusive properties. If one is set, the other must be unset." } }, - "required": [ - "expression" - ], - "type": "object" + "type": "object", + "x-kubernetes-map-type": "atomic" }, "v1beta1.Variable": { "description": "Variable is the definition of a variable that is used for composition. A variable is defined as a named expression.", @@ -2687,7 +2606,7 @@ "properties": { "maxSurge": { "$ref": "#/definitions/intstr.IntOrString", - "description": "The maximum number of nodes with an existing available DaemonSet pod that can have an updated DaemonSet pod during during an update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up to a minimum of 1. Default value is 0. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their a new pod created before the old pod is marked as deleted. The update starts by launching new pods on 30% of nodes. Once an updated pod is available (Ready for at least minReadySeconds) the old DaemonSet pod on that node is marked deleted. If the old pod becomes unavailable for any reason (Ready transitions to false, is evicted, or is drained) an updated pod is immediatedly created on that node without considering surge limits. Allowing surge implies the possibility that the resources consumed by the daemonset on any given node can double if the readiness check fails, and so resource intensive daemonsets should take into account that they may cause evictions during disruption." + "description": "The maximum number of nodes with an existing available DaemonSet pod that can have an updated DaemonSet pod during during an update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up to a minimum of 1. Default value is 0. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their a new pod created before the old pod is marked as deleted. The update starts by launching new pods on 30% of nodes. Once an updated pod is available (Ready for at least minReadySeconds) the old DaemonSet pod on that node is marked deleted. If the old pod becomes unavailable for any reason (Ready transitions to false, is evicted, or is drained) an updated pod is immediately created on that node without considering surge limits. Allowing surge implies the possibility that the resources consumed by the daemonset on any given node can double if the readiness check fails, and so resource intensive daemonsets should take into account that they may cause evictions during disruption." }, "maxUnavailable": { "$ref": "#/definitions/intstr.IntOrString", @@ -3377,7 +3296,7 @@ "properties": { "fieldSelector": { "$ref": "#/definitions/v1.FieldSelectorAttributes", - "description": "fieldSelector describes the limitation on access based on field. It can only limit access, not broaden it.\n\nThis field is alpha-level. To use this field, you must enable the `AuthorizeWithSelectors` feature gate (disabled by default)." + "description": "fieldSelector describes the limitation on access based on field. It can only limit access, not broaden it." }, "group": { "description": "Group is the API Group of the Resource. \"*\" means all.", @@ -3385,7 +3304,7 @@ }, "labelSelector": { "$ref": "#/definitions/v1.LabelSelectorAttributes", - "description": "labelSelector describes the limitation on access based on labels. It can only limit access, not broaden it.\n\nThis field is alpha-level. To use this field, you must enable the `AuthorizeWithSelectors` feature gate (disabled by default)." + "description": "labelSelector describes the limitation on access based on labels. It can only limit access, not broaden it." }, "name": { "description": "Name is the name of the resource being requested for a \"get\" or deleted for a \"delete\". \"\" (empty) means all.", @@ -4791,7 +4710,7 @@ "type": "integer" }, "backoffLimit": { - "description": "Specifies the number of retries before marking this job failed. Defaults to 6", + "description": "Specifies the number of retries before marking this job failed. Defaults to 6, unless backoffLimitPerIndex (only Indexed Job) is specified. When backoffLimitPerIndex is specified, backoffLimit defaults to 2147483647.", "format": "int32", "type": "integer" }, @@ -4832,7 +4751,7 @@ "description": "Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, 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." }, "podReplacementPolicy": { - "description": "podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods\n when they are terminating (has a metadata.deletionTimestamp) or failed.\n- Failed means to wait until a previously created Pod is fully terminated (has phase\n Failed or Succeeded) before creating a replacement Pod.\n\nWhen using podFailurePolicy, Failed is the the only allowed value. TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use. This is an beta field. To use this, enable the JobPodReplacementPolicy feature toggle. This is on by default.", + "description": "podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods\n when they are terminating (has a metadata.deletionTimestamp) or failed.\n- Failed means to wait until a previously created Pod is fully terminated (has phase\n Failed or Succeeded) before creating a replacement Pod.\n\nWhen using podFailurePolicy, Failed is the the only allowed value. TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use.", "type": "string" }, "selector": { @@ -5030,7 +4949,7 @@ "description": "SuccessPolicy describes when a Job can be declared as succeeded based on the success of some indexes.", "properties": { "rules": { - "description": "rules represents the list of alternative rules for the declaring the Jobs as successful before `.status.succeeded >= .spec.completions`. Once any of the rules are met, the \"SucceededCriteriaMet\" condition is added, and the lingering pods are removed. The terminal state for such a Job has the \"Complete\" condition. Additionally, these rules are evaluated in order; Once the Job meets one of the rules, other rules are ignored. At most 20 elements are allowed.", + "description": "rules represents the list of alternative rules for the declaring the Jobs as successful before `.status.succeeded >= .spec.completions`. Once any of the rules are met, the \"SuccessCriteriaMet\" condition is added, and the lingering pods are removed. The terminal state for such a Job has the \"Complete\" condition. Additionally, these rules are evaluated in order; Once the Job meets one of the rules, other rules are ignored. At most 20 elements are allowed.", "items": { "$ref": "#/definitions/v1.SuccessPolicyRule" }, @@ -5363,6 +5282,181 @@ ], "type": "object" }, + "v1alpha1.PodCertificateRequest": { + "description": "PodCertificateRequest encodes a pod requesting a certificate from a given signer.\n\nKubelets use this API to implement podCertificate projected volumes", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ObjectMeta", + "description": "metadata contains the object metadata." + }, + "spec": { + "$ref": "#/definitions/v1alpha1.PodCertificateRequestSpec", + "description": "spec contains the details about the certificate being requested." + }, + "status": { + "$ref": "#/definitions/v1alpha1.PodCertificateRequestStatus", + "description": "status contains the issued certificate, and a standard set of conditions." + } + }, + "required": [ + "spec" + ], + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "certificates.k8s.io", + "kind": "PodCertificateRequest", + "version": "v1alpha1" + } + ], + "x-implements": [ + "io.kubernetes.client.common.KubernetesObject" + ] + }, + "v1alpha1.PodCertificateRequestList": { + "description": "PodCertificateRequestList is a collection of PodCertificateRequest objects", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "items is a collection of PodCertificateRequest objects", + "items": { + "$ref": "#/definitions/v1alpha1.PodCertificateRequest" + }, + "type": "array" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ListMeta", + "description": "metadata contains the list metadata." + } + }, + "required": [ + "items" + ], + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "certificates.k8s.io", + "kind": "PodCertificateRequestList", + "version": "v1alpha1" + } + ], + "x-implements": [ + "io.kubernetes.client.common.KubernetesListObject" + ] + }, + "v1alpha1.PodCertificateRequestSpec": { + "description": "PodCertificateRequestSpec describes the certificate request. All fields are immutable after creation.", + "properties": { + "maxExpirationSeconds": { + "description": "maxExpirationSeconds is the maximum lifetime permitted for the certificate.\n\nIf omitted, kube-apiserver will set it to 86400(24 hours). kube-apiserver will reject values shorter than 3600 (1 hour). The maximum allowable value is 7862400 (91 days).\n\nThe signer implementation is then free to issue a certificate with any lifetime *shorter* than MaxExpirationSeconds, but no shorter than 3600 seconds (1 hour). This constraint is enforced by kube-apiserver. `kubernetes.io` signers will never issue certificates with a lifetime longer than 24 hours.", + "format": "int32", + "type": "integer" + }, + "nodeName": { + "description": "nodeName is the name of the node the pod is assigned to.", + "type": "string" + }, + "nodeUID": { + "description": "nodeUID is the UID of the node the pod is assigned to.", + "type": "string" + }, + "pkixPublicKey": { + "description": "pkixPublicKey is the PKIX-serialized public key the signer will issue the certificate to.\n\nThe key must be one of RSA3072, RSA4096, ECDSAP256, ECDSAP384, ECDSAP521, or ED25519. Note that this list may be expanded in the future.\n\nSigner implementations do not need to support all key types supported by kube-apiserver and kubelet. If a signer does not support the key type used for a given PodCertificateRequest, it must deny the request by setting a status.conditions entry with a type of \"Denied\" and a reason of \"UnsupportedKeyType\". It may also suggest a key type that it does support in the message field.", + "format": "byte", + "type": "string" + }, + "podName": { + "description": "podName is the name of the pod into which the certificate will be mounted.", + "type": "string" + }, + "podUID": { + "description": "podUID is the UID of the pod into which the certificate will be mounted.", + "type": "string" + }, + "proofOfPossession": { + "description": "proofOfPossession proves that the requesting kubelet holds the private key corresponding to pkixPublicKey.\n\nIt is contructed by signing the ASCII bytes of the pod's UID using `pkixPublicKey`.\n\nkube-apiserver validates the proof of possession during creation of the PodCertificateRequest.\n\nIf the key is an RSA key, then the signature is over the ASCII bytes of the pod UID, using RSASSA-PSS from RFC 8017 (as implemented by the golang function crypto/rsa.SignPSS with nil options).\n\nIf the key is an ECDSA key, then the signature is as described by [SEC 1, Version 2.0](https://www.secg.org/sec1-v2.pdf) (as implemented by the golang library function crypto/ecdsa.SignASN1)\n\nIf the key is an ED25519 key, the the signature is as described by the [ED25519 Specification](https://ed25519.cr.yp.to/) (as implemented by the golang library crypto/ed25519.Sign).", + "format": "byte", + "type": "string" + }, + "serviceAccountName": { + "description": "serviceAccountName is the name of the service account the pod is running as.", + "type": "string" + }, + "serviceAccountUID": { + "description": "serviceAccountUID is the UID of the service account the pod is running as.", + "type": "string" + }, + "signerName": { + "description": "signerName indicates the requested signer.\n\nAll signer names beginning with `kubernetes.io` are reserved for use by the Kubernetes project. There is currently one well-known signer documented by the Kubernetes project, `kubernetes.io/kube-apiserver-client-pod`, which will issue client certificates understood by kube-apiserver. It is currently unimplemented.", + "type": "string" + } + }, + "required": [ + "signerName", + "podName", + "podUID", + "serviceAccountName", + "serviceAccountUID", + "nodeName", + "nodeUID", + "pkixPublicKey", + "proofOfPossession" + ], + "type": "object" + }, + "v1alpha1.PodCertificateRequestStatus": { + "description": "PodCertificateRequestStatus describes the status of the request, and holds the certificate data if the request is issued.", + "properties": { + "beginRefreshAt": { + "description": "beginRefreshAt is the time at which the kubelet should begin trying to refresh the certificate. This field is set via the /status subresource, and must be set at the same time as certificateChain. Once populated, this field is immutable.\n\nThis field is only a hint. Kubelet may start refreshing before or after this time if necessary.", + "format": "date-time", + "type": "string" + }, + "certificateChain": { + "description": "certificateChain is populated with an issued certificate by the signer. This field is set via the /status subresource. Once populated, this field is immutable.\n\nIf the certificate signing request is denied, a condition of type \"Denied\" is added and this field remains empty. If the signer cannot issue the certificate, a condition of type \"Failed\" is added and this field remains empty.\n\nValidation requirements:\n 1. certificateChain must consist of one or more PEM-formatted certificates.\n 2. Each entry must be a valid PEM-wrapped, DER-encoded ASN.1 Certificate as\n described in section 4 of RFC5280.\n\nIf more than one block is present, and the definition of the requested spec.signerName does not indicate otherwise, the first block is the issued certificate, and subsequent blocks should be treated as intermediate certificates and presented in TLS handshakes. When projecting the chain into a pod volume, kubelet will drop any data in-between the PEM blocks, as well as any PEM block headers.", + "type": "string" + }, + "conditions": { + "description": "conditions applied to the request.\n\nThe types \"Issued\", \"Denied\", and \"Failed\" have special handling. At most one of these conditions may be present, and they must have status \"True\".\n\nIf the request is denied with `Reason=UnsupportedKeyType`, the signer may suggest a key type that will work in the message field.", + "items": { + "$ref": "#/definitions/v1.Condition" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" + }, + "notAfter": { + "description": "notAfter is the time at which the certificate expires. The value must be the same as the notAfter value in the leaf certificate in certificateChain. This field is set via the /status subresource. Once populated, it is immutable. The signer must set this field at the same time it sets certificateChain.", + "format": "date-time", + "type": "string" + }, + "notBefore": { + "description": "notBefore is the time at which the certificate becomes valid. The value must be the same as the notBefore value in the leaf certificate in certificateChain. This field is set via the /status subresource. Once populated, it is immutable. The signer must set this field at the same time it sets certificateChain.", + "format": "date-time", + "type": "string" + } + }, + "type": "object" + }, "v1beta1.ClusterTrustBundle": { "description": "ClusterTrustBundle is a cluster-scoped container for X.509 trust anchors (root certificates).\n\nClusterTrustBundle objects are considered to be readable by any authenticated user in the cluster, because they can be mounted by pods using the `clusterTrustBundle` projection. All service accounts have read access to ClusterTrustBundles by default. Users who only have namespace-level access to a cluster can read ClusterTrustBundles by impersonating a serviceaccount that they have access to.\n\nIt can be optionally associated with a particular assigner, in which case it contains one valid set of trust anchors for that signer. Signers may have multiple associated ClusterTrustBundles; each is an independent set of trust anchors for that signer. Admission control is used to enforce that only users with permissions on the signer can create or modify the corresponding bundle.", "properties": { @@ -6589,7 +6683,7 @@ "x-kubernetes-patch-strategy": "merge" }, "envFrom": { - "description": "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.", + "description": "List of sources to populate environment variables in the container. The keys defined within a source may consist of any printable ASCII characters except '='. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.", "items": { "$ref": "#/definitions/v1.EnvFromSource" }, @@ -6647,9 +6741,17 @@ "description": "Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/" }, "restartPolicy": { - "description": "RestartPolicy defines the restart behavior of individual containers in a pod. This field may only be set for init containers, and the only allowed value is \"Always\". For non-init containers or when this field is not specified, the restart behavior is defined by the Pod's restart policy and the container type. Setting the RestartPolicy as \"Always\" for the init container will have the following effect: this init container will be continually restarted on exit until all regular containers have terminated. Once all regular containers have completed, all init containers with restartPolicy \"Always\" will be shut down. This lifecycle differs from normal init containers and is often referred to as a \"sidecar\" container. Although this init container still starts in the init container sequence, it does not wait for the container to complete before proceeding to the next init container. Instead, the next init container starts immediately after this init container is started, or after any startupProbe has successfully completed.", + "description": "RestartPolicy defines the restart behavior of individual containers in a pod. This overrides the pod-level restart policy. When this field is not specified, the restart behavior is defined by the Pod's restart policy and the container type. Additionally, setting the RestartPolicy as \"Always\" for the init container will have the following effect: this init container will be continually restarted on exit until all regular containers have terminated. Once all regular containers have completed, all init containers with restartPolicy \"Always\" will be shut down. This lifecycle differs from normal init containers and is often referred to as a \"sidecar\" container. Although this init container still starts in the init container sequence, it does not wait for the container to complete before proceeding to the next init container. Instead, the next init container starts immediately after this init container is started, or after any startupProbe has successfully completed.", "type": "string" }, + "restartPolicyRules": { + "description": "Represents a list of rules to be checked to determine if the container should be restarted on exit. The rules are evaluated in order. Once a rule matches a container exit condition, the remaining rules are ignored. If no rule matches the container exit condition, the Container-level restart policy determines the whether the container is restarted or not. Constraints on the rules: - At most 20 rules are allowed. - Rules can have the same action. - Identical rules are not forbidden in validations. When rules are specified, container MUST set RestartPolicy explicitly even it if matches the Pod's RestartPolicy.", + "items": { + "$ref": "#/definitions/v1.ContainerRestartRule" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, "securityContext": { "$ref": "#/definitions/v1.SecurityContext", "description": "SecurityContext defines the security options the container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/" @@ -6714,6 +6816,29 @@ ], "type": "object" }, + "v1.ContainerExtendedResourceRequest": { + "description": "ContainerExtendedResourceRequest has the mapping of container name, extended resource name to the device request name.", + "properties": { + "containerName": { + "description": "The name of the container requesting resources.", + "type": "string" + }, + "requestName": { + "description": "The name of the request in the special ResourceClaim which corresponds to the extended resource.", + "type": "string" + }, + "resourceName": { + "description": "The name of the extended resource in that container which gets backed by DRA.", + "type": "string" + } + }, + "required": [ + "containerName", + "resourceName", + "requestName" + ], + "type": "object" + }, "v1.ContainerImage": { "description": "Describe a container image", "properties": { @@ -6782,6 +6907,45 @@ ], "type": "object" }, + "v1.ContainerRestartRule": { + "description": "ContainerRestartRule describes how a container exit is handled.", + "properties": { + "action": { + "description": "Specifies the action taken on a container exit if the requirements are satisfied. The only possible value is \"Restart\" to restart the container.", + "type": "string" + }, + "exitCodes": { + "$ref": "#/definitions/v1.ContainerRestartRuleOnExitCodes", + "description": "Represents the exit codes to check on container exits." + } + }, + "required": [ + "action" + ], + "type": "object" + }, + "v1.ContainerRestartRuleOnExitCodes": { + "description": "ContainerRestartRuleOnExitCodes describes the condition for handling an exited container based on its exit codes.", + "properties": { + "operator": { + "description": "Represents the relationship between the container exit code(s) and the specified values. Possible values are: - In: the requirement is satisfied if the container exit code is in the\n set of specified values.\n- NotIn: the requirement is satisfied if the container exit code is\n not in the set of specified values.", + "type": "string" + }, + "values": { + "description": "Specifies the set of values to check for container exit codes. At most 255 elements are allowed.", + "items": { + "format": "int32", + "type": "integer" + }, + "type": "array", + "x-kubernetes-list-type": "set" + } + }, + "required": [ + "operator" + ], + "type": "object" + }, "v1.ContainerState": { "description": "ContainerState holds a possible state of container. Only one of its members may be specified. If none of them is specified, the default one is ContainerStateWaiting.", "properties": { @@ -7223,7 +7387,7 @@ "description": "The ConfigMap to select from" }, "prefix": { - "description": "Optional text to prepend to the name of each environment variable. Must be a C_IDENTIFIER.", + "description": "Optional text to prepend to the name of each environment variable. May consist of any printable ASCII characters except '='.", "type": "string" }, "secretRef": { @@ -7237,7 +7401,7 @@ "description": "EnvVar represents an environment variable present in a Container.", "properties": { "name": { - "description": "Name of the environment variable. Must be a C_IDENTIFIER.", + "description": "Name of the environment variable. May consist of any printable ASCII characters except '='.", "type": "string" }, "value": { @@ -7265,6 +7429,10 @@ "$ref": "#/definitions/v1.ObjectFieldSelector", "description": "Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs." }, + "fileKeyRef": { + "$ref": "#/definitions/v1.FileKeySelector", + "description": "FileKeyRef selects a key of the env file. Requires the EnvFiles feature gate to be enabled." + }, "resourceFieldRef": { "$ref": "#/definitions/v1.ResourceFieldSelector", "description": "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported." @@ -7309,7 +7477,7 @@ "x-kubernetes-patch-strategy": "merge" }, "envFrom": { - "description": "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.", + "description": "List of sources to populate environment variables in the container. The keys defined within a source may consist of any printable ASCII characters except '='. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.", "items": { "$ref": "#/definitions/v1.EnvFromSource" }, @@ -7367,9 +7535,17 @@ "description": "Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources already allocated to the pod." }, "restartPolicy": { - "description": "Restart policy for the container to manage the restart behavior of each container within a pod. This may only be set for init containers. You cannot set this field on ephemeral containers.", + "description": "Restart policy for the container to manage the restart behavior of each container within a pod. You cannot set this field on ephemeral containers.", "type": "string" }, + "restartPolicyRules": { + "description": "Represents a list of rules to be checked to determine if the container should be restarted on exit. You cannot set this field on ephemeral containers.", + "items": { + "$ref": "#/definitions/v1.ContainerRestartRule" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, "securityContext": { "$ref": "#/definitions/v1.SecurityContext", "description": "Optional: SecurityContext defines the security options the ephemeral container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext." @@ -7657,6 +7833,34 @@ }, "type": "object" }, + "v1.FileKeySelector": { + "description": "FileKeySelector selects a key of the env file.", + "properties": { + "key": { + "description": "The key within the env file. An invalid key will prevent the pod from starting. The keys defined within a source may consist of any printable ASCII characters except '='. During Alpha stage of the EnvFiles feature gate, the key size is limited to 128 characters.", + "type": "string" + }, + "optional": { + "description": "Specify whether the file or its key must be defined. If the file or key does not exist, then the env var is not published. If optional is set to true and the specified key does not exist, the environment variable will not be set in the Pod's containers.\n\nIf optional is set to false and the specified key does not exist, an error will be returned during Pod creation.", + "type": "boolean" + }, + "path": { + "description": "The path within the volume from which to select the file. Must be relative and may not contain the '..' path or start with '..'.", + "type": "string" + }, + "volumeName": { + "description": "The name of the volume mount containing the env file.", + "type": "string" + } + }, + "required": [ + "volumeName", + "path", + "key" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, "v1.FlexPersistentVolumeSource": { "description": "FlexPersistentVolumeSource represents a generic persistent volume resource that is provisioned/attached using an exec based plugin.", "properties": { @@ -7830,7 +8034,7 @@ "description": "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.", "properties": { "endpoints": { - "description": "endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod", + "description": "endpoints is the endpoint name that details Glusterfs topology.", "type": "string" }, "path": { @@ -9298,7 +9502,7 @@ "type": "string" }, "volumeAttributesClassName": { - "description": "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass will be applied to the claim but it's not allowed to reset this field to empty string once it is set. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass will be set by the persistentvolume controller if it exists. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Beta) Using this field requires the VolumeAttributesClass feature gate to be enabled (off by default).", + "description": "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string or nil value indicates that no VolumeAttributesClass will be applied to the claim. If the claim enters an Infeasible error state, this field can be reset to its previous value (including nil) to cancel the modification. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/", "type": "string" }, "volumeMode": { @@ -9359,12 +9563,12 @@ "x-kubernetes-patch-strategy": "merge" }, "currentVolumeAttributesClassName": { - "description": "currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using. When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim This is a beta field and requires enabling VolumeAttributesClass feature (off by default).", + "description": "currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using. When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim", "type": "string" }, "modifyVolumeStatus": { "$ref": "#/definitions/v1.ModifyVolumeStatus", - "description": "ModifyVolumeStatus represents the status object of ControllerModifyVolume operation. When this is unset, there is no ModifyVolume operation being attempted. This is a beta field and requires enabling VolumeAttributesClass feature (off by default)." + "description": "ModifyVolumeStatus represents the status object of ControllerModifyVolume operation. When this is unset, there is no ModifyVolume operation being attempted." }, "phase": { "description": "phase represents the current phase of PersistentVolumeClaim.", @@ -9573,7 +9777,7 @@ "description": "storageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod. Deprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported. More info: https://examples.k8s.io/volumes/storageos/README.md" }, "volumeAttributesClassName": { - "description": "Name of VolumeAttributesClass to which this persistent volume belongs. Empty value is not allowed. When this field is not set, it indicates that this volume does not belong to any VolumeAttributesClass. This field is mutable and can be changed by the CSI driver after a volume has been updated successfully to a new class. For an unbound PersistentVolume, the volumeAttributesClassName will be matched with unbound PersistentVolumeClaims during the binding process. This is a beta field and requires enabling VolumeAttributesClass feature (off by default).", + "description": "Name of VolumeAttributesClass to which this persistent volume belongs. Empty value is not allowed. When this field is not set, it indicates that this volume does not belong to any VolumeAttributesClass. This field is mutable and can be changed by the CSI driver after a volume has been updated successfully to a new class. For an unbound PersistentVolume, the volumeAttributesClassName will be matched with unbound PersistentVolumeClaims during the binding process.", "type": "string" }, "volumeMode": { @@ -9734,7 +9938,7 @@ "description": "Pod anti affinity is a group of inter pod anti affinity scheduling rules.", "properties": { "preferredDuringSchedulingIgnoredDuringExecution": { - "description": "The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.", + "description": "The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and subtracting \"weight\" from the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.", "items": { "$ref": "#/definitions/v1.WeightedPodAffinityTerm" }, @@ -9752,6 +9956,41 @@ }, "type": "object" }, + "v1.PodCertificateProjection": { + "description": "PodCertificateProjection provides a private key and X.509 certificate in the pod filesystem.", + "properties": { + "certificateChainPath": { + "description": "Write the certificate chain at this path in the projected volume.\n\nMost applications should use credentialBundlePath. When using keyPath 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.", + "type": "string" + }, + "credentialBundlePath": { + "description": "Write the credential bundle at this path in the projected volume.\n\nThe credential bundle is a single file that contains multiple PEM blocks. The first PEM block is a PRIVATE KEY block, containing a PKCS#8 private key.\n\nThe remaining blocks are CERTIFICATE blocks, containing the issued certificate chain from the signer (leaf and any intermediates).\n\nUsing credentialBundlePath lets your Pod's application code make a single 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.", + "type": "string" + }, + "keyPath": { + "description": "Write the key at this path in the projected volume.\n\nMost applications should use credentialBundlePath. When using keyPath 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.", + "type": "string" + }, + "keyType": { + "description": "The type of keypair Kubelet will generate for the pod.\n\nValid values are \"RSA3072\", \"RSA4096\", \"ECDSAP256\", \"ECDSAP384\", \"ECDSAP521\", and \"ED25519\".", + "type": "string" + }, + "maxExpirationSeconds": { + "description": "maxExpirationSeconds is the maximum lifetime permitted for the certificate.\n\nKubelet copies this value verbatim into the PodCertificateRequests it generates for this projection.\n\nIf omitted, kube-apiserver will set it to 86400(24 hours). kube-apiserver will reject values shorter than 3600 (1 hour). The maximum allowable value is 7862400 (91 days).\n\nThe signer implementation is then free to issue a certificate with any lifetime *shorter* than MaxExpirationSeconds, but no shorter than 3600 seconds (1 hour). This constraint is enforced by kube-apiserver. `kubernetes.io` signers will never issue certificates with a lifetime longer than 24 hours.", + "format": "int32", + "type": "integer" + }, + "signerName": { + "description": "Kubelet's generated CSRs will be addressed to this signer.", + "type": "string" + } + }, + "required": [ + "signerName", + "keyType" + ], + "type": "object" + }, "v1.PodCondition": { "description": "PodCondition contains details for the current condition of this pod.", "properties": { @@ -9837,6 +10076,28 @@ }, "type": "object" }, + "v1.PodExtendedResourceClaimStatus": { + "description": "PodExtendedResourceClaimStatus is stored in the PodStatus for the extended resource requests backed by DRA. It stores the generated name for the corresponding special ResourceClaim created by the scheduler.", + "properties": { + "requestMappings": { + "description": "RequestMappings identifies the mapping of to device request in the generated ResourceClaim.", + "items": { + "$ref": "#/definitions/v1.ContainerExtendedResourceRequest" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "resourceClaimName": { + "description": "ResourceClaimName is the name of the ResourceClaim that was generated for the Pod in the namespace of the Pod.", + "type": "string" + } + }, + "required": [ + "requestMappings", + "resourceClaimName" + ], + "type": "object" + }, "v1.PodIP": { "description": "PodIP represents a single IP address allocated to the pod.", "properties": { @@ -10107,7 +10368,7 @@ "type": "boolean" }, "hostNetwork": { - "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", + "description": "Host networking requested for this pod. Use the host's network namespace. When using HostNetwork you should specify ports so the scheduler is aware. When `hostNetwork` is true, specified `hostPort` fields in port definitions must match `containerPort`, and unspecified `hostPort` fields in port definitions are defaulted to match `containerPort`. Default to false.", "type": "boolean" }, "hostPID": { @@ -10122,6 +10383,10 @@ "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", "type": "string" }, + "hostnameOverride": { + "description": "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. When this field is set to a non-empty string: - It takes precedence over the values set in `hostname` and `subdomain`. - The Pod's hostname will be set to this value. - `setHostnameAsFQDN` must be nil or set to false. - `hostNetwork` must be set to false.\n\nThis 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.", + "type": "string" + }, "imagePullSecrets": { "description": "ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod", "items": { @@ -10162,7 +10427,7 @@ }, "os": { "$ref": "#/definitions/v1.PodOS", - "description": "Specifies the OS of the containers in the pod. Some pod and container fields are restricted if this is set.\n\nIf the OS field is set to linux, the following fields must be unset: -securityContext.windowsOptions\n\nIf the OS field is set to windows, following fields must be unset: - spec.hostPID - spec.hostIPC - spec.hostUsers - spec.securityContext.appArmorProfile - spec.securityContext.seLinuxOptions - spec.securityContext.seccompProfile - spec.securityContext.fsGroup - spec.securityContext.fsGroupChangePolicy - spec.securityContext.sysctls - spec.shareProcessNamespace - spec.securityContext.runAsUser - spec.securityContext.runAsGroup - spec.securityContext.supplementalGroups - spec.securityContext.supplementalGroupsPolicy - spec.containers[*].securityContext.appArmorProfile - spec.containers[*].securityContext.seLinuxOptions - spec.containers[*].securityContext.seccompProfile - spec.containers[*].securityContext.capabilities - spec.containers[*].securityContext.readOnlyRootFilesystem - spec.containers[*].securityContext.privileged - spec.containers[*].securityContext.allowPrivilegeEscalation - spec.containers[*].securityContext.procMount - spec.containers[*].securityContext.runAsUser - spec.containers[*].securityContext.runAsGroup" + "description": "Specifies the OS of the containers in the pod. Some pod and container fields are restricted if this is set.\n\nIf the OS field is set to linux, the following fields must be unset: -securityContext.windowsOptions\n\nIf the OS field is set to windows, following fields must be unset: - spec.hostPID - spec.hostIPC - spec.hostUsers - spec.resources - spec.securityContext.appArmorProfile - spec.securityContext.seLinuxOptions - spec.securityContext.seccompProfile - spec.securityContext.fsGroup - spec.securityContext.fsGroupChangePolicy - spec.securityContext.sysctls - spec.shareProcessNamespace - spec.securityContext.runAsUser - spec.securityContext.runAsGroup - spec.securityContext.supplementalGroups - spec.securityContext.supplementalGroupsPolicy - spec.containers[*].securityContext.appArmorProfile - spec.containers[*].securityContext.seLinuxOptions - spec.containers[*].securityContext.seccompProfile - spec.containers[*].securityContext.capabilities - spec.containers[*].securityContext.readOnlyRootFilesystem - spec.containers[*].securityContext.privileged - spec.containers[*].securityContext.allowPrivilegeEscalation - spec.containers[*].securityContext.procMount - spec.containers[*].securityContext.runAsUser - spec.containers[*].securityContext.runAsGroup" }, "overhead": { "additionalProperties": { @@ -10207,7 +10472,7 @@ }, "resources": { "$ref": "#/definitions/v1.ResourceRequirements", - "description": "Resources is the total amount of CPU and Memory resources required by all containers in the pod. It supports specifying Requests and Limits for \"cpu\" and \"memory\" resource names only. ResourceClaims are not supported.\n\nThis field enables fine-grained control over resource allocation for the entire pod, allowing resource sharing among containers in a pod.\n\nThis is an alpha field and requires enabling the PodLevelResources feature gate." + "description": "Resources is the total amount of CPU and Memory resources required by all containers in the pod. It supports specifying Requests and Limits for \"cpu\", \"memory\" and \"hugepages-\" resource names only. ResourceClaims are not supported.\n\nThis field enables fine-grained control over resource allocation for the entire pod, allowing resource sharing among containers in a pod.\n\nThis is an alpha field and requires enabling the PodLevelResources feature gate." }, "restartPolicy": { "description": "Restart policy for all containers within the pod. One of Always, OnFailure, Never. In some contexts, only a subset of those values may be permitted. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy", @@ -10336,6 +10601,10 @@ "type": "array", "x-kubernetes-list-type": "atomic" }, + "extendedResourceClaimStatus": { + "$ref": "#/definitions/v1.PodExtendedResourceClaimStatus", + "description": "Status of extended resource claim backed by DRA." + }, "hostIP": { "description": "hostIP holds the IP address of the host to which the pod is assigned. Empty if the pod has not started yet. A pod can be assigned to a node that has a problem in kubelet which in turns mean that HostIP will not be updated even if there is a node is assigned to pod", "type": "string" @@ -10949,7 +11218,7 @@ ], "type": "object" }, - "v1.ResourceClaim": { + "core.v1.ResourceClaim": { "description": "ResourceClaim references one entry in PodSpec.ResourceClaims.", "properties": { "name": { @@ -11128,9 +11397,9 @@ "description": "ResourceRequirements describes the compute resource requirements.", "properties": { "claims": { - "description": "Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container.\n\nThis is an alpha field and requires enabling the DynamicResourceAllocation feature gate.\n\nThis field is immutable. It can only be set for containers.", + "description": "Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container.\n\nThis field depends on the DynamicResourceAllocation feature gate.\n\nThis field is immutable. It can only be set for containers.", "items": { - "$ref": "#/definitions/v1.ResourceClaim" + "$ref": "#/definitions/core.v1.ResourceClaim" }, "type": "array", "x-kubernetes-list-map-keys": [ @@ -12099,7 +12368,7 @@ "type": "string" }, "timeAdded": { - "description": "TimeAdded represents the time at which the taint was added. It is only written for NoExecute taints.", + "description": "TimeAdded represents the time at which the taint was added.", "format": "date-time", "type": "string" }, @@ -12341,7 +12610,7 @@ }, "glusterfs": { "$ref": "#/definitions/v1.GlusterfsVolumeSource", - "description": "glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. Deprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported. More info: https://examples.k8s.io/volumes/glusterfs/README.md" + "description": "glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. Deprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported." }, "hostPath": { "$ref": "#/definitions/v1.HostPathVolumeSource", @@ -12353,7 +12622,7 @@ }, "iscsi": { "$ref": "#/definitions/v1.ISCSIVolumeSource", - "description": "iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md" + "description": "iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes/#iscsi" }, "name": { "description": "name of the volume. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", @@ -12385,7 +12654,7 @@ }, "rbd": { "$ref": "#/definitions/v1.RBDVolumeSource", - "description": "rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. Deprecated: RBD is deprecated and the in-tree rbd type is no longer supported. More info: https://examples.k8s.io/volumes/rbd/README.md" + "description": "rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. Deprecated: RBD is deprecated and the in-tree rbd type is no longer supported." }, "scaleIO": { "$ref": "#/definitions/v1.ScaleIOVolumeSource", @@ -12516,6 +12785,10 @@ "$ref": "#/definitions/v1.DownwardAPIProjection", "description": "downwardAPI information about the downwardAPI data to project" }, + "podCertificate": { + "$ref": "#/definitions/v1.PodCertificateProjection", + "description": "Projects an auto-rotating credential bundle (private key and certificate chain) that the pod can use either as a TLS client or server.\n\nKubelet generates a private key and uses it to send a PodCertificateRequest to the named signer. Once the signer approves the request and issues a certificate chain, Kubelet writes the key and certificate chain to the pod filesystem. The pod does not start until certificates have been issued for each podCertificate projected volume source in its spec.\n\nKubelet will begin trying to rotate the certificate at the time indicated by the signer using the PodCertificateRequest.Status.BeginRefreshAt timestamp.\n\nKubelet can write a single file, indicated by the credentialBundlePath field, or separate files, indicated by the keyPath and certificateChainPath fields.\n\nThe credential bundle is a single file in PEM format. The first PEM entry is the private key (in PKCS#8 format), and the remaining PEM entries are the certificate chain issued by the signer (typically, signers will return their certificate chain in leaf-to-root order).\n\nPrefer using the credential bundle format, since your application code can read it atomically. If you use keyPath and certificateChainPath, your application must make two separate file reads. If these coincide with a certificate rotation, it is possible that the private key and leaf certificate you read may not correspond to each other. Your application will need to check for this condition, and re-read until they are consistent.\n\nThe 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." + }, "secret": { "$ref": "#/definitions/v1.SecretProjection", "description": "secret information about the secret data to project" @@ -14252,7 +14525,7 @@ }, "podSelector": { "$ref": "#/definitions/v1.LabelSelector", - "description": "podSelector selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace." + "description": "podSelector selects the pods to which this NetworkPolicy object applies. The array of rules is applied to any pods selected by this field. An empty selector matches all pods in the policy's namespace. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is optional. If it is not specified, it defaults to an empty selector." }, "policyTypes": { "description": "policyTypes is a list of rule types that the NetworkPolicy relates to. Valid options are [\"Ingress\"], [\"Egress\"], or [\"Ingress\", \"Egress\"]. If this field is not specified, it will default based on the existence of ingress or egress rules; policies that contain an egress section are assumed to affect egress, and all policies (whether or not they contain an ingress section) are assumed to affect ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ \"Egress\" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include \"Egress\" (since such a policy would not include an egress section and would otherwise default to just [ \"Ingress\" ]). This field is beta-level in 1.8", @@ -14263,9 +14536,6 @@ "x-kubernetes-list-type": "atomic" } }, - "required": [ - "podSelector" - ], "type": "object" }, "v1.ParentReference": { @@ -15365,8 +15635,8 @@ "type": "object", "x-kubernetes-map-type": "atomic" }, - "v1alpha3.AllocatedDeviceStatus": { - "description": "AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it. This may include driver-specific information.", + "v1.AllocatedDeviceStatus": { + "description": "AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it. This may include driver-specific information.\n\nThe combination of Driver, Pool, Device, and ShareID must match the corresponding key in Status.Allocation.Devices.", "properties": { "conditions": { "description": "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.\n\nMust not contain more than 8 entries.", @@ -15392,12 +15662,16 @@ "type": "string" }, "networkData": { - "$ref": "#/definitions/v1alpha3.NetworkDeviceData", + "$ref": "#/definitions/v1.NetworkDeviceData", "description": "NetworkData contains network-related information specific to the device." }, "pool": { "description": "This name together with the driver name and the device name field identify which device was allocated (`//`).\n\nMust not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes.", "type": "string" + }, + "shareID": { + "description": "ShareID uniquely identifies an individual allocation share of the device.", + "type": "string" } }, "required": [ @@ -15407,11 +15681,16 @@ ], "type": "object" }, - "v1alpha3.AllocationResult": { + "v1.AllocationResult": { "description": "AllocationResult contains attributes of an allocated resource.", "properties": { + "allocationTimestamp": { + "description": "AllocationTimestamp stores the time when the resources were allocated. This field is not guaranteed to be set, in which case that time is unknown.\n\nThis is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gate.", + "format": "date-time", + "type": "string" + }, "devices": { - "$ref": "#/definitions/v1alpha3.DeviceAllocationResult", + "$ref": "#/definitions/v1.DeviceAllocationResult", "description": "Devices is the result of allocating devices." }, "nodeSelector": { @@ -15421,47 +15700,34 @@ }, "type": "object" }, - "v1alpha3.BasicDevice": { - "description": "BasicDevice defines one device instance.", + "v1.CELDeviceSelector": { + "description": "CELDeviceSelector contains a CEL expression for selecting a device.", "properties": { - "allNodes": { - "description": "AllNodes indicates that all nodes have access to the device.\n\nMust only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set.", - "type": "boolean" - }, - "attributes": { - "additionalProperties": { - "$ref": "#/definitions/v1alpha3.DeviceAttribute" - }, - "description": "Attributes defines the set of attributes for this device. The name of each attribute must be unique in that set.\n\nThe maximum number of attributes and capacities combined is 32.", - "type": "object" - }, - "capacity": { - "additionalProperties": { - "$ref": "#/definitions/resource.Quantity" - }, - "description": "Capacity defines the set of capacities for this device. The name of each capacity must be unique in that set.\n\nThe maximum number of attributes and capacities combined is 32.", - "type": "object" - }, - "consumesCounters": { - "description": "ConsumesCounters defines a list of references to sharedCounters and the set of counters that the device will consume from those counter sets.\n\nThere can only be a single entry per counterSet.\n\nThe total number of device counter consumption entries must be <= 32. In addition, the total number in the entire ResourceSlice must be <= 1024 (for example, 64 devices with 16 counters each).", - "items": { - "$ref": "#/definitions/v1alpha3.DeviceCounterConsumption" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "nodeName": { - "description": "NodeName identifies the node where the device is available.\n\nMust only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set.", + "expression": { + "description": "Expression is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort.\n\nThe expression's input is an object named \"device\", which carries the following properties:\n - driver (string): the name of the driver which defines this device.\n - attributes (map[string]object): the device's attributes, grouped by prefix\n (e.g. device.attributes[\"dra.example.com\"] evaluates to an object with all\n of the attributes which were prefixed by \"dra.example.com\".\n - capacity (map[string]object): the device's capacities, grouped by prefix.\n - allowMultipleAllocations (bool): the allowMultipleAllocations property of the device\n (v1.34+ with the DRAConsumableCapacity feature enabled).\n\nExample: Consider a device with driver=\"dra.example.com\", which exposes two attributes named \"model\" and \"ext.example.com/family\" and which exposes one capacity named \"modules\". This input to this expression would have the following fields:\n\n device.driver\n device.attributes[\"dra.example.com\"].model\n device.attributes[\"ext.example.com\"].family\n device.capacity[\"dra.example.com\"].modules\n\nThe device.driver field can be used to check for a specific driver, either as a high-level precondition (i.e. you only want to consider devices from this driver) or as part of a multi-clause expression that is meant to consider devices from different drivers.\n\nThe value type of each attribute is defined by the device definition, and users who write these expressions must consult the documentation for their specific drivers. The value type of each capacity is Quantity.\n\nIf an unknown prefix is used as a lookup in either device.attributes or device.capacity, an empty map will be returned. Any reference to an unknown field will cause an evaluation error and allocation to abort.\n\nA robust expression should check for the existence of attributes before referencing them.\n\nFor ease of use, the cel.bind() function is enabled, and can be used to simplify expressions that access multiple attributes with the same domain. For example:\n\n cel.bind(dra, device.attributes[\"dra.example.com\"], dra.someBool && dra.anotherBool)\n\nThe 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.", "type": "string" + } + }, + "required": [ + "expression" + ], + "type": "object" + }, + "v1.CapacityRequestPolicy": { + "description": "CapacityRequestPolicy defines how requests consume device capacity.\n\nMust not set more than one ValidRequestValues.", + "properties": { + "default": { + "$ref": "#/definitions/resource.Quantity", + "description": "Default specifies how much of this capacity is consumed by a request that does not contain an entry for it in DeviceRequest's Capacity." }, - "nodeSelector": { - "$ref": "#/definitions/v1.NodeSelector", - "description": "NodeSelector defines the nodes where the device is available.\n\nMust only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set." + "validRange": { + "$ref": "#/definitions/v1.CapacityRequestPolicyRange", + "description": "ValidRange defines an acceptable quantity value range in consuming requests.\n\nIf this field is set, Default must be defined and it must fall within the defined ValidRange.\n\nIf the requested amount does not fall within the defined range, the request violates the policy, and this device cannot be allocated.\n\nIf the request doesn't contain this capacity entry, Default value is used." }, - "taints": { - "description": "If specified, these are the driver-defined taints.\n\nThe maximum number of taints is 4.\n\nThis is an alpha field and requires enabling the DRADeviceTaints feature gate.", + "validValues": { + "description": "ValidValues defines a set of acceptable quantity values in consuming requests.\n\nMust not contain more than 10 entries. Must be sorted in ascending order.\n\nIf this field is set, Default must be defined and it must be included in ValidValues list.\n\nIf the requested amount does not match any valid value but smaller than some valid values, the scheduler calculates the smallest valid value that is greater than or equal to the request. That is: min(ceil(requestedValue) \u2208 validValues), where requestedValue \u2264 max(validValues).\n\nIf the requested amount exceeds all valid values, the request violates the policy, and this device cannot be allocated.", "items": { - "$ref": "#/definitions/v1alpha3.DeviceTaint" + "$ref": "#/definitions/resource.Quantity" }, "type": "array", "x-kubernetes-list-type": "atomic" @@ -15469,20 +15735,41 @@ }, "type": "object" }, - "v1alpha3.CELDeviceSelector": { - "description": "CELDeviceSelector contains a CEL expression for selecting a device.", + "v1.CapacityRequestPolicyRange": { + "description": "CapacityRequestPolicyRange defines a valid range for consumable capacity values.\n\n - If the requested amount is less than Min, it is rounded up to the Min value.\n - If Step is set and the requested amount is between Min and Max but not aligned with Step,\n it will be rounded up to the next value equal to Min + (n * Step).\n - If Step is not set, the requested amount is used as-is if it falls within the range Min to Max (if set).\n - If the requested or rounded amount exceeds Max (if set), the request does not satisfy the policy,\n and the device cannot be allocated.", "properties": { - "expression": { - "description": "Expression is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort.\n\nThe expression's input is an object named \"device\", which carries the following properties:\n - driver (string): the name of the driver which defines this device.\n - attributes (map[string]object): the device's attributes, grouped by prefix\n (e.g. device.attributes[\"dra.example.com\"] evaluates to an object with all\n of the attributes which were prefixed by \"dra.example.com\".\n - capacity (map[string]object): the device's capacities, grouped by prefix.\n\nExample: Consider a device with driver=\"dra.example.com\", which exposes two attributes named \"model\" and \"ext.example.com/family\" and which exposes one capacity named \"modules\". This input to this expression would have the following fields:\n\n device.driver\n device.attributes[\"dra.example.com\"].model\n device.attributes[\"ext.example.com\"].family\n device.capacity[\"dra.example.com\"].modules\n\nThe device.driver field can be used to check for a specific driver, either as a high-level precondition (i.e. you only want to consider devices from this driver) or as part of a multi-clause expression that is meant to consider devices from different drivers.\n\nThe value type of each attribute is defined by the device definition, and users who write these expressions must consult the documentation for their specific drivers. The value type of each capacity is Quantity.\n\nIf an unknown prefix is used as a lookup in either device.attributes or device.capacity, an empty map will be returned. Any reference to an unknown field will cause an evaluation error and allocation to abort.\n\nA robust expression should check for the existence of attributes before referencing them.\n\nFor ease of use, the cel.bind() function is enabled, and can be used to simplify expressions that access multiple attributes with the same domain. For example:\n\n cel.bind(dra, device.attributes[\"dra.example.com\"], dra.someBool && dra.anotherBool)\n\nThe 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.", - "type": "string" + "max": { + "$ref": "#/definitions/resource.Quantity", + "description": "Max defines the upper limit for capacity that can be requested.\n\nMax must be less than or equal to the capacity value. Min and requestPolicy.default must be less than or equal to the maximum." + }, + "min": { + "$ref": "#/definitions/resource.Quantity", + "description": "Min specifies the minimum capacity allowed for a consumption request.\n\nMin 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." + }, + "step": { + "$ref": "#/definitions/resource.Quantity", + "description": "Step defines the step size between valid capacity amounts within the range.\n\nMax (if set) and requestPolicy.default must be a multiple of Step. Min + Step must be less than or equal to the capacity value." } }, "required": [ - "expression" + "min" ], "type": "object" }, - "v1alpha3.Counter": { + "v1.CapacityRequirements": { + "description": "CapacityRequirements defines the capacity requirements for a specific device request.", + "properties": { + "requests": { + "additionalProperties": { + "$ref": "#/definitions/resource.Quantity" + }, + "description": "Requests represent individual device resource requests for distinct resources, all of which must be provided by the device.\n\nThis value is used as an additional filtering condition against the available capacity on the device. This is semantically equivalent to a CEL selector with `device.capacity[]..compareTo(quantity()) >= 0`. For example, device.capacity['test-driver.cdi.k8s.io'].counters.compareTo(quantity('2')) >= 0.\n\nWhen a requestPolicy is defined, the requested amount is adjusted upward to the nearest valid value based on the policy. If the requested amount cannot be adjusted to a valid value\u2014because it exceeds what the requestPolicy allows\u2014 the device is considered ineligible for allocation.\n\nFor any capacity that is not explicitly requested: - If no requestPolicy is set, the default consumed capacity is equal to the full device capacity\n (i.e., the whole device is claimed).\n- If a requestPolicy is set, the default consumed capacity is determined according to that policy.\n\nIf the device allows multiple allocation, 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\u2019s status.devices[*].consumedCapacity field.", + "type": "object" + } + }, + "type": "object" + }, + "v1.Counter": { "description": "Counter describes a quantity associated with a device.", "properties": { "value": { @@ -15495,18 +15782,18 @@ ], "type": "object" }, - "v1alpha3.CounterSet": { + "v1.CounterSet": { "description": "CounterSet defines a named set of counters that are available to be used by devices defined in the ResourceSlice.\n\nThe counters are not allocatable by themselves, but can be referenced by devices. When a device is allocated, the portion of counters it uses will no longer be available for use by other devices.", "properties": { "counters": { "additionalProperties": { - "$ref": "#/definitions/v1alpha3.Counter" + "$ref": "#/definitions/v1.Counter" }, - "description": "Counters defines the counters that will be consumed by the device. The name of each counter must be unique in that set and must be a DNS label.\n\nTo ensure this uniqueness, capacities defined by the vendor must be listed without the driver name as domain prefix in their name. All others must be listed with their domain prefix.\n\nThe maximum number of counters is 32.", + "description": "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.\n\nThe maximum number of counters in all sets is 32.", "type": "object" }, "name": { - "description": "CounterSet is the name of the set from which the counters defined will be consumed.", + "description": "Name defines the name of the counter set. It must be a DNS label.", "type": "string" } }, @@ -15516,16 +15803,78 @@ ], "type": "object" }, - "v1alpha3.Device": { + "v1.Device": { "description": "Device represents one individual hardware instance that can be selected based on its attributes. Besides the name, exactly one field must be set.", "properties": { - "basic": { - "$ref": "#/definitions/v1alpha3.BasicDevice", - "description": "Basic defines one device instance." + "allNodes": { + "description": "AllNodes indicates that all nodes have access to the device.\n\nMust only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set.", + "type": "boolean" + }, + "allowMultipleAllocations": { + "description": "AllowMultipleAllocations marks whether the device is allowed to be allocated to multiple DeviceRequests.\n\nIf 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.", + "type": "boolean" + }, + "attributes": { + "additionalProperties": { + "$ref": "#/definitions/v1.DeviceAttribute" + }, + "description": "Attributes defines the set of attributes for this device. The name of each attribute must be unique in that set.\n\nThe maximum number of attributes and capacities combined is 32.", + "type": "object" + }, + "bindingConditions": { + "description": "BindingConditions defines the conditions for proceeding with binding. All of these conditions must be set in the per-device status conditions with a value of True to proceed with binding the pod to the node while scheduling the pod.\n\nThe maximum number of binding conditions is 4.\n\nThe conditions must be a valid condition type string.\n\nThis is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "bindingFailureConditions": { + "description": "BindingFailureConditions defines the conditions for binding failure. They may be set in the per-device status conditions. If any is set to \"True\", a binding failure occurred.\n\nThe maximum number of binding failure conditions is 4.\n\nThe conditions must be a valid condition type string.\n\nThis is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "bindsToNode": { + "description": "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.\n\nThis is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates.", + "type": "boolean" + }, + "capacity": { + "additionalProperties": { + "$ref": "#/definitions/v1.DeviceCapacity" + }, + "description": "Capacity defines the set of capacities for this device. The name of each capacity must be unique in that set.\n\nThe maximum number of attributes and capacities combined is 32.", + "type": "object" + }, + "consumesCounters": { + "description": "ConsumesCounters defines a list of references to sharedCounters and the set of counters that the device will consume from those counter sets.\n\nThere can only be a single entry per counterSet.\n\nThe total number of device counter consumption entries must be <= 32. In addition, the total number in the entire ResourceSlice must be <= 1024 (for example, 64 devices with 16 counters each).", + "items": { + "$ref": "#/definitions/v1.DeviceCounterConsumption" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" }, "name": { "description": "Name is unique identifier among all devices managed by the driver in the pool. It must be a DNS label.", "type": "string" + }, + "nodeName": { + "description": "NodeName identifies the node where the device is available.\n\nMust only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set.", + "type": "string" + }, + "nodeSelector": { + "$ref": "#/definitions/v1.NodeSelector", + "description": "NodeSelector defines the nodes where the device is available.\n\nMust use exactly one term.\n\nMust only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set." + }, + "taints": { + "description": "If specified, these are the driver-defined taints.\n\nThe maximum number of taints is 4.\n\nThis is an alpha field and requires enabling the DRADeviceTaints feature gate.", + "items": { + "$ref": "#/definitions/v1.DeviceTaint" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" } }, "required": [ @@ -15533,11 +15882,11 @@ ], "type": "object" }, - "v1alpha3.DeviceAllocationConfiguration": { + "v1.DeviceAllocationConfiguration": { "description": "DeviceAllocationConfiguration gets embedded in an AllocationResult.", "properties": { "opaque": { - "$ref": "#/definitions/v1alpha3.OpaqueDeviceConfiguration", + "$ref": "#/definitions/v1.OpaqueDeviceConfiguration", "description": "Opaque provides driver-specific configuration parameters." }, "requests": { @@ -15558,13 +15907,13 @@ ], "type": "object" }, - "v1alpha3.DeviceAllocationResult": { + "v1.DeviceAllocationResult": { "description": "DeviceAllocationResult is the result of allocating devices.", "properties": { "config": { "description": "This field is a combination of all the claim and class configuration parameters. Drivers can distinguish between those based on a flag.\n\nThis includes configuration parameters for drivers which have no allocated devices in the result because it is up to the drivers which configuration parameters they support. They can silently ignore unknown configuration parameters.", "items": { - "$ref": "#/definitions/v1alpha3.DeviceAllocationConfiguration" + "$ref": "#/definitions/v1.DeviceAllocationConfiguration" }, "type": "array", "x-kubernetes-list-type": "atomic" @@ -15572,7 +15921,7 @@ "results": { "description": "Results lists all allocated devices.", "items": { - "$ref": "#/definitions/v1alpha3.DeviceRequestAllocationResult" + "$ref": "#/definitions/v1.DeviceRequestAllocationResult" }, "type": "array", "x-kubernetes-list-type": "atomic" @@ -15580,7 +15929,7 @@ }, "type": "object" }, - "v1alpha3.DeviceAttribute": { + "v1.DeviceAttribute": { "description": "DeviceAttribute must have exactly one field set.", "properties": { "bool": { @@ -15603,13 +15952,30 @@ }, "type": "object" }, - "v1alpha3.DeviceClaim": { + "v1.DeviceCapacity": { + "description": "DeviceCapacity describes a quantity associated with a device.", + "properties": { + "requestPolicy": { + "$ref": "#/definitions/v1.CapacityRequestPolicy", + "description": "RequestPolicy defines how this DeviceCapacity must be consumed when the device is allowed to be shared by multiple allocations.\n\nThe Device must have allowMultipleAllocations set to true in order to set a requestPolicy.\n\nIf unset, capacity requests are unconstrained: 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." + }, + "value": { + "$ref": "#/definitions/resource.Quantity", + "description": "Value defines how much of a certain capacity that device has.\n\nThis field reflects the fixed total capacity and does not change. The consumed amount is tracked separately by scheduler and does not affect this value." + } + }, + "required": [ + "value" + ], + "type": "object" + }, + "v1.DeviceClaim": { "description": "DeviceClaim defines how to request devices with a ResourceClaim.", "properties": { "config": { "description": "This field holds configuration for multiple potential drivers which could satisfy requests in this claim. It is ignored while allocating the claim.", "items": { - "$ref": "#/definitions/v1alpha3.DeviceClaimConfiguration" + "$ref": "#/definitions/v1.DeviceClaimConfiguration" }, "type": "array", "x-kubernetes-list-type": "atomic" @@ -15617,7 +15983,7 @@ "constraints": { "description": "These constraints must be satisfied by the set of devices that get allocated for the claim.", "items": { - "$ref": "#/definitions/v1alpha3.DeviceConstraint" + "$ref": "#/definitions/v1.DeviceConstraint" }, "type": "array", "x-kubernetes-list-type": "atomic" @@ -15625,7 +15991,7 @@ "requests": { "description": "Requests represent individual requests for distinct devices which must all be satisfied. If empty, nothing needs to be allocated.", "items": { - "$ref": "#/definitions/v1alpha3.DeviceRequest" + "$ref": "#/definitions/v1.DeviceRequest" }, "type": "array", "x-kubernetes-list-type": "atomic" @@ -15633,11 +15999,11 @@ }, "type": "object" }, - "v1alpha3.DeviceClaimConfiguration": { + "v1.DeviceClaimConfiguration": { "description": "DeviceClaimConfiguration is used for configuration parameters in DeviceClaim.", "properties": { "opaque": { - "$ref": "#/definitions/v1alpha3.OpaqueDeviceConfiguration", + "$ref": "#/definitions/v1.OpaqueDeviceConfiguration", "description": "Opaque provides driver-specific configuration parameters." }, "requests": { @@ -15651,7 +16017,7 @@ }, "type": "object" }, - "v1alpha3.DeviceClass": { + "v1.DeviceClass": { "description": "DeviceClass is a vendor- or admin-provided resource that contains device configuration and selectors. It can be referenced in the device requests of a claim to apply these presets. Cluster scoped.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.", "properties": { "apiVersion": { @@ -15667,7 +16033,7 @@ "description": "Standard object metadata" }, "spec": { - "$ref": "#/definitions/v1alpha3.DeviceClassSpec", + "$ref": "#/definitions/v1.DeviceClassSpec", "description": "Spec defines what can be allocated and how to configure it.\n\nThis is mutable. Consumers have to be prepared for classes changing at any time, either because they get updated or replaced. Claim allocations are done once based on whatever was set in classes at the time of allocation.\n\nChanging the spec automatically increments the metadata.generation number." } }, @@ -15679,24 +16045,24 @@ { "group": "resource.k8s.io", "kind": "DeviceClass", - "version": "v1alpha3" + "version": "v1" } ], "x-implements": [ "io.kubernetes.client.common.KubernetesObject" ] }, - "v1alpha3.DeviceClassConfiguration": { + "v1.DeviceClassConfiguration": { "description": "DeviceClassConfiguration is used in DeviceClass.", "properties": { "opaque": { - "$ref": "#/definitions/v1alpha3.OpaqueDeviceConfiguration", + "$ref": "#/definitions/v1.OpaqueDeviceConfiguration", "description": "Opaque provides driver-specific configuration parameters." } }, "type": "object" }, - "v1alpha3.DeviceClassList": { + "v1.DeviceClassList": { "description": "DeviceClassList is a collection of classes.", "properties": { "apiVersion": { @@ -15706,7 +16072,7 @@ "items": { "description": "Items is the list of resource classes.", "items": { - "$ref": "#/definitions/v1alpha3.DeviceClass" + "$ref": "#/definitions/v1.DeviceClass" }, "type": "array" }, @@ -15727,28 +16093,32 @@ { "group": "resource.k8s.io", "kind": "DeviceClassList", - "version": "v1alpha3" + "version": "v1" } ], "x-implements": [ "io.kubernetes.client.common.KubernetesListObject" ] }, - "v1alpha3.DeviceClassSpec": { + "v1.DeviceClassSpec": { "description": "DeviceClassSpec is used in a [DeviceClass] to define what can be allocated and how to configure it.", "properties": { "config": { "description": "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.\n\nThey are passed to the driver, but are not considered while allocating the claim.", "items": { - "$ref": "#/definitions/v1alpha3.DeviceClassConfiguration" + "$ref": "#/definitions/v1.DeviceClassConfiguration" }, "type": "array", "x-kubernetes-list-type": "atomic" }, + "extendedResourceName": { + "description": "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. It has the same format as the name of a pod's extended resource. It should be unique among all the device classes in a cluster. If two device classes have the same name, then the class created later is picked to satisfy a pod's extended resource requests. If two classes are created at the same time, then the name of the class lexicographically sorted first is picked.\n\nThis is an alpha field.", + "type": "string" + }, "selectors": { "description": "Each selector must be satisfied by a device which is claimed via this class.", "items": { - "$ref": "#/definitions/v1alpha3.DeviceSelector" + "$ref": "#/definitions/v1.DeviceSelector" }, "type": "array", "x-kubernetes-list-type": "atomic" @@ -15756,9 +16126,13 @@ }, "type": "object" }, - "v1alpha3.DeviceConstraint": { + "v1.DeviceConstraint": { "description": "DeviceConstraint must have exactly one field set besides Requests.", "properties": { + "distinctAttribute": { + "description": "DistinctAttribute requires that all devices in question have this attribute and that its type and value are unique across those devices.\n\nThis acts as the inverse of MatchAttribute.\n\nThis constraint is used to avoid allocating multiple requests to the same device by ensuring attribute-level differentiation.\n\nThis 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.", + "type": "string" + }, "matchAttribute": { "description": "MatchAttribute requires that all devices in question have this attribute and that its type and value are the same across those devices.\n\nFor example, if you specified \"dra.example.com/numa\" (a hypothetical example!), then only devices in the same NUMA node will be chosen. A device which does not have that attribute will not be chosen. All devices should use a value of the same type for this attribute because that is part of its specification, but if one device doesn't, then it also will not be chosen.\n\nMust include the domain qualifier.", "type": "string" @@ -15774,18 +16148,18 @@ }, "type": "object" }, - "v1alpha3.DeviceCounterConsumption": { + "v1.DeviceCounterConsumption": { "description": "DeviceCounterConsumption defines a set of counters that a device will consume from a CounterSet.", "properties": { "counterSet": { - "description": "CounterSet defines the set from which the counters defined will be consumed.", + "description": "CounterSet is the name of the set from which the counters defined will be consumed.", "type": "string" }, "counters": { "additionalProperties": { - "$ref": "#/definitions/v1alpha3.Counter" + "$ref": "#/definitions/v1.Counter" }, - "description": "Counters defines the Counter that will be consumed by the device.\n\nThe maximum number counters in a device is 32. In addition, the maximum number of all counters in all devices is 1024 (for example, 64 devices with 16 counters each).", + "description": "Counters defines the counters that will be consumed by the device.\n\nThe maximum number counters in a device is 32. In addition, the maximum number of all counters in all devices is 1024 (for example, 64 devices with 16 counters each).", "type": "object" } }, @@ -15795,53 +16169,24 @@ ], "type": "object" }, - "v1alpha3.DeviceRequest": { - "description": "DeviceRequest is a request for devices required for a claim. This is typically a request for a single resource like a device, but can also ask for several identical devices.", + "v1.DeviceRequest": { + "description": "DeviceRequest is a request for devices required for a claim. This is typically a request for a single resource like a device, but can also ask for several identical devices. With FirstAvailable it is also possible to provide a prioritized list of requests.", "properties": { - "adminAccess": { - "description": "AdminAccess indicates that this is a claim for administrative access to the device(s). Claims with AdminAccess are expected to be used for monitoring or other management services for a device. They ignore all ordinary claims to the device with respect to access modes and any resource allocations.\n\nThis field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list.\n\nThis is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled.", - "type": "boolean" - }, - "allocationMode": { - "description": "AllocationMode and its related fields define how devices are allocated to satisfy this request. Supported values are:\n\n- ExactCount: This request is for a specific number of devices.\n This is the default. The exact number is provided in the\n count field.\n\n- All: This request is for all of the matching devices in a pool.\n At least one device must exist on the node for the allocation to succeed.\n Allocation will fail if some devices are already allocated,\n unless adminAccess is requested.\n\nIf AllocationMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other requests must specify this field.\n\nThis field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list.\n\nMore modes may get added in the future. Clients must refuse to handle requests with unknown modes.", - "type": "string" - }, - "count": { - "description": "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.\n\nThis field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list.", - "format": "int64", - "type": "integer" - }, - "deviceClassName": { - "description": "DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this request.\n\nA class is required if no subrequests are specified in the firstAvailable list and no class can be set if subrequests are specified in the firstAvailable list. Which classes are available depends on the cluster.\n\nAdministrators may use this to restrict which devices may get requested by only installing classes with selectors for permitted devices. If users are free to request anything without restrictions, then administrators can create an empty DeviceClass for users to reference.", - "type": "string" + "exactly": { + "$ref": "#/definitions/v1.ExactDeviceRequest", + "description": "Exactly specifies the details for a single request that must be met exactly for the request to be satisfied.\n\nOne of Exactly or FirstAvailable must be set." }, "firstAvailable": { - "description": "FirstAvailable contains subrequests, of which exactly one will be satisfied by the scheduler to satisfy this request. It tries to satisfy them in the order in which they are listed here. So if there are two entries in the list, the scheduler will only check the second one if it determines that the first one cannot be used.\n\nThis field may only be set in the entries of DeviceClaim.Requests.\n\nDRA does not yet implement scoring, so the scheduler will select the first set of devices that satisfies all the requests in the claim. And if the requirements can be satisfied on more than one node, other scheduling features 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.", + "description": "FirstAvailable contains subrequests, of which exactly one will be selected by the scheduler. It tries to satisfy them in the order in which they are listed here. So if there are two entries in the list, the scheduler will only check the second one if it determines that the first one can not be used.\n\nDRA does not yet implement scoring, so the scheduler will select the first set of devices that satisfies all the requests in the claim. And if the requirements can be satisfied on more than one node, other scheduling features 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.", "items": { - "$ref": "#/definitions/v1alpha3.DeviceSubRequest" + "$ref": "#/definitions/v1.DeviceSubRequest" }, "type": "array", "x-kubernetes-list-type": "atomic" }, "name": { - "description": "Name can be used to reference this request in a pod.spec.containers[].resources.claims entry and in a constraint of the claim.\n\nMust be a DNS label.", + "description": "Name can be used to reference this request in a pod.spec.containers[].resources.claims entry and in a constraint of the claim.\n\nReferences using the name in the DeviceRequest will uniquely identify a request when the Exactly field is set. When the FirstAvailable field is set, a reference to the name of the DeviceRequest will match whatever subrequest is chosen by the scheduler.\n\nMust be a DNS label.", "type": "string" - }, - "selectors": { - "description": "Selectors define criteria which must be satisfied by a specific device in order for that device to be considered for this request. All selectors must be satisfied for a device to be considered.\n\nThis field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list.", - "items": { - "$ref": "#/definitions/v1alpha3.DeviceSelector" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "tolerations": { - "description": "If specified, the request's tolerations.\n\nTolerations for NoSchedule are required to allocate a device which has a taint with that effect. The same applies to NoExecute.\n\nIn addition, should any of the allocated devices get tainted with NoExecute after allocation and that effect is not tolerated, then all pods consuming the ResourceClaim get deleted to evict them. The scheduler will not let new pods reserve the claim while it has these tainted devices. Once all pods are evicted, the claim will get deallocated.\n\nThe maximum number of tolerations is 16.\n\nThis field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list.\n\nThis is an alpha field and requires enabling the DRADeviceTaints feature gate.", - "items": { - "$ref": "#/definitions/v1alpha3.DeviceToleration" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" } }, "required": [ @@ -15849,13 +16194,36 @@ ], "type": "object" }, - "v1alpha3.DeviceRequestAllocationResult": { + "v1.DeviceRequestAllocationResult": { "description": "DeviceRequestAllocationResult contains the allocation result for one request.", "properties": { "adminAccess": { "description": "AdminAccess indicates that this device was allocated for administrative access. See the corresponding request field for a definition of mode.\n\nThis is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled.", "type": "boolean" }, + "bindingConditions": { + "description": "BindingConditions contains a copy of the BindingConditions from the corresponding ResourceSlice at the time of allocation.\n\nThis is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "bindingFailureConditions": { + "description": "BindingFailureConditions contains a copy of the BindingFailureConditions from the corresponding ResourceSlice at the time of allocation.\n\nThis is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "consumedCapacity": { + "additionalProperties": { + "$ref": "#/definitions/resource.Quantity" + }, + "description": "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 value based on the device\u2019s requestPolicy if applicable (i.e., may not be less than the requested amount).\n\nThe total consumed capacity for each device must not exceed the DeviceCapacity's Value.\n\nThis field is populated only for devices that allow multiple allocations. All capacity entries are included, even if the consumed amount is zero.", + "type": "object" + }, "device": { "description": "Device references one device instance via its name in the driver's resource pool. It must be a DNS label.", "type": "string" @@ -15872,10 +16240,14 @@ "description": "Request is the name of the request in the claim which caused this device to be allocated. If it references a subrequest in the firstAvailable list on a DeviceRequest, this field must include both the name of the main request and the subrequest using the format
/.\n\nMultiple devices may have been allocated per request.", "type": "string" }, + "shareID": { + "description": "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.", + "type": "string" + }, "tolerations": { "description": "A copy of all tolerations specified in the request at the time when the device got allocated.\n\nThe maximum number of tolerations is 16.\n\nThis is an alpha field and requires enabling the DRADeviceTaints feature gate.", "items": { - "$ref": "#/definitions/v1alpha3.DeviceToleration" + "$ref": "#/definitions/v1.DeviceToleration" }, "type": "array", "x-kubernetes-list-type": "atomic" @@ -15889,23 +16261,27 @@ ], "type": "object" }, - "v1alpha3.DeviceSelector": { + "v1.DeviceSelector": { "description": "DeviceSelector must have exactly one field set.", "properties": { "cel": { - "$ref": "#/definitions/v1alpha3.CELDeviceSelector", + "$ref": "#/definitions/v1.CELDeviceSelector", "description": "CEL contains a CEL expression for selecting a device." } }, "type": "object" }, - "v1alpha3.DeviceSubRequest": { - "description": "DeviceSubRequest describes a request for device provided in the claim.spec.devices.requests[].firstAvailable array. Each is typically a request for a single resource like a device, but can also ask for several identical devices.\n\nDeviceSubRequest is similar to Request, but doesn't expose the AdminAccess or FirstAvailable fields, as those can only be set on the top-level request. AdminAccess is not supported for requests with a prioritized list, and recursive FirstAvailable fields are not supported.", + "v1.DeviceSubRequest": { + "description": "DeviceSubRequest describes a request for device provided in the claim.spec.devices.requests[].firstAvailable array. Each is typically a request for a single resource like a device, but can also ask for several identical devices.\n\nDeviceSubRequest is similar to ExactDeviceRequest, but doesn't expose the AdminAccess field as that one is only supported when requesting a specific device.", "properties": { "allocationMode": { - "description": "AllocationMode and its related fields define how devices are allocated to satisfy this request. Supported values are:\n\n- ExactCount: This request is for a specific number of devices.\n This is the default. The exact number is provided in the\n count field.\n\n- All: This request is for all of the matching devices in a pool.\n Allocation will fail if some devices are already allocated,\n unless adminAccess is requested.\n\nIf AllocationMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other requests must specify this field.\n\nMore modes may get added in the future. Clients must refuse to handle requests with unknown modes.", + "description": "AllocationMode and its related fields define how devices are allocated to satisfy this subrequest. Supported values are:\n\n- ExactCount: This request is for a specific number of devices.\n This is the default. The exact number is provided in the\n count field.\n\n- All: This subrequest is for all of the matching devices in a pool.\n Allocation will fail if some devices are already allocated,\n unless adminAccess is requested.\n\nIf AllocationMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other subrequests must specify this field.\n\nMore modes may get added in the future. Clients must refuse to handle requests with unknown modes.", "type": "string" }, + "capacity": { + "$ref": "#/definitions/v1.CapacityRequirements", + "description": "Capacity define resource requirements against each capacity.\n\nIf this field is unset and the device supports multiple allocations, the default value will be applied to each capacity according to requestPolicy. For the capacity that has no requestPolicy, default is the full capacity value.\n\nApplies to each device allocation. If Count > 1, the request fails if there aren't enough devices that meet the requirements. 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." + }, "count": { "description": "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.", "format": "int64", @@ -15920,9 +16296,9 @@ "type": "string" }, "selectors": { - "description": "Selectors define criteria which must be satisfied by a specific device in order for that device to be considered for this request. All selectors must be satisfied for a device to be considered.", + "description": "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.", "items": { - "$ref": "#/definitions/v1alpha3.DeviceSelector" + "$ref": "#/definitions/v1.DeviceSelector" }, "type": "array", "x-kubernetes-list-type": "atomic" @@ -15930,7 +16306,7 @@ "tolerations": { "description": "If specified, the request's tolerations.\n\nTolerations for NoSchedule are required to allocate a device which has a taint with that effect. The same applies to NoExecute.\n\nIn addition, should any of the allocated devices get tainted with NoExecute after allocation and that effect is not tolerated, then all pods consuming the ResourceClaim get deleted to evict them. The scheduler will not let new pods reserve the claim while it has these tainted devices. Once all pods are evicted, the claim will get deallocated.\n\nThe maximum number of tolerations is 16.\n\nThis is an alpha field and requires enabling the DRADeviceTaints feature gate.", "items": { - "$ref": "#/definitions/v1alpha3.DeviceToleration" + "$ref": "#/definitions/v1.DeviceToleration" }, "type": "array", "x-kubernetes-list-type": "atomic" @@ -15942,7 +16318,7 @@ ], "type": "object" }, - "v1alpha3.DeviceTaint": { + "v1.DeviceTaint": { "description": "The device this taint is attached to has the \"effect\" on any claim which does not tolerate the taint and, through the claim, to pods using the claim.", "properties": { "effect": { @@ -15969,154 +16345,80 @@ ], "type": "object" }, - "v1alpha3.DeviceTaintRule": { - "description": "DeviceTaintRule adds one taint to all devices which match the selector. This has the same effect as if the taint was specified directly in the ResourceSlice by the DRA driver.", + "v1.DeviceToleration": { + "description": "The ResourceClaim this DeviceToleration is attached to tolerates any taint that matches the triple using the matching operator .", "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "effect": { + "description": "Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule and NoExecute.", "type": "string" }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "key": { + "description": "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.", "type": "string" }, - "metadata": { - "$ref": "#/definitions/v1.ObjectMeta", - "description": "Standard object metadata" - }, - "spec": { - "$ref": "#/definitions/v1alpha3.DeviceTaintRuleSpec", - "description": "Spec specifies the selector and one taint.\n\nChanging the spec automatically increments the metadata.generation number." - } - }, - "required": [ - "spec" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "resource.k8s.io", - "kind": "DeviceTaintRule", - "version": "v1alpha3" - } - ], - "x-implements": [ - "io.kubernetes.client.common.KubernetesObject" - ] - }, - "v1alpha3.DeviceTaintRuleList": { - "description": "DeviceTaintRuleList is a collection of DeviceTaintRules.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "operator": { + "description": "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.", "type": "string" }, - "items": { - "description": "Items is the list of DeviceTaintRules.", - "items": { - "$ref": "#/definitions/v1alpha3.DeviceTaintRule" - }, - "type": "array" + "tolerationSeconds": { + "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and 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